• Home
  • Raw
  • Download

Lines Matching refs:bus

188 static inline struct usb_hcd *bus_to_hcd(struct usb_bus *bus)  in bus_to_hcd()  argument
190 return container_of(bus, struct usb_hcd, self); in bus_to_hcd()
405 void *hcd_buffer_alloc(struct usb_bus *bus, size_t size,
407 void hcd_buffer_free(struct usb_bus *bus, size_t size,
613 void (*urb_submit)(struct usb_bus *bus, struct urb *urb);
614 void (*urb_submit_error)(struct usb_bus *bus, struct urb *urb, int err);
615 void (*urb_complete)(struct usb_bus *bus, struct urb *urb, int status);
621 static inline void usbmon_urb_submit(struct usb_bus *bus, struct urb *urb) in usbmon_urb_submit() argument
623 if (bus->monitored) in usbmon_urb_submit()
624 (*mon_ops->urb_submit)(bus, urb); in usbmon_urb_submit()
627 static inline void usbmon_urb_submit_error(struct usb_bus *bus, struct urb *urb, in usbmon_urb_submit_error() argument
630 if (bus->monitored) in usbmon_urb_submit_error()
631 (*mon_ops->urb_submit_error)(bus, urb, error); in usbmon_urb_submit_error()
634 static inline void usbmon_urb_complete(struct usb_bus *bus, struct urb *urb, in usbmon_urb_complete() argument
637 if (bus->monitored) in usbmon_urb_complete()
638 (*mon_ops->urb_complete)(bus, urb, status); in usbmon_urb_complete()
646 static inline void usbmon_urb_submit(struct usb_bus *bus, struct urb *urb) {} in usbmon_urb_submit() argument
647 static inline void usbmon_urb_submit_error(struct usb_bus *bus, struct urb *urb, in usbmon_urb_submit_error() argument
649 static inline void usbmon_urb_complete(struct usb_bus *bus, struct urb *urb, in usbmon_urb_complete() argument