/drivers/peripheral/usb/ddk/host/src/ |
D | usb_protocol.c | 99 ptr->pipeNum = iface->interfaceDescriptor.bNumEndpoints; in UsbInterfaceInit() 162 if (ifDes->interfaceDescriptor.bNumEndpoints < (idx + 1)) { in UsbGetEpDesc() 163 …"%{public}s:invalid param numEp:%d+idx:%hhu\n", __func__, ifDes->interfaceDescriptor.bNumEndpoints, in UsbGetEpDesc() 178 for (int32_t cnep = 0; cnep < ifDes->interfaceDescriptor.bNumEndpoints; cnep++) { in UsbProtocalCreatePipeObj() 179 if (ifDes->interfaceDescriptor.bNumEndpoints > USB_MAXENDPOINTS) { in UsbProtocalCreatePipeObj() 181 __func__, __LINE__, ifDes->interfaceDescriptor.bNumEndpoints); in UsbProtocalCreatePipeObj()
|
D | usb_raw_api_library.c | 390 for (j = 0; j < infPtr->interfaceDescriptor.bNumEndpoints; j++) { in ClearInterface() 414 (ifp->interfaceDescriptor.bNumEndpoints > USB_MAXENDPOINTS)) { in RawParseDescriptor() 416 ifp->interfaceDescriptor.bLength, ifp->interfaceDescriptor.bNumEndpoints); in RawParseDescriptor() 447 if (ifp->interfaceDescriptor.bNumEndpoints > 0) { in ParseInterfaceEndpoint() 448 endPoint = RawUsbMemCalloc(ifp->interfaceDescriptor.bNumEndpoints * sizeof(*endPoint)); in ParseInterfaceEndpoint() 455 for (uint8_t i = 0; i < ifp->interfaceDescriptor.bNumEndpoints; i++) { in ParseInterfaceEndpoint() 458 ifp->interfaceDescriptor.bNumEndpoints = i; in ParseInterfaceEndpoint()
|
/drivers/external_device_manager/frameworks/ddk/usb/ |
D | usb_config_desc_parser.cpp | 223 (ddkIntfDesc.interfaceDescriptor.bNumEndpoints > USB_MAXENDPOINTS)) { in RawParseDescriptor() 225 ddkIntfDesc.interfaceDescriptor.bLength, ddkIntfDesc.interfaceDescriptor.bNumEndpoints); in RawParseDescriptor() 237 if (ddkIntfDesc.interfaceDescriptor.bNumEndpoints > 0) { in ParseInterfaceEndpoint() 238 endPoint = new UsbDdkEndpointDescriptor[ddkIntfDesc.interfaceDescriptor.bNumEndpoints]; in ParseInterfaceEndpoint() 243 auto len = ddkIntfDesc.interfaceDescriptor.bNumEndpoints * sizeof(UsbDdkEndpointDescriptor); in ParseInterfaceEndpoint() 247 for (uint8_t i = 0; i < ddkIntfDesc.interfaceDescriptor.bNumEndpoints; i++) { in ParseInterfaceEndpoint() 250 ddkIntfDesc.interfaceDescriptor.bNumEndpoints = i; in ParseInterfaceEndpoint() 406 for (j = 0; j < infPtr->interfaceDescriptor.bNumEndpoints; j++) { in ClearInterface()
|
/drivers/external_device_manager/interfaces/ddk/usb/ |
D | usb_ddk_types.h | 150 uint8_t bNumEndpoints; member
|
/drivers/peripheral/usb/ddk/device/src/ |
D | usbfn_dev_mgr.c | 41 if (intf->bDescriptorType == USB_DDK_DT_INTERFACE && intf->bNumEndpoints > 0) { in GetInterfaceInfo() 51 info->numPipes = intf->bNumEndpoints; in GetInterfaceInfo() 57 g_epCnt += intf->bNumEndpoints; in GetInterfaceInfo() 158 if (interface->bNumEndpoints > 0) { in GetInterfaceNum()
|
D | usbfn_cfg_mgr.c | 292 drsOps->GetUint8(node, INTERFACE_NENDPOINT, &desc->bNumEndpoints, 0) != HDF_SUCCESS || in UsbFnCfgMgrParseInterfaceDesc()
|
/drivers/peripheral/usb/hdi_service/include/ |
D | usbd_type.h | 178 uint8_t bNumEndpoints; member
|
/drivers/hdf_core/framework/model/audio/usb/src/ |
D | audio_usb_parse_interface.c | 158 if (csep == NULL && altsd->bNumEndpoints >= ENDPOINT_NUM_2) { in ParseUacEndpointAttr() 775 if (inteDesc->bNumEndpoints < 1) { in AudioUsbV1SetSampleRate() 861 if (uacFmt->altsd->bNumEndpoints < 1) { in AudioUsbGetAltsd()
|
D | audio_usb_dma_ops.c | 382 if (altsd->bNumEndpoints < USB_ENDPOINT_INDEX_2) { in AudioUsbSetSyncEndpoint()
|
/drivers/peripheral/usb/interfaces/ddk/common/ |
D | usb_ddk.h | 200 uint8_t bNumEndpoints; member
|
/drivers/peripheral/usb/test/unittest/device_sdk/ |
D | usb_device_cdcacm_test.cpp | 46 .bNumEndpoints = NOTIFY_EP_NUM, 62 .bNumEndpoints = DATA_EP_NUM,
|
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/ |
D | usb_device_lite_cdcacm_test.c | 38 .bNumEndpoints = NOTIFY_EP_NUM, 54 .bNumEndpoints = DATA_EP_NUM,
|
/drivers/peripheral/usb/sample/host/src/ |
D | usbhost_sdkraw_speed.c | 259 uint8_t numEndpoints = interface->altsetting->interfaceDescriptor.bNumEndpoints; in UsbParseConfigDescriptorProcess()
|
/drivers/peripheral/usb/sample/host/liteos_test/src/ |
D | usbhost_sdkraw_speed.c | 265 uint8_t numEndpoints = interface->altsetting->interfaceDescriptor.bNumEndpoints; in UsbSpeedParaseInterfaceClass()
|
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/ |
D | usb_raw_io.c | 273 numEndpoints = interface->altsetting->interfaceDescriptor.bNumEndpoints; in AcmParaseInterfaceClass()
|
/drivers/peripheral/usb/test/unittest/host_sdk/ |
D | usb_raw_sdk_if_test_io.cpp | 262 uint8_t numEndpoints = interface->altsetting->interfaceDescriptor.bNumEndpoints; in UsbParseConfigDescriptor()
|
D | usb_raw_sdk_if_test.cpp | 315 uint8_t numEndpoints = interface->altsetting->interfaceDescriptor.bNumEndpoints; in UsbParseConfigDescriptor()
|
/drivers/peripheral/usb/serial/src/ |
D | usb_serial_rawapi.c | 206 uint8_t numEndpoints = interface->altsetting->interfaceDescriptor.bNumEndpoints; in UsbParseConfigDescriptorProcess()
|