/linux/drivers/usb/core/ |
H A D | hcd.c | 1590 struct usb_hcd *hcd; in usb_hcd_unlink_urb() local 1766 struct usb_hcd *hcd; in usb_hcd_flush_endpoint() local 1850 struct usb_hcd *hcd; in usb_hcd_alloc_bandwidth() local 1967 struct usb_hcd *hcd; in usb_hcd_disable_endpoint() local 2020 struct usb_hcd *hcd; in usb_alloc_streams() local 2070 struct usb_hcd *hcd; in usb_free_streams() local 2420 struct usb_hcd *hcd; in usb_bus_start_enum() local 2456 struct usb_hcd *hcd = __hcd; in usb_hcd_irq() local 2495 void usb_hc_died (struct usb_hcd *hcd) in usb_hc_died() 2551 struct usb_hcd *hcd; in __usb_create_hcd() local [all …]
|
H A D | hcd-pci.c | 84 static void ehci_pre_add(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_pre_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() 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 421 struct usb_hcd *hcd = pci_get_drvdata(pci_dev); in suspend_common() local 479 struct usb_hcd *hcd = pci_get_drvdata(pci_dev); in resume_common() local 527 struct usb_hcd *hcd = pci_get_drvdata(pci_dev); in hcd_pci_suspend_noirq() local [all …]
|
H A D | buffer.c | 65 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() local 151 struct usb_hcd *hcd = bus_to_hcd(bus); in hcd_buffer_free() local 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()
|
/linux/drivers/usb/host/ |
H A D | ohci-da8xx.c | 39 struct usb_hcd *hcd; member 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() local 474 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_da8xx_remove() local 484 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_da8xx_suspend() local [all …]
|
H A D | ohci-pci.c | 35 static int broken_suspend(struct usb_hcd *hcd) in broken_suspend() 44 static int ohci_quirk_amd756(struct usb_hcd *hcd) in ohci_quirk_amd756() 59 static int ohci_quirk_opti(struct usb_hcd *hcd) in ohci_quirk_opti() 72 static int ohci_quirk_ns(struct usb_hcd *hcd) in ohci_quirk_ns() 94 static int ohci_quirk_zfmicro(struct usb_hcd *hcd) in ohci_quirk_zfmicro() 107 static int ohci_quirk_toshiba_scc(struct usb_hcd *hcd) in ohci_quirk_toshiba_scc() 140 static int ohci_quirk_nec(struct usb_hcd *hcd) in ohci_quirk_nec() 151 static int ohci_quirk_amd700(struct usb_hcd *hcd) in ohci_quirk_amd700() 168 static int ohci_quirk_qemu(struct usb_hcd *hcd) in ohci_quirk_qemu() 238 static int ohci_pci_reset (struct usb_hcd *hcd) in ohci_pci_reset() [all …]
|
H A D | xhci-plat.c | 39 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() 67 static int xhci_priv_resume_quirk(struct usb_hcd *hcd) in xhci_priv_resume_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() local 419 struct usb_hcd *hcd = platform_get_drvdata(dev); in xhci_plat_remove() local 453 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_suspend() local 481 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_resume_common() local 532 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_runtime_suspend() local [all …]
|
H A D | ehci-fsl.c | 50 struct usb_hcd *hcd; in fsl_ehci_drv_probe() local 180 static bool usb_phy_clk_valid(struct usb_hcd *hcd) in usb_phy_clk_valid() 191 static int ehci_fsl_setup_phy(struct usb_hcd *hcd, in ehci_fsl_setup_phy() 297 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_fsl_usb_setup() local 369 static int ehci_fsl_setup(struct usb_hcd *hcd) in ehci_fsl_setup() 427 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_mpc512x_drv_suspend() local 496 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_mpc512x_drv_resume() local 578 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_drv_suspend() local 598 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_drv_resume() local 625 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_drv_restore() local [all …]
|
H A D | max3421-hcd.c | 329 hcd_to_max3421(struct usb_hcd *hcd) in hcd_to_max3421() 1129 struct usb_hcd *hcd = dev_id; in max3421_irq_handler() local 1143 dump_eps(struct usb_hcd *hcd) in dump_eps() 1277 max3421_reset_hcd(struct usb_hcd *hcd) in max3421_reset_hcd() 1330 max3421_urb_done(struct usb_hcd *hcd) in max3421_urb_done() 1367 struct usb_hcd *hcd = dev_id; in max3421_spi_thread() local 1459 max3421_reset(struct usb_hcd *hcd) in max3421_reset() 1472 max3421_start(struct usb_hcd *hcd) in max3421_start() 1488 max3421_stop(struct usb_hcd *hcd) in max3421_stop() 1819 struct usb_hcd *hcd = NULL; in max3421_probe() local [all …]
|
H A D | xhci-pci.c | 109 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_msix_sync_irqs() local 122 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_cleanup_msix() local 134 static int xhci_try_enable_msi(struct usb_hcd *hcd) in xhci_try_enable_msi() 205 static int xhci_pci_run(struct usb_hcd *hcd) in xhci_pci_run() 218 static void xhci_pci_stop(struct usb_hcd *hcd) in xhci_pci_stop() 545 static int xhci_pci_setup(struct usb_hcd *hcd) in xhci_pci_setup() 592 struct usb_hcd *hcd; in xhci_pci_common_probe() local 747 static void xhci_pme_quirk(struct usb_hcd *hcd) in xhci_pme_quirk() 759 static void xhci_sparse_control_quirk(struct usb_hcd *hcd) in xhci_sparse_control_quirk() 768 static int xhci_pci_suspend(struct usb_hcd *hcd, bool do_wakeup) in xhci_pci_suspend() [all …]
|
H A D | ohci-hcd.c | 148 struct usb_hcd *hcd, in ohci_urb_enqueue() 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() 876 static irqreturn_t ohci_irq (struct usb_hcd *hcd) in ohci_irq() 998 static void ohci_stop (struct usb_hcd *hcd) in ohci_stop() [all …]
|
H A D | ehci-hcd.c | 356 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() 883 struct usb_hcd *hcd, in ehci_urb_enqueue() 1048 ehci_endpoint_reset(struct usb_hcd *hcd, struct usb_host_endpoint *ep) in ehci_endpoint_reset() 1087 static int ehci_get_frame (struct usb_hcd *hcd) in ehci_get_frame() 1134 int ehci_suspend(struct usb_hcd *hcd, bool do_wakeup) in ehci_suspend() [all …]
|
H A D | ohci-exynos.c | 26 #define to_exynos_ohci(hcd) (struct exynos_ohci_hcd *)(hcd_to_ohci(hcd)->priv) argument 81 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_phy_enable() local 97 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_phy_disable() local 108 struct usb_hcd *hcd; in exynos_ohci_probe() local 191 struct usb_hcd *hcd = platform_get_drvdata(pdev); in exynos_ohci_remove() local 205 struct usb_hcd *hcd = platform_get_drvdata(pdev); in exynos_ohci_shutdown() local 213 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_suspend() local 230 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_resume() local
|
H A D | ohci-sm501.c | 22 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 212 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_sm501_suspend() local 232 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_sm501_resume() local
|
H A D | ohci-s3c2410.c | 53 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 354 struct usb_hcd *hcd = NULL; in ohci_hcd_s3c2410_probe() local 416 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_s3c2410_drv_suspend() local 432 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_s3c2410_drv_resume() local
|
H A D | ehci-sh.c | 14 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 152 struct usb_hcd *hcd = priv->hcd; in ehci_hcd_sh_remove() local 164 struct usb_hcd *hcd = priv->hcd; in ehci_hcd_sh_shutdown() local
|
H A D | sl811-hcd.c | 80 struct usb_hcd *hcd = sl811_to_hcd(sl811); in port_power() local 622 static irqreturn_t sl811h_irq(struct usb_hcd *hcd) in sl811h_irq() 793 struct usb_hcd *hcd, in sl811h_urb_enqueue() 1049 sl811h_get_frame(struct usb_hcd *hcd) in sl811h_get_frame() 1215 struct usb_hcd *hcd, in sl811h_hub_control() 1349 sl811h_bus_suspend(struct usb_hcd *hcd) in sl811h_bus_suspend() 1357 sl811h_bus_resume(struct usb_hcd *hcd) in sl811h_bus_resume() 1512 sl811h_stop(struct usb_hcd *hcd) in sl811h_stop() 1525 sl811h_start(struct usb_hcd *hcd) in sl811h_start() 1609 struct usb_hcd *hcd; in sl811h_probe() local [all …]
|
H A D | xhci.c | 369 struct usb_hcd *hcd; in compliance_mode_recovery() local 469 static int xhci_init(struct usb_hcd *hcd) in xhci_init() 546 int xhci_run(struct usb_hcd *hcd) in xhci_run() 609 void xhci_stop(struct usb_hcd *hcd) in xhci_stop() 669 void xhci_shutdown(struct usb_hcd *hcd) in xhci_shutdown() 894 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_suspend() local 1008 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_resume() local 3057 static void xhci_endpoint_disable(struct usb_hcd *hcd, in xhci_endpoint_disable() 3112 static void xhci_endpoint_reset(struct usb_hcd *hcd, in xhci_endpoint_reset() 4427 static int xhci_set_usb2_hardware_lpm(struct usb_hcd *hcd, in xhci_set_usb2_hardware_lpm() [all …]
|
H A D | ehci-st.c | 48 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 251 struct usb_hcd *hcd = platform_get_drvdata(dev); in st_ehci_platform_remove() local 274 struct usb_hcd *hcd = dev_get_drvdata(dev); in st_ehci_suspend() local 294 struct usb_hcd *hcd = dev_get_drvdata(dev); in st_ehci_resume() local
|
H A D | ehci-spear.c | 31 #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 128 struct usb_hcd *hcd = platform_get_drvdata(pdev); in spear_ehci_hcd_drv_remove() local
|
H A D | ehci-exynos.c | 46 #define to_exynos_ehci(hcd) (struct exynos_ehci_hcd *)(hcd_to_ehci(hcd)->priv) argument 92 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ehci_phy_enable() local 108 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ehci_phy_disable() local 130 struct usb_hcd *hcd; in exynos_ehci_probe() local 223 struct usb_hcd *hcd = platform_get_drvdata(pdev); in exynos_ehci_remove() local 237 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ehci_suspend() local 256 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ehci_resume() local
|
H A D | ehci-atmel.c | 71 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 177 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_atmel_drv_remove() local 187 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_atmel_drv_suspend() local 201 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_atmel_drv_resume() local
|
/linux/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 296 static u32 isp1760_hcd_n_ports(struct usb_hcd *hcd) in isp1760_hcd_n_ports() 649 static int ehci_reset(struct usb_hcd *hcd) in ehci_reset() 682 static int priv_init(struct usb_hcd *hcd) in priv_init() 718 static int isp1760_hc_setup(struct usb_hcd *hcd) in isp1760_hc_setup() 1196 static void schedule_ptds(struct usb_hcd *hcd) in schedule_ptds() 1555 struct usb_hcd *hcd = errata2_timer_hcd; in errata2_function() local 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 …]
|
/linux/drivers/staging/greybus/ |
H A D | usb.c | 38 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/drivers/usb/c67x00/ |
H A D | c67x00-hcd.c | 47 static int c67x00_hub_status_data(struct usb_hcd *hcd, char *buf) in c67x00_hub_status_data() 66 static int c67x00_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in c67x00_hub_control() 239 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); in c67x00_hcd_irq() 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/drivers/usb/usbip/ |
H A D | vhci_hcd.c | 228 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() 960 struct usb_hcd *hcd = vhci_hcd_to_hcd(vhci_hcd); in vhci_cleanup_unlink_list() local 1143 static int vhci_setup(struct usb_hcd *hcd) in vhci_setup() 1175 static int vhci_start(struct usb_hcd *hcd) in vhci_start() 1229 static void vhci_stop(struct usb_hcd *hcd) in vhci_stop() 1252 static int vhci_get_frame_number(struct usb_hcd *hcd) in vhci_get_frame_number() 1261 static int vhci_bus_suspend(struct usb_hcd *hcd) in vhci_bus_suspend() 1275 static int vhci_bus_resume(struct usb_hcd *hcd) in vhci_bus_resume() 1424 struct usb_hcd *hcd; in vhci_hcd_suspend() local [all …]
|