Home
last modified time | relevance | path

Searched refs:POWER_ROLE_SOURCE (Results 1 – 7 of 7) sorted by relevance

/drivers/peripheral/usb/test/unittest/mock/src/
Dusbd_function_auto_test.cpp93 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/
Dusbd_function_test.cpp388 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/
Dusbd_port.cpp110 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/
Dusbd_port.h33 #define POWER_ROLE_SOURCE 1 macro
/drivers/peripheral/usb/test/benchmarktest/
Dusb_benchmark_function_test.cpp104 ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, DATA_ROLE_HOST); in BENCHMARK_F()
Dusb_benchmark_request_test.cpp76 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, DATA_ROLE_HOST); in SetUp()
Dusb_benchmark_transfer_test.cpp107 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SOURCE, DATA_ROLE_HOST); in SetUp()