Home
last modified time | relevance | path

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

/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_function.cpp265 uint32_t ddkFuns = currentFuncs_ & USB_DDK_FUNCTION_SUPPORT; in SetFunctionToNone() local
266 if (ddkFuns > 0) { in SetFunctionToNone()
267 if ((ddkFuns & USB_FUNCTION_ACM) != 0) { in SetFunctionToNone()
271 if ((ddkFuns & USB_FUNCTION_ECM) != 0) { in SetFunctionToNone()
275 if ((ddkFuns & USB_FUNCTION_MTP) != 0 || (ddkFuns & USB_FUNCTION_PTP) != 0) { in SetFunctionToNone()
301 uint32_t ddkFuns = static_cast<uint32_t>(funcs) & USB_DDK_FUNCTION_SUPPORT; in SetDDKFunction() local
302 if (ddkFuns == 0) { in SetDDKFunction()
311 if (UsbdFunction::SendCmdToService(DEV_SERVICE_NAME, FUNCTION_ADD, ddkFuns)) { in SetDDKFunction()
312 HDF_LOGE("%{public}s: create dev error: %{public}d", __func__, ddkFuns); in SetDDKFunction()
[all...]

Completed in 1 milliseconds