Lines Matching defs:ddkFuns
265 uint32_t ddkFuns = currentFuncs_ & USB_DDK_FUNCTION_SUPPORT;
266 if (ddkFuns > 0) {
267 if ((ddkFuns & USB_FUNCTION_ACM) != 0) {
271 if ((ddkFuns & USB_FUNCTION_ECM) != 0) {
275 if ((ddkFuns & USB_FUNCTION_MTP) != 0 || (ddkFuns & USB_FUNCTION_PTP) != 0) {
301 uint32_t ddkFuns = static_cast<uint32_t>(funcs) & USB_DDK_FUNCTION_SUPPORT;
302 if (ddkFuns == 0) {
311 if (UsbdFunction::SendCmdToService(DEV_SERVICE_NAME, FUNCTION_ADD, ddkFuns)) {
312 HDF_LOGE("%{public}s: create dev error: %{public}d", __func__, ddkFuns);