Home
last modified time | relevance | path

Searched refs:bNumEndpoints (Results 1 – 18 of 18) sorted by relevance

/drivers/peripheral/usb/ddk/host/src/
Dusb_protocol.c99 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()
Dusb_raw_api_library.c390 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/
Dusb_config_desc_parser.cpp223 (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/
Dusb_ddk_types.h150 uint8_t bNumEndpoints; member
/drivers/peripheral/usb/ddk/device/src/
Dusbfn_dev_mgr.c41 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()
Dusbfn_cfg_mgr.c292 drsOps->GetUint8(node, INTERFACE_NENDPOINT, &desc->bNumEndpoints, 0) != HDF_SUCCESS || in UsbFnCfgMgrParseInterfaceDesc()
/drivers/peripheral/usb/hdi_service/include/
Dusbd_type.h178 uint8_t bNumEndpoints; member
/drivers/hdf_core/framework/model/audio/usb/src/
Daudio_usb_parse_interface.c158 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()
Daudio_usb_dma_ops.c382 if (altsd->bNumEndpoints < USB_ENDPOINT_INDEX_2) { in AudioUsbSetSyncEndpoint()
/drivers/peripheral/usb/interfaces/ddk/common/
Dusb_ddk.h200 uint8_t bNumEndpoints; member
/drivers/peripheral/usb/test/unittest/device_sdk/
Dusb_device_cdcacm_test.cpp46 .bNumEndpoints = NOTIFY_EP_NUM,
62 .bNumEndpoints = DATA_EP_NUM,
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/
Dusb_device_lite_cdcacm_test.c38 .bNumEndpoints = NOTIFY_EP_NUM,
54 .bNumEndpoints = DATA_EP_NUM,
/drivers/peripheral/usb/sample/host/src/
Dusbhost_sdkraw_speed.c259 uint8_t numEndpoints = interface->altsetting->interfaceDescriptor.bNumEndpoints; in UsbParseConfigDescriptorProcess()
/drivers/peripheral/usb/sample/host/liteos_test/src/
Dusbhost_sdkraw_speed.c265 uint8_t numEndpoints = interface->altsetting->interfaceDescriptor.bNumEndpoints; in UsbSpeedParaseInterfaceClass()
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
Dusb_raw_io.c273 numEndpoints = interface->altsetting->interfaceDescriptor.bNumEndpoints; in AcmParaseInterfaceClass()
/drivers/peripheral/usb/test/unittest/host_sdk/
Dusb_raw_sdk_if_test_io.cpp262 uint8_t numEndpoints = interface->altsetting->interfaceDescriptor.bNumEndpoints; in UsbParseConfigDescriptor()
Dusb_raw_sdk_if_test.cpp315 uint8_t numEndpoints = interface->altsetting->interfaceDescriptor.bNumEndpoints; in UsbParseConfigDescriptor()
/drivers/peripheral/usb/serial/src/
Dusb_serial_rawapi.c206 uint8_t numEndpoints = interface->altsetting->interfaceDescriptor.bNumEndpoints; in UsbParseConfigDescriptorProcess()