Home
last modified time | relevance | path

Searched refs:USB_FUNCTION_ECM (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/drivers/peripheral/usb/hdi_service/include/
H A Dusbd_function.h24 #define USB_FUNCTION_ECM (1 << 1) macro
33 … (USB_FUNCTION_ACM | USB_FUNCTION_ECM | USB_FUNCTION_HDC | USB_FUNCTION_MTP | USB_FUNCTION_PTP | \
66 #define USB_DDK_FUNCTION_SUPPORT (USB_FUNCTION_ACM | USB_FUNCTION_ECM | USB_FUNCTION_MTP | USB_FUNC…
/ohos5.0/drivers/peripheral/usb/test/unittest/hal/src/
H A Dusbd_function_test.cpp142 auto ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_ECM);
156 int32_t funcs = USB_FUNCTION_ACM | USB_FUNCTION_ECM;
200 int32_t funcs = USB_FUNCTION_ECM | USB_FUNCTION_HDC;
/ohos5.0/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_function.cpp282 if ((ddkFuns & USB_FUNCTION_ECM) != 0) { in SetFunctionToNone()
283 UsbdFunction::SendCmdToService(ECM_SERVICE_NAME, ECM_RELEASE, USB_FUNCTION_ECM); in SetFunctionToNone()
506 if ((funcs & USB_FUNCTION_ECM) != 0) { in UsbdInitDDKFunction()
512 if (SendCmdToService(ECM_SERVICE_NAME, ECM_INIT, USB_FUNCTION_ECM) != 0) { in UsbdInitDDKFunction()