Home
last modified time | relevance | path

Searched refs:usb_hcd (Results 1 – 25 of 129) sorted by relevance

123456

/drivers/usb/host/
A Dohci-pci.c35 static int broken_suspend(struct usb_hcd *hcd) in broken_suspend()
44 static int ohci_quirk_amd756(struct usb_hcd *hcd) in ohci_quirk_amd756()
59 static int ohci_quirk_opti(struct usb_hcd *hcd) in ohci_quirk_opti()
72 static int ohci_quirk_ns(struct usb_hcd *hcd) in ohci_quirk_ns()
94 static int ohci_quirk_zfmicro(struct usb_hcd *hcd) in ohci_quirk_zfmicro()
140 static int ohci_quirk_nec(struct usb_hcd *hcd) in ohci_quirk_nec()
151 static int ohci_quirk_amd700(struct usb_hcd *hcd) in ohci_quirk_amd700()
168 static int ohci_quirk_loongson(struct usb_hcd *hcd) in ohci_quirk_loongson()
187 static int ohci_quirk_qemu(struct usb_hcd *hcd) in ohci_quirk_qemu()
261 static int ohci_pci_reset (struct usb_hcd *hcd) in ohci_pci_reset()
[all …]
A Dohci-da8xx.c39 struct usb_hcd *hcd;
52 static int ohci_da8xx_enable(struct usb_hcd *hcd) in ohci_da8xx_enable()
79 static void ohci_da8xx_disable(struct usb_hcd *hcd) in ohci_da8xx_disable()
114 static int ohci_da8xx_get_power(struct usb_hcd *hcd) in ohci_da8xx_get_power()
124 static int ohci_da8xx_get_oci(struct usb_hcd *hcd) in ohci_da8xx_get_oci()
156 static int ohci_da8xx_has_oci(struct usb_hcd *hcd) in ohci_da8xx_has_oci()
228 static int ohci_da8xx_reset(struct usb_hcd *hcd) in ohci_da8xx_reset()
379 struct usb_hcd *hcd; in ohci_da8xx_probe()
474 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_da8xx_remove()
484 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_da8xx_suspend()
[all …]
A Dmax3421-hcd.c329 hcd_to_max3421(struct usb_hcd *hcd) in hcd_to_max3421()
334 static inline struct usb_hcd *
1135 struct usb_hcd *hcd = dev_id; in max3421_irq_handler()
1149 dump_eps(struct usb_hcd *hcd) in dump_eps()
1336 max3421_urb_done(struct usb_hcd *hcd) in max3421_urb_done()
1373 struct usb_hcd *hcd = dev_id; in max3421_spi_thread()
1465 max3421_reset(struct usb_hcd *hcd) in max3421_reset()
1478 max3421_start(struct usb_hcd *hcd) in max3421_start()
1494 max3421_stop(struct usb_hcd *hcd) in max3421_stop()
1825 struct usb_hcd *hcd = NULL; in max3421_probe()
[all …]
A Dxhci-plat.h13 struct usb_hcd;
19 void (*plat_start)(struct usb_hcd *);
20 int (*init_quirk)(struct usb_hcd *);
21 int (*suspend_quirk)(struct usb_hcd *);
22 int (*resume_quirk)(struct usb_hcd *);
A Dxhci-plat.c30 static int xhci_plat_setup(struct usb_hcd *hcd);
31 static int xhci_plat_start(struct usb_hcd *hcd);
47 static int xhci_priv_init_quirk(struct usb_hcd *hcd) in xhci_priv_init_quirk()
85 static int xhci_plat_setup(struct usb_hcd *hcd) in xhci_plat_setup()
97 static int xhci_plat_start(struct usb_hcd *hcd) in xhci_plat_start()
151 struct usb_hcd *hcd, *usb3_hcd; in xhci_plat_probe()
429 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_plat_remove()
459 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_suspend()
487 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_resume_common()
539 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_runtime_suspend()
[all …]
A Dxhci-mtk.h155 struct usb_hcd *hcd;
178 static inline struct xhci_hcd_mtk *hcd_to_mtk(struct usb_hcd *hcd) in hcd_to_mtk()
185 int xhci_mtk_add_ep(struct usb_hcd *hcd, struct usb_device *udev,
187 int xhci_mtk_drop_ep(struct usb_hcd *hcd, struct usb_device *udev,
189 int xhci_mtk_check_bandwidth(struct usb_hcd *hcd, struct usb_device *udev);
190 void xhci_mtk_reset_bandwidth(struct usb_hcd *hcd, struct usb_device *udev);
A Dxhci-rzv2m.h6 void xhci_rzv2m_start(struct usb_hcd *hcd);
7 int xhci_rzv2m_init_quirk(struct usb_hcd *hcd);
9 static inline void xhci_rzv2m_start(struct usb_hcd *hcd) {} in xhci_rzv2m_start()
10 static inline int xhci_rzv2m_init_quirk(struct usb_hcd *hcd) in xhci_rzv2m_init_quirk()
A Dxhci-pci.c101 static int xhci_pci_setup(struct usb_hcd *hcd);
102 static int xhci_pci_run(struct usb_hcd *hcd);
118 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_msix_sync_irqs()
131 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_cleanup_msix()
143 static int xhci_try_enable_msi(struct usb_hcd *hcd) in xhci_try_enable_msi()
211 static int xhci_pci_run(struct usb_hcd *hcd) in xhci_pci_run()
224 static void xhci_pci_stop(struct usb_hcd *hcd) in xhci_pci_stop()
566 static int xhci_pci_setup(struct usb_hcd *hcd) in xhci_pci_setup()
613 struct usb_hcd *hcd; in xhci_pci_common_probe()
772 static void xhci_pme_quirk(struct usb_hcd *hcd) in xhci_pme_quirk()
[all …]
A Dxhci.h1493 struct usb_hcd *hcd;
1503 struct usb_hcd *main_hcd;
1504 struct usb_hcd *shared_hcd;
1681 int (*reset)(struct usb_hcd *hcd);
1682 int (*start)(struct usb_hcd *hcd);
1700 struct usb_hcd *primary_hcd; in hcd_to_xhci()
1876 int xhci_run(struct usb_hcd *hcd);
1878 void xhci_shutdown(struct usb_hcd *hcd);
1879 void xhci_stop(struct usb_hcd *hcd);
1896 irqreturn_t xhci_irq(struct usb_hcd *hcd);
[all …]
A Dohci-sa1111.c44 static void dump_hci_status(struct usb_hcd *hcd, const char *label)
57 static int ohci_sa1111_reset(struct usb_hcd *hcd) in ohci_sa1111_reset()
65 static int ohci_sa1111_start(struct usb_hcd *hcd) in ohci_sa1111_start()
178 struct usb_hcd *hcd; in ohci_hcd_sa1111_probe()
263 struct usb_hcd *hcd = sa1111_get_drvdata(dev); in ohci_hcd_sa1111_remove()
274 struct usb_hcd *hcd = sa1111_get_drvdata(dev); in ohci_hcd_sa1111_shutdown()
A Dohci-exynos.c81 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_phy_enable()
97 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_phy_disable()
108 struct usb_hcd *hcd; in exynos_ohci_probe()
191 struct usb_hcd *hcd = platform_get_drvdata(pdev); in exynos_ohci_remove()
205 struct usb_hcd *hcd = platform_get_drvdata(pdev); in exynos_ohci_shutdown()
213 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_suspend()
230 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_resume()
A Dehci-atmel.c71 struct usb_hcd *hcd = platform_get_drvdata(pdev); in atmel_start_ehci()
80 struct usb_hcd *hcd = platform_get_drvdata(pdev); in atmel_stop_ehci()
91 struct usb_hcd *hcd; in ehci_atmel_drv_probe()
177 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_atmel_drv_remove()
187 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_atmel_drv_suspend()
201 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_atmel_drv_resume()
A Dohci-s3c2410.c53 static struct s3c2410_hcd_info *to_s3c2410_info(struct usb_hcd *hcd) in to_s3c2410_info()
58 static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd) in s3c2410_start_hc()
103 ohci_s3c2410_hub_status_data(struct usb_hcd *hcd, char *buf) in ohci_s3c2410_hub_status_data()
161 struct usb_hcd *hcd, in ohci_s3c2410_hub_control()
335 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_hcd_s3c2410_remove()
354 struct usb_hcd *hcd = NULL; in ohci_hcd_s3c2410_probe()
416 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_s3c2410_drv_suspend()
432 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_s3c2410_drv_resume()
A Dxhci-histb.c35 struct usb_hcd *hcd;
44 static inline struct xhci_hcd_histb *hcd_to_histb(struct usb_hcd *hcd) in hcd_to_histb()
168 static int xhci_histb_setup(struct usb_hcd *hcd) in xhci_histb_setup()
192 struct usb_hcd *hcd; in xhci_histb_probe()
315 struct usb_hcd *hcd = histb->hcd; in xhci_histb_remove()
317 struct usb_hcd *shared_hcd = xhci->shared_hcd; in xhci_histb_remove()
337 struct usb_hcd *hcd = histb->hcd; in xhci_histb_suspend()
352 struct usb_hcd *hcd = histb->hcd; in xhci_histb_resume()
A Dehci-orion.c80 static void orion_usb_phy_v1_setup(struct usb_hcd *hcd) in orion_usb_phy_v1_setup()
148 ehci_orion_conf_mbus_windows(struct usb_hcd *hcd, in ehci_orion_conf_mbus_windows()
168 static int ehci_orion_drv_reset(struct usb_hcd *hcd) in ehci_orion_drv_reset()
192 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_orion_drv_suspend()
199 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_orion_drv_resume()
217 struct usb_hcd *hcd; in ehci_orion_drv_probe()
334 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_orion_drv_remove()
/drivers/staging/greybus/
A Dusb.c38 static inline struct gb_usb_device *to_gb_usb_device(struct usb_hcd *hcd) in to_gb_usb_device()
43 static inline struct usb_hcd *gb_usb_device_to_hcd(struct gb_usb_device *dev) in gb_usb_device_to_hcd()
45 return container_of((void *)dev, struct usb_hcd, hcd_priv); in gb_usb_device_to_hcd()
48 static void hcd_stop(struct usb_hcd *hcd) in hcd_stop()
59 static int hcd_start(struct usb_hcd *hcd) in hcd_start()
78 static int urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) in urb_enqueue()
83 static int urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in urb_dequeue()
88 static int get_frame_number(struct usb_hcd *hcd) in get_frame_number()
93 static int hub_status_data(struct usb_hcd *hcd, char *buf) in hub_status_data()
164 struct usb_hcd *hcd; in gb_usb_probe()
[all …]
/drivers/usb/core/
A Dhcd-pci.c42 struct pci_dev *companion, struct usb_hcd *companion_hcd);
49 struct usb_hcd *companion_hcd; in for_each_companion()
85 struct pci_dev *companion, struct usb_hcd *companion_hcd) in ehci_pre_add()
174 struct usb_hcd *hcd; in usb_hcd_pci_probe()
313 struct usb_hcd *hcd; in usb_hcd_pci_remove()
361 struct usb_hcd *hcd; in usb_hcd_pci_shutdown()
402 struct usb_hcd *hcd = dev_get_drvdata(dev); in check_root_hub_suspended()
421 struct usb_hcd *hcd = pci_get_drvdata(pci_dev); in suspend_common()
484 struct usb_hcd *hcd = pci_get_drvdata(pci_dev); in resume_common()
537 struct usb_hcd *hcd = pci_get_drvdata(pci_dev); in hcd_pci_suspend_noirq()
[all …]
A Dhcd.c1603 struct usb_hcd *hcd; in usb_hcd_unlink_urb()
1779 struct usb_hcd *hcd; in usb_hcd_flush_endpoint()
1863 struct usb_hcd *hcd; in usb_hcd_alloc_bandwidth()
1980 struct usb_hcd *hcd; in usb_hcd_disable_endpoint()
2033 struct usb_hcd *hcd; in usb_alloc_streams()
2083 struct usb_hcd *hcd; in usb_free_streams()
2383 struct usb_hcd *hcd = container_of(work, struct usb_hcd, wakeup_work); in hcd_resume_work()
2488 struct usb_hcd *hcd = container_of(work, struct usb_hcd, died_work); in hcd_died_work()
2564 struct usb_hcd *hcd; in __usb_create_hcd()
2679 struct usb_hcd *hcd = container_of (kref, struct usb_hcd, kref); in hcd_release()
[all …]
A Dbuffer.c65 int hcd_buffer_create(struct usb_hcd *hcd) in hcd_buffer_create()
97 void hcd_buffer_destroy(struct usb_hcd *hcd) in hcd_buffer_destroy()
122 struct usb_hcd *hcd = bus_to_hcd(bus); in hcd_buffer_alloc()
151 struct usb_hcd *hcd = bus_to_hcd(bus); in hcd_buffer_free()
176 void *hcd_buffer_alloc_pages(struct usb_hcd *hcd, in hcd_buffer_alloc_pages()
197 void hcd_buffer_free_pages(struct usb_hcd *hcd, in hcd_buffer_free_pages()
/drivers/usb/c67x00/
A Dc67x00-hcd.h87 static inline struct c67x00_hcd *hcd_to_c67x00_hcd(struct usb_hcd *hcd) in hcd_to_c67x00_hcd()
92 static inline struct usb_hcd *c67x00_hcd_to_hcd(struct c67x00_hcd *c67x00) in c67x00_hcd_to_hcd()
94 return container_of((void *)c67x00, struct usb_hcd, hcd_priv); in c67x00_hcd_to_hcd()
107 int c67x00_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags);
108 int c67x00_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status);
109 void c67x00_endpoint_disable(struct usb_hcd *hcd,
A Dc67x00-hcd.c47 static int c67x00_hub_status_data(struct usb_hcd *hcd, char *buf) in c67x00_hub_status_data()
66 static int c67x00_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in c67x00_hub_control()
239 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); in c67x00_hcd_irq()
266 static int c67x00_hcd_start(struct usb_hcd *hcd) in c67x00_hcd_start()
278 static void c67x00_hcd_stop(struct usb_hcd *hcd) in c67x00_hcd_stop()
283 static int c67x00_hcd_get_frame(struct usb_hcd *hcd) in c67x00_hcd_get_frame()
332 struct usb_hcd *hcd; in c67x00_hcd_probe()
394 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); in c67x00_hcd_remove()
/drivers/usb/isp1760/
A Disp1760-hcd.c649 static int ehci_reset(struct usb_hcd *hcd) in ehci_reset()
682 static int priv_init(struct usb_hcd *hcd) in priv_init()
718 static int isp1760_hc_setup(struct usb_hcd *hcd) in isp1760_hc_setup()
1196 static void schedule_ptds(struct usb_hcd *hcd) in schedule_ptds()
1551 static struct usb_hcd *errata2_timer_hcd;
1555 struct usb_hcd *hcd = errata2_timer_hcd; in errata2_function()
1583 static int isp1763_run(struct usb_hcd *hcd) in isp1763_run()
1658 static int isp1760_run(struct usb_hcd *hcd) in isp1760_run()
1770 static void packetize_urb(struct usb_hcd *hcd, in packetize_urb()
2457 static void isp1760_stop(struct usb_hcd *hcd) in isp1760_stop()
[all …]
/drivers/usb/usbip/
A Dvhci.h149 static inline struct vhci_hcd *hcd_to_vhci_hcd(struct usb_hcd *hcd) in hcd_to_vhci_hcd()
154 static inline struct device *hcd_dev(struct usb_hcd *hcd) in hcd_dev()
159 static inline const char *hcd_name(struct usb_hcd *hcd) in hcd_name()
164 static inline struct usb_hcd *vhci_hcd_to_hcd(struct vhci_hcd *vhci_hcd) in vhci_hcd_to_hcd()
166 return container_of((void *) vhci_hcd, struct usb_hcd, hcd_priv); in vhci_hcd_to_hcd()
A Dvhci_hcd.c40 static int vhci_start(struct usb_hcd *vhci_hcd);
41 static void vhci_stop(struct usb_hcd *hcd);
42 static int vhci_get_frame_number(struct usb_hcd *hcd);
1144 static int vhci_setup(struct usb_hcd *hcd) in vhci_setup()
1172 static int vhci_start(struct usb_hcd *hcd) in vhci_start()
1226 static void vhci_stop(struct usb_hcd *hcd) in vhci_stop()
1272 static int vhci_bus_resume(struct usb_hcd *hcd) in vhci_bus_resume()
1342 struct usb_hcd *hcd_hs; in vhci_hcd_probe()
1343 struct usb_hcd *hcd_ss; in vhci_hcd_probe()
1421 struct usb_hcd *hcd; in vhci_hcd_suspend()
[all …]
/drivers/usb/musb/
A Dmusb_host.h55 extern struct musb *hcd_to_musb(struct usb_hcd *);
70 static inline struct musb *hcd_to_musb(struct usb_hcd *hcd) in hcd_to_musb()
105 struct usb_hcd;
107 extern int musb_hub_status_data(struct usb_hcd *hcd, char *buf);
108 extern int musb_hub_control(struct usb_hcd *hcd,

Completed in 67 milliseconds

123456