Home
last modified time | relevance | path

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

/drivers/peripheral/usb/ddk/host/src/
Dusb_raw_api_library.c403 const struct UsbRawInterfaceDescriptor *ifp) in RawParseDescriptor() argument
407 ParseDescriptor(buffer, bDescriptorType, (void *)ifp); in RawParseDescriptor()
408 if ((ifp->interfaceDescriptor.bDescriptorType != USB_DDK_DT_INTERFACE) || in RawParseDescriptor()
409 (ifp->interfaceDescriptor.bLength > size)) { in RawParseDescriptor()
411 ifp->interfaceDescriptor.bDescriptorType, size); in RawParseDescriptor()
413 } else if ((ifp->interfaceDescriptor.bLength < USB_DDK_DT_INTERFACE_SIZE) || in RawParseDescriptor()
414 (ifp->interfaceDescriptor.bNumEndpoints > USB_MAXENDPOINTS)) { in RawParseDescriptor()
416 ifp->interfaceDescriptor.bLength, ifp->interfaceDescriptor.bNumEndpoints); in RawParseDescriptor()
423 static int32_t ParseInterfaceCopy(struct UsbRawInterfaceDescriptor * const ifp, int32_t len, const … in ParseInterfaceCopy() argument
427 ifp->extra = RawUsbMemAlloc((size_t)len); in ParseInterfaceCopy()
[all …]