Searched refs:POWER_ROLE_SOURCE (Results 1 – 7 of 7) sorted by relevance
/drivers/peripheral/usb/test/unittest/mock/src/ |
D | usbd_function_auto_test.cpp | 93 auto ret = g_usbInterface->SetPortRole(PORT_ID_INVALID, POWER_ROLE_SOURCE, DATA_ROLE_HOST); 121 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, DATA_ROLE_INVALID); 149 auto ret = g_usbInterface->SetPortRole(PORT_ID_INVALID, POWER_ROLE_SOURCE, DATA_ROLE_INVALID);
|
/drivers/peripheral/usb/test/unittest/hal/src/ |
D | usbd_function_test.cpp | 388 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, DATA_ROLE_HOST); 402 auto ret = g_usbInterface->SetPortRole(USB_PORT_ID_INVALID, POWER_ROLE_SOURCE, DATA_ROLE_HOST); 430 … auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, USB_DATA_ROLE_INVALID); 458 …auto ret = g_usbInterface->SetPortRole(USB_PORT_ID_INVALID, POWER_ROLE_SOURCE, USB_DATA_ROLE_INVAL…
|
/drivers/peripheral/usb/hdi_service/src/ |
D | usbd_port.cpp | 110 if (powerRole == POWER_ROLE_SOURCE && dataRole == DATA_ROLE_HOST) { in SetPortInit() 161 currentPortInfo_.powerRole = POWER_ROLE_SOURCE; in UpdatePort()
|
/drivers/peripheral/usb/hdi_service/include/ |
D | usbd_port.h | 33 #define POWER_ROLE_SOURCE 1 macro
|
/drivers/peripheral/usb/test/benchmarktest/ |
D | usb_benchmark_function_test.cpp | 104 ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, DATA_ROLE_HOST); in BENCHMARK_F()
|
D | usb_benchmark_request_test.cpp | 76 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, DATA_ROLE_HOST); in SetUp()
|
D | usb_benchmark_transfer_test.cpp | 107 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, DATA_ROLE_HOST); in SetUp()
|