/linux-4.4.14/include/linux/usb/ |
D | hcd.h | 73 struct usb_hcd { struct 184 struct usb_hcd *shared_hcd; argument 185 struct usb_hcd *primary_hcd; argument 219 static inline struct usb_bus *hcd_to_bus(struct usb_hcd *hcd) in hcd_to_bus() argument 224 static inline struct usb_hcd *bus_to_hcd(struct usb_bus *bus) in bus_to_hcd() 226 return container_of(bus, struct usb_hcd, self); in bus_to_hcd() 243 irqreturn_t (*irq) (struct usb_hcd *hcd); 258 int (*reset) (struct usb_hcd *hcd); 259 int (*start) (struct usb_hcd *hcd); 265 int (*pci_suspend)(struct usb_hcd *hcd, bool do_wakeup); [all …]
|
D | ehci-dbgp.h | 50 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) in xen_dbgp_reset_prep() 61 static inline int xen_dbgp_external_startup(struct usb_hcd *hcd) in 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) in dbgp_reset_prep() 77 static inline int dbgp_external_startup(struct usb_hcd *hcd) in dbgp_external_startup()
|
D | ehci_pdriver.h | 23 struct usb_hcd; 60 int (*pre_setup)(struct usb_hcd *hcd);
|
/linux-4.4.14/drivers/usb/host/whci/ |
D | hcd.c | 32 static int whc_reset(struct usb_hcd *usb_hcd) in whc_reset() argument 44 static int whc_start(struct usb_hcd *usb_hcd) in whc_start() argument 46 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in whc_start() 71 usb_hcd->uses_new_polling = 1; in whc_start() 72 set_bit(HCD_FLAG_POLL_RH, &usb_hcd->flags); in whc_start() 73 usb_hcd->state = HC_STATE_RUNNING; in whc_start() 88 static void whc_stop(struct usb_hcd *usb_hcd) in whc_stop() argument 90 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in whc_stop() 107 static int whc_get_frame_number(struct usb_hcd *usb_hcd) in whc_get_frame_number() argument 117 static int whc_urb_enqueue(struct usb_hcd *usb_hcd, struct urb *urb, in whc_urb_enqueue() argument [all …]
|
D | asl.c | 273 err = usb_hcd_link_urb_to_ep(&whc->wusbhc.usb_hcd, urb); in asl_urb_enqueue() 288 usb_hcd_unlink_urb_from_ep(&whc->wusbhc.usb_hcd, urb); in asl_urb_enqueue() 319 ret = usb_hcd_check_unlink_urb(&whc->wusbhc.usb_hcd, urb, status); in asl_urb_dequeue()
|
D | pzl.c | 301 err = usb_hcd_link_urb_to_ep(&whc->wusbhc.usb_hcd, urb); in pzl_urb_enqueue() 316 usb_hcd_unlink_urb_from_ep(&whc->wusbhc.usb_hcd, urb); in pzl_urb_enqueue() 347 ret = usb_hcd_check_unlink_urb(&whc->wusbhc.usb_hcd, urb, status); in pzl_urb_dequeue()
|
D | int.c | 31 irqreturn_t whc_int_handler(struct usb_hcd *hcd) in whc_int_handler()
|
D | whcd.h | 167 irqreturn_t whc_int_handler(struct usb_hcd *hcd);
|
D | qset.c | 713 usb_hcd_unlink_urb_from_ep(&wusbhc->usb_hcd, urb); in qset_remove_urb()
|
/linux-4.4.14/drivers/usb/wusbcore/ |
D | wusbhc.h | 248 struct usb_hcd usb_hcd; /* HAS TO BE 1st */ member 306 #define usb_hcd_to_wusbhc(u) container_of((u), struct wusbhc, usb_hcd) 336 struct usb_hcd *usb_hcd_get_by_usb_dev(struct usb_device *usb_dev) in usb_hcd_get_by_usb_dev() 338 struct usb_hcd *usb_hcd; in usb_hcd_get_by_usb_dev() local 339 usb_hcd = container_of(usb_dev->bus, struct usb_hcd, self); in usb_hcd_get_by_usb_dev() 340 return usb_get_hcd(usb_hcd); in usb_hcd_get_by_usb_dev() 350 return usb_get_hcd(&wusbhc->usb_hcd) ? wusbhc : NULL; in wusbhc_get() 366 struct usb_hcd *usb_hcd; in wusbhc_get_by_usb_dev() local 373 usb_hcd = usb_hcd_get_by_usb_dev(usb_dev); in wusbhc_get_by_usb_dev() 374 if (usb_hcd == NULL) in wusbhc_get_by_usb_dev() [all …]
|
D | rh.c | 141 int wusbhc_rh_status_data(struct usb_hcd *usb_hcd, char *_buf) in wusbhc_rh_status_data() argument 143 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in wusbhc_rh_status_data() 360 int wusbhc_rh_control(struct usb_hcd *usb_hcd, u16 reqntype, u16 wValue, in wusbhc_rh_control() argument 364 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in wusbhc_rh_control() 395 "UNIMPLEMENTED\n", __func__, usb_hcd, wusbhc, reqntype, in wusbhc_rh_control() 404 int wusbhc_rh_start_port_reset(struct usb_hcd *usb_hcd, unsigned port_idx) in wusbhc_rh_start_port_reset() argument 406 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in wusbhc_rh_start_port_reset() 408 __func__, usb_hcd, wusbhc, port_idx); in wusbhc_rh_start_port_reset()
|
D | wusbhc.c | 45 struct usb_hcd *usb_hcd = bus_to_hcd(usb_bus); in usbhc_dev_to_wusbhc() local 46 return usb_hcd_to_wusbhc(usb_hcd); in usbhc_dev_to_wusbhc() 307 return &wusbhc->usb_hcd.self.controller->kobj; in wusbhc_kobj() 323 struct device *dev = wusbhc->usb_hcd.self.controller; in wusbhc_b_create() 446 usb_hcd_giveback_urb(&wusbhc->usb_hcd, urb, status); in wusbhc_giveback_urb()
|
D | pal.c | 41 wusbhc->pal.device = wusbhc->usb_hcd.self.controller; in wusbhc_pal_register()
|
D | wa-nep.c | 106 if (usb_hcd->state == HC_STATE_QUIESCING) /* Going down? */ in wa_notif_dispatch()
|
D | wa-xfer.c | 286 usb_hcd_unlink_urb_from_ep(&(xfer->wa->wusb->usb_hcd), xfer->urb); in wa_xfer_giveback() 1851 result = usb_hcd_link_urb_to_ep(&(wa->wusb->usb_hcd), urb); in wa_urb_enqueue() 1896 usb_hcd_unlink_urb_from_ep(&(wa->wusb->usb_hcd), urb); in wa_urb_enqueue() 1907 usb_hcd_unlink_urb_from_ep(&(wa->wusb->usb_hcd), urb); in wa_urb_enqueue() 1944 result = usb_hcd_check_unlink_urb(&(wa->wusb->usb_hcd), urb, status); in wa_urb_dequeue() 2491 wa->wusb->usb_hcd.driver->get_frame_number(&wa->wusb->usb_hcd); in wa_process_iso_packet_status()
|
/linux-4.4.14/drivers/usb/host/ |
D | hwa-hc.c | 117 static int hwahc_op_reset(struct usb_hcd *usb_hcd) in hwahc_op_reset() argument 120 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_op_reset() 144 static int hwahc_op_start(struct usb_hcd *usb_hcd) in hwahc_op_start() argument 148 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_op_start() 160 usb_hcd->uses_new_polling = 1; in hwahc_op_start() 161 set_bit(HCD_FLAG_POLL_RH, &usb_hcd->flags); in hwahc_op_start() 162 usb_hcd->state = HC_STATE_RUNNING; in hwahc_op_start() 168 pm_runtime_get_noresume(&usb_hcd->self.root_hub->dev); in hwahc_op_start() 188 static void hwahc_op_stop(struct usb_hcd *usb_hcd) in hwahc_op_stop() argument 190 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_op_stop() [all …]
|
D | ohci-pci.c | 34 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() 225 static int ohci_pci_reset (struct usb_hcd *hcd) in ohci_pci_reset() 236 int (*quirk)(struct usb_hcd *ohci); in ohci_pci_reset()
|
D | xhci-rcar.h | 15 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) in xhci_rcar_start() 22 static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd) in xhci_rcar_init_quirk()
|
D | xhci.h | 1489 static inline unsigned int hcd_index(struct usb_hcd *hcd) in hcd_index() 1507 struct usb_hcd *main_hcd; 1508 struct usb_hcd *shared_hcd; 1665 int (*reset)(struct usb_hcd *hcd); 1666 int (*start)(struct usb_hcd *hcd); 1672 static inline struct xhci_hcd *hcd_to_xhci(struct usb_hcd *hcd) in hcd_to_xhci() 1674 struct usb_hcd *primary_hcd; in hcd_to_xhci() 1684 static inline struct usb_hcd *xhci_to_hcd(struct xhci_hcd *xhci) in xhci_to_hcd() 1822 int xhci_init(struct usb_hcd *hcd); 1823 int xhci_run(struct usb_hcd *hcd); [all …]
|
D | max3421-hcd.c | 337 hcd_to_max3421(struct usb_hcd *hcd) in hcd_to_max3421() 342 static inline struct usb_hcd * 345 return container_of((void *) max3421_hcd, struct usb_hcd, hcd_priv); in max3421_to_hcd() 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() [all …]
|
D | ohci-da8xx.c | 85 static int ohci_da8xx_init(struct usb_hcd *hcd) in ohci_da8xx_init() 129 static void ohci_da8xx_stop(struct usb_hcd *hcd) in ohci_da8xx_stop() 135 static int ohci_da8xx_start(struct usb_hcd *hcd) in ohci_da8xx_start() 150 static int ohci_da8xx_hub_status_data(struct usb_hcd *hcd, char *buf) in ohci_da8xx_hub_status_data() 170 static int ohci_da8xx_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in ohci_da8xx_hub_control() 296 struct usb_hcd *hcd; in usb_hcd_da8xx_probe() 359 usb_hcd_da8xx_remove(struct usb_hcd *hcd, struct platform_device *pdev) in usb_hcd_da8xx_remove() 375 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_hcd_da8xx_drv_remove() 386 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_da8xx_suspend() 408 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_da8xx_resume()
|
D | xhci-plat.c | 30 static int xhci_plat_setup(struct usb_hcd *hcd); 31 static int xhci_plat_start(struct usb_hcd *hcd); 50 static int xhci_plat_setup(struct usb_hcd *hcd) in xhci_plat_setup() 65 static int xhci_plat_start(struct usb_hcd *hcd) in xhci_plat_start() 83 struct usb_hcd *hcd; in xhci_plat_probe() 209 struct usb_hcd *hcd = platform_get_drvdata(dev); in xhci_plat_remove() 229 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_suspend() 245 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_resume()
|
D | ohci-jz4740.c | 27 static inline struct jz4740_ohci_hcd *hcd_to_jz4740_hcd(struct usb_hcd *hcd) in hcd_to_jz4740_hcd() 32 static inline struct usb_hcd *jz4740_hcd_to_hcd(struct jz4740_ohci_hcd *jz4740_ohci) in jz4740_hcd_to_hcd() 34 return container_of((void *)jz4740_ohci, struct usb_hcd, hcd_priv); in jz4740_hcd_to_hcd() 37 static int ohci_jz4740_start(struct usb_hcd *hcd) in ohci_jz4740_start() 81 static int ohci_jz4740_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in ohci_jz4740_hub_control() 151 struct usb_hcd *hcd; in jz4740_ohci_probe() 222 struct usb_hcd *hcd = platform_get_drvdata(pdev); in jz4740_ohci_remove()
|
D | ohci-s3c2410.c | 52 static struct s3c2410_hcd_info *to_s3c2410_info(struct usb_hcd *hcd) in to_s3c2410_info() 57 static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd) in s3c2410_start_hc() 102 ohci_s3c2410_hub_status_data(struct usb_hcd *hcd, char *buf) in ohci_s3c2410_hub_status_data() 160 struct usb_hcd *hcd, in ohci_s3c2410_hub_control() 293 struct usb_hcd *hcd; in s3c2410_hcd_oc() 335 usb_hcd_s3c2410_remove(struct usb_hcd *hcd, struct platform_device *dev) in usb_hcd_s3c2410_remove() 354 struct usb_hcd *hcd = NULL; in usb_hcd_s3c2410_probe() 416 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_hcd_s3c2410_drv_remove() 425 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_s3c2410_drv_suspend() 441 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_s3c2410_drv_resume()
|
D | ohci-sa1111.c | 45 static void dump_hci_status(struct usb_hcd *hcd, const char *label) 58 static int ohci_sa1111_reset(struct usb_hcd *hcd) in ohci_sa1111_reset() 66 static int ohci_sa1111_start(struct usb_hcd *hcd) in ohci_sa1111_start() 182 struct usb_hcd *hcd; in ohci_hcd_sa1111_probe() 236 struct usb_hcd *hcd = sa1111_get_drvdata(dev); in ohci_hcd_sa1111_remove() 248 struct usb_hcd *hcd = sa1111_get_drvdata(dev); in ohci_hcd_sa1111_shutdown()
|
D | ehci-sead3.c | 25 static int ehci_sead3_setup(struct usb_hcd *hcd) in ehci_sead3_setup() 97 struct usb_hcd *hcd; in ehci_hcd_sead3_drv_probe() 139 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_hcd_sead3_drv_remove() 150 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_hcd_sead3_drv_suspend() 158 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_hcd_sead3_drv_resume()
|
D | ehci-atmel.c | 71 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() 178 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_atmel_drv_remove() 191 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_atmel_drv_suspend() 205 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_atmel_drv_resume()
|
D | ohci-exynos.c | 83 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_phy_enable() 101 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_phy_disable() 113 struct usb_hcd *hcd; in exynos_ohci_probe() 200 struct usb_hcd *hcd = platform_get_drvdata(pdev); in exynos_ohci_remove() 216 struct usb_hcd *hcd = platform_get_drvdata(pdev); in exynos_ohci_shutdown() 225 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_suspend() 242 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ohci_resume()
|
D | ehci-msm.c | 46 static int ehci_msm_reset(struct usb_hcd *hcd) in ehci_msm_reset() 70 struct usb_hcd *hcd; in ehci_msm_probe() 149 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_msm_remove() 167 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_msm_pm_suspend() 177 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_msm_pm_resume()
|
D | ohci-sm501.c | 21 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() 195 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_hcd_sm501_drv_remove() 220 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_sm501_suspend() 240 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_sm501_resume()
|
D | ohci-tmio.c | 78 struct usb_hcd *hcd = platform_get_drvdata(dev); in tmio_write_pm() 94 struct usb_hcd *hcd = platform_get_drvdata(dev); in tmio_stop_hc() 119 struct usb_hcd *hcd = platform_get_drvdata(dev); in tmio_start_hc() 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() 277 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_hcd_tmio_drv_remove() 297 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_hcd_tmio_drv_suspend() 327 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_hcd_tmio_drv_resume()
|
D | ehci-sh.c | 18 struct usb_hcd *hcd; 21 static int ehci_sh_reset(struct usb_hcd *hcd) in ehci_sh_reset() 83 struct usb_hcd *hcd; in ehci_hcd_sh_probe() 166 struct usb_hcd *hcd = priv->hcd; in ehci_hcd_sh_remove() 180 struct usb_hcd *hcd = priv->hcd; in ehci_hcd_sh_shutdown()
|
D | uhci-platform.c | 14 static int uhci_platform_init(struct usb_hcd *hcd) in uhci_platform_init() 66 struct usb_hcd *hcd; in uhci_hcd_platform_probe() 116 struct usb_hcd *hcd = platform_get_drvdata(pdev); in uhci_hcd_platform_remove() 133 struct usb_hcd *hcd = platform_get_drvdata(op); in uhci_hcd_platform_shutdown()
|
D | uhci-pci.c | 113 static int uhci_pci_init(struct usb_hcd *hcd) in uhci_pci_init() 158 struct usb_hcd *hcd = pci_get_drvdata(pdev); in 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) in uhci_pci_suspend() 206 static int uhci_pci_resume(struct usb_hcd *hcd, bool hibernated) in uhci_pci_resume()
|
D | uhci-grlib.c | 25 static int uhci_grlib_init(struct usb_hcd *hcd) in uhci_grlib_init() 92 struct usb_hcd *hcd; in uhci_hcd_grlib_probe() 151 struct usb_hcd *hcd = platform_get_drvdata(op); in uhci_hcd_grlib_remove() 172 struct usb_hcd *hcd = platform_get_drvdata(op); in uhci_hcd_grlib_shutdown()
|
D | ehci-fsl.c | 61 struct usb_hcd *hcd; in fsl_ehci_drv_probe() 183 static int ehci_fsl_setup_phy(struct usb_hcd *hcd, in ehci_fsl_setup_phy() 262 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_fsl_usb_setup() 334 static int ehci_fsl_setup(struct usb_hcd *hcd) in ehci_fsl_setup() 392 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_mpc512x_drv_suspend() 461 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_mpc512x_drv_resume() 534 static struct ehci_fsl *hcd_to_ehci_fsl(struct usb_hcd *hcd) in hcd_to_ehci_fsl() 543 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_drv_suspend() 563 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_drv_resume() 590 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_fsl_drv_restore() [all …]
|
D | ehci-st.c | 52 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() 120 struct usb_hcd *hcd = platform_get_drvdata(dev); in st_ehci_platform_power_off() 153 struct usb_hcd *hcd; in st_ehci_platform_probe() 263 struct usb_hcd *hcd = platform_get_drvdata(dev); in st_ehci_platform_remove() 288 struct usb_hcd *hcd = dev_get_drvdata(dev); in st_ehci_suspend() 309 struct usb_hcd *hcd = dev_get_drvdata(dev); in st_ehci_resume()
|
D | ohci-omap.c | 178 struct usb_hcd *hcd = ohci_to_hcd(ohci); in start_hnp() 198 static int ohci_omap_reset(struct usb_hcd *hcd) in ohci_omap_reset() 311 struct usb_hcd *hcd = 0; in usb_hcd_omap_probe() 397 usb_hcd_omap_remove (struct usb_hcd *hcd, struct platform_device *pdev) in usb_hcd_omap_remove() 424 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_hcd_omap_drv_remove() 437 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_omap_suspend() 456 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_omap_resume()
|
D | ehci-spear.c | 43 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_spear_drv_suspend() 51 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_spear_drv_resume() 63 struct usb_hcd *hcd ; in spear_ehci_hcd_drv_probe() 136 struct usb_hcd *hcd = platform_get_drvdata(pdev); in spear_ehci_hcd_drv_remove()
|
D | ehci-exynos.c | 94 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ehci_phy_enable() 112 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ehci_phy_disable() 142 struct usb_hcd *hcd; in exynos_ehci_probe() 240 struct usb_hcd *hcd = platform_get_drvdata(pdev); in exynos_ehci_remove() 257 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ehci_suspend() 276 struct usb_hcd *hcd = dev_get_drvdata(dev); in exynos_ehci_resume()
|
D | ohci-spear.c | 42 struct usb_hcd *hcd = NULL; in spear_ohci_hcd_drv_probe() 110 struct usb_hcd *hcd = platform_get_drvdata(pdev); in spear_ohci_hcd_drv_remove() 125 struct usb_hcd *hcd = platform_get_drvdata(pdev); in spear_ohci_hcd_drv_suspend() 146 struct usb_hcd *hcd = platform_get_drvdata(dev); in spear_ohci_hcd_drv_resume()
|
D | ohci-st.c | 50 struct usb_hcd *hcd = platform_get_drvdata(dev); in st_ohci_platform_power_on() 101 struct usb_hcd *hcd = platform_get_drvdata(dev); in st_ohci_platform_power_off() 134 struct usb_hcd *hcd; in st_ohci_platform_probe() 245 struct usb_hcd *hcd = platform_get_drvdata(dev); in st_ohci_platform_remove() 271 struct usb_hcd *hcd = dev_get_drvdata(dev); in st_ohci_suspend() 290 struct usb_hcd *hcd = dev_get_drvdata(dev); in st_ohci_resume()
|
D | ohci.h | 478 static inline struct ohci_hcd *hcd_to_ohci (struct usb_hcd *hcd) in hcd_to_ohci() 482 static inline struct usb_hcd *ohci_to_hcd (const struct ohci_hcd *ohci) in ohci_to_hcd() 484 return container_of ((void *) ohci, struct usb_hcd, hcd_priv); in 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);
|
D | ehci.h | 271 static inline struct ehci_hcd *hcd_to_ehci (struct usb_hcd *hcd) in hcd_to_ehci() 275 static inline struct usb_hcd *ehci_to_hcd (struct ehci_hcd *ehci) in ehci_to_hcd() 277 return container_of ((void *) ehci, struct usb_hcd, hcd_priv); in ehci_to_hcd() 873 int (*reset)(struct usb_hcd *hcd); 874 int (*port_power)(struct usb_hcd *hcd, 880 extern int ehci_setup(struct usb_hcd *hcd); 886 extern int ehci_suspend(struct usb_hcd *hcd, bool do_wakeup); 887 extern int ehci_resume(struct usb_hcd *hcd, bool force_reset); 892 extern int ehci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
|
D | ohci-at91.c | 98 struct usb_hcd *hcd = platform_get_drvdata(pdev); in at91_start_hc() 117 struct usb_hcd *hcd = platform_get_drvdata(pdev); in at91_stop_hc() 137 static void usb_hcd_at91_remove (struct usb_hcd *, struct platform_device *); 157 struct usb_hcd *hcd; in usb_hcd_at91_probe() 234 static void usb_hcd_at91_remove(struct usb_hcd *hcd, in usb_hcd_at91_remove() 270 static int ohci_at91_hub_status_data(struct usb_hcd *hcd, char *buf) in ohci_at91_hub_status_data() 290 static int ohci_at91_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in ohci_at91_hub_control() 591 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_at91_drv_suspend() 635 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_at91_drv_resume()
|
D | ehci-w90x900.c | 39 struct usb_hcd *hcd; in usb_w90x900_probe() 95 static void usb_w90x900_remove(struct usb_hcd *hcd, in usb_w90x900_remove() 112 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_w90x900_remove()
|
D | xhci-pci.c | 57 static int xhci_pci_setup(struct usb_hcd *hcd); 208 static int xhci_pci_setup(struct usb_hcd *hcd) in xhci_pci_setup() 244 struct usb_hcd *hcd; in xhci_pci_probe() 326 static void xhci_pme_quirk(struct usb_hcd *hcd, bool suspend) in xhci_pme_quirk() 370 static int xhci_pci_suspend(struct usb_hcd *hcd, bool do_wakeup) in xhci_pci_suspend() 388 static int xhci_pci_resume(struct usb_hcd *hcd, bool hibernated) in xhci_pci_resume()
|
D | ehci-platform.c | 54 static int ehci_platform_reset(struct usb_hcd *hcd) in ehci_platform_reset() 81 struct usb_hcd *hcd = platform_get_drvdata(dev); in ehci_platform_power_on() 118 struct usb_hcd *hcd = platform_get_drvdata(dev); in ehci_platform_power_off() 147 struct usb_hcd *hcd; in ehci_platform_probe() 319 struct usb_hcd *hcd = platform_get_drvdata(dev); in ehci_platform_remove() 346 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_platform_suspend() 365 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_platform_resume()
|
D | ohci-pxa27x.c | 194 static int pxa27x_ohci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in pxa27x_ohci_hub_control() 280 struct usb_hcd *hcd = dev_get_drvdata(dev); in pxa27x_start_hc() 317 struct usb_hcd *hcd = dev_get_drvdata(dev); in pxa27x_stop_hc() 418 struct usb_hcd *hcd; in usb_hcd_pxa27x_probe() 515 void usb_hcd_pxa27x_remove (struct usb_hcd *hcd, struct platform_device *pdev) in usb_hcd_pxa27x_remove() 543 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_hcd_pxa27x_drv_remove() 552 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_pxa27x_drv_suspend() 573 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_pxa27x_drv_resume()
|
D | ehci-mv.c | 23 struct usb_hcd *hcd; 70 static int mv_ehci_reset(struct usb_hcd *hcd) in mv_ehci_reset() 135 struct usb_hcd *hcd; in mv_ehci_probe() 270 struct usb_hcd *hcd = ehci_mv->hcd; in mv_ehci_remove() 303 struct usb_hcd *hcd = ehci_mv->hcd; in mv_ehci_shutdown()
|
D | ehci-tegra.c | 81 struct usb_hcd *hcd = platform_get_drvdata(pdev); in tegra_reset_usb_controller() 185 struct usb_hcd *hcd, in tegra_ehci_hub_control() 361 static int tegra_ehci_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, in tegra_ehci_map_urb_for_dma() 377 static void tegra_ehci_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) in tegra_ehci_unmap_urb_for_dma() 402 struct usb_hcd *hcd; in tegra_ehci_probe() 531 struct usb_hcd *hcd = platform_get_drvdata(pdev); in tegra_ehci_remove() 549 struct usb_hcd *hcd = platform_get_drvdata(pdev); in tegra_ehci_hcd_shutdown() 565 static int tegra_ehci_reset(struct usb_hcd *hcd) in tegra_ehci_reset()
|
D | ehci-xilinx-of.c | 50 static int ehci_xilinx_port_handed_over(struct usb_hcd *hcd, int portnum) in ehci_xilinx_port_handed_over() 133 struct usb_hcd *hcd; in ehci_hcd_xilinx_of_probe() 216 struct usb_hcd *hcd = platform_get_drvdata(op); in ehci_hcd_xilinx_of_remove()
|
D | ohci-platform.c | 49 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_platform_power_on() 86 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_platform_power_off() 115 struct usb_hcd *hcd; in ohci_platform_probe() 284 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_platform_remove() 311 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_platform_suspend() 330 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_platform_resume()
|
D | ehci-hcd.c | 367 static void ehci_shutdown(struct usb_hcd *hcd) in ehci_shutdown() 422 static void ehci_stop (struct usb_hcd *hcd) in ehci_stop() 456 static int ehci_init(struct usb_hcd *hcd) in ehci_init() 572 static int ehci_run (struct usb_hcd *hcd) in ehci_run() 657 int ehci_setup(struct usb_hcd *hcd) in ehci_setup() 689 static irqreturn_t ehci_irq (struct usb_hcd *hcd) in ehci_irq() 852 struct usb_hcd *hcd, in ehci_urb_enqueue() 892 static int ehci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in ehci_urb_dequeue() 943 ehci_endpoint_disable (struct usb_hcd *hcd, struct usb_host_endpoint *ep) in ehci_endpoint_disable() 1014 ehci_endpoint_reset(struct usb_hcd *hcd, struct usb_host_endpoint *ep) in ehci_endpoint_reset() [all …]
|
D | ohci-tilegx.c | 37 static int tilegx_ohci_start(struct usb_hcd *hcd) in tilegx_ohci_start() 97 struct usb_hcd *hcd; in ohci_hcd_tilegx_drv_probe() 178 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_hcd_tilegx_drv_remove()
|
D | ehci-tilegx.c | 37 static int tilegx_ehci_setup(struct usb_hcd *hcd) in tilegx_ehci_setup() 102 struct usb_hcd *hcd; in ehci_hcd_tilegx_drv_probe() 189 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_hcd_tilegx_drv_remove()
|
D | ohci-ps3.c | 24 static int ps3_ohci_hc_reset(struct usb_hcd *hcd) in ps3_ohci_hc_reset() 33 static int ps3_ohci_hc_start(struct usb_hcd *hcd) in ps3_ohci_hc_start() 82 struct usb_hcd *hcd; in ps3_ohci_probe() 200 struct usb_hcd *hcd = ps3_system_bus_get_drvdata(dev); in ps3_ohci_remove()
|
D | ehci-pmcmsp.c | 74 static int ehci_msp_setup(struct usb_hcd *hcd) in ehci_msp_setup() 165 struct usb_hcd *hcd; in usb_hcd_msp_probe() 240 void usb_hcd_msp_remove(struct usb_hcd *hcd, struct platform_device *dev) in usb_hcd_msp_remove() 311 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_hcd_msp_drv_remove()
|
D | ohci-hcd.c | 81 static void ohci_stop(struct usb_hcd *hcd); 145 struct usb_hcd *hcd, in ohci_urb_enqueue() 311 static int ohci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in ohci_urb_dequeue() 346 ohci_endpoint_disable (struct usb_hcd *hcd, struct usb_host_endpoint *ep) in ohci_endpoint_disable() 399 static int ohci_get_frame (struct usb_hcd *hcd) in ohci_get_frame() 419 ohci_shutdown (struct usb_hcd *hcd) in ohci_shutdown() 444 struct usb_hcd *hcd = ohci_to_hcd(ohci); in ohci_init() 529 struct usb_hcd *hcd = ohci_to_hcd(ohci); in ohci_run() 689 int ohci_setup(struct usb_hcd *hcd) in ohci_setup() 700 static int ohci_start(struct usb_hcd *hcd) in ohci_start() [all …]
|
D | sl811.h | 158 static inline struct sl811 *hcd_to_sl811(struct usb_hcd *hcd) in hcd_to_sl811() 163 static inline struct usb_hcd *sl811_to_hcd(struct sl811 *sl811) in sl811_to_hcd() 165 return container_of((void *) sl811, struct usb_hcd, hcd_priv); in sl811_to_hcd()
|
D | ohci-ppc-of.c | 25 ohci_ppc_of_start(struct usb_hcd *hcd) in ohci_ppc_of_start() 89 struct usb_hcd *hcd; in ohci_hcd_ppc_of_probe() 182 struct usb_hcd *hcd = platform_get_drvdata(op); in ohci_hcd_ppc_of_remove()
|
D | ehci-orion.c | 66 static void orion_usb_phy_v1_setup(struct usb_hcd *hcd) in orion_usb_phy_v1_setup() 134 ehci_orion_conf_mbus_windows(struct usb_hcd *hcd, in ehci_orion_conf_mbus_windows() 163 struct usb_hcd *hcd; in ehci_orion_drv_probe() 293 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_orion_drv_remove()
|
D | fhci.h | 468 static inline struct fhci_hcd *hcd_to_fhci(struct usb_hcd *hcd) in hcd_to_fhci() 473 static inline struct usb_hcd *fhci_to_hcd(struct fhci_hcd *fhci) in fhci_to_hcd() 475 return container_of((void *)fhci, struct usb_hcd, hcd_priv); in 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);
|
D | uhci-hcd.c | 438 static irqreturn_t uhci_irq(struct usb_hcd *hcd) in uhci_irq() 563 static int uhci_start(struct usb_hcd *hcd) in uhci_start() 707 static void uhci_stop(struct usb_hcd *hcd) in uhci_stop() 723 static int uhci_rh_suspend(struct usb_hcd *hcd) in uhci_rh_suspend() 750 static int uhci_rh_resume(struct usb_hcd *hcd) in uhci_rh_resume() 767 static void uhci_hcd_endpoint_disable(struct usb_hcd *hcd, in uhci_hcd_endpoint_disable() 792 static int uhci_hcd_get_frame_number(struct usb_hcd *hcd) in uhci_hcd_get_frame_number() 807 static int uhci_count_ports(struct usb_hcd *hcd) in uhci_count_ports()
|
D | fhci-hcd.c | 327 static int fhci_start(struct usb_hcd *hcd) in fhci_start() 378 static void fhci_stop(struct usb_hcd *hcd) in fhci_stop() 390 static int fhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, in fhci_urb_enqueue() 470 static int fhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in fhci_urb_dequeue() 512 static void fhci_endpoint_disable(struct usb_hcd *hcd, in fhci_endpoint_disable() 533 static int fhci_get_frame_number(struct usb_hcd *hcd) in fhci_get_frame_number() 570 struct usb_hcd *hcd; in of_fhci_probe() 789 struct usb_hcd *hcd = dev_get_drvdata(dev); in fhci_remove()
|
D | sl811-hcd.c | 79 struct usb_hcd *hcd = sl811_to_hcd(sl811); in port_power() 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 …]
|
D | imx21-hcd.c | 78 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 …]
|
D | xhci.c | 281 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_setup_msix() 338 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_cleanup_msix() 368 static int xhci_try_enable_msi(struct usb_hcd *hcd) in xhci_try_enable_msi() 424 static inline int xhci_try_enable_msi(struct usb_hcd *hcd) in xhci_try_enable_msi() 442 struct usb_hcd *hcd; in compliance_mode_recovery() 539 int xhci_init(struct usb_hcd *hcd) in xhci_init() 598 int xhci_run(struct usb_hcd *hcd) in xhci_run() 678 void xhci_stop(struct usb_hcd *hcd) in xhci_stop() 737 void xhci_shutdown(struct usb_hcd *hcd) in xhci_shutdown() 897 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_suspend() [all …]
|
D | ohci-omap3.c | 65 struct usb_hcd *hcd = NULL; in ohci_hcd_omap3_probe() 163 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_omap3_remove()
|
D | ehci-ps3.c | 52 static int ps3_ehci_hc_reset(struct usb_hcd *hcd) in ps3_ehci_hc_reset() 99 struct usb_hcd *hcd; in ps3_ehci_probe() 216 struct usb_hcd *hcd = ps3_system_bus_get_drvdata(dev); in ps3_ehci_remove()
|
D | ehci-hub.c | 51 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_handover_companion_ports() 225 static int ehci_bus_suspend (struct usb_hcd *hcd) in ehci_bus_suspend() 375 static int ehci_bus_resume (struct usb_hcd *hcd) in ehci_bus_resume() 609 ehci_hub_status_data (struct usb_hcd *hcd, char *buf) in ehci_hub_status_data() 732 struct usb_hcd *hcd, 750 struct usb_hcd *hcd = bus_to_hcd(udev->bus); in request_single_step_set_feature_urb() 791 static int ehset_single_step_set_feature(struct usb_hcd *hcd, int port) in ehset_single_step_set_feature() 862 struct usb_hcd *hcd, in ehci_hub_control() 1294 static void ehci_relinquish_port(struct usb_hcd *hcd, int portnum) in ehci_relinquish_port() 1303 static int ehci_port_handed_over(struct usb_hcd *hcd, int portnum) in ehci_port_handed_over() [all …]
|
D | isp116x-hcd.c | 590 static irqreturn_t isp116x_irq(struct usb_hcd *hcd) in isp116x_irq() 680 static int isp116x_urb_enqueue(struct usb_hcd *hcd, in isp116x_urb_enqueue() 836 static int isp116x_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, in isp116x_urb_dequeue() 873 static void isp116x_endpoint_disable(struct usb_hcd *hcd, in isp116x_endpoint_disable() 892 static int isp116x_get_frame(struct usb_hcd *hcd) in isp116x_get_frame() 907 static int isp116x_hub_status_data(struct usb_hcd *hcd, char *buf) in isp116x_hub_status_data() 1002 static int isp116x_hub_control(struct usb_hcd *hcd, in isp116x_hub_control() 1260 static int isp116x_reset(struct usb_hcd *hcd) in isp116x_reset() 1290 static void isp116x_stop(struct usb_hcd *hcd) in isp116x_stop() 1313 static int isp116x_start(struct usb_hcd *hcd) in isp116x_start() [all …]
|
D | xhci-rcar.c | 59 void xhci_rcar_start(struct usb_hcd *hcd) in xhci_rcar_start() 141 int xhci_rcar_init_quirk(struct usb_hcd *hcd) in xhci_rcar_init_quirk()
|
D | ehci-grlib.c | 88 struct usb_hcd *hcd; in ehci_hcd_grlib_probe() 158 struct usb_hcd *hcd = platform_get_drvdata(op); in ehci_hcd_grlib_remove()
|
D | xhci-hub.c | 178 static void xhci_usb2_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_usb2_hub_descriptor() 231 static void xhci_usb3_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_usb3_hub_descriptor() 261 static void xhci_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_hub_descriptor() 342 int xhci_find_slot_id_by_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_find_slot_id_by_port() 439 static void xhci_disable_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_disable_port() 506 static int xhci_get_ports(struct usb_hcd *hcd, __le32 __iomem ***port_array) in xhci_get_ports() 688 static u32 xhci_get_port_status(struct usb_hcd *hcd, in xhci_get_port_status() 863 int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in xhci_hub_control() 1221 int xhci_hub_status_data(struct usb_hcd *hcd, char *buf) in xhci_hub_status_data() 1276 int xhci_bus_suspend(struct usb_hcd *hcd) in xhci_bus_suspend() [all …]
|
D | oxu210hp-hcd.c | 66 static inline struct usb_hcd *oxu_to_hcd(struct oxu_hcd *oxu) in oxu_to_hcd() 68 return container_of((void *) oxu, struct usb_hcd, hcd_priv); in oxu_to_hcd() 71 static inline struct oxu_hcd *hcd_to_oxu(struct usb_hcd *hcd) in hcd_to_oxu() 244 static int oxu_hub_control(struct usb_hcd *hcd, 2440 static irqreturn_t oxu210_hcd_irq(struct usb_hcd *hcd) in oxu210_hcd_irq() 2541 static irqreturn_t oxu_irq(struct usb_hcd *hcd) in oxu_irq() 2593 static int oxu_hcd_init(struct usb_hcd *hcd) in oxu_hcd_init() 2670 static int oxu_reset(struct usb_hcd *hcd) in oxu_reset() 2701 static int oxu_run(struct usb_hcd *hcd) in oxu_run() 2760 static void oxu_stop(struct usb_hcd *hcd) in oxu_stop() [all …]
|
D | ohci-hub.c | 152 struct usb_hcd *hcd = ohci_to_hcd (ohci); in ohci_rh_resume() 300 static int ohci_bus_suspend (struct usb_hcd *hcd) in ohci_bus_suspend() 318 static int ohci_bus_resume (struct usb_hcd *hcd) in ohci_bus_resume() 462 int ohci_hub_status_data(struct usb_hcd *hcd, char *buf) in ohci_hub_status_data() 574 static int ohci_start_port_reset (struct usb_hcd *hcd, unsigned port) in ohci_start_port_reset() 671 struct usb_hcd *hcd, in ohci_hub_control()
|
D | ehci-ppc-of.c | 96 struct usb_hcd *hcd; in ehci_hcd_ppc_of_probe() 187 struct usb_hcd *hcd = platform_get_drvdata(op); in ehci_hcd_ppc_of_remove()
|
D | r8a66597.h | 137 static inline struct r8a66597 *hcd_to_r8a66597(struct usb_hcd *hcd) in hcd_to_r8a66597() 142 static inline struct usb_hcd *r8a66597_to_hcd(struct r8a66597 *r8a66597) in r8a66597_to_hcd() 144 return container_of((void *)r8a66597, struct usb_hcd, hcd_priv); in r8a66597_to_hcd()
|
D | u132-hcd.c | 230 static inline struct u132 *hcd_to_u132(struct usb_hcd *hcd) in hcd_to_u132() 235 static inline struct usb_hcd *u132_to_hcd(struct u132 *u132) in u132_to_hcd() 237 return container_of((void *)u132, struct usb_hcd, hcd_priv); in u132_to_hcd() 258 struct usb_hcd *hcd = u132_to_hcd(u132); in u132_hcd_delete() 495 struct usb_hcd *hcd = u132_to_hcd(u132); in u132_hcd_monitor_work() 516 struct usb_hcd *hcd = u132_to_hcd(u132); in u132_hcd_giveback_urb() 555 struct usb_hcd *hcd = u132_to_hcd(u132); in u132_hcd_abandon_urb() 1519 struct usb_hcd *hcd = u132_to_hcd(u132) in u132_power() 1777 static void u132_hcd_stop(struct usb_hcd *hcd) in u132_hcd_stop() 1794 static int u132_hcd_start(struct usb_hcd *hcd) in u132_hcd_start() [all …]
|
D | ehci-omap.c | 105 struct usb_hcd *hcd; in ehci_hcd_omap_probe() 264 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_hcd_omap_remove()
|
D | ehci-mxc.c | 53 struct usb_hcd *hcd; in ehci_mxc_drv_probe() 172 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_mxc_drv_remove()
|
D | fotg210.h | 189 static inline struct fotg210_hcd *hcd_to_fotg210(struct usb_hcd *hcd) in hcd_to_fotg210() 193 static inline struct usb_hcd *fotg210_to_hcd(struct fotg210_hcd *fotg210) in fotg210_to_hcd() 195 return container_of((void *) fotg210, struct usb_hcd, hcd_priv); in fotg210_to_hcd()
|
D | isp1362-hcd.c | 106 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) in isp1362_irq() 1214 static int isp1362_urb_enqueue(struct usb_hcd *hcd, in isp1362_urb_enqueue() 1395 static int isp1362_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in isp1362_urb_dequeue() 1447 static void isp1362_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep) in isp1362_endpoint_disable() 1477 static int isp1362_get_frame(struct usb_hcd *hcd) in isp1362_get_frame() 1493 static int isp1362_hub_status_data(struct usb_hcd *hcd, char *buf) in isp1362_hub_status_data() 1561 static int isp1362_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in isp1362_hub_control() 1730 static int isp1362_bus_suspend(struct usb_hcd *hcd) in isp1362_bus_suspend() [all …]
|
D | r8a66597-hcd.c | 55 static int r8a66597_get_frame(struct usb_hcd *hcd); 1287 struct usb_hcd *hcd = r8a66597_to_hcd(r8a66597); in finish_request() 1615 static irqreturn_t r8a66597_irq(struct usb_hcd *hcd) in r8a66597_irq() 1835 static int r8a66597_start(struct usb_hcd *hcd) in r8a66597_start() 1843 static void r8a66597_stop(struct usb_hcd *hcd) in r8a66597_stop() 1894 static int r8a66597_urb_enqueue(struct usb_hcd *hcd, in r8a66597_urb_enqueue() 1964 static int r8a66597_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, in r8a66597_urb_dequeue() 1989 static void r8a66597_endpoint_disable(struct usb_hcd *hcd, in r8a66597_endpoint_disable() 2022 static int r8a66597_get_frame(struct usb_hcd *hcd) in r8a66597_get_frame() 2095 struct usb_hcd *hcd) in r8a66597_check_detect_child() [all …]
|
D | ehci-pci.c | 100 static int ehci_pci_setup(struct usb_hcd *hcd) in ehci_pci_setup() 349 static int ehci_pci_resume(struct usb_hcd *hcd, bool hibernated) in ehci_pci_resume()
|
D | uhci-hcd.h | 458 static inline struct uhci_hcd *hcd_to_uhci(struct usb_hcd *hcd) in hcd_to_uhci() 462 static inline struct usb_hcd *uhci_to_hcd(struct uhci_hcd *uhci) in uhci_to_hcd() 464 return container_of((void *) uhci, struct usb_hcd, hcd_priv); in uhci_to_hcd()
|
D | ohci-nxp.c | 166 struct usb_hcd *hcd = 0; in ohci_hcd_nxp_probe() 298 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_hcd_nxp_remove()
|
D | fhci-hub.c | 181 int fhci_hub_status_data(struct usb_hcd *hcd, char *buf) in fhci_hub_status_data() 206 int fhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in fhci_hub_control()
|
D | uhci-hub.c | 185 static int uhci_hub_status_data(struct usb_hcd *hcd, char *buf) in uhci_hub_status_data() 242 static int uhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in uhci_hub_control()
|
D | isp116x.h | 291 static inline struct isp116x *hcd_to_isp116x(struct usb_hcd *hcd) in hcd_to_isp116x() 296 static inline struct usb_hcd *isp116x_to_hcd(struct isp116x *isp116x) in isp116x_to_hcd() 298 return container_of((void *)isp116x, struct usb_hcd, hcd_priv); in isp116x_to_hcd()
|
D | fotg210-hcd.c | 460 struct usb_hcd *hcd; in fill_async_buffer() 527 struct usb_hcd *hcd; in fill_periodic_buffer() 652 struct usb_hcd *hcd; in fill_registers_buffer() 1418 static int fotg210_hub_status_data(struct usb_hcd *hcd, char *buf) in fotg210_hub_status_data() 1485 static int fotg210_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in fotg210_hub_control() 1806 static void __maybe_unused fotg210_relinquish_port(struct usb_hcd *hcd, in fotg210_relinquish_port() 1812 static int __maybe_unused fotg210_port_handed_over(struct usb_hcd *hcd, in fotg210_port_handed_over() 2118 static void fotg210_clear_tt_buffer_complete(struct usb_hcd *hcd, in fotg210_clear_tt_buffer_complete() 3302 static int fotg210_get_frame(struct usb_hcd *hcd); 4847 static void fotg210_shutdown(struct usb_hcd *hcd) in fotg210_shutdown() [all …]
|
D | isp1362.h | 569 static inline struct isp1362_hcd *hcd_to_isp1362_hcd(struct usb_hcd *hcd) in hcd_to_isp1362_hcd() 574 static inline struct usb_hcd *isp1362_hcd_to_hcd(struct isp1362_hcd *isp1362_hcd) in isp1362_hcd_to_hcd() 576 return container_of((void *)isp1362_hcd, struct usb_hcd, hcd_priv); in isp1362_hcd_to_hcd()
|
D | imx21-hcd.h | 422 struct usb_hcd *hcd;
|
D | oxu210hp.h | 349 struct usb_hcd *hcd[2];
|
D | ehci-dbg.c | 499 struct usb_hcd *hcd; in fill_async_buffer() 622 struct usb_hcd *hcd; in fill_periodic_buffer() 781 struct usb_hcd *hcd; in fill_registers_buffer()
|
D | fhci-sched.c | 510 struct usb_hcd *hcd = _hcd; in fhci_frame_limit_timer_irq() 546 irqreturn_t fhci_irq(struct usb_hcd *hcd) in fhci_irq()
|
D | ehci-q.c | 145 static void ehci_clear_tt_buffer_complete(struct usb_hcd *hcd, in ehci_clear_tt_buffer_complete() 1164 struct usb_hcd *hcd, in submit_single_step_set_feature()
|
D | ohci-dbg.c | 582 struct usb_hcd *hcd; in fill_registers_buffer()
|
D | uhci-q.c | 1409 static int uhci_urb_enqueue(struct usb_hcd *hcd, in uhci_urb_enqueue() 1482 static int uhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in uhci_urb_dequeue()
|
D | xhci-ring.c | 599 struct usb_hcd *hcd; in xhci_giveback_urb_in_irq() 1431 static unsigned int find_faked_portnum_from_hw_portnum(struct usb_hcd *hcd, in find_faked_portnum_from_hw_portnum() 1485 struct usb_hcd *hcd; in handle_port_status() 2686 irqreturn_t xhci_irq(struct usb_hcd *hcd) in xhci_irq()
|
D | ehci-sched.c | 37 static int ehci_get_frame (struct usb_hcd *hcd);
|
D | xhci-mem.c | 1073 struct usb_hcd *hcd; in xhci_find_real_port_number()
|
/linux-4.4.14/drivers/usb/c67x00/ |
D | c67x00-hcd.h | 101 static inline struct c67x00_hcd *hcd_to_c67x00_hcd(struct usb_hcd *hcd) in hcd_to_c67x00_hcd() 106 static inline struct usb_hcd *c67x00_hcd_to_hcd(struct c67x00_hcd *c67x00) in c67x00_hcd_to_hcd() 108 return container_of((void *)c67x00, struct usb_hcd, hcd_priv); in 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,
|
D | c67x00-hcd.c | 61 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() 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() 408 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); in c67x00_hcd_remove()
|
D | c67x00-sched.c | 319 void c67x00_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep) in c67x00_endpoint_disable() 356 int c67x00_urb_enqueue(struct usb_hcd *hcd, in c67x00_urb_enqueue() 455 int c67x00_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in c67x00_urb_dequeue()
|
/linux-4.4.14/drivers/usb/core/ |
D | hcd-pci.c | 56 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, in for_each_companion() 64 struct usb_hcd *companion_hcd; in for_each_companion() 99 static void ehci_pre_add(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_pre_add() 100 struct pci_dev *companion, struct usb_hcd *companion_hcd) in ehci_pre_add() 116 static void ehci_post_add(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_post_add() 117 struct pci_dev *companion, struct usb_hcd *companion_hcd) in ehci_post_add() 137 static void non_ehci_add(struct pci_dev *pdev, struct usb_hcd *hcd, in non_ehci_add() 138 struct pci_dev *companion, struct usb_hcd *companion_hcd) in non_ehci_add() [all …]
|
D | hcd.c | 426 rh_string(int id, struct usb_hcd const *hcd, u8 *data, unsigned len) in rh_string() 465 static int rh_call_control (struct usb_hcd *hcd, struct urb *urb) in rh_call_control() 727 void usb_hcd_poll_rh_status(struct usb_hcd *hcd) in usb_hcd_poll_rh_status() 773 usb_hcd_poll_rh_status((struct usb_hcd *) _hcd); in rh_timer_func() 778 static int rh_queue_status (struct usb_hcd *hcd, struct urb *urb) in rh_queue_status() 809 static int rh_urb_enqueue (struct usb_hcd *hcd, struct urb *urb) in rh_urb_enqueue() 823 static int usb_rh_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in usb_rh_urb_dequeue() 860 struct usb_hcd *hcd; in authorized_default_show() 874 struct usb_hcd *hcd; in authorized_default_store() 903 struct usb_hcd *hcd = bus_to_hcd(usb_dev->bus); in interface_authorized_default_show() [all …]
|
D | buffer.c | 60 int hcd_buffer_create(struct usb_hcd *hcd) in hcd_buffer_create() 92 void hcd_buffer_destroy(struct usb_hcd *hcd) in hcd_buffer_destroy() 118 struct usb_hcd *hcd = bus_to_hcd(bus); in hcd_buffer_alloc() 142 struct usb_hcd *hcd = bus_to_hcd(bus); in hcd_buffer_free()
|
D | usb.c | 279 struct usb_hcd *hcd; in usb_release_dev() 399 struct usb_hcd *hcd = container_of(bus, struct usb_hcd, self); in usb_bus_is_wusb() 423 struct usb_hcd *usb_hcd = bus_to_hcd(bus); in usb_alloc_dev() local 430 if (!usb_get_hcd(usb_hcd)) { in usb_alloc_dev() 435 if (usb_hcd->driver->alloc_dev && parent && in usb_alloc_dev() 436 !usb_hcd->driver->alloc_dev(usb_hcd, dev)) { in usb_alloc_dev() 513 dev->authorized = !!HCD_DEV_AUTHORIZED(usb_hcd); in usb_alloc_dev()
|
D | port.c | 318 struct usb_hcd *hcd, *peer_hcd; in match_location() 366 struct usb_hcd *hcd = bus_to_hcd(hdev->bus); in find_and_link_peer() 367 struct usb_hcd *peer_hcd = hcd->shared_hcd; in find_and_link_peer()
|
D | hub.c | 1030 struct usb_hcd *hcd; in hub_activate() 1356 struct usb_hcd *hcd; in hub_configure() 2107 struct usb_hcd *hcd = bus_to_hcd(udev->bus); in hub_free_dev() 2329 struct usb_hcd *hcd = bus_to_hcd(udev->bus); in usb_enumerate_device() 2619 struct usb_hcd *hcd; in hub_is_wusb() 2622 hcd = container_of(hub->hdev->bus, struct usb_hcd, self); in hub_is_wusb() 2842 struct usb_hcd *hcd = bus_to_hcd(udev->bus); in hub_port_reset() 2973 struct usb_hcd *hcd = bus_to_hcd(udev->bus); in usb_disable_ltm() 2995 struct usb_hcd *hcd = bus_to_hcd(udev->bus); in usb_enable_ltm() 3854 static void usb_enable_link_state(struct usb_hcd *hcd, struct usb_device *udev, in usb_enable_link_state() [all …]
|
D | usb-acpi.c | 173 struct usb_hcd *hcd = bus_to_hcd(udev->bus); in usb_acpi_find_companion()
|
D | quirks.c | 265 struct usb_hcd *hcd; in usb_amd_resume_quirk()
|
D | message.c | 1148 struct usb_hcd *hcd = bus_to_hcd(dev->bus); in usb_disable_device() 1293 struct usb_hcd *hcd = bus_to_hcd(dev->bus); in usb_set_interface() 1447 struct usb_hcd *hcd = bus_to_hcd(dev->bus); in usb_reset_configuration() 1734 struct usb_hcd *hcd = bus_to_hcd(dev->bus); in usb_set_configuration()
|
D | driver.c | 1872 struct usb_hcd *hcd = bus_to_hcd(udev->bus); in usb_set_usb2_hardware_lpm()
|
/linux-4.4.14/drivers/usb/usbip/ |
D | vhci_hcd.c | 46 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) in vhci_hub_status() 228 static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in vhci_hub_control() 458 static int vhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, in vhci_urb_enqueue() [all …]
|
D | vhci.h | 114 static inline struct vhci_hcd *hcd_to_vhci(struct usb_hcd *hcd) in hcd_to_vhci() 119 static inline struct usb_hcd *vhci_to_hcd(struct vhci_hcd *vhci) in vhci_to_hcd() 121 return container_of((void *) vhci, struct usb_hcd, hcd_priv); in vhci_to_hcd()
|
/linux-4.4.14/drivers/usb/musb/ |
D | musb_host.h | 80 extern struct musb *hcd_to_musb(struct usb_hcd *); 99 static inline struct musb *hcd_to_musb(struct usb_hcd *hcd) in hcd_to_musb() 132 struct usb_hcd; 134 extern int musb_hub_status_data(struct usb_hcd *hcd, char *buf); 135 extern int musb_hub_control(struct usb_hcd *hcd,
|
D | musb_host.c | 97 struct musb *hcd_to_musb(struct usb_hcd *hcd) in hcd_to_musb() 2192 struct usb_hcd *hcd, in musb_urb_enqueue() 2438 static int musb_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in musb_urb_dequeue() 2498 musb_h_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep) in musb_h_disable() 2550 static int musb_h_get_frame_number(struct usb_hcd *hcd) in musb_h_get_frame_number() 2557 static int musb_h_start(struct usb_hcd *hcd) in musb_h_start() 2569 static void musb_h_stop(struct usb_hcd *hcd) in musb_h_stop() 2575 static int musb_bus_suspend(struct usb_hcd *hcd) in musb_bus_suspend() 2609 static int musb_bus_resume(struct usb_hcd *hcd) in musb_bus_resume() 2696 static int musb_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, in musb_map_urb_for_dma() [all …]
|
D | musb_virthub.c | 254 int musb_hub_status_data(struct usb_hcd *hcd, char *buf) in musb_hub_status_data() 283 struct usb_hcd *hcd, in musb_hub_control()
|
D | musb_core.h | 424 struct usb_hcd *hcd; /* the usb hcd */
|
D | musb_core.c | 488 struct usb_hcd *hcd = musb->hcd; in musb_hnp_stop() 773 struct usb_hcd *hcd = musb->hcd; in musb_stage0_irq()
|
/linux-4.4.14/drivers/xen/ |
D | dbgp.c | 9 static int xen_dbgp_op(struct usb_hcd *hcd, int op) in xen_dbgp_op() 36 int xen_dbgp_reset_prep(struct usb_hcd *hcd) in xen_dbgp_reset_prep() 41 int xen_dbgp_external_startup(struct usb_hcd *hcd) in xen_dbgp_external_startup()
|
/linux-4.4.14/drivers/usb/chipidea/ |
D | host.c | 36 static int (*orig_bus_suspend)(struct usb_hcd *hcd); 42 static int ehci_ci_portpower(struct usb_hcd *hcd, int portnum, bool enable) in ehci_ci_portpower() 80 static int ehci_ci_reset(struct usb_hcd *hcd) in ehci_ci_reset() 108 struct usb_hcd *hcd; in host_start() 184 struct usb_hcd *hcd = ci->hcd; in host_stop() 202 static int ci_ehci_bus_suspend(struct usb_hcd *hcd) in ci_ehci_bus_suspend()
|
D | ci.h | 242 struct usb_hcd *hcd;
|
/linux-4.4.14/drivers/usb/isp1760/ |
D | isp1760-hcd.c | 37 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) in hcd_to_priv() 335 static void alloc_mem(struct usb_hcd *hcd, struct isp1760_qtd *qtd) in alloc_mem() 355 static void free_mem(struct usb_hcd *hcd, struct isp1760_qtd *qtd) in free_mem() 378 static int handshake(struct usb_hcd *hcd, u32 reg, in handshake() 397 static int ehci_reset(struct usb_hcd *hcd) in ehci_reset() 436 static int priv_init(struct usb_hcd *hcd) in priv_init() 464 static int isp1760_hc_setup(struct usb_hcd *hcd) in isp1760_hc_setup() 670 static void isp1760_urb_done(struct usb_hcd *hcd, struct urb *urb) in isp1760_urb_done() 720 static void start_bus_transfer(struct usb_hcd *hcd, u32 ptd_offset, int slot, in start_bus_transfer() [all …]
|
D | isp1760-hcd.h | 9 struct usb_hcd; 51 struct usb_hcd *hcd;
|
/linux-4.4.14/drivers/usb/renesas_usbhs/ |
D | mod_host.c | 130 container_of((void *)h, struct usb_hcd, hcd_priv) 466 static int usbhsh_connected_to_rhdev(struct usb_hcd *hcd, in usbhsh_connected_to_rhdev() 503 struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv); in usbhsh_device_attach() 603 struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv); in usbhsh_device_detach() 648 struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv); in usbhsh_queue_done() 674 static int usbhsh_queue_push(struct usb_hcd *hcd, in usbhsh_queue_push() 880 static int usbhsh_dcp_queue_push(struct usb_hcd *hcd, in usbhsh_dcp_queue_push() 953 static int usbhsh_host_start(struct usb_hcd *hcd) in usbhsh_host_start() 958 static void usbhsh_host_stop(struct usb_hcd *hcd) in usbhsh_host_stop() 962 static int usbhsh_urb_enqueue(struct usb_hcd *hcd, in usbhsh_urb_enqueue() [all …]
|
/linux-4.4.14/drivers/usb/dwc2/ |
D | hcd.c | 710 struct usb_hcd *hcd; in dwc2_hc_setup_align_buf() 1441 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); in dwc2_host_is_b_hnp_enabled() 2129 static struct dwc2_hsotg *dwc2_hcd_to_hsotg(struct usb_hcd *hcd) in dwc2_hcd_to_hsotg() 2137 static int _dwc2_hcd_start(struct usb_hcd *hcd); 2141 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); in dwc2_host_start() 2149 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); in dwc2_host_disconnect() 2173 static void dwc2_allocate_bus_bandwidth(struct usb_hcd *hcd, u16 bw, in dwc2_allocate_bus_bandwidth() 2186 static void dwc2_free_bus_bandwidth(struct usb_hcd *hcd, u16 bw, in dwc2_free_bus_bandwidth() 2321 static int _dwc2_hcd_start(struct usb_hcd *hcd) in _dwc2_hcd_start() 2356 static void _dwc2_hcd_stop(struct usb_hcd *hcd) in _dwc2_hcd_stop() [all …]
|
D | hcd.h | 360 static inline struct usb_hcd *dwc2_hsotg_to_hcd(struct dwc2_hsotg *hsotg) in dwc2_hsotg_to_hcd() 362 return (struct usb_hcd *)hsotg->priv; in dwc2_hsotg_to_hcd()
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
D | dummy_hcd.c | 271 static inline struct dummy_hcd *hcd_to_dummy_hcd(struct usb_hcd *hcd) in hcd_to_dummy_hcd() 276 static inline struct usb_hcd *dummy_hcd_to_hcd(struct dummy_hcd *dum) in dummy_hcd_to_hcd() 278 return container_of((void *) dum, struct usb_hcd, hcd_priv); in dummy_hcd_to_hcd() 1209 struct usb_hcd *hcd, in dummy_urb_enqueue() 1259 static int dummy_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in dummy_urb_dequeue() 1949 static int dummy_hub_status(struct usb_hcd *hcd, char *buf) in dummy_hub_status() 2029 struct usb_hcd *hcd, in dummy_hub_control() 2289 static int dummy_bus_suspend(struct usb_hcd *hcd) in dummy_bus_suspend() 2303 static int dummy_bus_resume(struct usb_hcd *hcd) in dummy_bus_resume() 2373 struct usb_hcd *hcd = dev_get_drvdata(dev); in urbs_show() [all …]
|
/linux-4.4.14/drivers/staging/octeon-usb/ |
D | octeon-hcd.c | 455 static inline struct usb_hcd *octeon_to_hcd(struct octeon_hcd *p) in octeon_to_hcd() 457 return container_of((void *)p, struct usb_hcd, hcd_priv); in octeon_to_hcd() 528 static int octeon_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, in octeon_map_urb_for_dma() 549 static void octeon_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) in octeon_unmap_urb_for_dma() 1381 struct usb_hcd *hcd = octeon_to_hcd(priv); in cvmx_usb_start_channel_control() 1998 struct usb_hcd *hcd = octeon_to_hcd(priv); in octeon_usb_urb_complete_callback() 2451 struct usb_hcd *hcd = octeon_to_hcd(priv); in cvmx_usb_poll_channel() 3069 static inline struct octeon_hcd *hcd_to_octeon(struct usb_hcd *hcd) in hcd_to_octeon() 3074 static irqreturn_t octeon_usb_irq(struct usb_hcd *hcd) in octeon_usb_irq() 3085 static int octeon_usb_start(struct usb_hcd *hcd) in octeon_usb_start() [all …]
|
/linux-4.4.14/include/linux/platform_data/ |
D | usb-ohci-s3c2410.h | 26 struct usb_hcd *hcd;
|
/linux-4.4.14/drivers/usb/misc/ |
D | lvstest.c | 48 struct usb_hcd *hcd; in create_lvs_device() 82 struct usb_hcd *hcd = bus_to_hcd(hdev->bus); in destroy_lvs_device() 300 struct usb_hcd *hcd = bus_to_hcd(hdev->bus); in lvs_rh_work()
|
/linux-4.4.14/drivers/usb/storage/ |
D | uas-detect.h | 59 struct usb_hcd *hcd = bus_to_hcd(udev->bus); in uas_use_uas_driver()
|
/linux-4.4.14/drivers/usb/early/ |
D | ehci-dbgp.c | 974 int dbgp_reset_prep(struct usb_hcd *hcd) in dbgp_reset_prep() 1002 int dbgp_external_startup(struct usb_hcd *hcd) in dbgp_external_startup()
|
/linux-4.4.14/drivers/usb/phy/ |
D | phy-msm-usb.c | 690 struct usb_hcd *hcd; in msm_otg_start_host() 729 struct usb_hcd *hcd; in msm_otg_set_host()
|
D | phy-mv-usb.c | 206 struct usb_hcd *hcd; in mv_otg_start_host()
|
/linux-4.4.14/Documentation/usb/ |
D | WUSB-Design-overview.txt | 320 From here, the USB stack takes control through the usb_hcd ops. hub_wq 322 start enumerating and doing transfers through usb_hcd->urb_enqueue() to
|