Home
last modified time | relevance | path

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

123456

/linux-6.1.9/drivers/usb/core/
Dhcd.c439 rh_string(int id, struct usb_hcd const *hcd, u8 *data, unsigned len) in rh_string()
478 static int rh_call_control (struct usb_hcd *hcd, struct urb *urb) in rh_call_control()
752 void usb_hcd_poll_rh_status(struct usb_hcd *hcd) in usb_hcd_poll_rh_status()
812 static int rh_queue_status (struct usb_hcd *hcd, struct urb *urb) in rh_queue_status()
843 static int rh_urb_enqueue (struct usb_hcd *hcd, struct urb *urb) in rh_urb_enqueue()
857 static int usb_rh_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in usb_rh_urb_dequeue()
982 static int register_root_hub(struct usb_hcd *hcd) in register_root_hub()
1153 int usb_hcd_link_urb_to_ep(struct usb_hcd *hcd, struct urb *urb) in usb_hcd_link_urb_to_ep()
1211 int usb_hcd_check_unlink_urb(struct usb_hcd *hcd, struct urb *urb, in usb_hcd_check_unlink_urb()
1244 void usb_hcd_unlink_urb_from_ep(struct usb_hcd *hcd, struct urb *urb) in usb_hcd_unlink_urb_from_ep()
[all …]
Dhcd-pci.c45 static void for_each_companion(struct pci_dev *pdev, struct usb_hcd *hcd, in for_each_companion()
84 static void ehci_pre_add(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_pre_add()
101 static void ehci_post_add(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_post_add()
122 static void non_ehci_add(struct pci_dev *pdev, struct usb_hcd *hcd, in non_ehci_add()
133 static void ehci_remove(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_remove()
143 static void ehci_wait_for_companions(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_wait_for_companions()
174 struct usb_hcd *hcd; in usb_hcd_pci_probe() local
313 struct usb_hcd *hcd; in usb_hcd_pci_remove() local
361 struct usb_hcd *hcd; in usb_hcd_pci_shutdown() local
402 struct usb_hcd *hcd = dev_get_drvdata(dev); in check_root_hub_suspended() local
[all …]
/linux-6.1.9/drivers/usb/host/
Dohci-da8xx.c38 struct usb_hcd *hcd; member
46 #define to_da8xx_ohci(hcd) (struct da8xx_ohci_hcd *)(hcd_to_ohci(hcd)->priv) argument
51 static int ohci_da8xx_enable(struct usb_hcd *hcd) in ohci_da8xx_enable()
78 static void ohci_da8xx_disable(struct usb_hcd *hcd) in ohci_da8xx_disable()
87 static int ohci_da8xx_set_power(struct usb_hcd *hcd, int on) in ohci_da8xx_set_power()
113 static int ohci_da8xx_get_power(struct usb_hcd *hcd) in ohci_da8xx_get_power()
123 static int ohci_da8xx_get_oci(struct usb_hcd *hcd) in ohci_da8xx_get_oci()
145 static int ohci_da8xx_has_set_power(struct usb_hcd *hcd) in ohci_da8xx_has_set_power()
155 static int ohci_da8xx_has_oci(struct usb_hcd *hcd) in ohci_da8xx_has_oci()
168 static int ohci_da8xx_has_potpgt(struct usb_hcd *hcd) in ohci_da8xx_has_potpgt()
[all …]
Dxhci-plat.c39 static void xhci_priv_plat_start(struct usb_hcd *hcd) in xhci_priv_plat_start()
47 static int xhci_priv_init_quirk(struct usb_hcd *hcd) in xhci_priv_init_quirk()
57 static int xhci_priv_suspend_quirk(struct usb_hcd *hcd) in xhci_priv_suspend_quirk()
67 static int xhci_priv_resume_quirk(struct usb_hcd *hcd) in xhci_priv_resume_quirk()
90 static int xhci_plat_setup(struct usb_hcd *hcd) in xhci_plat_setup()
102 static int xhci_plat_start(struct usb_hcd *hcd) in xhci_plat_start()
183 struct usb_hcd *hcd, *usb3_hcd; in xhci_plat_probe() local
392 struct usb_hcd *hcd = platform_get_drvdata(dev); in xhci_plat_remove() local
426 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_suspend() local
454 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_resume() local
[all …]
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()
107 static int ohci_quirk_toshiba_scc(struct usb_hcd *hcd) in ohci_quirk_toshiba_scc()
140 static int ohci_quirk_nec(struct usb_hcd *hcd) in ohci_quirk_nec()
151 static int ohci_quirk_amd700(struct usb_hcd *hcd) in ohci_quirk_amd700()
168 static int ohci_quirk_qemu(struct usb_hcd *hcd) in ohci_quirk_qemu()
238 static int ohci_pci_reset (struct usb_hcd *hcd) in ohci_pci_reset()
Dehci-fsl.c50 struct usb_hcd *hcd; in fsl_ehci_drv_probe() local
181 static bool usb_phy_clk_valid(struct usb_hcd *hcd) in usb_phy_clk_valid()
192 static int ehci_fsl_setup_phy(struct usb_hcd *hcd, in ehci_fsl_setup_phy()
298 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_fsl_usb_setup() local
370 static int ehci_fsl_setup(struct usb_hcd *hcd) in ehci_fsl_setup()
428 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_mpc512x_drv_suspend() local
497 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_mpc512x_drv_resume() local
570 static struct ehci_fsl *hcd_to_ehci_fsl(struct usb_hcd *hcd) in hcd_to_ehci_fsl()
579 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_drv_suspend() local
599 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_drv_resume() local
[all …]
Dmax3421-hcd.c335 hcd_to_max3421(struct usb_hcd *hcd) in hcd_to_max3421()
347 spi_rd8(struct usb_hcd *hcd, unsigned int reg) in spi_rd8()
373 spi_wr8(struct usb_hcd *hcd, unsigned int reg, u8 val) in spi_wr8()
397 spi_rd_buf(struct usb_hcd *hcd, unsigned int reg, void *buf, size_t len) in spi_rd_buf()
423 spi_wr_buf(struct usb_hcd *hcd, unsigned int reg, void *buf, size_t len) in spi_wr_buf()
463 max3421_set_speed(struct usb_hcd *hcd, struct usb_device *dev) in max3421_set_speed()
489 max3421_set_address(struct usb_hcd *hcd, struct usb_device *dev, int epnum) in max3421_set_address()
511 max3421_ctrl_setup(struct usb_hcd *hcd, struct urb *urb) in max3421_ctrl_setup()
518 max3421_transfer_in(struct usb_hcd *hcd, struct urb *urb) in max3421_transfer_in()
529 max3421_transfer_out(struct usb_hcd *hcd, struct urb *urb, int fast_retransmit) in max3421_transfer_out()
[all …]
Dehci-hcd.c356 static void ehci_shutdown(struct usb_hcd *hcd) in ehci_shutdown()
420 static void ehci_stop (struct usb_hcd *hcd) in ehci_stop()
454 static int ehci_init(struct usb_hcd *hcd) in ehci_init()
573 static int ehci_run (struct usb_hcd *hcd) in ehci_run()
679 int ehci_setup(struct usb_hcd *hcd) in ehci_setup()
713 static irqreturn_t ehci_irq (struct usb_hcd *hcd) in ehci_irq()
879 struct usb_hcd *hcd, in ehci_urb_enqueue()
919 static int ehci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in ehci_urb_dequeue()
970 ehci_endpoint_disable (struct usb_hcd *hcd, struct usb_host_endpoint *ep) in ehci_endpoint_disable()
1044 ehci_endpoint_reset(struct usb_hcd *hcd, struct usb_host_endpoint *ep) in ehci_endpoint_reset()
[all …]
Dohci-hcd.c148 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
547 struct usb_hcd *hcd = ohci_to_hcd(ohci); in ohci_run() local
711 int ohci_setup(struct usb_hcd *hcd) in ohci_setup()
722 static int ohci_start(struct usb_hcd *hcd) in ohci_start()
[all …]
Dohci-sm501.c22 static int ohci_sm501_init(struct usb_hcd *hcd) in ohci_sm501_init()
27 static int ohci_sm501_start(struct usb_hcd *hcd) in ohci_sm501_start()
94 struct usb_hcd *hcd = NULL; in ohci_hcd_sm501_drv_probe() local
190 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_hcd_sm501_drv_remove() local
215 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_sm501_suspend() local
235 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_sm501_resume() local
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() local
355 struct usb_hcd *hcd = NULL; in ohci_hcd_s3c2410_probe() local
417 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_s3c2410_drv_suspend() local
433 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_s3c2410_drv_resume() local
Dohci-exynos.c26 #define to_exynos_ohci(hcd) (struct exynos_ohci_hcd *)(hcd_to_ohci(hcd)->priv) argument
94 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_phy_enable() local
112 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_phy_disable() local
124 struct usb_hcd *hcd; in exynos_ohci_probe() local
214 struct usb_hcd *hcd = platform_get_drvdata(pdev); in exynos_ohci_remove() local
232 struct usb_hcd *hcd = platform_get_drvdata(pdev); in exynos_ohci_shutdown() local
241 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_suspend() local
258 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_resume() local
Dohci-tmio.c64 #define hcd_to_tmio(hcd) ((struct tmio_hcd *)(hcd_to_ohci(hcd) + 1)) argument
70 struct usb_hcd *hcd = platform_get_drvdata(dev); in tmio_write_pm() local
86 struct usb_hcd *hcd = platform_get_drvdata(dev); in tmio_stop_hc() local
114 struct usb_hcd *hcd = platform_get_drvdata(dev); in tmio_start_hc() local
129 static int ohci_tmio_start(struct usb_hcd *hcd) in ohci_tmio_start()
191 struct usb_hcd *hcd; in ohci_hcd_tmio_drv_probe() local
270 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_hcd_tmio_drv_remove() local
289 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_hcd_tmio_drv_suspend() local
319 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_hcd_tmio_drv_resume() local
Dehci-sh.c14 struct usb_hcd *hcd; member
17 static int ehci_sh_reset(struct usb_hcd *hcd) in ehci_sh_reset()
78 struct usb_hcd *hcd; in ehci_hcd_sh_probe() local
153 struct usb_hcd *hcd = priv->hcd; in ehci_hcd_sh_remove() local
167 struct usb_hcd *hcd = priv->hcd; in ehci_hcd_sh_shutdown() local
Dxhci-pci.c359 static void xhci_find_lpm_incapable_ports(struct usb_hcd *hcd, struct usb_device *hdev) in xhci_find_lpm_incapable_ports()
389 static void xhci_find_lpm_incapable_ports(struct usb_hcd *hcd, struct usb_device *hdev) { } in xhci_find_lpm_incapable_ports()
393 static int xhci_pci_setup(struct usb_hcd *hcd) in xhci_pci_setup()
422 static int xhci_pci_update_hub_device(struct usb_hcd *hcd, struct usb_device *hdev, in xhci_pci_update_hub_device()
440 struct usb_hcd *hcd; in xhci_pci_probe() local
546 static void xhci_ssic_port_unused_quirk(struct usb_hcd *hcd, bool suspend) in xhci_ssic_port_unused_quirk()
581 static void xhci_pme_quirk(struct usb_hcd *hcd) in xhci_pme_quirk()
593 static void xhci_sparse_control_quirk(struct usb_hcd *hcd) in xhci_sparse_control_quirk()
602 static int xhci_pci_suspend(struct usb_hcd *hcd, bool do_wakeup) in xhci_pci_suspend()
631 static int xhci_pci_resume(struct usb_hcd *hcd, bool hibernated) in xhci_pci_resume()
[all …]
Dxhci.c331 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_setup_msix() local
373 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_cleanup_msix() local
398 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_msix_sync_irqs() local
409 static int xhci_try_enable_msi(struct usb_hcd *hcd) in xhci_try_enable_msi()
466 static inline int xhci_try_enable_msi(struct usb_hcd *hcd) in xhci_try_enable_msi()
484 struct usb_hcd *hcd; in compliance_mode_recovery() local
584 static int xhci_init(struct usb_hcd *hcd) in xhci_init()
662 int xhci_run(struct usb_hcd *hcd) in xhci_run()
732 static void xhci_stop(struct usb_hcd *hcd) in xhci_stop()
793 void xhci_shutdown(struct usb_hcd *hcd) in xhci_shutdown()
[all …]
Dsl811-hcd.c80 struct usb_hcd *hcd = sl811_to_hcd(sl811); in port_power() local
620 static irqreturn_t sl811h_irq(struct usb_hcd *hcd) in sl811h_irq()
791 struct usb_hcd *hcd, in sl811h_urb_enqueue()
958 static int sl811h_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in sl811h_urb_dequeue()
1029 sl811h_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep) in sl811h_endpoint_disable()
1047 sl811h_get_frame(struct usb_hcd *hcd) in sl811h_get_frame()
1063 sl811h_hub_status_data(struct usb_hcd *hcd, char *buf) in sl811h_hub_status_data()
1213 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-st.c48 static int st_ehci_platform_reset(struct usb_hcd *hcd) in st_ehci_platform_reset()
65 struct usb_hcd *hcd = platform_get_drvdata(dev); in st_ehci_platform_power_on() local
116 struct usb_hcd *hcd = platform_get_drvdata(dev); in st_ehci_platform_power_off() local
149 struct usb_hcd *hcd; in st_ehci_platform_probe() local
257 struct usb_hcd *hcd = platform_get_drvdata(dev); in st_ehci_platform_remove() local
282 struct usb_hcd *hcd = dev_get_drvdata(dev); in st_ehci_suspend() local
302 struct usb_hcd *hcd = dev_get_drvdata(dev); in st_ehci_resume() local
Dehci-spear.c31 #define to_spear_ehci(hcd) (struct spear_ehci *)(hcd_to_ehci(hcd)->priv) argument
37 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_spear_drv_suspend() local
45 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_spear_drv_resume() local
56 struct usb_hcd *hcd ; in spear_ehci_hcd_drv_probe() local
129 struct usb_hcd *hcd = platform_get_drvdata(pdev); in spear_ehci_hcd_drv_remove() local
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.c39 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_handover_companion_ports() local
213 static int ehci_bus_suspend (struct usb_hcd *hcd) in ehci_bus_suspend()
376 static int ehci_bus_resume (struct usb_hcd *hcd) in ehci_bus_resume()
517 static unsigned long ehci_get_resuming_ports(struct usb_hcd *hcd) in ehci_get_resuming_ports()
618 ehci_hub_status_data (struct usb_hcd *hcd, char *buf) in ehci_hub_status_data()
732 struct usb_hcd *hcd, in ehci_hub_control()
1179 static void ehci_relinquish_port(struct usb_hcd *hcd, int portnum) in ehci_relinquish_port()
1188 static int ehci_port_handed_over(struct usb_hcd *hcd, int portnum) in ehci_port_handed_over()
1201 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_port_power() local
/linux-6.1.9/drivers/usb/isp1760/
Disp1760-hcd.c44 static inline struct isp1760_hcd *hcd_to_priv(struct usb_hcd *hcd) in hcd_to_priv()
200 static u32 isp1760_hcd_read(struct usb_hcd *hcd, u32 field) in isp1760_hcd_read()
225 static void isp1760_hcd_write(struct usb_hcd *hcd, u32 field, u32 val) in isp1760_hcd_write()
235 static void isp1760_hcd_set(struct usb_hcd *hcd, u32 field) in isp1760_hcd_set()
240 static void isp1760_hcd_clear(struct usb_hcd *hcd, u32 field) in isp1760_hcd_clear()
245 static int isp1760_hcd_set_and_wait(struct usb_hcd *hcd, u32 field, in isp1760_hcd_set_and_wait()
257 static int isp1760_hcd_set_and_wait_swap(struct usb_hcd *hcd, u32 field, in isp1760_hcd_set_and_wait_swap()
269 static int isp1760_hcd_clear_and_wait(struct usb_hcd *hcd, u32 field, in isp1760_hcd_clear_and_wait()
281 static bool isp1760_hcd_is_set(struct usb_hcd *hcd, u32 field) in isp1760_hcd_is_set()
286 static bool isp1760_hcd_ppc_is_set(struct usb_hcd *hcd) in isp1760_hcd_ppc_is_set()
[all …]
/linux-6.1.9/drivers/staging/greybus/
Dusb.c38 static inline struct gb_usb_device *to_gb_usb_device(struct usb_hcd *hcd) in to_gb_usb_device()
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()
98 static int hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, in hub_control()
164 struct usb_hcd *hcd; in gb_usb_probe() local
223 struct usb_hcd *hcd = gb_usb_device_to_hcd(gb_usb_dev); in gb_usb_remove() local
/linux-6.1.9/drivers/usb/c67x00/
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() local
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() local
394 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); in c67x00_hcd_remove() local
/linux-6.1.9/drivers/usb/usbip/
Dvhci_hcd.c228 static int vhci_hub_status(struct usb_hcd *hcd, char *buf) in vhci_hub_status()
315 static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in vhci_hub_control()
693 static int vhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) in vhci_urb_enqueue()
867 static int vhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in vhci_urb_dequeue()
958 struct usb_hcd *hcd = vhci_hcd_to_hcd(vhci_hcd); in vhci_cleanup_unlink_list() local
1140 static int vhci_setup(struct usb_hcd *hcd) in vhci_setup()
1171 static int vhci_start(struct usb_hcd *hcd) in vhci_start()
1225 static void vhci_stop(struct usb_hcd *hcd) in vhci_stop()
1248 static int vhci_get_frame_number(struct usb_hcd *hcd) in vhci_get_frame_number()
1257 static int vhci_bus_suspend(struct usb_hcd *hcd) in vhci_bus_suspend()
[all …]

123456