Home
last modified time | relevance | path

Searched refs:USB_FUNCTION_MTP (Results 1 - 4 of 4) sorted by relevance

/drivers/peripheral/usb/hdi_service/include/
H A Dusbd_function.h26 #define USB_FUNCTION_MTP (1 << 3) macro
32 (USB_FUNCTION_ACM | USB_FUNCTION_ECM | USB_FUNCTION_HDC | USB_FUNCTION_MTP | USB_FUNCTION_PTP | \
70 #define USB_DDK_FUNCTION_SUPPORT (USB_FUNCTION_ACM | USB_FUNCTION_ECM | USB_FUNCTION_MTP | USB_FUNCTION_PTP)
/drivers/peripheral/usb/test/unittest/hal/src/
H A Dusbd_function_test.cpp273 int32_t funcs = USB_FUNCTION_MTP; in HWTEST_F()
303 int32_t funcs = USB_FUNCTION_MTP | USB_FUNCTION_HDC; in HWTEST_F()
333 int32_t funcs = USB_FUNCTION_MTP | USB_FUNCTION_RNDIS; in HWTEST_F()
H A Dusbfn_mtp_test.cpp192 ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_MTP); in SetUpTestCase()
/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_function.cpp275 if ((ddkFuns & USB_FUNCTION_MTP) != 0 || (ddkFuns & USB_FUNCTION_PTP) != 0) { in SetFunctionToNone()
508 if ((funcs & USB_FUNCTION_MTP) != 0 || (funcs & USB_FUNCTION_PTP) != 0) { in UsbdInitDDKFunction()

Completed in 4 milliseconds