Searched refs:POWER_ROLE_SINK (Results 1 - 6 of 6) sorted by relevance
/drivers/peripheral/usb/hdi_service/include/ |
H A D | usbd_port.h | 34 #define POWER_ROLE_SINK 2
macro 76 HDI::Usb::V1_1::PortInfo currentPortInfo_ = {DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE, PORT_MODE_DEVICE};
|
/drivers/peripheral/usb/hdi_service/src/ |
H A D | usbd_port.cpp | 134 powerRole = POWER_ROLE_SINK;
in ReadPortFile() 162 if (powerRole == POWER_ROLE_SINK && dataRole == DATA_ROLE_DEVICE) {
in SetPortInit() 215 currentPortInfo_.powerRole = POWER_ROLE_SINK;
in UpdatePort()
|
/drivers/peripheral/usb/test/benchmarktest/ |
H A D | usb_benchmark_function_test.cpp | 49 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE);
in SetUp()
|
H A D | usb_benchmark_device_test.cpp | 51 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE);
in SetUp()
|
/drivers/peripheral/usb/test/unittest/hal/src/ |
H A D | usbd_function_test.cpp | 55 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE); in SetUpTestCase() 514 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE); in HWTEST_F()
|
H A D | usbfn_mtp_test.cpp | 185 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE); in SetUpTestCase()
|
Completed in 4 milliseconds