Home
last modified time | relevance | path

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

/ohos5.0/drivers/peripheral/usb/test/unittest/hal/src/
H A Dusbd_function_test.cpp171 auto ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_HDC);
185 int32_t funcs = USB_FUNCTION_ACM | USB_FUNCTION_HDC;
200 int32_t funcs = USB_FUNCTION_ECM | USB_FUNCTION_HDC;
243 int32_t funcs = USB_FUNCTION_RNDIS | USB_FUNCTION_HDC;
258 int32_t funcs = USB_FUNCTION_STORAGE | USB_FUNCTION_HDC;
303 int32_t funcs = USB_FUNCTION_MTP | USB_FUNCTION_HDC;
318 int32_t funcs = USB_FUNCTION_PTP | USB_FUNCTION_HDC;
381 ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_HDC);
/ohos5.0/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_function.cpp42 uint32_t UsbdFunction::currentFuncs_ = USB_FUNCTION_HDC;
532 case USB_FUNCTION_HDC: in UsbdSetKernelFunction()
541 case USB_FUNCTION_RNDIS | USB_FUNCTION_HDC: in UsbdSetKernelFunction()
544 case USB_FUNCTION_STORAGE | USB_FUNCTION_HDC: in UsbdSetKernelFunction()
547 case USB_FUNCTION_MANUFACTURE | USB_FUNCTION_HDC: in UsbdSetKernelFunction()
614 …if ((funcs | USB_FUNCTION_SUPPORT) != USB_FUNCTION_SUPPORT && funcs != (USB_FUNCTION_HDC + USB_FUN… in UsbdUpdateFunction()
615 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.cpp63 {HDC_CONFIG_HDC, USB_FUNCTION_HDC},
64 {HDC_CONFIG_ON, USB_FUNCTION_HDC},
67 {HDC_CONFIG_RNDIS_HDC, USB_FUNCTION_HDC + USB_FUNCTION_RNDIS},
68 {HDC_CONFIG_STORAGE_HDC, USB_FUNCTION_HDC + USB_FUNCTION_STORAGE},
/ohos5.0/drivers/peripheral/usb/hdi_service/include/
H A Dusbd_function.h25 #define USB_FUNCTION_HDC (1 << 2) macro
33 … (USB_FUNCTION_ACM | USB_FUNCTION_ECM | USB_FUNCTION_HDC | USB_FUNCTION_MTP | USB_FUNCTION_PTP | \