Searched refs:usb_hcd (Results 1 - 146 of 146) sorted by relevance

/linux-4.1.27/drivers/usb/host/
H A Dxhci-rcar.h15 void xhci_rcar_start(struct usb_hcd *hcd);
16 int xhci_rcar_init_quirk(struct usb_hcd *hcd);
18 static inline void xhci_rcar_start(struct usb_hcd *hcd) xhci_rcar_start()
22 static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd) xhci_rcar_init_quirk()
H A Dehci-sead3.c25 static int ehci_sead3_setup(struct usb_hcd *hcd) ehci_sead3_setup()
97 struct usb_hcd *hcd; ehci_hcd_sead3_drv_probe()
139 struct usb_hcd *hcd = platform_get_drvdata(pdev); ehci_hcd_sead3_drv_remove()
150 struct usb_hcd *hcd = dev_get_drvdata(dev); ehci_hcd_sead3_drv_suspend()
158 struct usb_hcd *hcd = dev_get_drvdata(dev); ehci_hcd_sead3_drv_resume()
H A Dehci-sh.c18 struct usb_hcd *hcd;
21 static int ehci_sh_reset(struct usb_hcd *hcd) ehci_sh_reset()
83 struct usb_hcd *hcd; ehci_hcd_sh_probe()
166 struct usb_hcd *hcd = priv->hcd; ehci_hcd_sh_remove()
180 struct usb_hcd *hcd = priv->hcd; ehci_hcd_sh_shutdown()
H A Dhwa-hc.c114 * @usb_hcd: Pointer to WUSB Host Controller instance.
117 static int hwahc_op_reset(struct usb_hcd *usb_hcd) hwahc_op_reset() argument
120 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); hwahc_op_reset()
144 static int hwahc_op_start(struct usb_hcd *usb_hcd) hwahc_op_start() argument
148 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); hwahc_op_start()
160 usb_hcd->uses_new_polling = 1; hwahc_op_start()
161 set_bit(HCD_FLAG_POLL_RH, &usb_hcd->flags); hwahc_op_start()
162 usb_hcd->state = HC_STATE_RUNNING; hwahc_op_start()
168 pm_runtime_get_noresume(&usb_hcd->self.root_hub->dev); hwahc_op_start()
188 static void hwahc_op_stop(struct usb_hcd *usb_hcd) hwahc_op_stop() argument
190 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); hwahc_op_stop()
197 static int hwahc_op_get_frame_number(struct usb_hcd *usb_hcd) hwahc_op_get_frame_number() argument
199 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); hwahc_op_get_frame_number()
211 static int hwahc_op_urb_enqueue(struct usb_hcd *usb_hcd, struct urb *urb, hwahc_op_urb_enqueue() argument
214 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); hwahc_op_urb_enqueue()
220 static int hwahc_op_urb_dequeue(struct usb_hcd *usb_hcd, struct urb *urb, hwahc_op_urb_dequeue() argument
223 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); hwahc_op_urb_dequeue()
234 static void hwahc_op_endpoint_disable(struct usb_hcd *usb_hcd, hwahc_op_endpoint_disable() argument
237 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); hwahc_op_endpoint_disable()
620 .hcd_priv_size = sizeof(struct hwahc) - sizeof(struct usb_hcd),
803 struct usb_hcd *usb_hcd; hwahc_probe() local
809 usb_hcd = usb_create_hcd(&hwahc_hc_driver, &usb_iface->dev, "wusb-hwa"); hwahc_probe()
810 if (usb_hcd == NULL) { hwahc_probe()
814 usb_hcd->wireless = 1; hwahc_probe()
815 usb_hcd->self.sg_tablesize = ~0; hwahc_probe()
816 wusbhc = usb_hcd_to_wusbhc(usb_hcd); hwahc_probe()
824 result = usb_add_hcd(usb_hcd, 0, 0); hwahc_probe()
829 device_wakeup_enable(usb_hcd->self.controller); hwahc_probe()
838 usb_remove_hcd(usb_hcd); hwahc_probe()
842 usb_put_hcd(usb_hcd); hwahc_probe()
849 struct usb_hcd *usb_hcd; hwahc_disconnect() local
853 usb_hcd = usb_get_intfdata(usb_iface); hwahc_disconnect()
854 wusbhc = usb_hcd_to_wusbhc(usb_hcd); hwahc_disconnect()
858 usb_remove_hcd(usb_hcd); hwahc_disconnect()
860 usb_put_hcd(usb_hcd); hwahc_disconnect()
H A Dohci-jz4740.c27 static inline struct jz4740_ohci_hcd *hcd_to_jz4740_hcd(struct usb_hcd *hcd) hcd_to_jz4740_hcd()
32 static inline struct usb_hcd *jz4740_hcd_to_hcd(struct jz4740_ohci_hcd *jz4740_ohci) jz4740_hcd_to_hcd()
34 return container_of((void *)jz4740_ohci, struct usb_hcd, hcd_priv); jz4740_hcd_to_hcd()
37 static int ohci_jz4740_start(struct usb_hcd *hcd) ohci_jz4740_start()
81 static int ohci_jz4740_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, ohci_jz4740_hub_control()
151 struct usb_hcd *hcd; jz4740_ohci_probe()
222 struct usb_hcd *hcd = platform_get_drvdata(pdev); jz4740_ohci_remove()
H A Dohci-pci.c34 static int broken_suspend(struct usb_hcd *hcd) broken_suspend()
43 static int ohci_quirk_amd756(struct usb_hcd *hcd) ohci_quirk_amd756()
58 static int ohci_quirk_opti(struct usb_hcd *hcd) ohci_quirk_opti()
71 static int ohci_quirk_ns(struct usb_hcd *hcd) ohci_quirk_ns()
93 static int ohci_quirk_zfmicro(struct usb_hcd *hcd) ohci_quirk_zfmicro()
106 static int ohci_quirk_toshiba_scc(struct usb_hcd *hcd) ohci_quirk_toshiba_scc()
139 static int ohci_quirk_nec(struct usb_hcd *hcd) ohci_quirk_nec()
150 static int ohci_quirk_amd700(struct usb_hcd *hcd) ohci_quirk_amd700()
225 static int ohci_pci_reset (struct usb_hcd *hcd) ohci_pci_reset()
236 int (*quirk)(struct usb_hcd *ohci); ohci_pci_reset()
H A Dehci-atmel.c71 struct usb_hcd *hcd = platform_get_drvdata(pdev); atmel_start_ehci()
80 struct usb_hcd *hcd = platform_get_drvdata(pdev); atmel_stop_ehci()
91 struct usb_hcd *hcd; ehci_atmel_drv_probe()
178 struct usb_hcd *hcd = platform_get_drvdata(pdev); ehci_atmel_drv_remove()
191 struct usb_hcd *hcd = dev_get_drvdata(dev); ehci_atmel_drv_suspend()
205 struct usb_hcd *hcd = dev_get_drvdata(dev); ehci_atmel_drv_resume()
H A Dohci-sa1111.c45 static void dump_hci_status(struct usb_hcd *hcd, const char *label)
58 static int ohci_sa1111_reset(struct usb_hcd *hcd) ohci_sa1111_reset()
66 static int ohci_sa1111_start(struct usb_hcd *hcd) ohci_sa1111_start()
182 struct usb_hcd *hcd; ohci_hcd_sa1111_probe()
236 struct usb_hcd *hcd = sa1111_get_drvdata(dev); ohci_hcd_sa1111_remove()
248 struct usb_hcd *hcd = sa1111_get_drvdata(dev); ohci_hcd_sa1111_shutdown()
H A Duhci-platform.c14 static int uhci_platform_init(struct usb_hcd *hcd) uhci_platform_init()
66 struct usb_hcd *hcd; uhci_hcd_platform_probe()
116 struct usb_hcd *hcd = platform_get_drvdata(pdev); uhci_hcd_platform_remove()
133 struct usb_hcd *hcd = platform_get_drvdata(op); uhci_hcd_platform_shutdown()
H A Dmax3421-hcd.c337 hcd_to_max3421(struct usb_hcd *hcd) hcd_to_max3421()
342 static inline struct usb_hcd * max3421_to_hcd()
345 return container_of((void *) max3421_hcd, struct usb_hcd, hcd_priv); max3421_to_hcd()
349 spi_rd8(struct usb_hcd *hcd, unsigned int reg) spi_rd8()
375 spi_wr8(struct usb_hcd *hcd, unsigned int reg, u8 val) spi_wr8()
399 spi_rd_buf(struct usb_hcd *hcd, unsigned int reg, void *buf, size_t len) spi_rd_buf()
425 spi_wr_buf(struct usb_hcd *hcd, unsigned int reg, void *buf, size_t len) spi_wr_buf()
465 max3421_set_speed(struct usb_hcd *hcd, struct usb_device *dev) max3421_set_speed()
491 max3421_set_address(struct usb_hcd *hcd, struct usb_device *dev, int epnum, max3421_set_address()
536 max3421_ctrl_setup(struct usb_hcd *hcd, struct urb *urb) max3421_ctrl_setup()
543 max3421_transfer_in(struct usb_hcd *hcd, struct urb *urb) max3421_transfer_in()
554 max3421_transfer_out(struct usb_hcd *hcd, struct urb *urb, int fast_retransmit) max3421_transfer_out()
600 max3421_next_transfer(struct usb_hcd *hcd, int fast_retransmit) max3421_next_transfer()
660 max3421_select_and_start_urb(struct usb_hcd *hcd) max3421_select_and_start_urb()
796 max3421_check_unlink(struct usb_hcd *hcd) max3421_check_unlink()
833 max3421_slow_retransmit(struct usb_hcd *hcd) max3421_slow_retransmit()
848 max3421_recv_data_available(struct usb_hcd *hcd) max3421_recv_data_available()
879 max3421_handle_error(struct usb_hcd *hcd, u8 hrsl) max3421_handle_error()
971 max3421_transfer_in_done(struct usb_hcd *hcd, struct urb *urb) max3421_transfer_in_done()
1015 max3421_transfer_out_done(struct usb_hcd *hcd, struct urb *urb) max3421_transfer_out_done()
1042 max3421_host_transfer_done(struct usb_hcd *hcd) max3421_host_transfer_done()
1108 max3421_detect_conn(struct usb_hcd *hcd) max3421_detect_conn()
1167 struct usb_hcd *hcd = dev_id; max3421_irq_handler()
1182 dump_eps(struct usb_hcd *hcd) dump_eps()
1226 max3421_handle_irqs(struct usb_hcd *hcd) max3421_handle_irqs()
1319 max3421_reset_hcd(struct usb_hcd *hcd) max3421_reset_hcd()
1372 max3421_urb_done(struct usb_hcd *hcd) max3421_urb_done()
1399 struct usb_hcd *hcd = dev_id; max3421_spi_thread()
1478 max3421_reset_port(struct usb_hcd *hcd) max3421_reset_port()
1491 max3421_reset(struct usb_hcd *hcd) max3421_reset()
1504 max3421_start(struct usb_hcd *hcd) max3421_start()
1520 max3421_stop(struct usb_hcd *hcd) max3421_stop()
1525 max3421_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) max3421_urb_enqueue()
1576 max3421_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) max3421_urb_dequeue()
1598 max3421_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep) max3421_endpoint_disable()
1619 max3421_get_frame_number(struct usb_hcd *hcd) max3421_get_frame_number()
1630 max3421_hub_status_data(struct usb_hcd *hcd, char *buf) max3421_hub_status_data()
1675 max3421_gpout_set_value(struct usb_hcd *hcd, u8 pin_number, u8 value) max3421_gpout_set_value()
1696 max3421_hub_control(struct usb_hcd *hcd, u16 type_req, u16 value, u16 index, max3421_hub_control()
1794 max3421_bus_suspend(struct usb_hcd *hcd) max3421_bus_suspend()
1800 max3421_bus_resume(struct usb_hcd *hcd) max3421_bus_resume()
1810 max3421_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) max3421_map_urb_for_dma()
1816 max3421_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) max3421_unmap_urb_for_dma()
1844 struct usb_hcd *hcd = NULL; max3421_probe()
1912 struct usb_hcd *hcd = NULL; max3421_remove()
H A Dohci-tmio.c78 struct usb_hcd *hcd = platform_get_drvdata(dev); tmio_write_pm()
94 struct usb_hcd *hcd = platform_get_drvdata(dev); tmio_stop_hc()
119 struct usb_hcd *hcd = platform_get_drvdata(dev); tmio_start_hc()
134 static int ohci_tmio_start(struct usb_hcd *hcd) ohci_tmio_start()
196 struct usb_hcd *hcd; ohci_hcd_tmio_drv_probe()
277 struct usb_hcd *hcd = platform_get_drvdata(dev); ohci_hcd_tmio_drv_remove()
297 struct usb_hcd *hcd = platform_get_drvdata(dev); ohci_hcd_tmio_drv_suspend()
327 struct usb_hcd *hcd = platform_get_drvdata(dev); ohci_hcd_tmio_drv_resume()
H A Dehci-msm.c46 static int ehci_msm_reset(struct usb_hcd *hcd) ehci_msm_reset()
70 struct usb_hcd *hcd; ehci_msm_probe()
149 struct usb_hcd *hcd = platform_get_drvdata(pdev); ehci_msm_remove()
167 struct usb_hcd *hcd = dev_get_drvdata(dev); ehci_msm_pm_suspend()
177 struct usb_hcd *hcd = dev_get_drvdata(dev); ehci_msm_pm_resume()
H A Dohci-da8xx.c85 static int ohci_da8xx_init(struct usb_hcd *hcd) ohci_da8xx_init()
129 static void ohci_da8xx_stop(struct usb_hcd *hcd) ohci_da8xx_stop()
135 static int ohci_da8xx_start(struct usb_hcd *hcd) ohci_da8xx_start()
150 static int ohci_da8xx_hub_status_data(struct usb_hcd *hcd, char *buf) ohci_da8xx_hub_status_data()
170 static int ohci_da8xx_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, ohci_da8xx_hub_control()
296 struct usb_hcd *hcd; usb_hcd_da8xx_probe()
359 usb_hcd_da8xx_remove(struct usb_hcd *hcd, struct platform_device *pdev) usb_hcd_da8xx_remove()
375 struct usb_hcd *hcd = platform_get_drvdata(dev); ohci_hcd_da8xx_drv_remove()
386 struct usb_hcd *hcd = platform_get_drvdata(pdev); ohci_da8xx_suspend()
408 struct usb_hcd *hcd = platform_get_drvdata(dev); ohci_da8xx_resume()
H A Dohci-s3c2410.c52 static struct s3c2410_hcd_info *to_s3c2410_info(struct usb_hcd *hcd) to_s3c2410_info()
57 static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd) s3c2410_start_hc()
102 ohci_s3c2410_hub_status_data(struct usb_hcd *hcd, char *buf) ohci_s3c2410_hub_status_data()
160 struct usb_hcd *hcd, ohci_s3c2410_hub_control()
293 struct usb_hcd *hcd; s3c2410_hcd_oc()
335 usb_hcd_s3c2410_remove(struct usb_hcd *hcd, struct platform_device *dev) usb_hcd_s3c2410_remove()
354 struct usb_hcd *hcd = NULL; usb_hcd_s3c2410_probe()
416 struct usb_hcd *hcd = platform_get_drvdata(pdev); ohci_hcd_s3c2410_drv_remove()
425 struct usb_hcd *hcd = dev_get_drvdata(dev); ohci_hcd_s3c2410_drv_suspend()
441 struct usb_hcd *hcd = dev_get_drvdata(dev); ohci_hcd_s3c2410_drv_resume()
H A Dehci-st.c52 static int st_ehci_platform_reset(struct usb_hcd *hcd) st_ehci_platform_reset()
74 struct usb_hcd *hcd = platform_get_drvdata(dev); st_ehci_platform_power_on()
125 struct usb_hcd *hcd = platform_get_drvdata(dev); st_ehci_platform_power_off()
158 struct usb_hcd *hcd; st_ehci_platform_probe()
268 struct usb_hcd *hcd = platform_get_drvdata(dev); st_ehci_platform_remove()
293 struct usb_hcd *hcd = dev_get_drvdata(dev); st_ehci_suspend()
314 struct usb_hcd *hcd = dev_get_drvdata(dev); st_ehci_resume()
H A Dohci-exynos.c83 struct usb_hcd *hcd = dev_get_drvdata(dev); exynos_ohci_phy_enable()
101 struct usb_hcd *hcd = dev_get_drvdata(dev); exynos_ohci_phy_disable()
113 struct usb_hcd *hcd; exynos_ohci_probe()
200 struct usb_hcd *hcd = platform_get_drvdata(pdev); exynos_ohci_remove()
216 struct usb_hcd *hcd = platform_get_drvdata(pdev); exynos_ohci_shutdown()
225 struct usb_hcd *hcd = dev_get_drvdata(dev); exynos_ohci_suspend()
242 struct usb_hcd *hcd = dev_get_drvdata(dev); exynos_ohci_resume()
H A Dehci-w90x900.c39 struct usb_hcd *hcd; usb_w90x900_probe()
95 static void usb_w90x900_remove(struct usb_hcd *hcd, usb_w90x900_remove()
112 struct usb_hcd *hcd = platform_get_drvdata(pdev); ehci_w90x900_remove()
H A Dehci-spear.c43 struct usb_hcd *hcd = dev_get_drvdata(dev); ehci_spear_drv_suspend()
51 struct usb_hcd *hcd = dev_get_drvdata(dev); ehci_spear_drv_resume()
63 struct usb_hcd *hcd ; spear_ehci_hcd_drv_probe()
136 struct usb_hcd *hcd = platform_get_drvdata(pdev); spear_ehci_hcd_drv_remove()
H A Dohci-ps3.c24 static int ps3_ohci_hc_reset(struct usb_hcd *hcd) ps3_ohci_hc_reset()
33 static int ps3_ohci_hc_start(struct usb_hcd *hcd) ps3_ohci_hc_start()
82 struct usb_hcd *hcd; ps3_ohci_probe()
200 struct usb_hcd *hcd = ps3_system_bus_get_drvdata(dev); ps3_ohci_remove()
H A Dohci-spear.c42 struct usb_hcd *hcd = NULL; spear_ohci_hcd_drv_probe()
110 struct usb_hcd *hcd = platform_get_drvdata(pdev); spear_ohci_hcd_drv_remove()
125 struct usb_hcd *hcd = platform_get_drvdata(pdev); spear_ohci_hcd_drv_suspend()
146 struct usb_hcd *hcd = platform_get_drvdata(dev); spear_ohci_hcd_drv_resume()
H A Duhci-grlib.c25 static int uhci_grlib_init(struct usb_hcd *hcd) uhci_grlib_init()
92 struct usb_hcd *hcd; uhci_hcd_grlib_probe()
151 struct usb_hcd *hcd = platform_get_drvdata(op); uhci_hcd_grlib_remove()
172 struct usb_hcd *hcd = platform_get_drvdata(op); uhci_hcd_grlib_shutdown()
H A Dehci-exynos.c94 struct usb_hcd *hcd = dev_get_drvdata(dev); exynos_ehci_phy_enable()
112 struct usb_hcd *hcd = dev_get_drvdata(dev); exynos_ehci_phy_disable()
142 struct usb_hcd *hcd; exynos_ehci_probe()
240 struct usb_hcd *hcd = platform_get_drvdata(pdev); exynos_ehci_remove()
257 struct usb_hcd *hcd = dev_get_drvdata(dev); exynos_ehci_suspend()
276 struct usb_hcd *hcd = dev_get_drvdata(dev); exynos_ehci_resume()
H A Dohci-platform.c49 struct usb_hcd *hcd = platform_get_drvdata(dev); ohci_platform_power_on()
90 struct usb_hcd *hcd = platform_get_drvdata(dev); ohci_platform_power_off()
121 struct usb_hcd *hcd; ohci_platform_probe()
305 struct usb_hcd *hcd = platform_get_drvdata(dev); ohci_platform_remove()
332 struct usb_hcd *hcd = dev_get_drvdata(dev); ohci_platform_suspend()
351 struct usb_hcd *hcd = dev_get_drvdata(dev); ohci_platform_resume()
H A Dohci-sm501.c21 static int ohci_sm501_init(struct usb_hcd *hcd) ohci_sm501_init()
26 static int ohci_sm501_start(struct usb_hcd *hcd) ohci_sm501_start()
93 struct usb_hcd *hcd = NULL; ohci_hcd_sm501_drv_probe()
195 struct usb_hcd *hcd = platform_get_drvdata(pdev); ohci_hcd_sm501_drv_remove()
220 struct usb_hcd *hcd = platform_get_drvdata(pdev); ohci_sm501_suspend()
240 struct usb_hcd *hcd = platform_get_drvdata(pdev); ohci_sm501_resume()
H A Dohci-st.c50 struct usb_hcd *hcd = platform_get_drvdata(dev); st_ohci_platform_power_on()
101 struct usb_hcd *hcd = platform_get_drvdata(dev); st_ohci_platform_power_off()
134 struct usb_hcd *hcd; st_ohci_platform_probe()
245 struct usb_hcd *hcd = platform_get_drvdata(dev); st_ohci_platform_remove()
271 struct usb_hcd *hcd = dev_get_drvdata(dev); st_ohci_suspend()
290 struct usb_hcd *hcd = dev_get_drvdata(dev); st_ohci_resume()
H A Dxhci-plat.c40 static int xhci_plat_setup(struct usb_hcd *hcd) xhci_plat_setup()
55 static int xhci_plat_start(struct usb_hcd *hcd) xhci_plat_start()
73 struct usb_hcd *hcd; xhci_plat_probe()
198 struct usb_hcd *hcd = platform_get_drvdata(dev); xhci_plat_remove()
218 struct usb_hcd *hcd = dev_get_drvdata(dev); xhci_plat_suspend()
234 struct usb_hcd *hcd = dev_get_drvdata(dev); xhci_plat_resume()
H A Dehci-platform.c52 static int ehci_platform_reset(struct usb_hcd *hcd) ehci_platform_reset()
80 struct usb_hcd *hcd = platform_get_drvdata(dev); ehci_platform_power_on()
121 struct usb_hcd *hcd = platform_get_drvdata(dev); ehci_platform_power_off()
152 struct usb_hcd *hcd; ehci_platform_probe()
329 struct usb_hcd *hcd = platform_get_drvdata(dev); ehci_platform_remove()
356 struct usb_hcd *hcd = dev_get_drvdata(dev); ehci_platform_suspend()
375 struct usb_hcd *hcd = dev_get_drvdata(dev); ehci_platform_resume()
H A Dohci-omap.c178 struct usb_hcd *hcd = ohci_to_hcd(ohci); start_hnp()
198 static int ohci_omap_reset(struct usb_hcd *hcd) ohci_omap_reset()
311 struct usb_hcd *hcd = 0; usb_hcd_omap_probe()
397 usb_hcd_omap_remove (struct usb_hcd *hcd, struct platform_device *pdev) usb_hcd_omap_remove()
424 struct usb_hcd *hcd = platform_get_drvdata(dev); ohci_hcd_omap_drv_remove()
437 struct usb_hcd *hcd = platform_get_drvdata(pdev); ohci_omap_suspend()
456 struct usb_hcd *hcd = platform_get_drvdata(dev); ohci_omap_resume()
H A Dehci-fsl.c52 struct usb_hcd *hcd; usb_hcd_fsl_probe()
173 static void usb_hcd_fsl_remove(struct usb_hcd *hcd, usb_hcd_fsl_remove()
194 static int ehci_fsl_setup_phy(struct usb_hcd *hcd, ehci_fsl_setup_phy()
267 struct usb_hcd *hcd = ehci_to_hcd(ehci); ehci_fsl_usb_setup()
335 static int ehci_fsl_setup(struct usb_hcd *hcd) ehci_fsl_setup()
393 struct usb_hcd *hcd = dev_get_drvdata(dev); ehci_fsl_mpc512x_drv_suspend()
462 struct usb_hcd *hcd = dev_get_drvdata(dev); ehci_fsl_mpc512x_drv_resume()
535 static struct ehci_fsl *hcd_to_ehci_fsl(struct usb_hcd *hcd) hcd_to_ehci_fsl()
544 struct usb_hcd *hcd = dev_get_drvdata(dev); ehci_fsl_drv_suspend()
564 struct usb_hcd *hcd = dev_get_drvdata(dev); ehci_fsl_drv_resume()
591 struct usb_hcd *hcd = dev_get_drvdata(dev); ehci_fsl_drv_restore()
609 static int ehci_start_port_reset(struct usb_hcd *hcd, unsigned port) ehci_start_port_reset()
697 struct usb_hcd *hcd = platform_get_drvdata(pdev); ehci_fsl_drv_remove()
H A Dohci-at91.c87 struct usb_hcd *hcd = platform_get_drvdata(pdev); at91_start_hc()
106 struct usb_hcd *hcd = platform_get_drvdata(pdev); at91_stop_hc()
126 static void usb_hcd_at91_remove (struct usb_hcd *, struct platform_device *);
146 struct usb_hcd *hcd; usb_hcd_at91_probe()
223 static void usb_hcd_at91_remove(struct usb_hcd *hcd, usb_hcd_at91_remove()
259 static int ohci_at91_hub_status_data(struct usb_hcd *hcd, char *buf) ohci_at91_hub_status_data()
279 static int ohci_at91_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, ohci_at91_hub_control()
609 struct usb_hcd *hcd = dev_get_drvdata(dev); ohci_hcd_at91_drv_suspend()
653 struct usb_hcd *hcd = dev_get_drvdata(dev); ohci_hcd_at91_drv_resume()
H A Dehci-mv.c23 struct usb_hcd *hcd;
70 static int mv_ehci_reset(struct usb_hcd *hcd) mv_ehci_reset()
135 struct usb_hcd *hcd; mv_ehci_probe()
270 struct usb_hcd *hcd = ehci_mv->hcd; mv_ehci_remove()
303 struct usb_hcd *hcd = ehci_mv->hcd; mv_ehci_shutdown()
H A Duhci-pci.c113 static int uhci_pci_init(struct usb_hcd *hcd) uhci_pci_init()
158 struct usb_hcd *hcd = pci_get_drvdata(pdev); uhci_shutdown()
165 static int uhci_pci_resume(struct usb_hcd *hcd, bool hibernated);
167 static int uhci_pci_suspend(struct usb_hcd *hcd, bool do_wakeup) uhci_pci_suspend()
206 static int uhci_pci_resume(struct usb_hcd *hcd, bool hibernated) uhci_pci_resume()
H A Dehci-tilegx.c37 static int tilegx_ehci_setup(struct usb_hcd *hcd) tilegx_ehci_setup()
102 struct usb_hcd *hcd; ehci_hcd_tilegx_drv_probe()
189 struct usb_hcd *hcd = platform_get_drvdata(pdev); ehci_hcd_tilegx_drv_remove()
H A Dohci-ppc-of.c25 ohci_ppc_of_start(struct usb_hcd *hcd) ohci_ppc_of_start()
89 struct usb_hcd *hcd; ohci_hcd_ppc_of_probe()
182 struct usb_hcd *hcd = platform_get_drvdata(op); ohci_hcd_ppc_of_remove()
H A Dohci-tilegx.c37 static int tilegx_ohci_start(struct usb_hcd *hcd) tilegx_ohci_start()
97 struct usb_hcd *hcd; ohci_hcd_tilegx_drv_probe()
178 struct usb_hcd *hcd = platform_get_drvdata(pdev); ohci_hcd_tilegx_drv_remove()
H A Dehci-tegra.c81 struct usb_hcd *hcd = platform_get_drvdata(pdev); tegra_reset_usb_controller()
185 struct usb_hcd *hcd, tegra_ehci_hub_control()
355 static int tegra_ehci_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, tegra_ehci_map_urb_for_dma()
371 static void tegra_ehci_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) tegra_ehci_unmap_urb_for_dma()
396 struct usb_hcd *hcd; tegra_ehci_probe()
525 struct usb_hcd *hcd = platform_get_drvdata(pdev); tegra_ehci_remove()
543 struct usb_hcd *hcd = platform_get_drvdata(pdev); tegra_ehci_hcd_shutdown()
559 static int tegra_ehci_reset(struct usb_hcd *hcd) tegra_ehci_reset()
H A Dohci-pxa27x.c194 static int pxa27x_ohci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, pxa27x_ohci_hub_control()
280 struct usb_hcd *hcd = dev_get_drvdata(dev); pxa27x_start_hc()
317 struct usb_hcd *hcd = dev_get_drvdata(dev); pxa27x_stop_hc()
418 struct usb_hcd *hcd; usb_hcd_pxa27x_probe()
515 void usb_hcd_pxa27x_remove (struct usb_hcd *hcd, struct platform_device *pdev) usb_hcd_pxa27x_remove()
543 struct usb_hcd *hcd = platform_get_drvdata(pdev); ohci_hcd_pxa27x_drv_remove()
552 struct usb_hcd *hcd = dev_get_drvdata(dev); ohci_hcd_pxa27x_drv_suspend()
573 struct usb_hcd *hcd = dev_get_drvdata(dev); ohci_hcd_pxa27x_drv_resume()
H A Dxhci-rcar.c59 void xhci_rcar_start(struct usb_hcd *hcd) xhci_rcar_start()
141 int xhci_rcar_init_quirk(struct usb_hcd *hcd) xhci_rcar_init_quirk()
H A Dehci-orion.c66 static void orion_usb_phy_v1_setup(struct usb_hcd *hcd) orion_usb_phy_v1_setup()
134 ehci_orion_conf_mbus_windows(struct usb_hcd *hcd, ehci_orion_conf_mbus_windows()
163 struct usb_hcd *hcd; ehci_orion_drv_probe()
293 struct usb_hcd *hcd = platform_get_drvdata(pdev); ehci_orion_drv_remove()
H A Dehci-pmcmsp.c74 static int ehci_msp_setup(struct usb_hcd *hcd) ehci_msp_setup()
165 struct usb_hcd *hcd; usb_hcd_msp_probe()
240 void usb_hcd_msp_remove(struct usb_hcd *hcd, struct platform_device *dev) usb_hcd_msp_remove()
311 struct usb_hcd *hcd = platform_get_drvdata(pdev); ehci_hcd_msp_drv_remove()
H A Dehci-xilinx-of.c38 * @hcd: Pointer to the usb_hcd device to which the host controller bound
50 static int ehci_xilinx_port_handed_over(struct usb_hcd *hcd, int portnum) ehci_xilinx_port_handed_over()
133 struct usb_hcd *hcd; ehci_hcd_xilinx_of_probe()
216 struct usb_hcd *hcd = platform_get_drvdata(op); ehci_hcd_xilinx_of_remove()
H A Dimx21-hcd.c78 static inline struct imx21 *hcd_to_imx21(struct usb_hcd *hcd) hcd_to_imx21()
138 static int imx21_hc_get_frame(struct usb_hcd *hcd) imx21_hc_get_frame()
520 static void urb_done(struct usb_hcd *hcd, struct urb *urb, int status)
564 static void schedule_isoc_etds(struct usb_hcd *hcd, schedule_isoc_etds()
631 static void isoc_etd_done(struct usb_hcd *hcd, int etd_num) isoc_etd_done()
739 static int imx21_hc_urb_enqueue_isoc(struct usb_hcd *hcd, imx21_hc_urb_enqueue_isoc()
1043 static void nonisoc_etd_done(struct usb_hcd *hcd, int etd_num) nonisoc_etd_done()
1164 static int imx21_hc_urb_enqueue(struct usb_hcd *hcd, imx21_hc_urb_enqueue()
1260 static int imx21_hc_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, imx21_hc_urb_dequeue()
1313 static void process_etds(struct usb_hcd *hcd, struct imx21 *imx21, int sof) process_etds()
1410 static irqreturn_t imx21_irq(struct usb_hcd *hcd) imx21_irq()
1428 static void imx21_hc_endpoint_disable(struct usb_hcd *hcd, imx21_hc_endpoint_disable()
1473 static int get_hub_descriptor(struct usb_hcd *hcd, get_hub_descriptor()
1493 static int imx21_hc_hub_status_data(struct usb_hcd *hcd, char *buf) imx21_hc_hub_status_data()
1527 static int imx21_hc_hub_control(struct usb_hcd *hcd, imx21_hc_hub_control()
1667 static int imx21_hc_reset(struct usb_hcd *hcd) imx21_hc_reset()
1696 static int imx21_hc_start(struct usb_hcd *hcd) imx21_hc_start()
1764 static void imx21_hc_stop(struct usb_hcd *hcd) imx21_hc_stop()
1819 struct usb_hcd *hcd = platform_get_drvdata(pdev); imx21_remove()
1840 struct usb_hcd *hcd; imx21_probe()
H A Dxhci.h1438 static inline unsigned int hcd_index(struct usb_hcd *hcd) hcd_index()
1448 struct usb_hcd *main_hcd;
1449 struct usb_hcd *shared_hcd;
1603 static inline struct xhci_hcd *hcd_to_xhci(struct usb_hcd *hcd) hcd_to_xhci()
1608 static inline struct usb_hcd *xhci_to_hcd(struct xhci_hcd *xhci) xhci_to_hcd()
1754 int xhci_init(struct usb_hcd *hcd);
1755 int xhci_run(struct usb_hcd *hcd);
1756 void xhci_stop(struct usb_hcd *hcd);
1757 void xhci_shutdown(struct usb_hcd *hcd);
1758 int xhci_gen_setup(struct usb_hcd *hcd, xhci_get_quirks_t get_quirks);
1759 void xhci_init_driver(struct hc_driver *drv, int (*setup_fn)(struct usb_hcd *));
1769 int xhci_get_frame(struct usb_hcd *hcd);
1770 irqreturn_t xhci_irq(struct usb_hcd *hcd);
1772 int xhci_alloc_dev(struct usb_hcd *hcd, struct usb_device *udev);
1773 void xhci_free_dev(struct usb_hcd *hcd, struct usb_device *udev);
1778 int xhci_alloc_streams(struct usb_hcd *hcd, struct usb_device *udev,
1781 int xhci_free_streams(struct usb_hcd *hcd, struct usb_device *udev,
1784 int xhci_address_device(struct usb_hcd *hcd, struct usb_device *udev);
1785 int xhci_enable_device(struct usb_hcd *hcd, struct usb_device *udev);
1786 int xhci_update_device(struct usb_hcd *hcd, struct usb_device *udev);
1787 int xhci_set_usb2_hardware_lpm(struct usb_hcd *hcd,
1789 int xhci_update_hub_device(struct usb_hcd *hcd, struct usb_device *hdev,
1791 int xhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags);
1792 int xhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status);
1793 int xhci_add_endpoint(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint *ep);
1794 int xhci_drop_endpoint(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint *ep);
1795 void xhci_endpoint_reset(struct usb_hcd *hcd, struct usb_host_endpoint *ep);
1796 int xhci_discover_or_reset_device(struct usb_hcd *hcd, struct usb_device *udev);
1797 int xhci_check_bandwidth(struct usb_hcd *hcd, struct usb_device *udev);
1798 void xhci_reset_bandwidth(struct usb_hcd *hcd, struct usb_device *udev);
1855 int xhci_enable_usb3_lpm_timeout(struct usb_hcd *hcd,
1857 int xhci_disable_usb3_lpm_timeout(struct usb_hcd *hcd,
1861 int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex,
1863 int xhci_hub_status_data(struct usb_hcd *hcd, char *buf);
1864 int xhci_find_raw_port_number(struct usb_hcd *hcd, int port1);
1867 int xhci_bus_suspend(struct usb_hcd *hcd);
1868 int xhci_bus_resume(struct usb_hcd *hcd);
1875 int xhci_find_slot_id_by_port(struct usb_hcd *hcd, struct xhci_hcd *xhci,
H A Dohci.h478 static inline struct ohci_hcd *hcd_to_ohci (struct usb_hcd *hcd) hcd_to_ohci()
482 static inline struct usb_hcd *ohci_to_hcd (const struct ohci_hcd *ohci) ohci_to_hcd()
484 return container_of ((void *) ohci, struct usb_hcd, hcd_priv); ohci_to_hcd()
731 int (*reset)(struct usb_hcd *hcd);
737 extern int ohci_setup(struct usb_hcd *hcd);
739 extern int ohci_suspend(struct usb_hcd *hcd, bool do_wakeup);
740 extern int ohci_resume(struct usb_hcd *hcd, bool hibernated);
742 extern int ohci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
744 extern int ohci_hub_status_data(struct usb_hcd *hcd, char *buf);
H A Dohci-hcd.c81 static void ohci_stop(struct usb_hcd *hcd);
145 struct usb_hcd *hcd, ohci_urb_enqueue()
310 static int ohci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) ohci_urb_dequeue()
345 ohci_endpoint_disable (struct usb_hcd *hcd, struct usb_host_endpoint *ep) ohci_endpoint_disable()
398 static int ohci_get_frame (struct usb_hcd *hcd) ohci_get_frame()
418 ohci_shutdown (struct usb_hcd *hcd) ohci_shutdown()
443 struct usb_hcd *hcd = ohci_to_hcd(ohci); ohci_init()
528 struct usb_hcd *hcd = ohci_to_hcd(ohci); ohci_run()
688 int ohci_setup(struct usb_hcd *hcd) ohci_setup()
699 static int ohci_start(struct usb_hcd *hcd) ohci_start()
852 static irqreturn_t ohci_irq (struct usb_hcd *hcd) ohci_irq()
966 static void ohci_stop (struct usb_hcd *hcd) ohci_stop()
1066 int ohci_suspend(struct usb_hcd *hcd, bool do_wakeup) ohci_suspend()
1094 int ohci_resume(struct usb_hcd *hcd, bool hibernated) ohci_resume()
H A Dxhci-pci.c201 static int xhci_pci_setup(struct usb_hcd *hcd) xhci_pci_setup()
236 struct usb_hcd *hcd; xhci_pci_probe()
323 static void xhci_ssic_port_unused_quirk(struct usb_hcd *hcd, bool suspend) xhci_ssic_port_unused_quirk()
358 static void xhci_pme_quirk(struct usb_hcd *hcd) xhci_pme_quirk()
370 static int xhci_pci_suspend(struct usb_hcd *hcd, bool do_wakeup) xhci_pci_suspend()
396 static int xhci_pci_resume(struct usb_hcd *hcd, bool hibernated) xhci_pci_resume()
H A Dehci-grlib.c88 struct usb_hcd *hcd; ehci_hcd_grlib_probe()
158 struct usb_hcd *hcd = platform_get_drvdata(op); ehci_hcd_grlib_remove()
H A Dehci-mxc.c53 struct usb_hcd *hcd; ehci_mxc_drv_probe()
172 struct usb_hcd *hcd = platform_get_drvdata(pdev); ehci_mxc_drv_remove()
H A Dehci-ppc-of.c96 struct usb_hcd *hcd; ehci_hcd_ppc_of_probe()
187 struct usb_hcd *hcd = platform_get_drvdata(op); ehci_hcd_ppc_of_remove()
H A Dfhci-hcd.c327 static int fhci_start(struct usb_hcd *hcd) fhci_start()
378 static void fhci_stop(struct usb_hcd *hcd) fhci_stop()
390 static int fhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, fhci_urb_enqueue()
470 static int fhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) fhci_urb_dequeue()
512 static void fhci_endpoint_disable(struct usb_hcd *hcd, fhci_endpoint_disable()
533 static int fhci_get_frame_number(struct usb_hcd *hcd) fhci_get_frame_number()
570 struct usb_hcd *hcd; of_fhci_probe()
789 struct usb_hcd *hcd = dev_get_drvdata(dev); fhci_remove()
H A Dohci-omap3.c65 struct usb_hcd *hcd = NULL; ohci_hcd_omap3_probe()
163 struct usb_hcd *hcd = dev_get_drvdata(dev); ohci_hcd_omap3_remove()
H A Dsl811-hcd.c79 struct usb_hcd *hcd = sl811_to_hcd(sl811); port_power()
619 static irqreturn_t sl811h_irq(struct usb_hcd *hcd) sl811h_irq()
790 struct usb_hcd *hcd, sl811h_urb_enqueue()
957 static int sl811h_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) sl811h_urb_dequeue()
1028 sl811h_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep) sl811h_endpoint_disable()
1046 sl811h_get_frame(struct usb_hcd *hcd) sl811h_get_frame()
1062 sl811h_hub_status_data(struct usb_hcd *hcd, char *buf) sl811h_hub_status_data()
1212 struct usb_hcd *hcd, sl811h_hub_control()
1347 sl811h_bus_suspend(struct usb_hcd *hcd) sl811h_bus_suspend()
1355 sl811h_bus_resume(struct usb_hcd *hcd) sl811h_bus_resume()
1522 sl811h_stop(struct usb_hcd *hcd) sl811h_stop()
1535 sl811h_start(struct usb_hcd *hcd) sl811h_start()
1597 struct usb_hcd *hcd = platform_get_drvdata(dev); sl811h_remove()
1620 struct usb_hcd *hcd; sl811h_probe()
1759 struct usb_hcd *hcd = platform_get_drvdata(dev); sl811h_suspend()
1779 struct usb_hcd *hcd = platform_get_drvdata(dev); sl811h_resume()
H A Dehci-ps3.c52 static int ps3_ehci_hc_reset(struct usb_hcd *hcd) ps3_ehci_hc_reset()
99 struct usb_hcd *hcd; ps3_ehci_probe()
216 struct usb_hcd *hcd = ps3_system_bus_get_drvdata(dev); ps3_ehci_remove()
H A Dr8a66597.h137 static inline struct r8a66597 *hcd_to_r8a66597(struct usb_hcd *hcd) hcd_to_r8a66597()
142 static inline struct usb_hcd *r8a66597_to_hcd(struct r8a66597 *r8a66597) r8a66597_to_hcd()
144 return container_of((void *)r8a66597, struct usb_hcd, hcd_priv); r8a66597_to_hcd()
H A Dsl811.h158 static inline struct sl811 *hcd_to_sl811(struct usb_hcd *hcd) hcd_to_sl811()
163 static inline struct usb_hcd *sl811_to_hcd(struct sl811 *sl811) sl811_to_hcd()
165 return container_of((void *) sl811, struct usb_hcd, hcd_priv); sl811_to_hcd()
H A Dehci-hub.c51 struct usb_hcd *hcd = ehci_to_hcd(ehci); ehci_handover_companion_ports()
224 static int ehci_bus_suspend (struct usb_hcd *hcd) ehci_bus_suspend()
374 static int ehci_bus_resume (struct usb_hcd *hcd) ehci_bus_resume()
608 ehci_hub_status_data (struct usb_hcd *hcd, char *buf) ehci_hub_status_data()
731 struct usb_hcd *hcd,
749 struct usb_hcd *hcd = bus_to_hcd(udev->bus); request_single_step_set_feature_urb()
790 static int ehset_single_step_set_feature(struct usb_hcd *hcd, int port) ehset_single_step_set_feature()
861 struct usb_hcd *hcd, ehci_hub_control()
1286 static void ehci_relinquish_port(struct usb_hcd *hcd, int portnum) ehci_relinquish_port()
1295 static int ehci_port_handed_over(struct usb_hcd *hcd, int portnum) ehci_port_handed_over()
1308 struct usb_hcd *hcd = ehci_to_hcd(ehci); ehci_port_power()
H A Dxhci-hub.c77 static void xhci_usb2_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, xhci_usb2_hub_descriptor()
130 static void xhci_usb3_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, xhci_usb3_hub_descriptor()
160 static void xhci_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, xhci_hub_descriptor()
241 int xhci_find_slot_id_by_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, xhci_find_slot_id_by_port()
338 static void xhci_disable_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, xhci_disable_port()
405 static int xhci_get_ports(struct usb_hcd *hcd, __le32 __iomem ***port_array) xhci_get_ports()
571 static u32 xhci_get_port_status(struct usb_hcd *hcd,
708 int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, xhci_hub_control()
1064 int xhci_hub_status_data(struct usb_hcd *hcd, char *buf) xhci_hub_status_data()
1119 int xhci_bus_suspend(struct usb_hcd *hcd) xhci_bus_suspend()
1189 int xhci_bus_resume(struct usb_hcd *hcd) xhci_bus_resume()
H A Dehci-hcd.c366 static void ehci_shutdown(struct usb_hcd *hcd) ehci_shutdown()
421 static void ehci_stop (struct usb_hcd *hcd) ehci_stop()
455 static int ehci_init(struct usb_hcd *hcd) ehci_init()
571 static int ehci_run (struct usb_hcd *hcd) ehci_run()
656 int ehci_setup(struct usb_hcd *hcd) ehci_setup()
688 static irqreturn_t ehci_irq (struct usb_hcd *hcd) ehci_irq()
851 struct usb_hcd *hcd, ehci_urb_enqueue()
891 static int ehci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) ehci_urb_dequeue()
942 ehci_endpoint_disable (struct usb_hcd *hcd, struct usb_host_endpoint *ep) ehci_endpoint_disable()
1013 ehci_endpoint_reset(struct usb_hcd *hcd, struct usb_host_endpoint *ep) ehci_endpoint_reset()
1052 static int ehci_get_frame (struct usb_hcd *hcd) ehci_get_frame()
1062 static void ehci_remove_device(struct usb_hcd *hcd, struct usb_device *udev) ehci_remove_device()
1079 int ehci_suspend(struct usb_hcd *hcd, bool do_wakeup) ehci_suspend()
1113 int ehci_resume(struct usb_hcd *hcd, bool force_reset) ehci_resume()
H A Disp116x-hcd.c589 static irqreturn_t isp116x_irq(struct usb_hcd *hcd) isp116x_irq()
679 static int isp116x_urb_enqueue(struct usb_hcd *hcd, isp116x_urb_enqueue()
835 static int isp116x_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, isp116x_urb_dequeue()
872 static void isp116x_endpoint_disable(struct usb_hcd *hcd, isp116x_endpoint_disable()
891 static int isp116x_get_frame(struct usb_hcd *hcd) isp116x_get_frame()
906 static int isp116x_hub_status_data(struct usb_hcd *hcd, char *buf) isp116x_hub_status_data()
1001 static int isp116x_hub_control(struct usb_hcd *hcd, isp116x_hub_control()
1259 static int isp116x_reset(struct usb_hcd *hcd) isp116x_reset()
1289 static void isp116x_stop(struct usb_hcd *hcd) isp116x_stop()
1312 static int isp116x_start(struct usb_hcd *hcd) isp116x_start()
1406 static int isp116x_bus_suspend(struct usb_hcd *hcd) isp116x_bus_suspend()
1445 static int isp116x_bus_resume(struct usb_hcd *hcd) isp116x_bus_resume()
1541 struct usb_hcd *hcd = platform_get_drvdata(pdev); isp116x_remove()
1564 struct usb_hcd *hcd; isp116x_probe()
H A Du132-hcd.c230 static inline struct u132 *hcd_to_u132(struct usb_hcd *hcd) hcd_to_u132()
235 static inline struct usb_hcd *u132_to_hcd(struct u132 *u132) u132_to_hcd()
237 return container_of((void *)u132, struct usb_hcd, hcd_priv); u132_to_hcd()
258 struct usb_hcd *hcd = u132_to_hcd(u132); u132_hcd_delete()
495 struct usb_hcd *hcd = u132_to_hcd(u132); u132_hcd_monitor_work()
516 struct usb_hcd *hcd = u132_to_hcd(u132); u132_hcd_giveback_urb()
555 struct usb_hcd *hcd = u132_to_hcd(u132); u132_hcd_abandon_urb()
1519 struct usb_hcd *hcd = u132_to_hcd(u132) u132_power()
1780 static void u132_hcd_stop(struct usb_hcd *hcd) u132_hcd_stop()
1797 static int u132_hcd_start(struct usb_hcd *hcd) u132_hcd_start()
1838 static int u132_hcd_reset(struct usb_hcd *hcd) u132_hcd_reset()
2245 static int u132_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, u132_urb_enqueue()
2406 struct usb_hcd *hcd = u132_to_hcd(u132); list_for_each()
2478 struct usb_hcd *hcd = u132_to_hcd(u132); u132_endp_urb_dequeue()
2520 static int u132_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) u132_urb_dequeue()
2544 static void u132_endpoint_disable(struct usb_hcd *hcd, u132_endpoint_disable()
2559 static int u132_get_frame(struct usb_hcd *hcd) u132_get_frame()
2786 static int u132_hub_status_data(struct usb_hcd *hcd, char *buf) u132_hub_status_data()
2837 static int u132_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u132_hub_control()
2920 static int u132_start_port_reset(struct usb_hcd *hcd, unsigned port_num) u132_start_port_reset()
2936 static int u132_bus_suspend(struct usb_hcd *hcd) u132_bus_suspend()
2950 static int u132_bus_resume(struct usb_hcd *hcd) u132_bus_resume()
2995 struct usb_hcd *hcd = platform_get_drvdata(pdev); u132_remove()
3089 struct usb_hcd *hcd; u132_probe()
3151 struct usb_hcd *hcd = platform_get_drvdata(pdev); u132_suspend()
3181 struct usb_hcd *hcd = platform_get_drvdata(pdev); u132_resume()
H A Dr8a66597-hcd.c55 static int r8a66597_get_frame(struct usb_hcd *hcd);
1287 struct usb_hcd *hcd = r8a66597_to_hcd(r8a66597);
1615 static irqreturn_t r8a66597_irq(struct usb_hcd *hcd) r8a66597_irq()
1835 static int r8a66597_start(struct usb_hcd *hcd) r8a66597_start()
1843 static void r8a66597_stop(struct usb_hcd *hcd) r8a66597_stop()
1894 static int r8a66597_urb_enqueue(struct usb_hcd *hcd, r8a66597_urb_enqueue()
1964 static int r8a66597_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, r8a66597_urb_dequeue()
1989 static void r8a66597_endpoint_disable(struct usb_hcd *hcd, r8a66597_endpoint_disable()
2022 static int r8a66597_get_frame(struct usb_hcd *hcd) r8a66597_get_frame()
2095 struct usb_hcd *hcd) r8a66597_check_detect_child()
2114 static int r8a66597_hub_status_data(struct usb_hcd *hcd, char *buf) r8a66597_hub_status_data()
2151 static int r8a66597_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, r8a66597_hub_control()
2255 static int r8a66597_bus_suspend(struct usb_hcd *hcd) r8a66597_bus_suspend()
2286 static int r8a66597_bus_resume(struct usb_hcd *hcd) r8a66597_bus_resume()
2372 struct usb_hcd *hcd = r8a66597_to_hcd(r8a66597); r8a66597_resume()
2397 struct usb_hcd *hcd = r8a66597_to_hcd(r8a66597); r8a66597_remove()
2414 struct usb_hcd *hcd = NULL; r8a66597_probe()
H A Dfhci.h468 static inline struct fhci_hcd *hcd_to_fhci(struct usb_hcd *hcd) hcd_to_fhci()
473 static inline struct usb_hcd *fhci_to_hcd(struct fhci_hcd *fhci) fhci_to_hcd()
475 return container_of((void *)fhci, struct usb_hcd, hcd_priv); fhci_to_hcd()
536 int fhci_hub_status_data(struct usb_hcd *hcd, char *buf);
537 int fhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
566 irqreturn_t fhci_irq(struct usb_hcd *hcd);
H A Dohci-hub.c152 struct usb_hcd *hcd = ohci_to_hcd (ohci);
300 static int ohci_bus_suspend (struct usb_hcd *hcd) ohci_bus_suspend()
318 static int ohci_bus_resume (struct usb_hcd *hcd) ohci_bus_resume()
462 int ohci_hub_status_data(struct usb_hcd *hcd, char *buf) ohci_hub_status_data()
574 static int ohci_start_port_reset (struct usb_hcd *hcd, unsigned port) ohci_start_port_reset()
671 struct usb_hcd *hcd, ohci_hub_control()
H A Dehci.h270 static inline struct ehci_hcd *hcd_to_ehci (struct usb_hcd *hcd) hcd_to_ehci()
274 static inline struct usb_hcd *ehci_to_hcd (struct ehci_hcd *ehci) ehci_to_hcd()
276 return container_of ((void *) ehci, struct usb_hcd, hcd_priv); ehci_to_hcd()
861 int (*reset)(struct usb_hcd *hcd);
862 int (*port_power)(struct usb_hcd *hcd,
868 extern int ehci_setup(struct usb_hcd *hcd);
873 extern int ehci_suspend(struct usb_hcd *hcd, bool do_wakeup);
874 extern int ehci_resume(struct usb_hcd *hcd, bool force_reset);
877 extern int ehci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
H A Dxhci.c281 struct usb_hcd *hcd = xhci_to_hcd(xhci); xhci_setup_msix()
338 struct usb_hcd *hcd = xhci_to_hcd(xhci); xhci_cleanup_msix()
368 static int xhci_try_enable_msi(struct usb_hcd *hcd) xhci_try_enable_msi()
424 static inline int xhci_try_enable_msi(struct usb_hcd *hcd) xhci_try_enable_msi()
442 struct usb_hcd *hcd; compliance_mode_recovery()
539 int xhci_init(struct usb_hcd *hcd) xhci_init()
598 int xhci_run(struct usb_hcd *hcd) xhci_run()
669 static void xhci_only_stop_hcd(struct usb_hcd *hcd) xhci_only_stop_hcd()
693 void xhci_stop(struct usb_hcd *hcd) xhci_stop()
751 * This will only ever be called with the main usb_hcd (the USB3 roothub).
753 void xhci_shutdown(struct usb_hcd *hcd) xhci_shutdown()
913 struct usb_hcd *hcd = xhci_to_hcd(xhci); xhci_suspend()
997 struct usb_hcd *hcd = xhci_to_hcd(xhci); xhci_resume()
998 struct usb_hcd *secondary_hcd; xhci_resume()
1208 static int xhci_check_args(struct usb_hcd *hcd, struct usb_device *udev, xhci_check_args()
1333 int xhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) xhci_urb_enqueue()
1539 int xhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) xhci_urb_dequeue()
1654 int xhci_drop_endpoint(struct usb_hcd *hcd, struct usb_device *udev, xhci_drop_endpoint()
1735 int xhci_add_endpoint(struct usb_hcd *hcd, struct usb_device *udev, xhci_add_endpoint()
2753 int xhci_check_bandwidth(struct usb_hcd *hcd, struct usb_device *udev) xhci_check_bandwidth()
2857 void xhci_reset_bandwidth(struct usb_hcd *hcd, struct usb_device *udev) xhci_reset_bandwidth()
2983 void xhci_endpoint_reset(struct usb_hcd *hcd, xhci_endpoint_reset()
3159 int xhci_alloc_streams(struct usb_hcd *hcd, struct usb_device *udev, xhci_alloc_streams()
3320 int xhci_free_streams(struct usb_hcd *hcd, struct usb_device *udev, xhci_free_streams()
3452 int xhci_discover_or_reset_device(struct usb_hcd *hcd, struct usb_device *udev) xhci_discover_or_reset_device()
3615 void xhci_free_dev(struct usb_hcd *hcd, struct usb_device *udev) xhci_free_dev()
3708 int xhci_alloc_dev(struct usb_hcd *hcd, struct usb_device *udev) xhci_alloc_dev()
3802 static int xhci_setup_device(struct usb_hcd *hcd, struct usb_device *udev, xhci_setup_device()
3979 int xhci_address_device(struct usb_hcd *hcd, struct usb_device *udev) xhci_address_device()
3984 int xhci_enable_device(struct usb_hcd *hcd, struct usb_device *udev) xhci_enable_device()
3995 int xhci_find_raw_port_number(struct usb_hcd *hcd, int port1) xhci_find_raw_port_number()
4141 int xhci_set_usb2_hardware_lpm(struct usb_hcd *hcd, xhci_set_usb2_hardware_lpm()
4265 int xhci_update_device(struct usb_hcd *hcd, struct usb_device *udev) xhci_update_device()
4563 static u16 xhci_calculate_lpm_timeout(struct usb_hcd *hcd, xhci_calculate_lpm_timeout()
4674 int xhci_enable_usb3_lpm_timeout(struct usb_hcd *hcd, xhci_enable_usb3_lpm_timeout()
4705 int xhci_disable_usb3_lpm_timeout(struct usb_hcd *hcd, xhci_disable_usb3_lpm_timeout()
4725 int xhci_set_usb2_hardware_lpm(struct usb_hcd *hcd, xhci_set_usb2_hardware_lpm()
4731 int xhci_update_device(struct usb_hcd *hcd, struct usb_device *udev) xhci_update_device()
4736 int xhci_enable_usb3_lpm_timeout(struct usb_hcd *hcd, xhci_enable_usb3_lpm_timeout()
4742 int xhci_disable_usb3_lpm_timeout(struct usb_hcd *hcd, xhci_disable_usb3_lpm_timeout()
4754 int xhci_update_hub_device(struct usb_hcd *hcd, struct usb_device *hdev, xhci_update_hub_device()
4860 int xhci_get_frame(struct usb_hcd *hcd) xhci_get_frame()
4867 int xhci_gen_setup(struct usb_hcd *hcd, xhci_get_quirks_t get_quirks) xhci_gen_setup()
5040 void xhci_init_driver(struct hc_driver *drv, int (*setup_fn)(struct usb_hcd *)) xhci_init_driver()
H A Dehci-omap.c105 struct usb_hcd *hcd; ehci_hcd_omap_probe()
264 struct usb_hcd *hcd = dev_get_drvdata(dev); ehci_hcd_omap_remove()
H A Dfhci-hub.c181 int fhci_hub_status_data(struct usb_hcd *hcd, char *buf) fhci_hub_status_data()
206 int fhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, fhci_hub_control()
H A Dohci-nxp.c166 struct usb_hcd *hcd = 0; ohci_hcd_nxp_probe()
298 struct usb_hcd *hcd = platform_get_drvdata(pdev); ohci_hcd_nxp_remove()
H A Duhci-hcd.c438 static irqreturn_t uhci_irq(struct usb_hcd *hcd) uhci_irq()
563 static int uhci_start(struct usb_hcd *hcd) uhci_start()
707 static void uhci_stop(struct usb_hcd *hcd) uhci_stop()
723 static int uhci_rh_suspend(struct usb_hcd *hcd) uhci_rh_suspend()
750 static int uhci_rh_resume(struct usb_hcd *hcd) uhci_rh_resume()
767 static void uhci_hcd_endpoint_disable(struct usb_hcd *hcd, uhci_hcd_endpoint_disable()
792 static int uhci_hcd_get_frame_number(struct usb_hcd *hcd) uhci_hcd_get_frame_number()
807 static int uhci_count_ports(struct usb_hcd *hcd) uhci_count_ports()
H A Disp1362-hcd.c106 static void isp1362_hc_stop(struct usb_hcd *hcd);
107 static int isp1362_hc_start(struct usb_hcd *hcd);
1005 static irqreturn_t isp1362_irq(struct usb_hcd *hcd) isp1362_irq()
1214 static int isp1362_urb_enqueue(struct usb_hcd *hcd, isp1362_urb_enqueue()
1395 static int isp1362_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) isp1362_urb_dequeue()
1447 static void isp1362_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep) isp1362_endpoint_disable()
1477 static int isp1362_get_frame(struct usb_hcd *hcd) isp1362_get_frame()
1493 static int isp1362_hub_status_data(struct usb_hcd *hcd, char *buf) isp1362_hub_status_data()
1561 static int isp1362_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, isp1362_hub_control()
1730 static int isp1362_bus_suspend(struct usb_hcd *hcd) isp1362_bus_suspend()
1828 static int isp1362_bus_resume(struct usb_hcd *hcd) isp1362_bus_resume()
2211 static int isp1362_mem_config(struct usb_hcd *hcd) isp1362_mem_config()
2322 static int isp1362_hc_reset(struct usb_hcd *hcd) isp1362_hc_reset()
2362 static void isp1362_hc_stop(struct usb_hcd *hcd) isp1362_hc_stop()
2487 static int isp1362_hc_start(struct usb_hcd *hcd) isp1362_hc_start()
2621 struct usb_hcd *hcd = platform_get_drvdata(pdev); isp1362_remove()
2636 struct usb_hcd *hcd; isp1362_probe()
2731 struct usb_hcd *hcd = platform_get_drvdata(pdev); isp1362_suspend()
2754 struct usb_hcd *hcd = platform_get_drvdata(pdev); isp1362_resume()
H A Doxu210hp-hcd.c66 static inline struct usb_hcd *oxu_to_hcd(struct oxu_hcd *oxu) oxu_to_hcd()
68 return container_of((void *) oxu, struct usb_hcd, hcd_priv); oxu_to_hcd()
71 static inline struct oxu_hcd *hcd_to_oxu(struct usb_hcd *hcd) hcd_to_oxu()
244 static int oxu_hub_control(struct usb_hcd *hcd,
2440 static irqreturn_t oxu210_hcd_irq(struct usb_hcd *hcd) oxu210_hcd_irq()
2541 static irqreturn_t oxu_irq(struct usb_hcd *hcd) oxu_irq()
2593 static int oxu_hcd_init(struct usb_hcd *hcd) oxu_hcd_init()
2670 static int oxu_reset(struct usb_hcd *hcd) oxu_reset()
2706 static int oxu_run(struct usb_hcd *hcd) oxu_run()
2765 static void oxu_stop(struct usb_hcd *hcd) oxu_stop()
2800 static void oxu_shutdown(struct usb_hcd *hcd) oxu_shutdown()
2825 static int __oxu_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, __oxu_urb_enqueue()
2857 static int oxu_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, oxu_urb_enqueue()
2950 static int oxu_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) oxu_urb_dequeue()
3010 static void oxu_endpoint_disable(struct usb_hcd *hcd, oxu_endpoint_disable()
3073 static int oxu_get_frame(struct usb_hcd *hcd) oxu_get_frame()
3082 static int oxu_hub_status_data(struct usb_hcd *hcd, char *buf) oxu_hub_status_data()
3158 static int oxu_hub_control(struct usb_hcd *hcd, u16 typeReq, oxu_hub_control()
3451 static int oxu_bus_suspend(struct usb_hcd *hcd) oxu_bus_suspend()
3524 static int oxu_bus_resume(struct usb_hcd *hcd) oxu_bus_resume()
3607 static int oxu_bus_suspend(struct usb_hcd *hcd) oxu_bus_suspend()
3612 static int oxu_bus_resume(struct usb_hcd *hcd) oxu_bus_resume()
3719 static struct usb_hcd *oxu_create(struct platform_device *pdev, oxu_create()
3725 struct usb_hcd *hcd; oxu_create()
3761 struct usb_hcd *hcd; oxu_init()
3869 static void oxu_remove(struct platform_device *pdev, struct usb_hcd *hcd) oxu_remove()
3895 struct usb_hcd *hcd = dev_get_drvdata(dev);
3903 struct usb_hcd *hcd = dev_get_drvdata(dev);
H A Disp116x.h291 static inline struct isp116x *hcd_to_isp116x(struct usb_hcd *hcd) hcd_to_isp116x()
296 static inline struct usb_hcd *isp116x_to_hcd(struct isp116x *isp116x) isp116x_to_hcd()
298 return container_of((void *)isp116x, struct usb_hcd, hcd_priv); isp116x_to_hcd()
H A Duhci-hcd.h457 /* Convert between a usb_hcd pointer and the corresponding uhci_hcd */ hcd_to_uhci()
458 static inline struct uhci_hcd *hcd_to_uhci(struct usb_hcd *hcd) hcd_to_uhci()
462 static inline struct usb_hcd *uhci_to_hcd(struct uhci_hcd *uhci) uhci_to_hcd()
464 return container_of((void *) uhci, struct usb_hcd, hcd_priv); uhci_to_hcd()
H A Duhci-hub.c185 static int uhci_hub_status_data(struct usb_hcd *hcd, char *buf) uhci_hub_status_data()
242 static int uhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, uhci_hub_control()
H A Dfotg210.h183 static inline struct fotg210_hcd *hcd_to_fotg210(struct usb_hcd *hcd) hcd_to_fotg210()
187 static inline struct usb_hcd *fotg210_to_hcd(struct fotg210_hcd *fotg210) fotg210_to_hcd()
189 return container_of((void *) fotg210, struct usb_hcd, hcd_priv); fotg210_to_hcd()
H A Dfusbh200.h178 static inline struct fusbh200_hcd *hcd_to_fusbh200 (struct usb_hcd *hcd) hcd_to_fusbh200()
182 static inline struct usb_hcd *fusbh200_to_hcd (struct fusbh200_hcd *fusbh200) fusbh200_to_hcd()
184 return container_of ((void *) fusbh200, struct usb_hcd, hcd_priv); fusbh200_to_hcd()
H A Dehci-pci.c100 static int ehci_pci_setup(struct usb_hcd *hcd) ehci_pci_setup()
349 static int ehci_pci_resume(struct usb_hcd *hcd, bool hibernated) ehci_pci_resume()
H A Dfotg210-hcd.c475 struct usb_hcd *hcd; fill_async_buffer()
514 struct usb_hcd *hcd; fill_periodic_buffer()
666 struct usb_hcd *hcd; fill_registers_buffer()
1458 fotg210_hub_status_data(struct usb_hcd *hcd, char *buf) fotg210_hub_status_data()
1532 struct usb_hcd *hcd, fotg210_hub_control()
1858 static void __maybe_unused fotg210_relinquish_port(struct usb_hcd *hcd, fotg210_relinquish_port()
1864 static int __maybe_unused fotg210_port_handed_over(struct usb_hcd *hcd, fotg210_port_handed_over()
2192 static void fotg210_clear_tt_buffer_complete(struct usb_hcd *hcd, fotg210_clear_tt_buffer_complete()
3418 static int fotg210_get_frame(struct usb_hcd *hcd);
5038 static void fotg210_shutdown(struct usb_hcd *hcd) fotg210_shutdown()
5093 static void fotg210_stop(struct usb_hcd *hcd) fotg210_stop()
5132 static int hcd_fotg210_init(struct usb_hcd *hcd) hcd_fotg210_init()
5239 static int fotg210_run(struct usb_hcd *hcd) fotg210_run()
5319 static int fotg210_setup(struct usb_hcd *hcd) fotg210_setup()
5352 static irqreturn_t fotg210_irq(struct usb_hcd *hcd) fotg210_irq()
5503 struct usb_hcd *hcd, fotg210_urb_enqueue()
5540 static int fotg210_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) fotg210_urb_dequeue()
5611 fotg210_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep) fotg210_endpoint_disable()
5684 fotg210_endpoint_reset(struct usb_hcd *hcd, struct usb_host_endpoint *ep) fotg210_endpoint_reset()
5724 static int fotg210_get_frame(struct usb_hcd *hcd) fotg210_get_frame()
5812 struct usb_hcd *hcd; fotg210_hcd_probe()
5887 struct usb_hcd *hcd = dev_get_drvdata(dev); fotg210_hcd_remove()
H A Dfusbh200-hcd.c455 struct usb_hcd *hcd; fill_async_buffer()
493 struct usb_hcd *hcd; fill_periodic_buffer()
640 struct usb_hcd *hcd; fill_registers_buffer()
1416 fusbh200_hub_status_data (struct usb_hcd *hcd, char *buf) fusbh200_hub_status_data()
1490 struct usb_hcd *hcd, fusbh200_hub_control()
1810 static void __maybe_unused fusbh200_relinquish_port(struct usb_hcd *hcd, fusbh200_relinquish_port()
1816 static int __maybe_unused fusbh200_port_handed_over(struct usb_hcd *hcd, fusbh200_port_handed_over()
2144 static void fusbh200_clear_tt_buffer_complete(struct usb_hcd *hcd, fusbh200_clear_tt_buffer_complete()
3361 static int fusbh200_get_frame (struct usb_hcd *hcd);
4972 static void fusbh200_shutdown(struct usb_hcd *hcd) fusbh200_shutdown()
5027 static void fusbh200_stop (struct usb_hcd *hcd) fusbh200_stop()
5064 static int hcd_fusbh200_init(struct usb_hcd *hcd) hcd_fusbh200_init()
5163 static int fusbh200_run (struct usb_hcd *hcd) fusbh200_run()
5237 static int fusbh200_setup(struct usb_hcd *hcd) fusbh200_setup()
5268 static irqreturn_t fusbh200_irq (struct usb_hcd *hcd) fusbh200_irq()
5411 struct usb_hcd *hcd, fusbh200_urb_enqueue()
5448 static int fusbh200_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) fusbh200_urb_dequeue()
5519 fusbh200_endpoint_disable (struct usb_hcd *hcd, struct usb_host_endpoint *ep) fusbh200_endpoint_disable()
5592 fusbh200_endpoint_reset(struct usb_hcd *hcd, struct usb_host_endpoint *ep) fusbh200_endpoint_reset()
5632 static int fusbh200_get_frame (struct usb_hcd *hcd) fusbh200_get_frame()
5720 struct usb_hcd *hcd; fusbh200_hcd_probe()
5826 struct usb_hcd *hcd = dev_get_drvdata(dev); fusbh200_hcd_remove()
H A Dfhci-sched.c510 struct usb_hcd *hcd = _hcd; fhci_frame_limit_timer_irq()
546 irqreturn_t fhci_irq(struct usb_hcd *hcd) fhci_irq()
H A Dimx21-hcd.h422 struct usb_hcd *hcd;
H A Dehci-dbg.c499 struct usb_hcd *hcd; fill_async_buffer()
622 struct usb_hcd *hcd; fill_periodic_buffer()
780 struct usb_hcd *hcd; fill_registers_buffer()
H A Disp1362.h569 static inline struct isp1362_hcd *hcd_to_isp1362_hcd(struct usb_hcd *hcd) hcd_to_isp1362_hcd()
574 static inline struct usb_hcd *isp1362_hcd_to_hcd(struct isp1362_hcd *isp1362_hcd) isp1362_hcd_to_hcd()
576 return container_of((void *)isp1362_hcd, struct usb_hcd, hcd_priv); isp1362_hcd_to_hcd()
H A Doxu210hp.h349 struct usb_hcd *hcd[2];
H A Dohci-dbg.c580 struct usb_hcd *hcd; fill_registers_buffer()
H A Dehci-q.c145 static void ehci_clear_tt_buffer_complete(struct usb_hcd *hcd, ehci_clear_tt_buffer_complete()
1164 struct usb_hcd *hcd, submit_single_step_set_feature()
H A Dxhci-ring.c599 struct usb_hcd *hcd; xhci_giveback_urb_in_irq()
1431 static unsigned int find_faked_portnum_from_hw_portnum(struct usb_hcd *hcd, find_faked_portnum_from_hw_portnum()
1485 struct usb_hcd *hcd; handle_port_status()
1511 /* Figure out which usb_hcd this port is attached to: handle_port_status()
2647 irqreturn_t xhci_irq(struct usb_hcd *hcd) xhci_irq()
H A Duhci-q.c1409 static int uhci_urb_enqueue(struct usb_hcd *hcd, uhci_urb_enqueue()
1482 static int uhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) uhci_urb_dequeue()
H A Dehci-sched.c37 static int ehci_get_frame (struct usb_hcd *hcd);
H A Dxhci-mem.c1073 struct usb_hcd *hcd; xhci_find_real_port_number()
/linux-4.1.27/drivers/usb/host/whci/
H A Dhcd.c32 static int whc_reset(struct usb_hcd *usb_hcd) whc_reset() argument
44 static int whc_start(struct usb_hcd *usb_hcd) whc_start() argument
46 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); whc_start()
71 usb_hcd->uses_new_polling = 1; whc_start()
72 set_bit(HCD_FLAG_POLL_RH, &usb_hcd->flags); whc_start()
73 usb_hcd->state = HC_STATE_RUNNING; whc_start()
88 static void whc_stop(struct usb_hcd *usb_hcd) whc_stop() argument
90 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); whc_stop()
107 static int whc_get_frame_number(struct usb_hcd *usb_hcd) whc_get_frame_number() argument
117 static int whc_urb_enqueue(struct usb_hcd *usb_hcd, struct urb *urb, whc_urb_enqueue() argument
120 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); whc_urb_enqueue()
145 static int whc_urb_dequeue(struct usb_hcd *usb_hcd, struct urb *urb, int status) whc_urb_dequeue() argument
147 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); whc_urb_dequeue()
172 static void whc_endpoint_disable(struct usb_hcd *usb_hcd, whc_endpoint_disable() argument
175 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); whc_endpoint_disable()
190 static void whc_endpoint_reset(struct usb_hcd *usb_hcd, whc_endpoint_reset() argument
193 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); whc_endpoint_reset()
219 .hcd_priv_size = sizeof(struct whc) - sizeof(struct usb_hcd),
240 struct usb_hcd *usb_hcd; whc_probe() local
245 usb_hcd = usb_create_hcd(&whc_hc_driver, dev, "whci"); whc_probe()
246 if (usb_hcd == NULL) { whc_probe()
251 usb_hcd->wireless = 1; whc_probe()
252 usb_hcd->self.sg_tablesize = 2048; /* somewhat arbitrary */ whc_probe()
254 wusbhc = usb_hcd_to_wusbhc(usb_hcd); whc_probe()
291 ret = usb_add_hcd(usb_hcd, whc->umc->irq, IRQF_SHARED); whc_probe()
296 device_wakeup_enable(usb_hcd->self.controller); whc_probe()
309 usb_remove_hcd(usb_hcd); whc_probe()
316 usb_put_hcd(usb_hcd); whc_probe()
323 struct usb_hcd *usb_hcd = dev_get_drvdata(&umc->dev); whc_remove() local
324 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); whc_remove()
327 if (usb_hcd) { whc_remove()
330 usb_remove_hcd(usb_hcd); whc_remove()
334 usb_put_hcd(usb_hcd); whc_remove()
H A Dint.c31 irqreturn_t whc_int_handler(struct usb_hcd *hcd) whc_int_handler()
H A Dasl.c273 err = usb_hcd_link_urb_to_ep(&whc->wusbhc.usb_hcd, urb); asl_urb_enqueue()
288 usb_hcd_unlink_urb_from_ep(&whc->wusbhc.usb_hcd, urb); asl_urb_enqueue()
319 ret = usb_hcd_check_unlink_urb(&whc->wusbhc.usb_hcd, urb, status); asl_urb_dequeue()
H A Dpzl.c301 err = usb_hcd_link_urb_to_ep(&whc->wusbhc.usb_hcd, urb); pzl_urb_enqueue()
316 usb_hcd_unlink_urb_from_ep(&whc->wusbhc.usb_hcd, urb); pzl_urb_enqueue()
347 ret = usb_hcd_check_unlink_urb(&whc->wusbhc.usb_hcd, urb, status); pzl_urb_dequeue()
H A Dwhcd.h167 irqreturn_t whc_int_handler(struct usb_hcd *hcd);
H A Dqset.c713 usb_hcd_unlink_urb_from_ep(&wusbhc->usb_hcd, urb); qset_remove_urb()
/linux-4.1.27/include/linux/usb/
H A Dehci-dbgp.h50 struct usb_hcd;
53 extern int xen_dbgp_reset_prep(struct usb_hcd *);
54 extern int xen_dbgp_external_startup(struct usb_hcd *);
56 static inline int xen_dbgp_reset_prep(struct usb_hcd *hcd) xen_dbgp_reset_prep()
61 static inline int xen_dbgp_external_startup(struct usb_hcd *hcd) xen_dbgp_external_startup()
69 extern int dbgp_external_startup(struct usb_hcd *);
70 extern int dbgp_reset_prep(struct usb_hcd *);
72 static inline int dbgp_reset_prep(struct usb_hcd *hcd) dbgp_reset_prep()
77 static inline int dbgp_external_startup(struct usb_hcd *hcd) dbgp_external_startup()
H A Dhcd.h57 * USB Host Controller Driver (usb_hcd) framework
79 struct usb_hcd { struct
174 struct usb_hcd *shared_hcd;
175 struct usb_hcd *primary_hcd;
209 static inline struct usb_bus *hcd_to_bus(struct usb_hcd *hcd) hcd_to_bus()
214 static inline struct usb_hcd *bus_to_hcd(struct usb_bus *bus) bus_to_hcd()
216 return container_of(bus, struct usb_hcd, self); bus_to_hcd()
233 irqreturn_t (*irq) (struct usb_hcd *hcd);
247 int (*reset) (struct usb_hcd *hcd);
248 int (*start) (struct usb_hcd *hcd);
254 int (*pci_suspend)(struct usb_hcd *hcd, bool do_wakeup);
257 int (*pci_resume)(struct usb_hcd *hcd, bool hibernated);
260 void (*stop) (struct usb_hcd *hcd);
263 void (*shutdown) (struct usb_hcd *hcd);
266 int (*get_frame_number) (struct usb_hcd *hcd);
269 int (*urb_enqueue)(struct usb_hcd *hcd,
271 int (*urb_dequeue)(struct usb_hcd *hcd,
283 int (*map_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb,
285 void (*unmap_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb);
288 void (*endpoint_disable)(struct usb_hcd *hcd,
293 void (*endpoint_reset)(struct usb_hcd *hcd,
297 int (*hub_status_data) (struct usb_hcd *hcd, char *buf);
298 int (*hub_control) (struct usb_hcd *hcd,
301 int (*bus_suspend)(struct usb_hcd *);
302 int (*bus_resume)(struct usb_hcd *);
303 int (*start_port_reset)(struct usb_hcd *, unsigned port_num);
306 void (*relinquish_port)(struct usb_hcd *, int);
308 int (*port_handed_over)(struct usb_hcd *, int);
311 void (*clear_tt_buffer_complete)(struct usb_hcd *,
316 int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
318 void (*free_dev)(struct usb_hcd *, struct usb_device *);
320 int (*alloc_streams)(struct usb_hcd *hcd, struct usb_device *udev,
326 int (*free_streams)(struct usb_hcd *hcd, struct usb_device *udev,
341 int (*add_endpoint)(struct usb_hcd *, struct usb_device *,
344 int (*drop_endpoint)(struct usb_hcd *, struct usb_device *,
351 int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
359 void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
361 int (*address_device)(struct usb_hcd *, struct usb_device *udev);
363 int (*enable_device)(struct usb_hcd *, struct usb_device *udev);
367 int (*update_hub_device)(struct usb_hcd *, struct usb_device *hdev,
369 int (*reset_device)(struct usb_hcd *, struct usb_device *);
373 int (*update_device)(struct usb_hcd *, struct usb_device *);
374 int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
377 int (*enable_usb3_lpm_timeout)(struct usb_hcd *,
382 int (*disable_usb3_lpm_timeout)(struct usb_hcd *,
384 int (*find_raw_port_number)(struct usb_hcd *, int);
386 int (*port_power)(struct usb_hcd *hcd, int portnum, bool enable);
390 static inline int hcd_giveback_urb_in_bh(struct usb_hcd *hcd) hcd_giveback_urb_in_bh()
395 static inline bool hcd_periodic_completion_in_progress(struct usb_hcd *hcd, hcd_periodic_completion_in_progress()
401 extern int usb_hcd_link_urb_to_ep(struct usb_hcd *hcd, struct urb *urb);
402 extern int usb_hcd_check_unlink_urb(struct usb_hcd *hcd, struct urb *urb,
404 extern void usb_hcd_unlink_urb_from_ep(struct usb_hcd *hcd, struct urb *urb);
408 extern void usb_hcd_giveback_urb(struct usb_hcd *hcd, struct urb *urb,
410 extern int usb_hcd_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb,
412 extern void usb_hcd_unmap_urb_setup_for_dma(struct usb_hcd *, struct urb *);
413 extern void usb_hcd_unmap_urb_for_dma(struct usb_hcd *, struct urb *);
427 extern struct usb_hcd *usb_create_hcd(const struct hc_driver *driver,
429 extern struct usb_hcd *usb_create_shared_hcd(const struct hc_driver *driver,
431 struct usb_hcd *shared_hcd);
432 extern struct usb_hcd *usb_get_hcd(struct usb_hcd *hcd);
433 extern void usb_put_hcd(struct usb_hcd *hcd);
434 extern int usb_hcd_is_primary_hcd(struct usb_hcd *hcd);
435 extern int usb_add_hcd(struct usb_hcd *hcd,
437 extern void usb_remove_hcd(struct usb_hcd *hcd);
438 extern int usb_hcd_find_raw_port_number(struct usb_hcd *hcd, int port1);
460 int hcd_buffer_create(struct usb_hcd *hcd);
461 void hcd_buffer_destroy(struct usb_hcd *hcd);
471 extern void usb_hc_died(struct usb_hcd *hcd);
472 extern void usb_hcd_poll_rh_status(struct usb_hcd *hcd);
534 struct usb_hcd *hcd;
635 extern void usb_hcd_resume_root_hub(struct usb_hcd *hcd);
637 static inline void usb_hcd_resume_root_hub(struct usb_hcd *hcd) usb_hcd_resume_root_hub()
H A Dehci_pdriver.h23 struct usb_hcd;
60 int (*pre_setup)(struct usb_hcd *hcd);
/linux-4.1.27/drivers/xen/
H A Ddbgp.c9 static int xen_dbgp_op(struct usb_hcd *hcd, int op) xen_dbgp_op()
36 int xen_dbgp_reset_prep(struct usb_hcd *hcd) xen_dbgp_reset_prep()
41 int xen_dbgp_external_startup(struct usb_hcd *hcd) xen_dbgp_external_startup()
/linux-4.1.27/drivers/usb/wusbcore/
H A Dwusbhc.h25 * Controllers (struct wusbhc, embedding a struct usb_hcd) and is used
82 * Note this "complements" the 'struct usb_device' that the usb_hcd
167 * @usb_hcd Instantiation of a USB host controller
245 * calling usb_hcd_add(&wusbhc->usb_hcd).
248 struct usb_hcd usb_hcd; /* HAS TO BE 1st */ member in struct:wusbhc
306 #define usb_hcd_to_wusbhc(u) container_of((u), struct wusbhc, usb_hcd)
328 * Return @usb_dev's @usb_hcd (properly referenced) or NULL if gone
336 struct usb_hcd *usb_hcd_get_by_usb_dev(struct usb_device *usb_dev) usb_hcd_get_by_usb_dev()
338 struct usb_hcd *usb_hcd; usb_hcd_get_by_usb_dev() local
339 usb_hcd = container_of(usb_dev->bus, struct usb_hcd, self); usb_hcd_get_by_usb_dev()
340 return usb_get_hcd(usb_hcd); usb_hcd_get_by_usb_dev()
346 * @wusbhc's life cycle is identical to that of the underlying usb_hcd.
350 return usb_get_hcd(&wusbhc->usb_hcd) ? wusbhc : NULL; wusbhc_get()
359 * WARNING: referenced at the usb_hcd level, unlocked
366 struct usb_hcd *usb_hcd; wusbhc_get_by_usb_dev() local
373 usb_hcd = usb_hcd_get_by_usb_dev(usb_dev); wusbhc_get_by_usb_dev()
374 if (usb_hcd == NULL) wusbhc_get_by_usb_dev()
376 BUG_ON(usb_hcd->wireless == 0); wusbhc_get_by_usb_dev()
377 return wusbhc = usb_hcd_to_wusbhc(usb_hcd); wusbhc_get_by_usb_dev()
383 usb_put_hcd(&wusbhc->usb_hcd); wusbhc_put()
407 extern int wusbhc_rh_status_data(struct usb_hcd *, char *);
408 extern int wusbhc_rh_control(struct usb_hcd *, u16, u16, u16, char *, u16);
409 extern int wusbhc_rh_start_port_reset(struct usb_hcd *, unsigned);
H A Drh.c60 * ops defined in the usb_hcd struct:
137 * @usb_hcd is refcounted, so it won't disappear under us
141 int wusbhc_rh_status_data(struct usb_hcd *usb_hcd, char *_buf) wusbhc_rh_status_data() argument
143 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); wusbhc_rh_status_data()
360 int wusbhc_rh_control(struct usb_hcd *usb_hcd, u16 reqntype, u16 wValue, wusbhc_rh_control() argument
364 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); wusbhc_rh_control()
395 "UNIMPLEMENTED\n", __func__, usb_hcd, wusbhc, reqntype, wusbhc_rh_control()
404 int wusbhc_rh_start_port_reset(struct usb_hcd *usb_hcd, unsigned port_idx) wusbhc_rh_start_port_reset() argument
406 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); wusbhc_rh_start_port_reset()
408 __func__, usb_hcd, wusbhc, port_idx); wusbhc_rh_start_port_reset()
H A Dwusbhc.c40 * wusbhc.usb_hcd.self->class_dev; otherwise, you loose.
45 struct usb_hcd *usb_hcd = bus_to_hcd(usb_bus); usbhc_dev_to_wusbhc() local
46 return usb_hcd_to_wusbhc(usb_hcd); usbhc_dev_to_wusbhc()
260 * - assumes *wusbhc has been zeroed and wusbhc->usb_hcd has been
307 return &wusbhc->usb_hcd.self.controller->kobj; wusbhc_kobj()
313 * Creates fields that depend on wusbhc->usb_hcd having been
317 * NOTE: Assumes wusbhc->usb_hcd has been already added by the upper
323 struct device *dev = wusbhc->usb_hcd.self.controller; wusbhc_b_create()
446 usb_hcd_giveback_urb(&wusbhc->usb_hcd, urb, status); wusbhc_giveback_urb()
H A Dpal.c41 wusbhc->pal.device = wusbhc->usb_hcd.self.controller; wusbhc_pal_register()
H A Dwa-nep.c106 if (usb_hcd->state == HC_STATE_QUIESCING) /* Going down? */ wa_notif_dispatch()
173 * instance (part of an 'struct usb_hcd').
H A Dwa-xfer.c286 usb_hcd_unlink_urb_from_ep(&(xfer->wa->wusb->usb_hcd), xfer->urb); wa_xfer_giveback()
1851 result = usb_hcd_link_urb_to_ep(&(wa->wusb->usb_hcd), urb); wa_urb_enqueue()
1896 usb_hcd_unlink_urb_from_ep(&(wa->wusb->usb_hcd), urb); wa_urb_enqueue()
1907 usb_hcd_unlink_urb_from_ep(&(wa->wusb->usb_hcd), urb); wa_urb_enqueue()
1944 result = usb_hcd_check_unlink_urb(&(wa->wusb->usb_hcd), urb, status); wa_urb_dequeue()
2491 wa->wusb->usb_hcd.driver->get_frame_number(&wa->wusb->usb_hcd); wa_process_iso_packet_status()
H A Dwa-hc.h23 * This driver implements a USB Host Controller (struct usb_hcd) for a
/linux-4.1.27/drivers/usb/c67x00/
H A Dc67x00-hcd.h101 static inline struct c67x00_hcd *hcd_to_c67x00_hcd(struct usb_hcd *hcd) hcd_to_c67x00_hcd()
106 static inline struct usb_hcd *c67x00_hcd_to_hcd(struct c67x00_hcd *c67x00) c67x00_hcd_to_hcd()
108 return container_of((void *)c67x00, struct usb_hcd, hcd_priv); c67x00_hcd_to_hcd()
121 int c67x00_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags);
122 int c67x00_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status);
123 void c67x00_endpoint_disable(struct usb_hcd *hcd,
H A Dc67x00-hcd.c61 static int c67x00_hub_status_data(struct usb_hcd *hcd, char *buf) c67x00_hub_status_data()
80 static int c67x00_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, c67x00_hub_control()
253 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); c67x00_hcd_irq()
280 static int c67x00_hcd_start(struct usb_hcd *hcd) c67x00_hcd_start()
292 static void c67x00_hcd_stop(struct usb_hcd *hcd) c67x00_hcd_stop()
297 static int c67x00_hcd_get_frame(struct usb_hcd *hcd) c67x00_hcd_get_frame()
346 struct usb_hcd *hcd; c67x00_hcd_probe()
408 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); c67x00_hcd_remove()
H A Dc67x00-sched.c319 void c67x00_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep) c67x00_endpoint_disable()
356 int c67x00_urb_enqueue(struct usb_hcd *hcd, c67x00_urb_enqueue()
455 int c67x00_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) c67x00_urb_dequeue()
/linux-4.1.27/drivers/usb/usbip/
H A Dvhci.h114 static inline struct vhci_hcd *hcd_to_vhci(struct usb_hcd *hcd) hcd_to_vhci()
119 static inline struct usb_hcd *vhci_to_hcd(struct vhci_hcd *vhci) vhci_to_hcd()
121 return container_of((void *) vhci, struct usb_hcd, hcd_priv); vhci_to_hcd()
H A Dvhci_hcd.c46 static int vhci_hub_status(struct usb_hcd *hcd, char *buff);
47 static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
49 static int vhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb,
51 static int vhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status);
52 static int vhci_start(struct usb_hcd *vhci_hcd);
53 static void vhci_stop(struct usb_hcd *hcd);
54 static int vhci_get_frame_number(struct usb_hcd *hcd);
179 static int vhci_hub_status(struct usb_hcd *hcd, char *buf) vhci_hub_status()
228 static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, vhci_hub_control()
458 static int vhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, vhci_urb_enqueue()
465 usbip_dbg_vhci_hc("enter, usb_hcd %p urb %p mem_flags %d\n", vhci_urb_enqueue()
618 static int vhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) vhci_urb_dequeue()
875 static int vhci_start(struct usb_hcd *hcd) vhci_start()
883 /* initialize private data of usb_hcd */ vhci_start()
908 static void vhci_stop(struct usb_hcd *hcd) vhci_stop()
927 static int vhci_get_frame_number(struct usb_hcd *hcd) vhci_get_frame_number()
936 static int vhci_bus_suspend(struct usb_hcd *hcd) vhci_bus_suspend()
949 static int vhci_bus_resume(struct usb_hcd *hcd) vhci_bus_resume()
995 struct usb_hcd *hcd; vhci_hcd_probe()
1032 struct usb_hcd *hcd; vhci_hcd_remove()
1055 struct usb_hcd *hcd; vhci_hcd_suspend()
1086 struct usb_hcd *hcd; vhci_hcd_resume()
/linux-4.1.27/drivers/usb/core/
H A Dbuffer.c60 int hcd_buffer_create(struct usb_hcd *hcd) hcd_buffer_create()
92 void hcd_buffer_destroy(struct usb_hcd *hcd) hcd_buffer_destroy()
117 struct usb_hcd *hcd = bus_to_hcd(bus); hcd_buffer_alloc()
141 struct usb_hcd *hcd = bus_to_hcd(bus); hcd_buffer_free()
H A Dhcd-pci.c56 typedef void (*companion_fn)(struct pci_dev *pdev, struct usb_hcd *hcd,
57 struct pci_dev *companion, struct usb_hcd *companion_hcd);
60 static void for_each_companion(struct pci_dev *pdev, struct usb_hcd *hcd, for_each_companion()
64 struct usb_hcd *companion_hcd; for_each_companion()
99 static void ehci_pre_add(struct pci_dev *pdev, struct usb_hcd *hcd, ehci_pre_add()
100 struct pci_dev *companion, struct usb_hcd *companion_hcd) ehci_pre_add()
116 static void ehci_post_add(struct pci_dev *pdev, struct usb_hcd *hcd, ehci_post_add()
117 struct pci_dev *companion, struct usb_hcd *companion_hcd) ehci_post_add()
137 static void non_ehci_add(struct pci_dev *pdev, struct usb_hcd *hcd, non_ehci_add()
138 struct pci_dev *companion, struct usb_hcd *companion_hcd) non_ehci_add()
148 static void ehci_remove(struct pci_dev *pdev, struct usb_hcd *hcd, ehci_remove()
149 struct pci_dev *companion, struct usb_hcd *companion_hcd) ehci_remove()
158 static void ehci_wait_for_companions(struct pci_dev *pdev, struct usb_hcd *hcd, ehci_wait_for_companions()
159 struct pci_dev *companion, struct usb_hcd *companion_hcd) ehci_wait_for_companions()
189 struct usb_hcd *hcd; usb_hcd_pci_probe()
332 struct usb_hcd *hcd; usb_hcd_pci_remove()
383 struct usb_hcd *hcd; usb_hcd_pci_shutdown()
425 struct usb_hcd *hcd = pci_get_drvdata(pci_dev); check_root_hub_suspended()
444 struct usb_hcd *hcd = pci_get_drvdata(pci_dev); suspend_common()
499 struct usb_hcd *hcd = pci_get_drvdata(pci_dev); resume_common()
550 struct usb_hcd *hcd = pci_get_drvdata(pci_dev); hcd_pci_suspend_noirq()
H A Dhcd.c82 * associated cleanup. "usb_hcd" still != "usb_bus".
425 rh_string(int id, struct usb_hcd const *hcd, u8 *data, unsigned len) rh_string()
464 static int rh_call_control (struct usb_hcd *hcd, struct urb *urb) rh_call_control()
724 void usb_hcd_poll_rh_status(struct usb_hcd *hcd) usb_hcd_poll_rh_status()
770 usb_hcd_poll_rh_status((struct usb_hcd *) _hcd); rh_timer_func()
775 static int rh_queue_status (struct usb_hcd *hcd, struct urb *urb) rh_queue_status()
806 static int rh_urb_enqueue (struct usb_hcd *hcd, struct urb *urb) rh_urb_enqueue()
820 static int usb_rh_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) usb_rh_urb_dequeue()
857 struct usb_hcd *usb_hcd; authorized_default_show() local
859 usb_hcd = bus_to_hcd(usb_bus); authorized_default_show()
860 return snprintf(buf, PAGE_SIZE, "%u\n", usb_hcd->authorized_default); authorized_default_show()
871 struct usb_hcd *usb_hcd; authorized_default_store() local
873 usb_hcd = bus_to_hcd(usb_bus); authorized_default_store()
876 usb_hcd->authorized_default = val ? 1 : 0; authorized_default_store()
1001 static int register_root_hub(struct usb_hcd *hcd) register_root_hub()
1174 int usb_hcd_link_urb_to_ep(struct usb_hcd *hcd, struct urb *urb) usb_hcd_link_urb_to_ep()
1232 int usb_hcd_check_unlink_urb(struct usb_hcd *hcd, struct urb *urb, usb_hcd_check_unlink_urb()
1265 void usb_hcd_unlink_urb_from_ep(struct usb_hcd *hcd, struct urb *urb) usb_hcd_unlink_urb_from_ep()
1358 void usb_hcd_unmap_urb_setup_for_dma(struct usb_hcd *hcd, struct urb *urb) usb_hcd_unmap_urb_setup_for_dma()
1377 static void unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) unmap_urb_for_dma()
1385 void usb_hcd_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) usb_hcd_unmap_urb_for_dma()
1420 static int map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, map_urb_for_dma()
1429 int usb_hcd_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, usb_hcd_map_urb_for_dma()
1549 struct usb_hcd *hcd = bus_to_hcd(urb->dev->bus); usb_hcd_submit_urb()
1599 static int unlink1(struct usb_hcd *hcd, struct urb *urb, int status) unlink1()
1623 struct usb_hcd *hcd; usb_hcd_unlink_urb()
1656 struct usb_hcd *hcd = bus_to_hcd(urb->dev->bus); __usb_hcd_giveback_urb()
1744 void usb_hcd_giveback_urb(struct usb_hcd *hcd, struct urb *urb, int status) usb_hcd_giveback_urb()
1789 struct usb_hcd *hcd; usb_hcd_flush_endpoint()
1886 struct usb_hcd *hcd; usb_hcd_alloc_bandwidth()
2003 struct usb_hcd *hcd; usb_hcd_disable_endpoint()
2022 struct usb_hcd *hcd = bus_to_hcd(udev->bus); usb_hcd_reset_endpoint()
2056 struct usb_hcd *hcd; usb_alloc_streams()
2106 struct usb_hcd *hcd; usb_free_streams()
2147 struct usb_hcd *hcd = bus_to_hcd(udev->bus); usb_hcd_get_frame_number()
2160 struct usb_hcd *hcd = container_of(rhdev->bus, struct usb_hcd, self); hcd_bus_suspend()
2209 struct usb_hcd *hcd = container_of(rhdev->bus, struct usb_hcd, self); hcd_bus_resume()
2267 struct usb_hcd *hcd = container_of(work, struct usb_hcd, wakeup_work); hcd_resume_work()
2282 void usb_hcd_resume_root_hub (struct usb_hcd *hcd) usb_hcd_resume_root_hub()
2316 struct usb_hcd *hcd; usb_bus_start_enum()
2323 hcd = container_of (bus, struct usb_hcd, self); usb_bus_start_enum()
2352 struct usb_hcd *hcd = __hcd; usb_hcd_irq()
2378 void usb_hc_died (struct usb_hcd *hcd) usb_hc_died()
2426 * @primary_hcd: a pointer to the usb_hcd structure that is sharing the
2430 * Allocate a struct usb_hcd, with extra space at the end for the
2437 struct usb_hcd *usb_create_shared_hcd(const struct hc_driver *driver, usb_create_shared_hcd()
2439 struct usb_hcd *primary_hcd) usb_create_shared_hcd()
2441 struct usb_hcd *hcd; usb_create_shared_hcd()
2506 * Allocate a struct usb_hcd, with extra space at the end for the
2513 struct usb_hcd *usb_create_hcd(const struct hc_driver *driver, usb_create_hcd()
2522 * Don't deallocate the bandwidth_mutex until the last shared usb_hcd is
2532 struct usb_hcd *hcd = container_of (kref, struct usb_hcd, kref); hcd_release()
2540 struct usb_hcd *peer = hcd->shared_hcd; hcd_release()
2550 struct usb_hcd *usb_get_hcd (struct usb_hcd *hcd) usb_get_hcd()
2558 void usb_put_hcd (struct usb_hcd *hcd) usb_put_hcd()
2565 int usb_hcd_is_primary_hcd(struct usb_hcd *hcd) usb_hcd_is_primary_hcd()
2573 int usb_hcd_find_raw_port_number(struct usb_hcd *hcd, int port1) usb_hcd_find_raw_port_number()
2581 static int usb_hcd_request_irqs(struct usb_hcd *hcd, usb_hcd_request_irqs()
2618 static void usb_put_invalidate_rhdev(struct usb_hcd *hcd) usb_put_invalidate_rhdev()
2631 * @hcd: the usb_hcd structure to initialize
2639 int usb_add_hcd(struct usb_hcd *hcd, usb_add_hcd()
2848 * @hcd: the usb_hcd structure to remove
2854 void usb_remove_hcd(struct usb_hcd *hcd) usb_remove_hcd()
2933 struct usb_hcd *hcd = platform_get_drvdata(dev); usb_hcd_platform_shutdown()
H A Dusb.c279 struct usb_hcd *hcd; usb_release_dev()
399 struct usb_hcd *hcd = container_of(bus, struct usb_hcd, self); usb_bus_is_wusb()
423 struct usb_hcd *usb_hcd = bus_to_hcd(bus); usb_alloc_dev() local
430 if (!usb_get_hcd(usb_hcd)) { usb_alloc_dev()
435 if (usb_hcd->driver->alloc_dev && parent && usb_alloc_dev()
436 !usb_hcd->driver->alloc_dev(usb_hcd, dev)) { usb_alloc_dev()
513 dev->authorized = usb_hcd->authorized_default; usb_alloc_dev()
H A Dport.c318 struct usb_hcd *hcd, *peer_hcd; match_location()
366 struct usb_hcd *hcd = bus_to_hcd(hdev->bus); find_and_link_peer()
367 struct usb_hcd *peer_hcd = hcd->shared_hcd; find_and_link_peer()
H A Dquirks.c262 struct usb_hcd *hcd; usb_amd_resume_quirk()
H A Dusb-acpi.c173 struct usb_hcd *hcd = bus_to_hcd(udev->bus); usb_acpi_find_companion()
H A Dhub.c1029 struct usb_hcd *hcd; hub_activate()
1355 struct usb_hcd *hcd; hub_configure()
2107 struct usb_hcd *hcd = bus_to_hcd(udev->bus); hub_free_dev()
2319 struct usb_hcd *hcd = bus_to_hcd(udev->bus); usb_enumerate_device()
2604 struct usb_hcd *hcd; hub_is_wusb()
2607 hcd = container_of(hub->hdev->bus, struct usb_hcd, self); hub_is_wusb()
2827 struct usb_hcd *hcd = bus_to_hcd(udev->bus); hub_port_reset()
2958 struct usb_hcd *hcd = bus_to_hcd(udev->bus); usb_disable_ltm()
2980 struct usb_hcd *hcd = bus_to_hcd(udev->bus); usb_enable_ltm()
3839 static void usb_enable_link_state(struct usb_hcd *hcd, struct usb_device *udev, usb_enable_link_state()
3911 static int usb_disable_link_state(struct usb_hcd *hcd, struct usb_device *udev, usb_disable_link_state()
3945 struct usb_hcd *hcd; usb_disable_lpm()
3978 struct usb_hcd *hcd = bus_to_hcd(udev->bus); usb_unlocked_disable_lpm()
4002 struct usb_hcd *hcd; usb_enable_lpm()
4030 struct usb_hcd *hcd = bus_to_hcd(udev->bus); usb_unlocked_enable_lpm()
4156 struct usb_hcd *hcd = bus_to_hcd(udev->bus); hub_set_address()
4212 struct usb_hcd *hcd = bus_to_hcd(udev->bus); hub_enable_device()
4239 struct usb_hcd *hcd = bus_to_hcd(hdev->bus); hub_port_init()
4627 struct usb_hcd *hcd = bus_to_hcd(hdev->bus); hub_port_connect()
5313 struct usb_hcd *hcd = bus_to_hcd(udev->bus); usb_reset_and_verify_device()
H A Dmessage.c1148 struct usb_hcd *hcd = bus_to_hcd(dev->bus); usb_disable_device()
1293 struct usb_hcd *hcd = bus_to_hcd(dev->bus); usb_set_interface()
1449 struct usb_hcd *hcd = bus_to_hcd(dev->bus); usb_reset_configuration()
1698 struct usb_hcd *hcd = bus_to_hcd(dev->bus); usb_set_configuration()
H A Ddriver.c1865 struct usb_hcd *hcd = bus_to_hcd(udev->bus); usb_set_usb2_hardware_lpm()
/linux-4.1.27/drivers/usb/isp1760/
H A Disp1760-hcd.h9 struct usb_hcd;
51 struct usb_hcd *hcd;
H A Disp1760-hcd.c37 typedef void (packet_enqueue)(struct usb_hcd *hcd, struct isp1760_qh *qh,
40 static inline struct isp1760_hcd *hcd_to_priv(struct usb_hcd *hcd) hcd_to_priv()
335 static void alloc_mem(struct usb_hcd *hcd, struct isp1760_qtd *qtd) alloc_mem()
355 static void free_mem(struct usb_hcd *hcd, struct isp1760_qtd *qtd) free_mem()
378 static int handshake(struct usb_hcd *hcd, u32 reg, handshake()
397 static int ehci_reset(struct usb_hcd *hcd) ehci_reset()
436 static int priv_init(struct usb_hcd *hcd) priv_init()
464 static int isp1760_hc_setup(struct usb_hcd *hcd) isp1760_hc_setup()
670 static void isp1760_urb_done(struct usb_hcd *hcd, struct urb *urb)
720 static void start_bus_transfer(struct usb_hcd *hcd, u32 ptd_offset, int slot, start_bus_transfer()
769 static void collect_qtds(struct usb_hcd *hcd, struct isp1760_qh *qh, collect_qtds()
832 static void enqueue_qtds(struct usb_hcd *hcd, struct isp1760_qh *qh) enqueue_qtds()
911 static void schedule_ptds(struct usb_hcd *hcd) schedule_ptds()
980 static int check_int_transfer(struct usb_hcd *hcd, struct ptd *ptd, check_int_transfer()
1027 static int check_atl_transfer(struct usb_hcd *hcd, struct ptd *ptd, check_atl_transfer()
1069 static void handle_done_ptds(struct usb_hcd *hcd) handle_done_ptds()
1207 static irqreturn_t isp1760_irq(struct usb_hcd *hcd) isp1760_irq()
1266 struct usb_hcd *hcd = (struct usb_hcd *) data; errata2_function()
1293 static int isp1760_run(struct usb_hcd *hcd) isp1760_run()
1391 static void packetize_urb(struct usb_hcd *hcd, packetize_urb()
1492 static int isp1760_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, isp1760_urb_enqueue()
1579 static void kill_transfer(struct usb_hcd *hcd, struct urb *urb, kill_transfer()
1610 static void dequeue_urb_from_qtd(struct usb_hcd *hcd, struct isp1760_qh *qh, dequeue_urb_from_qtd()
1641 static int isp1760_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, isp1760_urb_dequeue()
1676 static void isp1760_endpoint_disable(struct usb_hcd *hcd, isp1760_endpoint_disable()
1708 static int isp1760_hub_status_data(struct usb_hcd *hcd, char *buf) isp1760_hub_status_data()
1787 static int check_reset_complete(struct usb_hcd *hcd, int index, check_reset_complete()
1811 static int isp1760_hub_control(struct usb_hcd *hcd, u16 typeReq, isp1760_hub_control()
2077 static int isp1760_get_frame(struct usb_hcd *hcd) isp1760_get_frame()
2086 static void isp1760_stop(struct usb_hcd *hcd) isp1760_stop()
2107 static void isp1760_shutdown(struct usb_hcd *hcd) isp1760_shutdown()
2120 static void isp1760_clear_tt_buffer_complete(struct usb_hcd *hcd, isp1760_clear_tt_buffer_complete()
2194 struct usb_hcd *hcd; isp1760_hcd_register()
/linux-4.1.27/drivers/staging/ozwpan/
H A Dozhcd.c129 /* Data structure in the private context area of struct usb_hcd.
140 struct usb_hcd *hcd;
150 static int oz_hcd_start(struct usb_hcd *hcd);
151 static void oz_hcd_stop(struct usb_hcd *hcd);
152 static void oz_hcd_shutdown(struct usb_hcd *hcd);
153 static int oz_hcd_urb_enqueue(struct usb_hcd *hcd, struct urb *urb,
155 static int oz_hcd_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status);
156 static void oz_hcd_endpoint_disable(struct usb_hcd *hcd,
158 static void oz_hcd_endpoint_reset(struct usb_hcd *hcd,
160 static int oz_hcd_get_frame_number(struct usb_hcd *hcd);
161 static int oz_hcd_hub_status_data(struct usb_hcd *hcd, char *buf);
162 static int oz_hcd_hub_control(struct usb_hcd *hcd, u16 req_type, u16 wvalue,
164 static int oz_hcd_bus_suspend(struct usb_hcd *hcd);
165 static int oz_hcd_bus_resume(struct usb_hcd *hcd);
172 static int oz_build_endpoints_for_config(struct usb_hcd *hcd,
175 static void oz_clean_endpoints_for_config(struct usb_hcd *hcd,
177 static int oz_build_endpoints_for_interface(struct usb_hcd *hcd,
180 static void oz_clean_endpoints_for_interface(struct usb_hcd *hcd,
232 * usb_hcd structure.
235 static inline struct oz_hcd *oz_hcd_private(struct usb_hcd *hcd) oz_hcd_private()
324 static void oz_complete_urb(struct usb_hcd *hcd, struct urb *urb, oz_complete_urb()
843 struct usb_hcd *hcd = port->ozhcd->hcd; oz_hcd_complete_set_config()
864 struct usb_hcd *hcd = port->ozhcd->hcd; oz_hcd_complete_set_interface()
895 struct usb_hcd *hcd = port->ozhcd->hcd; oz_hcd_control_cnf()
1182 static int oz_build_endpoints_for_interface(struct usb_hcd *hcd, oz_build_endpoints_for_interface()
1263 static void oz_clean_endpoints_for_interface(struct usb_hcd *hcd, oz_clean_endpoints_for_interface()
1307 static int oz_build_endpoints_for_config(struct usb_hcd *hcd, oz_build_endpoints_for_config()
1343 static void oz_clean_endpoints_for_config(struct usb_hcd *hcd, oz_clean_endpoints_for_config()
1706 static int oz_hcd_start(struct usb_hcd *hcd) oz_hcd_start()
1717 static void oz_hcd_stop(struct usb_hcd *hcd) oz_hcd_stop()
1724 static void oz_hcd_shutdown(struct usb_hcd *hcd) oz_hcd_shutdown()
1734 static int oz_hcd_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, oz_hcd_urb_enqueue()
1815 static int oz_hcd_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) oz_hcd_urb_dequeue()
1856 static void oz_hcd_endpoint_disable(struct usb_hcd *hcd, oz_hcd_endpoint_disable()
1864 static void oz_hcd_endpoint_reset(struct usb_hcd *hcd, oz_hcd_endpoint_reset()
1872 static int oz_hcd_get_frame_number(struct usb_hcd *hcd) oz_hcd_get_frame_number()
1883 static int oz_hcd_hub_status_data(struct usb_hcd *hcd, char *buf) oz_hcd_hub_status_data()
1911 static void oz_get_hub_descriptor(struct usb_hcd *hcd, oz_get_hub_descriptor()
1924 static int oz_set_port_feature(struct usb_hcd *hcd, u16 wvalue, u16 windex) oz_set_port_feature()
1999 static int oz_clear_port_feature(struct usb_hcd *hcd, u16 wvalue, u16 windex) oz_clear_port_feature()
2074 static int oz_get_port_status(struct usb_hcd *hcd, u16 windex, char *buf) oz_get_port_status()
2092 static int oz_hcd_hub_control(struct usb_hcd *hcd, u16 req_type, u16 wvalue, oz_hcd_hub_control()
2130 static int oz_hcd_bus_suspend(struct usb_hcd *hcd) oz_hcd_bus_suspend()
2145 static int oz_hcd_bus_resume(struct usb_hcd *hcd) oz_hcd_bus_resume()
2168 struct usb_hcd *hcd; oz_plat_probe()
2212 struct usb_hcd *hcd = platform_get_drvdata(dev); oz_plat_remove()
/linux-4.1.27/include/linux/platform_data/
H A Dusb-ohci-s3c2410.h26 struct usb_hcd *hcd;
/linux-4.1.27/drivers/usb/chipidea/
H A Dhost.c36 static int (*orig_bus_suspend)(struct usb_hcd *hcd);
42 static int ehci_ci_portpower(struct usb_hcd *hcd, int portnum, bool enable) ehci_ci_portpower()
82 struct usb_hcd *hcd; host_start()
164 struct usb_hcd *hcd = ci->hcd; host_stop()
182 static int ci_ehci_bus_suspend(struct usb_hcd *hcd) ci_ehci_bus_suspend()
H A Dci.h190 * @hcd: pointer to usb_hcd for ehci host driver
240 struct usb_hcd *hcd;
/linux-4.1.27/drivers/usb/musb/
H A Dmusb_host.h80 extern struct musb *hcd_to_musb(struct usb_hcd *);
99 static inline struct musb *hcd_to_musb(struct usb_hcd *hcd) hcd_to_musb()
132 struct usb_hcd; musb_host_finish_resume()
134 extern int musb_hub_status_data(struct usb_hcd *hcd, char *buf); musb_host_finish_resume()
135 extern int musb_hub_control(struct usb_hcd *hcd, musb_host_finish_resume()
H A Dmusb_virthub.c252 int musb_hub_status_data(struct usb_hcd *hcd, char *buf) musb_hub_status_data()
281 struct usb_hcd *hcd, musb_hub_control()
H A Dmusb_host.c97 struct musb *hcd_to_musb(struct usb_hcd *hcd) hcd_to_musb()
2073 struct usb_hcd *hcd, musb_urb_enqueue()
2319 static int musb_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) musb_urb_dequeue()
2379 musb_h_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep) musb_h_disable()
2431 static int musb_h_get_frame_number(struct usb_hcd *hcd) musb_h_get_frame_number()
2438 static int musb_h_start(struct usb_hcd *hcd) musb_h_start()
2450 static void musb_h_stop(struct usb_hcd *hcd) musb_h_stop()
2456 static int musb_bus_suspend(struct usb_hcd *hcd) musb_bus_suspend()
2490 static int musb_bus_resume(struct usb_hcd *hcd) musb_bus_resume()
2572 static int musb_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, musb_map_urb_for_dma()
2598 static void musb_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) musb_unmap_urb_for_dma()
2676 struct usb_hcd *hcd = musb->hcd; musb_host_setup()
H A Dmusb_core.h417 struct usb_hcd *hcd; /* the usb hcd */
H A Dmusb_core.c474 struct usb_hcd *hcd = musb->hcd; musb_hnp_stop()
759 struct usb_hcd *hcd = musb->hcd; musb_stage0_irq()
/linux-4.1.27/drivers/usb/renesas_usbhs/
H A Dmod_host.c130 container_of((void *)h, struct usb_hcd, hcd_priv)
466 static int usbhsh_connected_to_rhdev(struct usb_hcd *hcd, usbhsh_connected_to_rhdev()
503 struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv); usbhsh_device_attach()
603 struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv); usbhsh_device_detach()
648 struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv); usbhsh_queue_done()
674 static int usbhsh_queue_push(struct usb_hcd *hcd, usbhsh_queue_push()
880 static int usbhsh_dcp_queue_push(struct usb_hcd *hcd, usbhsh_dcp_queue_push()
953 static int usbhsh_host_start(struct usb_hcd *hcd) usbhsh_host_start()
958 static void usbhsh_host_stop(struct usb_hcd *hcd) usbhsh_host_stop()
962 static int usbhsh_urb_enqueue(struct usb_hcd *hcd, usbhsh_urb_enqueue()
1045 static int usbhsh_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) usbhsh_urb_dequeue()
1061 static void usbhsh_endpoint_disable(struct usb_hcd *hcd, usbhsh_endpoint_disable()
1088 static int usbhsh_hub_status_data(struct usb_hcd *hcd, char *buf) usbhsh_hub_status_data()
1248 static int usbhsh_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, usbhsh_hub_control()
1287 static int usbhsh_bus_nop(struct usb_hcd *hcd) usbhsh_bus_nop()
1464 struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv); usbhsh_start()
1508 struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv); usbhsh_stop()
1534 struct usb_hcd *hcd; usbhs_mod_host_probe()
1582 struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv); usbhs_mod_host_remove()
/linux-4.1.27/drivers/usb/gadget/udc/
H A Ddummy_hcd.c207 static inline struct dummy_hcd *hcd_to_dummy_hcd(struct usb_hcd *hcd) hcd_to_dummy_hcd()
212 static inline struct usb_hcd *dummy_hcd_to_hcd(struct dummy_hcd *dum) dummy_hcd_to_hcd()
214 return container_of((void *) dum, struct usb_hcd, hcd_priv); dummy_hcd_to_hcd()
1144 struct usb_hcd *hcd, dummy_urb_enqueue()
1194 static int dummy_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) dummy_urb_dequeue()
1870 static int dummy_hub_status(struct usb_hcd *hcd, char *buf) dummy_hub_status()
1950 struct usb_hcd *hcd, dummy_hub_control()
2210 static int dummy_bus_suspend(struct usb_hcd *hcd) dummy_bus_suspend()
2224 static int dummy_bus_resume(struct usb_hcd *hcd) dummy_bus_resume()
2294 struct usb_hcd *hcd = dev_get_drvdata(dev);
2334 static int dummy_start(struct usb_hcd *hcd)
2366 static void dummy_stop(struct usb_hcd *hcd)
2377 static int dummy_h_get_frame(struct usb_hcd *hcd)
2382 static int dummy_setup(struct usb_hcd *hcd)
2408 static int dummy_alloc_streams(struct usb_hcd *hcd, struct usb_device *udev,
2455 static int dummy_free_streams(struct usb_hcd *hcd, struct usb_device *udev,
2514 struct usb_hcd *hs_hcd;
2515 struct usb_hcd *ss_hcd;
2578 struct usb_hcd *hcd;
2596 struct usb_hcd *hcd;
/linux-4.1.27/drivers/usb/dwc2/
H A Dhcd.c715 struct usb_hcd *hcd; dwc2_hc_setup_align_buf()
1435 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); dwc2_host_is_b_hnp_enabled()
2078 /* Gets the dwc2_hsotg from a usb_hcd */ dwc2_hcd_to_hsotg()
2079 static struct dwc2_hsotg *dwc2_hcd_to_hsotg(struct usb_hcd *hcd) dwc2_hcd_to_hsotg()
2087 static int _dwc2_hcd_start(struct usb_hcd *hcd);
2091 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); dwc2_host_start()
2099 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); dwc2_host_disconnect()
2123 static void dwc2_allocate_bus_bandwidth(struct usb_hcd *hcd, u16 bw, dwc2_allocate_bus_bandwidth()
2136 static void dwc2_free_bus_bandwidth(struct usb_hcd *hcd, u16 bw, dwc2_free_bus_bandwidth()
2270 static int _dwc2_hcd_start(struct usb_hcd *hcd) _dwc2_hcd_start()
2304 static void _dwc2_hcd_stop(struct usb_hcd *hcd) _dwc2_hcd_stop()
2317 static int _dwc2_hcd_get_frame_number(struct usb_hcd *hcd) _dwc2_hcd_get_frame_number()
2324 static void dwc2_dump_urb_info(struct usb_hcd *hcd, struct urb *urb, dwc2_dump_urb_info()
2405 static int _dwc2_hcd_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, _dwc2_hcd_urb_enqueue()
2532 static int _dwc2_hcd_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, _dwc2_hcd_urb_dequeue()
2578 static void _dwc2_hcd_endpoint_disable(struct usb_hcd *hcd, _dwc2_hcd_endpoint_disable()
2594 static void _dwc2_hcd_endpoint_reset(struct usb_hcd *hcd, _dwc2_hcd_endpoint_reset()
2616 static irqreturn_t _dwc2_hcd_irq(struct usb_hcd *hcd) _dwc2_hcd_irq()
2629 static int _dwc2_hcd_hub_status_data(struct usb_hcd *hcd, char *buf) _dwc2_hcd_hub_status_data()
2638 static int _dwc2_hcd_hub_control(struct usb_hcd *hcd, u16 typereq, u16 wvalue, _dwc2_hcd_hub_control()
2647 static void _dwc2_hcd_clear_tt_buffer_complete(struct usb_hcd *hcd, _dwc2_hcd_clear_tt_buffer_complete()
2690 * in the struct usb_hcd field
2782 * static parts of the usb_hcd and dwc2_hsotg structures. It also registers the
2789 struct usb_hcd *hcd; dwc2_hcd_init()
2990 struct usb_hcd *hcd; dwc2_hcd_remove()
H A Dhcd.h359 /* Gets the struct usb_hcd that contains a struct dwc2_hsotg */ dwc2_hsotg_to_hcd()
360 static inline struct usb_hcd *dwc2_hsotg_to_hcd(struct dwc2_hsotg *hsotg) dwc2_hsotg_to_hcd()
362 return (struct usb_hcd *)hsotg->priv; dwc2_hsotg_to_hcd()
H A Dcore.h474 * @priv: Stores a pointer to the struct usb_hcd
/linux-4.1.27/drivers/usb/misc/
H A Dlvstest.c48 struct usb_hcd *hcd; create_lvs_device()
82 struct usb_hcd *hcd = bus_to_hcd(hdev->bus); destroy_lvs_device()
300 struct usb_hcd *hcd = bus_to_hcd(hdev->bus); lvs_rh_work()
/linux-4.1.27/drivers/usb/storage/
H A Duas-detect.h59 struct usb_hcd *hcd = bus_to_hcd(udev->bus); uas_use_uas_driver()
/linux-4.1.27/drivers/staging/octeon-usb/
H A Docteon-hcd.c455 static inline struct usb_hcd *octeon_to_hcd(struct octeon_hcd *p) octeon_to_hcd()
457 return container_of((void *)p, struct usb_hcd, hcd_priv); octeon_to_hcd()
522 static int octeon_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, octeon_map_urb_for_dma()
543 static void octeon_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) octeon_unmap_urb_for_dma()
1375 struct usb_hcd *hcd = octeon_to_hcd(priv); cvmx_usb_start_channel_control()
1992 struct usb_hcd *hcd = octeon_to_hcd(priv); octeon_usb_urb_complete_callback()
2445 struct usb_hcd *hcd = octeon_to_hcd(priv); cvmx_usb_poll_channel()
3063 static inline struct octeon_hcd *hcd_to_octeon(struct usb_hcd *hcd) hcd_to_octeon()
3068 static irqreturn_t octeon_usb_irq(struct usb_hcd *hcd) octeon_usb_irq()
3079 static int octeon_usb_start(struct usb_hcd *hcd) octeon_usb_start()
3085 static void octeon_usb_stop(struct usb_hcd *hcd) octeon_usb_stop()
3090 static int octeon_usb_get_frame_number(struct usb_hcd *hcd) octeon_usb_get_frame_number()
3097 static int octeon_usb_urb_enqueue(struct usb_hcd *hcd, octeon_usb_urb_enqueue()
3275 static int octeon_usb_urb_dequeue(struct usb_hcd *hcd, octeon_usb_urb_dequeue()
3301 static void octeon_usb_endpoint_disable(struct usb_hcd *hcd, octeon_usb_endpoint_disable()
3320 static int octeon_usb_hub_status_data(struct usb_hcd *hcd, char *buf) octeon_usb_hub_status_data()
3335 static int octeon_usb_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, octeon_usb_hub_control()
3577 struct usb_hcd *hcd; octeon_usb_probe()
3718 struct usb_hcd *hcd = dev_get_drvdata(dev); octeon_usb_remove()
/linux-4.1.27/arch/arm/mach-shmobile/
H A Dsetup-r8a7778.c151 static int ehci_init_internal_buffer(struct usb_hcd *hcd) ehci_init_internal_buffer()
H A Dsetup-r8a7779.c366 static int ehci_init_internal_buffer(struct usb_hcd *hcd) ehci_init_internal_buffer()
/linux-4.1.27/drivers/usb/early/
H A Dehci-dbgp.c974 int dbgp_reset_prep(struct usb_hcd *hcd) dbgp_reset_prep()
1002 int dbgp_external_startup(struct usb_hcd *hcd) dbgp_external_startup()
/linux-4.1.27/drivers/usb/phy/
H A Dphy-mv-usb.c206 struct usb_hcd *hcd; mv_otg_start_host()
H A Dphy-msm-usb.c664 struct usb_hcd *hcd; msm_otg_start_host()
703 struct usb_hcd *hcd; msm_otg_set_host()

Completed in 4044 milliseconds