Lines Matching refs:hcd

18 #include <linux/usb/hcd.h>
21 /* Code sharing between pci-quirks and xhci hcd */
1473 struct usb_hcd *hcd;
1640 /* Indicates that omitting hcd is supported if root hub has no ports */
1664 int (*reset)(struct usb_hcd *hcd);
1665 int (*start)(struct usb_hcd *hcd);
1666 int (*add_endpoint)(struct usb_hcd *hcd, struct usb_device *udev,
1668 int (*drop_endpoint)(struct usb_hcd *hcd, struct usb_device *udev,
1672 int (*update_hub_device)(struct usb_hcd *hcd, struct usb_device *hdev,
1674 int (*hub_control)(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
1681 static inline struct xhci_hcd *hcd_to_xhci(struct usb_hcd *hcd)
1685 if (usb_hcd_is_primary_hcd(hcd))
1686 primary_hcd = hcd;
1688 primary_hcd = hcd->primary_hcd;
1709 static inline bool xhci_hcd_is_usb3(struct usb_hcd *hcd)
1711 struct xhci_hcd *xhci = hcd_to_xhci(hcd);
1713 return hcd == xhci_get_usb3_hcd(xhci);
1830 xhci_create_secondary_interrupter(struct usb_hcd *hcd, unsigned int segs);
1832 *hcd, struct xhci_interrupter *ir);
1843 int xhci_run(struct usb_hcd *hcd);
1844 int xhci_gen_setup(struct usb_hcd *hcd, xhci_get_quirks_t get_quirks);
1845 void xhci_shutdown(struct usb_hcd *hcd);
1846 void xhci_stop(struct usb_hcd *hcd);
1849 int xhci_add_endpoint(struct usb_hcd *hcd, struct usb_device *udev,
1851 int xhci_drop_endpoint(struct usb_hcd *hcd, struct usb_device *udev,
1853 int xhci_check_bandwidth(struct usb_hcd *hcd, struct usb_device *udev);
1854 void xhci_reset_bandwidth(struct usb_hcd *hcd, struct usb_device *udev);
1855 int xhci_update_hub_device(struct usb_hcd *hcd, struct usb_device *hdev,
1863 irqreturn_t xhci_irq(struct usb_hcd *hcd);
1864 irqreturn_t xhci_msi_irq(int irq, void *hcd);
1865 int xhci_alloc_dev(struct usb_hcd *hcd, struct usb_device *udev);
1923 int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex,
1925 int xhci_hub_status_data(struct usb_hcd *hcd, char *buf);
1926 int xhci_find_raw_port_number(struct usb_hcd *hcd, int port1);
1927 struct xhci_hub *xhci_get_rhub(struct usb_hcd *hcd);
1932 int xhci_bus_suspend(struct usb_hcd *hcd);
1933 int xhci_bus_resume(struct usb_hcd *hcd);
1934 unsigned long xhci_get_resuming_ports(struct usb_hcd *hcd);