Lines Matching refs:bus

84 	struct usb_bus		self;		/* hcd is-a bus */
92 char irq_descr[24]; /* driver + bus # */
160 * any new bus bandwidth constraints:
211 static inline struct usb_hcd *bus_to_hcd(struct usb_bus *bus)
213 return container_of(bus, struct usb_hcd, self);
248 * a whole, not just the root hub; they're for PCI bus glue.
344 * endpoint_enable and endpoint_disable, does not exceed bus
456 void *hcd_buffer_alloc(struct usb_bus *bus, size_t size,
458 void hcd_buffer_free(struct usb_bus *bus, size_t size,
461 /* generic bus glue, needed for host controllers that don't use PCI */
469 extern void usb_hcd_start_port_resume(struct usb_bus *bus, int portnum);
470 extern void usb_hcd_end_port_resume(struct usb_bus *bus, int portnum);
504 * TTs should only be known to the hub driver, and high speed bus
644 void (*urb_submit)(struct usb_bus *bus, struct urb *urb);
645 void (*urb_submit_error)(struct usb_bus *bus, struct urb *urb, int err);
646 void (*urb_complete)(struct usb_bus *bus, struct urb *urb, int status);
647 /* void (*urb_unlink)(struct usb_bus *bus, struct urb *urb); */
652 static inline void usbmon_urb_submit(struct usb_bus *bus, struct urb *urb)
654 if (bus->monitored)
655 (*mon_ops->urb_submit)(bus, urb);
658 static inline void usbmon_urb_submit_error(struct usb_bus *bus, struct urb *urb,
661 if (bus->monitored)
662 (*mon_ops->urb_submit_error)(bus, urb, error);
665 static inline void usbmon_urb_complete(struct usb_bus *bus, struct urb *urb,
668 if (bus->monitored)
669 (*mon_ops->urb_complete)(bus, urb, status);
677 static inline void usbmon_urb_submit(struct usb_bus *bus, struct urb *urb) {}
678 static inline void usbmon_urb_submit_error(struct usb_bus *bus, struct urb *urb,
680 static inline void usbmon_urb_complete(struct usb_bus *bus, struct urb *urb,