Searched refs:DATA_ROLE_HOST (Results 1 – 7 of 7) sorted by relevance
/drivers/peripheral/usb/hdi_service/src/ |
D | usbd_port.cpp | 110 if (powerRole == POWER_ROLE_SOURCE && dataRole == DATA_ROLE_HOST) { in SetPortInit() 162 currentPortInfo_.dataRole = DATA_ROLE_HOST; in UpdatePort()
|
/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); 444 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, USB_POWER_ROLE_INVALID, DATA_ROLE_HOST);
|
/drivers/peripheral/usb/hdi_service/include/ |
D | usbd_port.h | 38 #define DATA_ROLE_HOST 1 macro
|
/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);
|
/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()
|