Home
last modified time | relevance | path

Searched defs:hcd (Results 1 – 25 of 127) sorted by relevance

123456

/drivers/usb/core/
Dhcd.c448 rh_string(int id, struct usb_hcd const *hcd, u8 *data, unsigned len) in rh_string()
487 static int rh_call_control (struct usb_hcd *hcd, struct urb *urb) in rh_call_control()
760 void usb_hcd_poll_rh_status(struct usb_hcd *hcd) in usb_hcd_poll_rh_status()
811 static int rh_queue_status (struct usb_hcd *hcd, struct urb *urb) in rh_queue_status()
842 static int rh_urb_enqueue (struct usb_hcd *hcd, struct urb *urb) in rh_urb_enqueue()
856 static int usb_rh_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in usb_rh_urb_dequeue()
893 struct usb_hcd *hcd; in authorized_default_show() local
907 struct usb_hcd *hcd; in authorized_default_store() local
936 struct usb_hcd *hcd = bus_to_hcd(usb_dev->bus); in interface_authorized_default_show() local
952 struct usb_hcd *hcd = bus_to_hcd(usb_dev->bus); in interface_authorized_default_store() local
[all …]
Dhcd-pci.c59 static void for_each_companion(struct pci_dev *pdev, struct usb_hcd *hcd, in for_each_companion()
98 static void ehci_pre_add(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_pre_add()
115 static void ehci_post_add(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_post_add()
136 static void non_ehci_add(struct pci_dev *pdev, struct usb_hcd *hcd, in non_ehci_add()
147 static void ehci_remove(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_remove()
157 static void ehci_wait_for_companions(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_wait_for_companions()
188 struct usb_hcd *hcd; in usb_hcd_pci_probe() local
331 struct usb_hcd *hcd; in usb_hcd_pci_remove() local
382 struct usb_hcd *hcd; in usb_hcd_pci_shutdown() local
424 struct usb_hcd *hcd = pci_get_drvdata(pci_dev); in check_root_hub_suspended() local
[all …]
/drivers/usb/host/
Dohci-da8xx.c40 struct usb_hcd *hcd; member
48 #define to_da8xx_ohci(hcd) (struct da8xx_ohci_hcd *)(hcd_to_ohci(hcd)->priv) argument
53 static int ohci_da8xx_enable(struct usb_hcd *hcd) in ohci_da8xx_enable()
80 static void ohci_da8xx_disable(struct usb_hcd *hcd) in ohci_da8xx_disable()
89 static int ohci_da8xx_set_power(struct usb_hcd *hcd, int on) in ohci_da8xx_set_power()
122 static int ohci_da8xx_get_power(struct usb_hcd *hcd) in ohci_da8xx_get_power()
137 static int ohci_da8xx_get_oci(struct usb_hcd *hcd) in ohci_da8xx_get_oci()
161 static int ohci_da8xx_has_set_power(struct usb_hcd *hcd) in ohci_da8xx_has_set_power()
176 static int ohci_da8xx_has_oci(struct usb_hcd *hcd) in ohci_da8xx_has_oci()
191 static int ohci_da8xx_has_potpgt(struct usb_hcd *hcd) in ohci_da8xx_has_potpgt()
[all …]
Dohci-pci.c34 static int broken_suspend(struct usb_hcd *hcd) in broken_suspend()
43 static int ohci_quirk_amd756(struct usb_hcd *hcd) in ohci_quirk_amd756()
58 static int ohci_quirk_opti(struct usb_hcd *hcd) in ohci_quirk_opti()
71 static int ohci_quirk_ns(struct usb_hcd *hcd) in ohci_quirk_ns()
93 static int ohci_quirk_zfmicro(struct usb_hcd *hcd) in ohci_quirk_zfmicro()
106 static int ohci_quirk_toshiba_scc(struct usb_hcd *hcd) in ohci_quirk_toshiba_scc()
139 static int ohci_quirk_nec(struct usb_hcd *hcd) in ohci_quirk_nec()
150 static int ohci_quirk_amd700(struct usb_hcd *hcd) in ohci_quirk_amd700()
167 static int ohci_quirk_qemu(struct usb_hcd *hcd) in ohci_quirk_qemu()
241 static int ohci_pci_reset (struct usb_hcd *hcd) in ohci_pci_reset()
Dxhci-plat.c40 static void xhci_priv_plat_start(struct usb_hcd *hcd) in xhci_priv_plat_start()
48 static int xhci_priv_init_quirk(struct usb_hcd *hcd) in xhci_priv_init_quirk()
58 static int xhci_priv_resume_quirk(struct usb_hcd *hcd) in xhci_priv_resume_quirk()
79 static int xhci_plat_setup(struct usb_hcd *hcd) in xhci_plat_setup()
91 static int xhci_plat_start(struct usb_hcd *hcd) in xhci_plat_start()
160 struct usb_hcd *hcd; in xhci_plat_probe() local
332 struct usb_hcd *hcd = platform_get_drvdata(dev); in xhci_plat_remove() local
358 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_suspend() local
374 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_resume() local
387 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_runtime_suspend() local
[all …]
Dmax3421-hcd.c337 hcd_to_max3421(struct usb_hcd *hcd) in hcd_to_max3421()
349 spi_rd8(struct usb_hcd *hcd, unsigned int reg) in spi_rd8()
375 spi_wr8(struct usb_hcd *hcd, unsigned int reg, u8 val) in spi_wr8()
399 spi_rd_buf(struct usb_hcd *hcd, unsigned int reg, void *buf, size_t len) in spi_rd_buf()
425 spi_wr_buf(struct usb_hcd *hcd, unsigned int reg, void *buf, size_t len) in spi_wr_buf()
465 max3421_set_speed(struct usb_hcd *hcd, struct usb_device *dev) in max3421_set_speed()
491 max3421_set_address(struct usb_hcd *hcd, struct usb_device *dev, int epnum, in max3421_set_address()
536 max3421_ctrl_setup(struct usb_hcd *hcd, struct urb *urb) in max3421_ctrl_setup()
543 max3421_transfer_in(struct usb_hcd *hcd, struct urb *urb) in max3421_transfer_in()
554 max3421_transfer_out(struct usb_hcd *hcd, struct urb *urb, int fast_retransmit) in max3421_transfer_out()
[all …]
Dehci-fsl.c62 struct usb_hcd *hcd; in fsl_ehci_drv_probe() local
184 static int ehci_fsl_setup_phy(struct usb_hcd *hcd, in ehci_fsl_setup_phy()
264 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_fsl_usb_setup() local
341 static int ehci_fsl_setup(struct usb_hcd *hcd) in ehci_fsl_setup()
399 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_mpc512x_drv_suspend() local
468 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_mpc512x_drv_resume() local
541 static struct ehci_fsl *hcd_to_ehci_fsl(struct usb_hcd *hcd) in hcd_to_ehci_fsl()
550 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_drv_suspend() local
570 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_drv_resume() local
597 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_drv_restore() local
[all …]
Dohci-hcd.c146 struct usb_hcd *hcd, in ohci_urb_enqueue()
313 static int ohci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in ohci_urb_dequeue()
348 ohci_endpoint_disable (struct usb_hcd *hcd, struct usb_host_endpoint *ep) in ohci_endpoint_disable()
401 static int ohci_get_frame (struct usb_hcd *hcd) in ohci_get_frame()
420 static void _ohci_shutdown(struct usb_hcd *hcd) in _ohci_shutdown()
436 static void ohci_shutdown(struct usb_hcd *hcd) in ohci_shutdown()
455 struct usb_hcd *hcd = ohci_to_hcd(ohci); in ohci_init() local
541 struct usb_hcd *hcd = ohci_to_hcd(ohci); in ohci_run() local
701 int ohci_setup(struct usb_hcd *hcd) in ohci_setup()
712 static int ohci_start(struct usb_hcd *hcd) in ohci_start()
[all …]
Dehci-hcd.c367 static void ehci_shutdown(struct usb_hcd *hcd) in ehci_shutdown()
431 static void ehci_stop (struct usb_hcd *hcd) in ehci_stop()
465 static int ehci_init(struct usb_hcd *hcd) in ehci_init()
584 static int ehci_run (struct usb_hcd *hcd) in ehci_run()
669 int ehci_setup(struct usb_hcd *hcd) in ehci_setup()
703 static irqreturn_t ehci_irq (struct usb_hcd *hcd) in ehci_irq()
866 struct usb_hcd *hcd, in ehci_urb_enqueue()
906 static int ehci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in ehci_urb_dequeue()
957 ehci_endpoint_disable (struct usb_hcd *hcd, struct usb_host_endpoint *ep) in ehci_endpoint_disable()
1031 ehci_endpoint_reset(struct usb_hcd *hcd, struct usb_host_endpoint *ep) in ehci_endpoint_reset()
[all …]
Dohci-s3c2410.c54 static struct s3c2410_hcd_info *to_s3c2410_info(struct usb_hcd *hcd) in to_s3c2410_info()
59 static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd) in s3c2410_start_hc()
104 ohci_s3c2410_hub_status_data(struct usb_hcd *hcd, char *buf) in ohci_s3c2410_hub_status_data()
162 struct usb_hcd *hcd, in ohci_s3c2410_hub_control()
295 struct usb_hcd *hcd; in s3c2410_hcd_oc() local
339 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_hcd_s3c2410_remove() local
358 struct usb_hcd *hcd = NULL; in ohci_hcd_s3c2410_probe() local
414 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_s3c2410_drv_suspend() local
430 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_s3c2410_drv_resume() local
Dohci-exynos.c32 #define to_exynos_ohci(hcd) (struct exynos_ohci_hcd *)(hcd_to_ohci(hcd)->priv) argument
85 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_phy_enable() local
103 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_phy_disable() local
115 struct usb_hcd *hcd; in exynos_ohci_probe() local
202 struct usb_hcd *hcd = platform_get_drvdata(pdev); in exynos_ohci_remove() local
218 struct usb_hcd *hcd = platform_get_drvdata(pdev); in exynos_ohci_shutdown() local
227 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_suspend() local
244 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_resume() local
Dohci-sm501.c21 static int ohci_sm501_init(struct usb_hcd *hcd) in ohci_sm501_init()
26 static int ohci_sm501_start(struct usb_hcd *hcd) in ohci_sm501_start()
93 struct usb_hcd *hcd = NULL; in ohci_hcd_sm501_drv_probe() local
194 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_hcd_sm501_drv_remove() local
219 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_sm501_suspend() local
239 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_sm501_resume() local
Dohci-tmio.c72 #define hcd_to_tmio(hcd) ((struct tmio_hcd *)(hcd_to_ohci(hcd) + 1)) argument
78 struct usb_hcd *hcd = platform_get_drvdata(dev); in tmio_write_pm() local
94 struct usb_hcd *hcd = platform_get_drvdata(dev); in tmio_stop_hc() local
119 struct usb_hcd *hcd = platform_get_drvdata(dev); in tmio_start_hc() local
134 static int ohci_tmio_start(struct usb_hcd *hcd) in ohci_tmio_start()
196 struct usb_hcd *hcd; in ohci_hcd_tmio_drv_probe() local
274 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_hcd_tmio_drv_remove() local
294 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_hcd_tmio_drv_suspend() local
324 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_hcd_tmio_drv_resume() local
Dsl811-hcd.c79 struct usb_hcd *hcd = sl811_to_hcd(sl811); in port_power() local
619 static irqreturn_t sl811h_irq(struct usb_hcd *hcd) in sl811h_irq()
790 struct usb_hcd *hcd, in sl811h_urb_enqueue()
957 static int sl811h_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in sl811h_urb_dequeue()
1028 sl811h_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep) in sl811h_endpoint_disable()
1046 sl811h_get_frame(struct usb_hcd *hcd) in sl811h_get_frame()
1062 sl811h_hub_status_data(struct usb_hcd *hcd, char *buf) in sl811h_hub_status_data()
1212 struct usb_hcd *hcd, in sl811h_hub_control()
1347 sl811h_bus_suspend(struct usb_hcd *hcd) in sl811h_bus_suspend()
1355 sl811h_bus_resume(struct usb_hcd *hcd) in sl811h_bus_resume()
[all …]
Dehci-sh.c18 struct usb_hcd *hcd; member
21 static int ehci_sh_reset(struct usb_hcd *hcd) in ehci_sh_reset()
83 struct usb_hcd *hcd; in ehci_hcd_sh_probe() local
166 struct usb_hcd *hcd = priv->hcd; in ehci_hcd_sh_remove() local
180 struct usb_hcd *hcd = priv->hcd; in ehci_hcd_sh_shutdown() local
Dimx21-hcd.c78 static inline struct imx21 *hcd_to_imx21(struct usb_hcd *hcd) in hcd_to_imx21()
138 static int imx21_hc_get_frame(struct usb_hcd *hcd) in imx21_hc_get_frame()
520 static void urb_done(struct usb_hcd *hcd, struct urb *urb, int status) in urb_done()
564 static void schedule_isoc_etds(struct usb_hcd *hcd, in schedule_isoc_etds()
631 static void isoc_etd_done(struct usb_hcd *hcd, int etd_num) in isoc_etd_done()
739 static int imx21_hc_urb_enqueue_isoc(struct usb_hcd *hcd, in imx21_hc_urb_enqueue_isoc()
1043 static void nonisoc_etd_done(struct usb_hcd *hcd, int etd_num) in nonisoc_etd_done()
1164 static int imx21_hc_urb_enqueue(struct usb_hcd *hcd, in imx21_hc_urb_enqueue()
1260 static int imx21_hc_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, in imx21_hc_urb_dequeue()
1313 static void process_etds(struct usb_hcd *hcd, struct imx21 *imx21, int sof) in process_etds()
[all …]
Dehci-atmel.c71 struct usb_hcd *hcd = platform_get_drvdata(pdev); in atmel_start_ehci() local
80 struct usb_hcd *hcd = platform_get_drvdata(pdev); in atmel_stop_ehci() local
91 struct usb_hcd *hcd; in ehci_atmel_drv_probe() local
178 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_atmel_drv_remove() local
190 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_atmel_drv_suspend() local
204 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_atmel_drv_resume() local
Dehci-hub.c53 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_handover_companion_ports() local
227 static int ehci_bus_suspend (struct usb_hcd *hcd) in ehci_bus_suspend()
387 static int ehci_bus_resume (struct usb_hcd *hcd) in ehci_bus_resume()
621 ehci_hub_status_data (struct usb_hcd *hcd, char *buf) in ehci_hub_status_data()
762 struct usb_hcd *hcd = bus_to_hcd(udev->bus); in request_single_step_set_feature_urb() local
803 static int ehset_single_step_set_feature(struct usb_hcd *hcd, int port) in ehset_single_step_set_feature()
874 struct usb_hcd *hcd, in ehci_hub_control()
1320 static void ehci_relinquish_port(struct usb_hcd *hcd, int portnum) in ehci_relinquish_port()
1329 static int ehci_port_handed_over(struct usb_hcd *hcd, int portnum) in ehci_port_handed_over()
1342 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_port_power() local
Dehci-st.c52 static int st_ehci_platform_reset(struct usb_hcd *hcd) in st_ehci_platform_reset()
69 struct usb_hcd *hcd = platform_get_drvdata(dev); in st_ehci_platform_power_on() local
120 struct usb_hcd *hcd = platform_get_drvdata(dev); in st_ehci_platform_power_off() local
153 struct usb_hcd *hcd; in st_ehci_platform_probe() local
265 struct usb_hcd *hcd = platform_get_drvdata(dev); in st_ehci_platform_remove() local
290 struct usb_hcd *hcd = dev_get_drvdata(dev); in st_ehci_suspend() local
310 struct usb_hcd *hcd = dev_get_drvdata(dev); in st_ehci_resume() local
Dehci-exynos.c50 #define to_exynos_ehci(hcd) (struct exynos_ehci_hcd *)(hcd_to_ehci(hcd)->priv) argument
96 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ehci_phy_enable() local
114 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ehci_phy_disable() local
144 struct usb_hcd *hcd; in exynos_ehci_probe() local
242 struct usb_hcd *hcd = platform_get_drvdata(pdev); in exynos_ehci_remove() local
259 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ehci_suspend() local
278 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ehci_resume() local
Dehci-spear.c36 #define to_spear_ehci(hcd) (struct spear_ehci *)(hcd_to_ehci(hcd)->priv) argument
43 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_spear_drv_suspend() local
51 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_spear_drv_resume() local
63 struct usb_hcd *hcd ; in spear_ehci_hcd_drv_probe() local
136 struct usb_hcd *hcd = platform_get_drvdata(pdev); in spear_ehci_hcd_drv_remove() local
/drivers/staging/greybus/
Dusb.c40 static inline struct gb_usb_device *to_gb_usb_device(struct usb_hcd *hcd) in to_gb_usb_device()
50 static void hcd_stop(struct usb_hcd *hcd) in hcd_stop()
61 static int hcd_start(struct usb_hcd *hcd) in hcd_start()
80 static int urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) in urb_enqueue()
85 static int urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in urb_dequeue()
90 static int get_frame_number(struct usb_hcd *hcd) in get_frame_number()
95 static int hub_status_data(struct usb_hcd *hcd, char *buf) in hub_status_data()
100 static int hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, in hub_control()
166 struct usb_hcd *hcd; in gb_usb_probe() local
225 struct usb_hcd *hcd = gb_usb_device_to_hcd(gb_usb_dev); in gb_usb_remove() local
/drivers/usb/c67x00/
Dc67x00-hcd.c61 static int c67x00_hub_status_data(struct usb_hcd *hcd, char *buf) in c67x00_hub_status_data()
80 static int c67x00_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in c67x00_hub_control()
253 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); in c67x00_hcd_irq() local
280 static int c67x00_hcd_start(struct usb_hcd *hcd) in c67x00_hcd_start()
292 static void c67x00_hcd_stop(struct usb_hcd *hcd) in c67x00_hcd_stop()
297 static int c67x00_hcd_get_frame(struct usb_hcd *hcd) in c67x00_hcd_get_frame()
346 struct usb_hcd *hcd; in c67x00_hcd_probe() local
408 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); in c67x00_hcd_remove() local
/drivers/usb/isp1760/
Disp1760-hcd.c41 static inline struct isp1760_hcd *hcd_to_priv(struct usb_hcd *hcd) in hcd_to_priv()
336 static void alloc_mem(struct usb_hcd *hcd, struct isp1760_qtd *qtd) in alloc_mem()
356 static void free_mem(struct usb_hcd *hcd, struct isp1760_qtd *qtd) in free_mem()
379 static int handshake(struct usb_hcd *hcd, u32 reg, in handshake()
398 static int ehci_reset(struct usb_hcd *hcd) in ehci_reset()
435 static int priv_init(struct usb_hcd *hcd) in priv_init()
463 static int isp1760_hc_setup(struct usb_hcd *hcd) in isp1760_hc_setup()
669 static void isp1760_urb_done(struct usb_hcd *hcd, struct urb *urb) in isp1760_urb_done()
719 static void start_bus_transfer(struct usb_hcd *hcd, u32 ptd_offset, int slot, in start_bus_transfer()
768 static void collect_qtds(struct usb_hcd *hcd, struct isp1760_qh *qh, in collect_qtds()
[all …]
/drivers/usb/usbip/
Dvhci_hcd.c242 static int vhci_hub_status(struct usb_hcd *hcd, char *buf) in vhci_hub_status()
329 static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in vhci_hub_control()
703 static int vhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) in vhci_urb_enqueue()
871 static int vhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in vhci_urb_dequeue()
961 struct usb_hcd *hcd = vhci_hcd_to_hcd(vhci_hcd); in vhci_device_unlink_cleanup() local
1147 static int vhci_setup(struct usb_hcd *hcd) in vhci_setup()
1178 static int vhci_start(struct usb_hcd *hcd) in vhci_start()
1232 static void vhci_stop(struct usb_hcd *hcd) in vhci_stop()
1255 static int vhci_get_frame_number(struct usb_hcd *hcd) in vhci_get_frame_number()
1264 static int vhci_bus_suspend(struct usb_hcd *hcd) in vhci_bus_suspend()
[all …]

123456