Home
last modified time | relevance | path

Searched refs:numInterfaces (Results 1 – 9 of 9) sorted by relevance

/drivers/peripheral/usb/ddk/device/src/
Dusbfn_dev_mgr.c42 if (g_intfCnt >= devMgr->fnDev.numInterfaces) { in GetInterfaceInfo()
178 … fnDevMgr->fnDev.numInterfaces += GetInterfaceNum(des->configs[i]->functions[j]->fsDescriptors); in AllocInterfaceAndFuncMgr()
181 if (fnDevMgr->fnDev.numInterfaces == 0) { in AllocInterfaceAndFuncMgr()
186 …fnDevMgr->interfaceMgr = UsbFnMemCalloc(fnDevMgr->fnDev.numInterfaces * sizeof(struct UsbFnInterfa… in AllocInterfaceAndFuncMgr()
346 if (interfaceIndex >= fnDevMgr->fnDev.numInterfaces) { in UsbFnMgrDeviceGetInterface()
370 for (i = 0; i < devMgr->fnDev.numInterfaces; i++) { in CollectEventHandle()
472 for (i = 0; i < devMgr->fnDev.numInterfaces; i++) { in GetHandleMgr()
/drivers/peripheral/usb/interfaces/ddk/device/
Dusbfn_device.h44 uint8_t numInterfaces; member
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
Dusb_raw_io.c309 uint8_t numInterfaces; in UsbParseConfigDescriptor() local
312 numInterfaces = config->configDescriptor.bNumInterfaces; in UsbParseConfigDescriptor()
313 printf("------numInterfaces = [%hhu]------\n", numInterfaces); in UsbParseConfigDescriptor()
314 for (uint8_t i = 0; i < numInterfaces; i++) { in UsbParseConfigDescriptor()
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/
Dusb_device_lite_cdcacm_test.c363 for (i = 0; i < acmDevice->fnDev->numInterfaces; i++) { in ParseInterfaces()
804 for (i = 0; i < device->numInterfaces; i++) { in RemoveUsbDevice()
/drivers/peripheral/usb/gadget/function/mtp/src/
Dusbfn_mtp_impl.cpp770 for (int32_t i = 0; i < fnDev->numInterfaces; ++i) { in UsbMtpDeviceParseEachIface()
773 …LOGE("%{public}s: get interface failed: %{public}d/%{public}d", __func__, i, fnDev->numInterfaces); in UsbMtpDeviceParseEachIface()
778 …I("%{public}s: found mtp/ptp interface: %{public}d/%{public}d", __func__, i, fnDev->numInterfaces); in UsbMtpDeviceParseEachIface()
811 HDF_LOGI("%{public}s: getDevice interface count=%{public}d", __func__, fnDev->numInterfaces); in UsbMtpDeviceCreateFuncDevice()
/drivers/peripheral/usb/test/unittest/device_sdk/
Dusb_device_cdcacm_test.cpp347 for (i = 0; i < acmDevice->fnDev->numInterfaces; i++) { in ParseInterfaces()
/drivers/peripheral/usb/test/unittest/host_sdk/
Dusb_raw_sdk_if_test.cpp311 uint8_t numInterfaces = config->configDescriptor.bNumInterfaces; in UsbParseConfigDescriptor() local
312 for (uint8_t i = 0; i < numInterfaces; i++) { in UsbParseConfigDescriptor()
/drivers/peripheral/usb/gadget/function/ecm/
Dcdcecm.c731 for (i = 0; i < fnDev->numInterfaces; i++) { in EcmParseEachIface()
/drivers/peripheral/usb/gadget/function/acm/
Dcdcacm.c1393 for (i = 0; i < fnDev->numInterfaces; i++) { in AcmParseEachIface()