/linux/include/linux/usb/ |
A D | hcd.h | 81 struct usb_hcd { struct 198 struct usb_hcd *shared_hcd; argument 199 struct usb_hcd *primary_hcd; argument 271 int (*reset) (struct usb_hcd *hcd); 272 int (*start) (struct usb_hcd *hcd); 284 void (*stop) (struct usb_hcd *hcd); 326 int (*bus_resume)(struct usb_hcd *); 462 struct usb_hcd *primary_hcd); 467 struct usb_hcd *shared_hcd); 468 extern struct usb_hcd *usb_get_hcd(struct usb_hcd *hcd); [all …]
|
A D | ehci-dbgp.h | 51 struct usb_hcd; 54 extern int xen_dbgp_reset_prep(struct usb_hcd *); 55 extern int xen_dbgp_external_startup(struct usb_hcd *); 57 static inline int xen_dbgp_reset_prep(struct usb_hcd *hcd) in xen_dbgp_reset_prep() 62 static inline int xen_dbgp_external_startup(struct usb_hcd *hcd) in xen_dbgp_external_startup() 70 extern int dbgp_external_startup(struct usb_hcd *); 71 extern int dbgp_reset_prep(struct usb_hcd *); 73 static inline int dbgp_reset_prep(struct usb_hcd *hcd) in dbgp_reset_prep() 78 static inline int dbgp_external_startup(struct usb_hcd *hcd) in dbgp_external_startup()
|
/linux/drivers/usb/host/ |
A D | xhci-mvebu.h | 11 struct usb_hcd; 14 int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd); 15 int xhci_mvebu_a3700_plat_setup(struct usb_hcd *hcd); 16 int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd); 18 static inline int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd) in xhci_mvebu_mbus_init_quirk() 23 static inline int xhci_mvebu_a3700_plat_setup(struct usb_hcd *hcd) in xhci_mvebu_a3700_plat_setup() 28 static inline int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd) in xhci_mvebu_a3700_init_quirk()
|
A D | ohci-da8xx.c | 38 struct usb_hcd *hcd; 51 static int ohci_da8xx_enable(struct usb_hcd *hcd) in ohci_da8xx_enable() 78 static void ohci_da8xx_disable(struct usb_hcd *hcd) in ohci_da8xx_disable() 113 static int ohci_da8xx_get_power(struct usb_hcd *hcd) in ohci_da8xx_get_power() 123 static int ohci_da8xx_get_oci(struct usb_hcd *hcd) in ohci_da8xx_get_oci() 155 static int ohci_da8xx_has_oci(struct usb_hcd *hcd) in ohci_da8xx_has_oci() 227 static int ohci_da8xx_reset(struct usb_hcd *hcd) in ohci_da8xx_reset() 378 struct usb_hcd *hcd; in ohci_da8xx_probe() 474 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_da8xx_remove() 486 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_da8xx_suspend() [all …]
|
A D | xhci-rcar.h | 16 void xhci_rcar_start(struct usb_hcd *hcd); 17 int xhci_rcar_init_quirk(struct usb_hcd *hcd); 18 int xhci_rcar_resume_quirk(struct usb_hcd *hcd); 20 static inline void xhci_rcar_start(struct usb_hcd *hcd) in xhci_rcar_start() 24 static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd) in xhci_rcar_init_quirk() 29 static inline int xhci_rcar_resume_quirk(struct usb_hcd *hcd) in xhci_rcar_resume_quirk()
|
A D | ohci-pci.c | 35 static int broken_suspend(struct usb_hcd *hcd) in broken_suspend() 44 static int ohci_quirk_amd756(struct usb_hcd *hcd) in ohci_quirk_amd756() 59 static int ohci_quirk_opti(struct usb_hcd *hcd) in ohci_quirk_opti() 72 static int ohci_quirk_ns(struct usb_hcd *hcd) in ohci_quirk_ns() 94 static int ohci_quirk_zfmicro(struct usb_hcd *hcd) in ohci_quirk_zfmicro() 107 static int ohci_quirk_toshiba_scc(struct usb_hcd *hcd) in ohci_quirk_toshiba_scc() 140 static int ohci_quirk_nec(struct usb_hcd *hcd) in ohci_quirk_nec() 151 static int ohci_quirk_amd700(struct usb_hcd *hcd) in ohci_quirk_amd700() 168 static int ohci_quirk_qemu(struct usb_hcd *hcd) in ohci_quirk_qemu() 238 static int ohci_pci_reset (struct usb_hcd *hcd) in ohci_pci_reset() [all …]
|
A D | xhci-plat.c | 30 static int xhci_plat_setup(struct usb_hcd *hcd); 31 static int xhci_plat_start(struct usb_hcd *hcd); 47 static int xhci_priv_plat_setup(struct usb_hcd *hcd) in xhci_priv_plat_setup() 100 static int xhci_plat_setup(struct usb_hcd *hcd) in xhci_plat_setup() 112 static int xhci_plat_start(struct usb_hcd *hcd) in xhci_plat_start() 194 struct usb_hcd *hcd; in xhci_plat_probe() 411 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_plat_remove() 436 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_suspend() 452 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_resume() 473 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_runtime_suspend() [all …]
|
A D | xhci-plat.h | 16 int (*plat_setup)(struct usb_hcd *); 17 void (*plat_start)(struct usb_hcd *); 18 int (*init_quirk)(struct usb_hcd *); 19 int (*suspend_quirk)(struct usb_hcd *); 20 int (*resume_quirk)(struct usb_hcd *);
|
A D | max3421-hcd.c | 335 hcd_to_max3421(struct usb_hcd *hcd) in hcd_to_max3421() 340 static inline struct usb_hcd * 1138 struct usb_hcd *hcd = dev_id; in max3421_irq_handler() 1152 dump_eps(struct usb_hcd *hcd) in dump_eps() 1339 max3421_urb_done(struct usb_hcd *hcd) in max3421_urb_done() 1376 struct usb_hcd *hcd = dev_id; in max3421_spi_thread() 1468 max3421_reset(struct usb_hcd *hcd) in max3421_reset() 1481 max3421_start(struct usb_hcd *hcd) in max3421_start() 1497 max3421_stop(struct usb_hcd *hcd) in max3421_stop() 1828 struct usb_hcd *hcd = NULL; in max3421_probe() [all …]
|
A D | xhci-mtk.h | 144 struct usb_hcd *hcd; 166 static inline struct xhci_hcd_mtk *hcd_to_mtk(struct usb_hcd *hcd) in hcd_to_mtk() 173 int xhci_mtk_add_ep(struct usb_hcd *hcd, struct usb_device *udev, 175 int xhci_mtk_drop_ep(struct usb_hcd *hcd, struct usb_device *udev, 177 int xhci_mtk_check_bandwidth(struct usb_hcd *hcd, struct usb_device *udev); 178 void xhci_mtk_reset_bandwidth(struct usb_hcd *hcd, struct usb_device *udev);
|
A D | ohci-sa1111.c | 44 static void dump_hci_status(struct usb_hcd *hcd, const char *label) 57 static int ohci_sa1111_reset(struct usb_hcd *hcd) in ohci_sa1111_reset() 65 static int ohci_sa1111_start(struct usb_hcd *hcd) in ohci_sa1111_start() 181 struct usb_hcd *hcd; in ohci_hcd_sa1111_probe() 241 struct usb_hcd *hcd = sa1111_get_drvdata(dev); in ohci_hcd_sa1111_remove() 252 struct usb_hcd *hcd = sa1111_get_drvdata(dev); in ohci_hcd_sa1111_shutdown()
|
A D | xhci-rcar.c | 88 static void xhci_rcar_start_gen2(struct usb_hcd *hcd) in xhci_rcar_start_gen2() 111 void xhci_rcar_start(struct usb_hcd *hcd) in xhci_rcar_start() 125 static int xhci_rcar_download_firmware(struct usb_hcd *hcd) in xhci_rcar_download_firmware() 195 static bool xhci_rcar_wait_for_pll_active(struct usb_hcd *hcd) in xhci_rcar_wait_for_pll_active() 206 int xhci_rcar_init_quirk(struct usb_hcd *hcd) in xhci_rcar_init_quirk() 218 int xhci_rcar_resume_quirk(struct usb_hcd *hcd) in xhci_rcar_resume_quirk()
|
A D | ehci-atmel.c | 73 struct usb_hcd *hcd = platform_get_drvdata(pdev); in atmel_start_ehci() 82 struct usb_hcd *hcd = platform_get_drvdata(pdev); in atmel_stop_ehci() 93 struct usb_hcd *hcd; in ehci_atmel_drv_probe() 180 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_atmel_drv_remove() 192 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_atmel_drv_suspend() 206 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_atmel_drv_resume()
|
A D | ehci-fsl.c | 50 struct usb_hcd *hcd; in fsl_ehci_drv_probe() 186 static bool usb_phy_clk_valid(struct usb_hcd *hcd) in usb_phy_clk_valid() 197 static int ehci_fsl_setup_phy(struct usb_hcd *hcd, in ehci_fsl_setup_phy() 303 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_fsl_usb_setup() 375 static int ehci_fsl_setup(struct usb_hcd *hcd) in ehci_fsl_setup() 433 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_mpc512x_drv_suspend() 502 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_mpc512x_drv_resume() 584 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_drv_suspend() 604 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_drv_resume() 631 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_drv_restore() [all …]
|
A D | ohci-s3c2410.c | 55 static struct s3c2410_hcd_info *to_s3c2410_info(struct usb_hcd *hcd) in to_s3c2410_info() 60 static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd) in s3c2410_start_hc() 105 ohci_s3c2410_hub_status_data(struct usb_hcd *hcd, char *buf) in ohci_s3c2410_hub_status_data() 163 struct usb_hcd *hcd, in ohci_s3c2410_hub_control() 337 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_hcd_s3c2410_remove() 357 struct usb_hcd *hcd = NULL; in ohci_hcd_s3c2410_probe() 413 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_s3c2410_drv_suspend() 429 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_s3c2410_drv_resume()
|
A D | ohci-tmio.c | 75 struct usb_hcd *hcd = platform_get_drvdata(dev); in tmio_write_pm() 91 struct usb_hcd *hcd = platform_get_drvdata(dev); in tmio_stop_hc() 119 struct usb_hcd *hcd = platform_get_drvdata(dev); in tmio_start_hc() 134 static int ohci_tmio_start(struct usb_hcd *hcd) in ohci_tmio_start() 196 struct usb_hcd *hcd; in ohci_hcd_tmio_drv_probe() 275 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_hcd_tmio_drv_remove() 294 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_hcd_tmio_drv_suspend() 324 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_hcd_tmio_drv_resume()
|
/linux/drivers/staging/greybus/ |
A D | usb.c | 38 static inline struct gb_usb_device *to_gb_usb_device(struct usb_hcd *hcd) in to_gb_usb_device() 43 static inline struct usb_hcd *gb_usb_device_to_hcd(struct gb_usb_device *dev) in gb_usb_device_to_hcd() 45 return container_of((void *)dev, struct usb_hcd, hcd_priv); in gb_usb_device_to_hcd() 48 static void hcd_stop(struct usb_hcd *hcd) in hcd_stop() 59 static int hcd_start(struct usb_hcd *hcd) in hcd_start() 78 static int urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) in urb_enqueue() 83 static int urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in urb_dequeue() 88 static int get_frame_number(struct usb_hcd *hcd) in get_frame_number() 93 static int hub_status_data(struct usb_hcd *hcd, char *buf) in hub_status_data() 164 struct usb_hcd *hcd; in gb_usb_probe() [all …]
|
/linux/drivers/usb/core/ |
A D | hcd-pci.c | 43 struct pci_dev *companion, struct usb_hcd *companion_hcd); 50 struct usb_hcd *companion_hcd; in for_each_companion() 86 struct pci_dev *companion, struct usb_hcd *companion_hcd) in ehci_pre_add() 103 struct pci_dev *companion, struct usb_hcd *companion_hcd) in ehci_post_add() 177 struct usb_hcd *hcd; in usb_hcd_pci_probe() 319 struct usb_hcd *hcd; in usb_hcd_pci_remove() 367 struct usb_hcd *hcd; in usb_hcd_pci_shutdown() 408 struct usb_hcd *hcd = dev_get_drvdata(dev); in check_root_hub_suspended() 427 struct usb_hcd *hcd = pci_get_drvdata(pci_dev); in suspend_common() 482 struct usb_hcd *hcd = pci_get_drvdata(pci_dev); in resume_common() [all …]
|
A D | hcd.c | 1598 struct usb_hcd *hcd; in usb_hcd_unlink_urb() 1761 struct usb_hcd *hcd; in usb_hcd_flush_endpoint() 1845 struct usb_hcd *hcd; in usb_hcd_alloc_bandwidth() 1962 struct usb_hcd *hcd; in usb_hcd_disable_endpoint() 2015 struct usb_hcd *hcd; in usb_alloc_streams() 2065 struct usb_hcd *hcd; in usb_free_streams() 2372 struct usb_hcd *hcd = container_of(work, struct usb_hcd, wakeup_work); in hcd_resume_work() 2477 struct usb_hcd *hcd = container_of(work, struct usb_hcd, died_work); in hcd_died_work() 2553 struct usb_hcd *hcd; in __usb_create_hcd() 2668 struct usb_hcd *hcd = container_of (kref, struct usb_hcd, kref); in hcd_release() [all …]
|
/linux/drivers/usb/c67x00/ |
A D | c67x00-hcd.h | 87 static inline struct c67x00_hcd *hcd_to_c67x00_hcd(struct usb_hcd *hcd) in hcd_to_c67x00_hcd() 92 static inline struct usb_hcd *c67x00_hcd_to_hcd(struct c67x00_hcd *c67x00) in c67x00_hcd_to_hcd() 94 return container_of((void *)c67x00, struct usb_hcd, hcd_priv); in c67x00_hcd_to_hcd() 107 int c67x00_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags); 108 int c67x00_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status); 109 void c67x00_endpoint_disable(struct usb_hcd *hcd,
|
A D | c67x00-hcd.c | 47 static int c67x00_hub_status_data(struct usb_hcd *hcd, char *buf) in c67x00_hub_status_data() 66 static int c67x00_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in c67x00_hub_control() 239 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); in c67x00_hcd_irq() 266 static int c67x00_hcd_start(struct usb_hcd *hcd) in c67x00_hcd_start() 278 static void c67x00_hcd_stop(struct usb_hcd *hcd) in c67x00_hcd_stop() 283 static int c67x00_hcd_get_frame(struct usb_hcd *hcd) in c67x00_hcd_get_frame() 332 struct usb_hcd *hcd; in c67x00_hcd_probe() 394 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); in c67x00_hcd_remove()
|
/linux/drivers/usb/isp1760/ |
A D | isp1760-hcd.c | 649 static int ehci_reset(struct usb_hcd *hcd) in ehci_reset() 682 static int priv_init(struct usb_hcd *hcd) in priv_init() 718 static int isp1760_hc_setup(struct usb_hcd *hcd) in isp1760_hc_setup() 1197 static void schedule_ptds(struct usb_hcd *hcd) in schedule_ptds() 1552 static struct usb_hcd *errata2_timer_hcd; 1556 struct usb_hcd *hcd = errata2_timer_hcd; in errata2_function() 1584 static int isp1763_run(struct usb_hcd *hcd) in isp1763_run() 1659 static int isp1760_run(struct usb_hcd *hcd) in isp1760_run() 1772 static void packetize_urb(struct usb_hcd *hcd, in packetize_urb() 2460 static void isp1760_stop(struct usb_hcd *hcd) in isp1760_stop() [all …]
|
/linux/drivers/usb/usbip/ |
A D | vhci.h | 149 static inline struct vhci_hcd *hcd_to_vhci_hcd(struct usb_hcd *hcd) in hcd_to_vhci_hcd() 154 static inline struct device *hcd_dev(struct usb_hcd *hcd) in hcd_dev() 159 static inline const char *hcd_name(struct usb_hcd *hcd) in hcd_name() 164 static inline struct usb_hcd *vhci_hcd_to_hcd(struct vhci_hcd *vhci_hcd) in vhci_hcd_to_hcd() 166 return container_of((void *) vhci_hcd, struct usb_hcd, hcd_priv); in vhci_hcd_to_hcd()
|
A D | vhci_hcd.c | 39 static int vhci_start(struct usb_hcd *vhci_hcd); 40 static void vhci_stop(struct usb_hcd *hcd); 41 static int vhci_get_frame_number(struct usb_hcd *hcd); 1140 static int vhci_setup(struct usb_hcd *hcd) in vhci_setup() 1171 static int vhci_start(struct usb_hcd *hcd) in vhci_start() 1225 static void vhci_stop(struct usb_hcd *hcd) in vhci_stop() 1271 static int vhci_bus_resume(struct usb_hcd *hcd) in vhci_bus_resume() 1341 struct usb_hcd *hcd_hs; in vhci_hcd_probe() 1342 struct usb_hcd *hcd_ss; in vhci_hcd_probe() 1422 struct usb_hcd *hcd; in vhci_hcd_suspend() [all …]
|
/linux/drivers/usb/musb/ |
A D | musb_host.h | 55 extern struct musb *hcd_to_musb(struct usb_hcd *); 70 static inline struct musb *hcd_to_musb(struct usb_hcd *hcd) in hcd_to_musb() 105 struct usb_hcd; 107 extern int musb_hub_status_data(struct usb_hcd *hcd, char *buf); 108 extern int musb_hub_control(struct usb_hcd *hcd,
|