Lines Matching refs:udev
32 typedef int (*usbh_udev_cb_t)(struct usb_device *const udev,
42 static inline struct uhc_transfer *usbh_xfer_alloc(struct usb_device *udev, in usbh_xfer_alloc() argument
49 struct usbh_contex *const ctx = udev->ctx; in usbh_xfer_alloc()
51 return uhc_xfer_alloc(ctx->dev, udev->addr, ep, attrib, mps, timeout, udev, cb); in usbh_xfer_alloc()
54 static inline int usbh_xfer_buf_add(const struct usb_device *udev, in usbh_xfer_buf_add() argument
58 struct usbh_contex *const ctx = udev->ctx; in usbh_xfer_buf_add()
63 static inline struct net_buf *usbh_xfer_buf_alloc(struct usb_device *udev, in usbh_xfer_buf_alloc() argument
66 struct usbh_contex *const ctx = udev->ctx; in usbh_xfer_buf_alloc()
71 static inline int usbh_xfer_free(const struct usb_device *udev, in usbh_xfer_free() argument
74 struct usbh_contex *const ctx = udev->ctx; in usbh_xfer_free()
79 static inline void usbh_xfer_buf_free(const struct usb_device *udev, in usbh_xfer_buf_free() argument
82 struct usbh_contex *const ctx = udev->ctx; in usbh_xfer_buf_free()
87 static inline int usbh_xfer_enqueue(const struct usb_device *udev, in usbh_xfer_enqueue() argument
90 struct usbh_contex *const ctx = udev->ctx; in usbh_xfer_enqueue()