Home
last modified time | relevance | path

Searched refs:USB_FUNCTION_HDC (Results 1 - 5 of 5) sorted by relevance

/drivers/peripheral/usb/test/unittest/hal/src/
H A Dusbd_function_test.cpp171 auto ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_HDC); in HWTEST_F()
185 int32_t funcs = USB_FUNCTION_ACM | USB_FUNCTION_HDC; in HWTEST_F()
200 int32_t funcs = USB_FUNCTION_ECM | USB_FUNCTION_HDC; in HWTEST_F()
243 int32_t funcs = USB_FUNCTION_RNDIS | USB_FUNCTION_HDC; in HWTEST_F()
258 int32_t funcs = USB_FUNCTION_STORAGE | USB_FUNCTION_HDC; in HWTEST_F()
303 int32_t funcs = USB_FUNCTION_MTP | USB_FUNCTION_HDC; in HWTEST_F()
318 int32_t funcs = USB_FUNCTION_PTP | USB_FUNCTION_HDC; in HWTEST_F()
381 ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_HDC); in HWTEST_F()
/drivers/peripheral/usb/hdi_service/include/
H A Dusbd_function.h25 #define USB_FUNCTION_HDC (1 << 2) macro
32 (USB_FUNCTION_ACM | USB_FUNCTION_ECM | USB_FUNCTION_HDC | USB_FUNCTION_MTP | USB_FUNCTION_PTP | \
/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_function.cpp42 uint32_t UsbdFunction::currentFuncs_ = USB_FUNCTION_HDC;
521 case USB_FUNCTION_HDC: in UsbdSetKernelFunction()
530 case USB_FUNCTION_RNDIS | USB_FUNCTION_HDC: in UsbdSetKernelFunction()
533 case USB_FUNCTION_STORAGE | USB_FUNCTION_HDC: in UsbdSetKernelFunction()
536 case USB_FUNCTION_MANUFACTURE | USB_FUNCTION_HDC: in UsbdSetKernelFunction()
600 if ((funcs | USB_FUNCTION_SUPPORT) != USB_FUNCTION_SUPPORT && funcs != (USB_FUNCTION_HDC + USB_FUNCTION_RNDIS) && in UsbdUpdateFunction()
601 funcs != (USB_FUNCTION_HDC + USB_FUNCTION_STORAGE)) { in UsbdUpdateFunction()
H A Dusbd_port.cpp174 UsbdFunction::UsbdSetFunction(USB_FUNCTION_HDC); in SetPortInit()
H A Dusb_impl.cpp62 {HDC_CONFIG_HDC, USB_FUNCTION_HDC},
63 {HDC_CONFIG_ON, USB_FUNCTION_HDC},
66 {HDC_CONFIG_RNDIS_HDC, USB_FUNCTION_HDC + USB_FUNCTION_RNDIS},
67 {HDC_CONFIG_STORAGE_HDC, USB_FUNCTION_HDC + USB_FUNCTION_STORAGE},

Completed in 7 milliseconds