Home
last modified time | relevance | path

Searched defs:hcd (Results 51 – 75 of 150) sorted by relevance

123456

/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Disp1362-hcd.c1007 static irqreturn_t isp1362_irq(struct usb_hcd *hcd) in isp1362_irq()
1216 static int isp1362_urb_enqueue(struct usb_hcd *hcd, in isp1362_urb_enqueue()
1397 static int isp1362_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in isp1362_urb_dequeue()
1449 static void isp1362_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep) in isp1362_endpoint_disable()
1479 static int isp1362_get_frame(struct usb_hcd *hcd) in isp1362_get_frame()
1495 static int isp1362_hub_status_data(struct usb_hcd *hcd, char *buf) in isp1362_hub_status_data()
1563 static int isp1362_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in isp1362_hub_control()
1733 static int isp1362_bus_suspend(struct usb_hcd *hcd) in isp1362_bus_suspend()
1831 static int isp1362_bus_resume(struct usb_hcd *hcd) in isp1362_bus_resume()
2204 static int isp1362_mem_config(struct usb_hcd *hcd) in isp1362_mem_config()
[all …]
H A Dxhci-rcar.h20 static inline void xhci_rcar_start(struct usb_hcd *hcd) in xhci_rcar_start()
24 static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd) in xhci_rcar_init_quirk()
29 static inline int xhci_rcar_resume_quirk(struct usb_hcd *hcd) in xhci_rcar_resume_quirk()
H A Dohci-omap.c166 struct usb_hcd *hcd = ohci_to_hcd(ohci); in start_hnp() local
186 static int ohci_omap_reset(struct usb_hcd *hcd) in ohci_omap_reset()
297 struct usb_hcd *hcd = 0; in ohci_hcd_omap_probe() local
411 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_hcd_omap_remove() local
435 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_omap_suspend() local
455 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_omap_resume() local
H A Dohci-at91.c98 struct usb_hcd *hcd = platform_get_drvdata(pdev); in at91_start_hc() local
117 struct usb_hcd *hcd = platform_get_drvdata(pdev); in at91_stop_hc() local
170 struct usb_hcd *hcd; in usb_hcd_at91_probe() local
256 static void usb_hcd_at91_remove(struct usb_hcd *hcd, in usb_hcd_at91_remove()
284 static int ohci_at91_hub_status_data(struct usb_hcd *hcd, char *buf) in ohci_at91_hub_status_data()
326 static int ohci_at91_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in ohci_at91_hub_control()
594 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_at91_drv_suspend() local
640 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_at91_drv_resume() local
H A Duhci-pci.c114 static int uhci_pci_init(struct usb_hcd *hcd) in uhci_pci_init()
163 struct usb_hcd *hcd = pci_get_drvdata(pdev); in uhci_shutdown() local
172 static int uhci_pci_suspend(struct usb_hcd *hcd, bool do_wakeup) in uhci_pci_suspend()
211 static int uhci_pci_resume(struct usb_hcd *hcd, bool hibernated) in uhci_pci_resume()
H A Dohci-hub.c153 struct usb_hcd *hcd = ohci_to_hcd (ohci); in ohci_rh_resume() local
301 static int ohci_bus_suspend (struct usb_hcd *hcd) in ohci_bus_suspend()
321 static int ohci_bus_resume (struct usb_hcd *hcd) in ohci_bus_resume()
465 int ohci_hub_status_data(struct usb_hcd *hcd, char *buf) in ohci_hub_status_data()
577 static int ohci_start_port_reset (struct usb_hcd *hcd, unsigned port) in ohci_start_port_reset()
674 struct usb_hcd *hcd, in ohci_hub_control()
H A Dehci-pmcmsp.c70 static int ehci_msp_setup(struct usb_hcd *hcd) in ehci_msp_setup()
161 struct usb_hcd *hcd; in usb_hcd_msp_probe() local
236 void usb_hcd_msp_remove(struct usb_hcd *hcd, struct platform_device *dev) in usb_hcd_msp_remove()
307 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_hcd_msp_drv_remove() local
H A Dehci-xilinx-of.c36 static int ehci_xilinx_port_handed_over(struct usb_hcd *hcd, int portnum) in ehci_xilinx_port_handed_over()
119 struct usb_hcd *hcd; in ehci_hcd_xilinx_of_probe() local
202 struct usb_hcd *hcd = platform_get_drvdata(op); in ehci_hcd_xilinx_of_remove() local
H A Dohci-ppc-of.c26 ohci_ppc_of_start(struct usb_hcd *hcd) in ohci_ppc_of_start()
90 struct usb_hcd *hcd; in ohci_hcd_ppc_of_probe() local
184 struct usb_hcd *hcd = platform_get_drvdata(op); in ohci_hcd_ppc_of_remove() local
H A Dohci-pxa27x.c129 #define to_pxa27x_ohci(hcd) (struct pxa27x_ohci *)(hcd_to_ohci(hcd)->priv) argument
195 static int pxa27x_ohci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in pxa27x_ohci_hub_control()
281 struct usb_hcd *hcd = dev_get_drvdata(dev); in pxa27x_start_hc() local
322 struct usb_hcd *hcd = dev_get_drvdata(dev); in pxa27x_stop_hc() local
423 struct usb_hcd *hcd; in ohci_hcd_pxa27x_probe() local
522 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_hcd_pxa27x_remove() local
541 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_pxa27x_drv_suspend() local
562 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_pxa27x_drv_resume() local
H A Dxhci-mvebu.c46 int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd) in xhci_mvebu_mbus_init_quirk()
78 int xhci_mvebu_a3700_plat_setup(struct usb_hcd *hcd) in xhci_mvebu_a3700_plat_setup()
119 int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd) in xhci_mvebu_a3700_init_quirk()
H A Dehci-ps3.c40 static int ps3_ehci_hc_reset(struct usb_hcd *hcd) in ps3_ehci_hc_reset()
87 struct usb_hcd *hcd; in ps3_ehci_probe() local
206 struct usb_hcd *hcd = ps3_system_bus_get_drvdata(dev); in ps3_ehci_remove() local
H A Dehci-mv.c66 static int mv_ehci_reset(struct usb_hcd *hcd) in mv_ehci_reset()
106 struct usb_hcd *hcd; in mv_ehci_probe() local
240 struct usb_hcd *hcd = platform_get_drvdata(pdev); in mv_ehci_remove() local
271 struct usb_hcd *hcd = platform_get_drvdata(pdev); in mv_ehci_shutdown() local
H A Dxhci-mtk.c374 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_mtk_quirks() local
403 static int xhci_mtk_setup(struct usb_hcd *hcd) in xhci_mtk_setup()
445 struct usb_hcd *hcd; in xhci_mtk_probe() local
600 struct usb_hcd *hcd = mtk->hcd; in xhci_mtk_remove() local
631 struct usb_hcd *hcd = mtk->hcd; in xhci_mtk_suspend() local
649 struct usb_hcd *hcd = mtk->hcd; in xhci_mtk_resume() local
H A Dehci-grlib.c75 struct usb_hcd *hcd; in ehci_hcd_grlib_probe() local
145 struct usb_hcd *hcd = platform_get_drvdata(op); in ehci_hcd_grlib_remove() local
H A Dr8a66597-hcd.c1272 struct usb_hcd *hcd = r8a66597_to_hcd(r8a66597); in finish_request() local
1600 static irqreturn_t r8a66597_irq(struct usb_hcd *hcd) in r8a66597_irq()
1824 static int r8a66597_start(struct usb_hcd *hcd) in r8a66597_start()
1832 static void r8a66597_stop(struct usb_hcd *hcd) in r8a66597_stop()
1883 static int r8a66597_urb_enqueue(struct usb_hcd *hcd, in r8a66597_urb_enqueue()
1953 static int r8a66597_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, in r8a66597_urb_dequeue()
1978 static void r8a66597_endpoint_disable(struct usb_hcd *hcd, in r8a66597_endpoint_disable()
2014 static int r8a66597_get_frame(struct usb_hcd *hcd) in r8a66597_get_frame()
2087 struct usb_hcd *hcd) in r8a66597_check_detect_child()
2103 static int r8a66597_hub_status_data(struct usb_hcd *hcd, char *buf) in r8a66597_hub_status_data()
[all …]
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dehci-dbgp.h57 static inline int xen_dbgp_reset_prep(struct usb_hcd *hcd) in xen_dbgp_reset_prep()
62 static inline int xen_dbgp_external_startup(struct usb_hcd *hcd) in xen_dbgp_external_startup()
73 static inline int dbgp_reset_prep(struct usb_hcd *hcd) in dbgp_reset_prep()
78 static inline int dbgp_external_startup(struct usb_hcd *hcd) in dbgp_external_startup()
H A Dhcd.h133 #define HCD_HW_ACCESSIBLE(hcd) ((hcd)->flags & (1U << HCD_FLAG_HW_ACCESSIBLE)) argument
134 #define HCD_POLL_RH(hcd) ((hcd)->flags & (1U << HCD_FLAG_POLL_RH)) argument
135 #define HCD_POLL_PENDING(hcd) ((hcd)->flags & (1U << HCD_FLAG_POLL_PENDING)) argument
136 #define HCD_WAKEUP_PENDING(hcd) ((hcd)->flags & (1U << HCD_FLAG_WAKEUP_PENDING)) argument
137 #define HCD_RH_RUNNING(hcd) ((hcd)->flags & (1U << HCD_FLAG_RH_RUNNING)) argument
138 #define HCD_DEAD(hcd) ((hcd)->flags & (1U << HCD_FLAG_DEAD)) argument
139 #define HCD_DEFER_RH_REGISTER(hcd) ((hcd)->flags & (1U << HCD_FLAG_DEFER_RH_REGISTER)) argument
146 #define HCD_INTF_AUTHORIZED(hcd) \ argument
244 static inline struct usb_bus *hcd_to_bus(struct usb_hcd *hcd) in hcd_to_bus()
427 static inline int hcd_giveback_urb_in_bh(struct usb_hcd *hcd) in hcd_giveback_urb_in_bh()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/dwc2/
H A Dhcd.c499 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); in dwc2_host_start() local
507 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); in dwc2_host_disconnect() local
2563 static int dwc2_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, in dwc2_map_urb_for_dma()
2583 static void dwc2_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) in dwc2_unmap_urb_for_dma()
3297 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); in dwc2_host_is_b_hnp_enabled() local
3987 static struct dwc2_hsotg *dwc2_hcd_to_hsotg(struct usb_hcd *hcd) in dwc2_hcd_to_hsotg()
4085 static void dwc2_allocate_bus_bandwidth(struct usb_hcd *hcd, u16 bw, in dwc2_allocate_bus_bandwidth()
4098 static void dwc2_free_bus_bandwidth(struct usb_hcd *hcd, u16 bw, in dwc2_free_bus_bandwidth()
4247 static int _dwc2_hcd_start(struct usb_hcd *hcd) in _dwc2_hcd_start()
4296 static void _dwc2_hcd_stop(struct usb_hcd *hcd) in _dwc2_hcd_stop()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/renesas_usbhs/
H A Dmod_host.c451 static int usbhsh_connected_to_rhdev(struct usb_hcd *hcd, in usbhsh_connected_to_rhdev()
488 struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv); in usbhsh_device_attach() local
588 struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv); in usbhsh_device_detach() local
633 struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv); in usbhsh_queue_done() local
659 static int usbhsh_queue_push(struct usb_hcd *hcd, in usbhsh_queue_push()
865 static int usbhsh_dcp_queue_push(struct usb_hcd *hcd, in usbhsh_dcp_queue_push()
939 static int usbhsh_host_start(struct usb_hcd *hcd) in usbhsh_host_start()
944 static void usbhsh_host_stop(struct usb_hcd *hcd) in usbhsh_host_stop()
948 static int usbhsh_urb_enqueue(struct usb_hcd *hcd, in usbhsh_urb_enqueue()
1031 static int usbhsh_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in usbhsh_urb_dequeue()
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/musb-new/
H A Dusb-compat.h47 #define usb_hcd_link_urb_to_ep(hcd, urb) ({ \ argument
51 #define usb_hcd_unlink_urb_from_ep(hcd, urb) list_del_init(&urb->urb_list) argument
54 static inline void usb_hcd_giveback_urb(struct usb_hcd *hcd, in usb_hcd_giveback_urb()
63 static inline int usb_hcd_unmap_urb_for_dma(struct usb_hcd *hcd, in usb_hcd_unmap_urb_for_dma()
/OK3568_Linux_fs/kernel/drivers/staging/octeon-usb/
H A Docteon-hcd.c485 static int octeon_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, in octeon_map_urb_for_dma()
506 static void octeon_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) in octeon_unmap_urb_for_dma()
1350 struct usb_hcd *hcd = octeon_to_hcd(usb); in cvmx_usb_start_channel_control() local
1962 struct usb_hcd *hcd = octeon_to_hcd(usb); in octeon_usb_urb_complete_callback() local
2594 struct usb_hcd *hcd = octeon_to_hcd(usb); in cvmx_usb_poll_channel() local
3029 static inline struct octeon_hcd *hcd_to_octeon(struct usb_hcd *hcd) in hcd_to_octeon()
3034 static irqreturn_t octeon_usb_irq(struct usb_hcd *hcd) in octeon_usb_irq()
3045 static int octeon_usb_start(struct usb_hcd *hcd) in octeon_usb_start()
3051 static void octeon_usb_stop(struct usb_hcd *hcd) in octeon_usb_stop()
3056 static int octeon_usb_get_frame_number(struct usb_hcd *hcd) in octeon_usb_get_frame_number()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/
H A Ddummy_hcd.c285 static inline struct dummy_hcd *hcd_to_dummy_hcd(struct usb_hcd *hcd) in hcd_to_dummy_hcd()
1249 struct usb_hcd *hcd, in dummy_urb_enqueue()
1301 static int dummy_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in dummy_urb_dequeue()
2000 static int dummy_hub_status(struct usb_hcd *hcd, char *buf) in dummy_hub_status()
2080 struct usb_hcd *hcd, in dummy_hub_control()
2349 static int dummy_bus_suspend(struct usb_hcd *hcd) in dummy_bus_suspend()
2363 static int dummy_bus_resume(struct usb_hcd *hcd) in dummy_bus_resume()
2433 struct usb_hcd *hcd = dev_get_drvdata(dev); in urbs_show() local
2471 static int dummy_start(struct usb_hcd *hcd) in dummy_start()
2501 static void dummy_stop(struct usb_hcd *hcd) in dummy_stop()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/musb/
H A Dmusb_host.c73 struct musb *hcd_to_musb(struct usb_hcd *hcd) in hcd_to_musb()
2114 struct usb_hcd *hcd, in musb_urb_enqueue()
2363 static int musb_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in musb_urb_dequeue()
2420 musb_h_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep) in musb_h_disable()
2472 static int musb_h_get_frame_number(struct usb_hcd *hcd) in musb_h_get_frame_number()
2479 static int musb_h_start(struct usb_hcd *hcd) in musb_h_start()
2491 static void musb_h_stop(struct usb_hcd *hcd) in musb_h_stop()
2497 static int musb_bus_suspend(struct usb_hcd *hcd) in musb_bus_suspend()
2534 static int musb_bus_resume(struct usb_hcd *hcd) in musb_bus_resume()
2621 static int musb_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, in musb_map_urb_for_dma()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/cdns3/
H A Dhost.c35 struct usb_hcd *hcd; in __cdns3_host_init() local
90 int xhci_cdns3_suspend_quirk(struct usb_hcd *hcd) in xhci_cdns3_suspend_quirk()

123456