Home
last modified time | relevance | path

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

123456

/Linux-v4.19/drivers/usb/host/
Dxhci-hub.c184 static void xhci_usb2_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_usb2_hub_descriptor()
238 static void xhci_usb3_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_usb3_hub_descriptor()
270 static void xhci_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_hub_descriptor()
351 int xhci_find_slot_id_by_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_find_slot_id_by_port()
471 static void xhci_disable_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_disable_port()
544 struct xhci_hub *xhci_get_rhub(struct usb_hcd *hcd) in xhci_get_rhub()
558 static void xhci_set_port_power(struct xhci_hcd *xhci, struct usb_hcd *hcd, in xhci_set_port_power()
831 static u32 xhci_get_port_status(struct usb_hcd *hcd, in xhci_get_port_status()
1011 int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in xhci_hub_control()
1403 int xhci_hub_status_data(struct usb_hcd *hcd, char *buf) in xhci_hub_status_data()
[all …]
Dxhci-pci.c256 static int xhci_pci_setup(struct usb_hcd *hcd) in xhci_pci_setup()
291 struct usb_hcd *hcd; in xhci_pci_probe() local
376 static void xhci_ssic_port_unused_quirk(struct usb_hcd *hcd, bool suspend) in xhci_ssic_port_unused_quirk()
411 static void xhci_pme_quirk(struct usb_hcd *hcd) in xhci_pme_quirk()
423 static int xhci_pci_suspend(struct usb_hcd *hcd, bool do_wakeup) in xhci_pci_suspend()
449 static int xhci_pci_resume(struct usb_hcd *hcd, bool hibernated) in xhci_pci_resume()
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
183 struct usb_hcd *hcd = platform_get_drvdata(op); in ohci_hcd_ppc_of_remove() local
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
168 struct usb_hcd *hcd; in usb_hcd_at91_probe() local
255 static void usb_hcd_at91_remove(struct usb_hcd *hcd, in usb_hcd_at91_remove()
283 static int ohci_at91_hub_status_data(struct usb_hcd *hcd, char *buf) in ohci_at91_hub_status_data()
325 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() local
635 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_at91_drv_resume() local
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
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()
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()
2214 static int isp1362_mem_config(struct usb_hcd *hcd) in isp1362_mem_config()
[all …]
Dehci-orion.c75 static void orion_usb_phy_v1_setup(struct usb_hcd *hcd) in orion_usb_phy_v1_setup()
143 ehci_orion_conf_mbus_windows(struct usb_hcd *hcd, in ehci_orion_conf_mbus_windows()
163 static int ehci_orion_drv_reset(struct usb_hcd *hcd) in ehci_orion_drv_reset()
195 struct usb_hcd *hcd; in ehci_orion_drv_probe() local
325 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_orion_drv_remove() local
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
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
Doxu210hp-hcd.c58 static inline struct oxu_hcd *hcd_to_oxu(struct usb_hcd *hcd) in hcd_to_oxu()
2418 static irqreturn_t oxu210_hcd_irq(struct usb_hcd *hcd) in oxu210_hcd_irq()
2519 static irqreturn_t oxu_irq(struct usb_hcd *hcd) in oxu_irq()
2571 static int oxu_hcd_init(struct usb_hcd *hcd) in oxu_hcd_init()
2648 static int oxu_reset(struct usb_hcd *hcd) in oxu_reset()
2679 static int oxu_run(struct usb_hcd *hcd) in oxu_run()
2738 static void oxu_stop(struct usb_hcd *hcd) in oxu_stop()
2773 static void oxu_shutdown(struct usb_hcd *hcd) in oxu_shutdown()
2798 static int __oxu_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, in __oxu_urb_enqueue()
2830 static int oxu_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, in oxu_urb_enqueue()
[all …]
Dxhci-mtk.c381 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_mtk_quirks() local
401 static int xhci_mtk_setup(struct usb_hcd *hcd) in xhci_mtk_setup()
433 struct usb_hcd *hcd; in xhci_mtk_probe() local
591 struct usb_hcd *hcd = mtk->hcd; in xhci_mtk_remove() local
619 struct usb_hcd *hcd = mtk->hcd; in xhci_mtk_suspend() local
637 struct usb_hcd *hcd = mtk->hcd; in xhci_mtk_resume() local
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
Dehci-ppc-of.c97 struct usb_hcd *hcd; in ehci_hcd_ppc_of_probe() local
188 struct usb_hcd *hcd = platform_get_drvdata(op); in ehci_hcd_ppc_of_remove() local
Dehci-w90x900.c34 struct usb_hcd *hcd; in ehci_w90x900_probe() local
93 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_w90x900_remove() local
Dr8a66597-hcd.c1274 struct usb_hcd *hcd = r8a66597_to_hcd(r8a66597); in finish_request() local
1602 static irqreturn_t r8a66597_irq(struct usb_hcd *hcd) in r8a66597_irq()
1826 static int r8a66597_start(struct usb_hcd *hcd) in r8a66597_start()
1834 static void r8a66597_stop(struct usb_hcd *hcd) in r8a66597_stop()
1885 static int r8a66597_urb_enqueue(struct usb_hcd *hcd, in r8a66597_urb_enqueue()
1955 static int r8a66597_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, in r8a66597_urb_dequeue()
1980 static void r8a66597_endpoint_disable(struct usb_hcd *hcd, in r8a66597_endpoint_disable()
2013 static int r8a66597_get_frame(struct usb_hcd *hcd) in r8a66597_get_frame()
2086 struct usb_hcd *hcd) in r8a66597_check_detect_child()
2102 static int r8a66597_hub_status_data(struct usb_hcd *hcd, char *buf) in r8a66597_hub_status_data()
[all …]
Dehci-mxc.c40 struct usb_hcd *hcd; in ehci_mxc_drv_probe() local
159 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_mxc_drv_remove() local
Dxhci-mtk.h109 struct usb_hcd *hcd; member
133 static inline struct xhci_hcd_mtk *hcd_to_mtk(struct usb_hcd *hcd) in hcd_to_mtk()
147 static inline int xhci_mtk_add_ep_quirk(struct usb_hcd *hcd, in xhci_mtk_add_ep_quirk()
153 static inline void xhci_mtk_drop_ep_quirk(struct usb_hcd *hcd, in xhci_mtk_drop_ep_quirk()
Du132-hcd.c226 static inline struct u132 *hcd_to_u132(struct usb_hcd *hcd) in hcd_to_u132()
254 struct usb_hcd *hcd = u132_to_hcd(u132); in u132_hcd_delete() local
491 struct usb_hcd *hcd = u132_to_hcd(u132); in u132_hcd_monitor_work() local
512 struct usb_hcd *hcd = u132_to_hcd(u132); in u132_hcd_giveback_urb() local
551 struct usb_hcd *hcd = u132_to_hcd(u132); in u132_hcd_abandon_urb() local
1511 struct usb_hcd *hcd = u132_to_hcd(u132) in u132_power() local
1769 static void u132_hcd_stop(struct usb_hcd *hcd) in u132_hcd_stop()
1786 static int u132_hcd_start(struct usb_hcd *hcd) in u132_hcd_start()
1827 static int u132_hcd_reset(struct usb_hcd *hcd) in u132_hcd_reset()
2234 static int u132_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, in u132_urb_enqueue()
[all …]
/Linux-v4.19/drivers/usb/dwc2/
Dhcd.c695 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); in dwc2_host_start() local
703 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); in dwc2_host_disconnect() local
2732 static int dwc2_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, in dwc2_map_urb_for_dma()
2752 static void dwc2_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) in dwc2_unmap_urb_for_dma()
3463 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); in dwc2_host_is_b_hnp_enabled() local
4142 static struct dwc2_hsotg *dwc2_hcd_to_hsotg(struct usb_hcd *hcd) in dwc2_hcd_to_hsotg()
4240 static void dwc2_allocate_bus_bandwidth(struct usb_hcd *hcd, u16 bw, in dwc2_allocate_bus_bandwidth()
4253 static void dwc2_free_bus_bandwidth(struct usb_hcd *hcd, u16 bw, in dwc2_free_bus_bandwidth()
4391 static int _dwc2_hcd_start(struct usb_hcd *hcd) in _dwc2_hcd_start()
4427 static void _dwc2_hcd_stop(struct usb_hcd *hcd) in _dwc2_hcd_stop()
[all …]
/Linux-v4.19/drivers/usb/renesas_usbhs/
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 …]
/Linux-v4.19/include/linux/usb/
Dhcd.h125 #define HCD_HW_ACCESSIBLE(hcd) ((hcd)->flags & (1U << HCD_FLAG_HW_ACCESSIBLE)) argument
126 #define HCD_POLL_RH(hcd) ((hcd)->flags & (1U << HCD_FLAG_POLL_RH)) argument
127 #define HCD_POLL_PENDING(hcd) ((hcd)->flags & (1U << HCD_FLAG_POLL_PENDING)) argument
128 #define HCD_WAKEUP_PENDING(hcd) ((hcd)->flags & (1U << HCD_FLAG_WAKEUP_PENDING)) argument
129 #define HCD_RH_RUNNING(hcd) ((hcd)->flags & (1U << HCD_FLAG_RH_RUNNING)) argument
130 #define HCD_DEAD(hcd) ((hcd)->flags & (1U << HCD_FLAG_DEAD)) argument
137 #define HCD_INTF_AUTHORIZED(hcd) \ argument
145 #define HCD_DEV_AUTHORIZED(hcd) \ argument
228 static inline struct usb_bus *hcd_to_bus(struct usb_hcd *hcd) in hcd_to_bus()
412 static inline int hcd_giveback_urb_in_bh(struct usb_hcd *hcd) in hcd_giveback_urb_in_bh()
[all …]
/Linux-v4.19/drivers/staging/octeon-usb/
Docteon-hcd.c507 static int octeon_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, in octeon_map_urb_for_dma()
528 static void octeon_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) in octeon_unmap_urb_for_dma()
1349 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
2596 struct usb_hcd *hcd = octeon_to_hcd(usb); in cvmx_usb_poll_channel() local
3031 static inline struct octeon_hcd *hcd_to_octeon(struct usb_hcd *hcd) in hcd_to_octeon()
3036 static irqreturn_t octeon_usb_irq(struct usb_hcd *hcd) in octeon_usb_irq()
3047 static int octeon_usb_start(struct usb_hcd *hcd) in octeon_usb_start()
3053 static void octeon_usb_stop(struct usb_hcd *hcd) in octeon_usb_stop()
3058 static int octeon_usb_get_frame_number(struct usb_hcd *hcd) in octeon_usb_get_frame_number()
[all …]
/Linux-v4.19/drivers/usb/gadget/udc/
Ddummy_hcd.c284 static inline struct dummy_hcd *hcd_to_dummy_hcd(struct usb_hcd *hcd) in hcd_to_dummy_hcd()
1244 struct usb_hcd *hcd, in dummy_urb_enqueue()
1296 static int dummy_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in dummy_urb_dequeue()
1994 static int dummy_hub_status(struct usb_hcd *hcd, char *buf) in dummy_hub_status()
2074 struct usb_hcd *hcd, in dummy_hub_control()
2328 static int dummy_bus_suspend(struct usb_hcd *hcd) in dummy_bus_suspend()
2342 static int dummy_bus_resume(struct usb_hcd *hcd) in dummy_bus_resume()
2412 struct usb_hcd *hcd = dev_get_drvdata(dev); in urbs_show() local
2450 static int dummy_start(struct usb_hcd *hcd) in dummy_start()
2480 static void dummy_stop(struct usb_hcd *hcd) in dummy_stop()
[all …]
/Linux-v4.19/drivers/usb/musb/
Dmusb_host.c73 struct musb *hcd_to_musb(struct usb_hcd *hcd) in hcd_to_musb()
2141 struct usb_hcd *hcd, in musb_urb_enqueue()
2390 static int musb_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in musb_urb_dequeue()
2447 musb_h_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep) in musb_h_disable()
2499 static int musb_h_get_frame_number(struct usb_hcd *hcd) in musb_h_get_frame_number()
2506 static int musb_h_start(struct usb_hcd *hcd) in musb_h_start()
2518 static void musb_h_stop(struct usb_hcd *hcd) in musb_h_stop()
2524 static int musb_bus_suspend(struct usb_hcd *hcd) in musb_bus_suspend()
2561 static int musb_bus_resume(struct usb_hcd *hcd) in musb_bus_resume()
2648 static int musb_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, in musb_map_urb_for_dma()
[all …]

123456