Searched refs:usb_hcd (Results 1 - 25 of 129) sorted by relevance

123456

/drivers/usb/host/whci/
H A Dhcd.c32 static int whc_reset(struct usb_hcd *usb_hcd) argument
44 static int whc_start(struct usb_hcd *usb_hcd) argument
46 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd);
71 usb_hcd->uses_new_polling = 1;
72 set_bit(HCD_FLAG_POLL_RH, &usb_hcd->flags);
73 usb_hcd->state = HC_STATE_RUNNING;
88 static void whc_stop(struct usb_hcd *usb_hcd) argument
107 whc_get_frame_number(struct usb_hcd *usb_hcd) argument
117 whc_urb_enqueue(struct usb_hcd *usb_hcd, struct urb *urb, gfp_t mem_flags) argument
145 whc_urb_dequeue(struct usb_hcd *usb_hcd, struct urb *urb, int status) argument
172 whc_endpoint_disable(struct usb_hcd *usb_hcd, struct usb_host_endpoint *ep) argument
190 whc_endpoint_reset(struct usb_hcd *usb_hcd, struct usb_host_endpoint *ep) argument
242 struct usb_hcd *usb_hcd; local
325 struct usb_hcd *usb_hcd = dev_get_drvdata(&umc->dev); local
[all...]
/drivers/usb/c67x00/
H A Dc67x00-hcd.h101 static inline struct c67x00_hcd *hcd_to_c67x00_hcd(struct usb_hcd *hcd)
106 static inline struct usb_hcd *c67x00_hcd_to_hcd(struct c67x00_hcd *c67x00)
108 return container_of((void *)c67x00, struct usb_hcd, hcd_priv);
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,
H A Dc67x00-hcd.c61 static int c67x00_hub_status_data(struct usb_hcd *hcd, char *buf)
80 static int c67x00_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
253 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00);
280 static int c67x00_hcd_start(struct usb_hcd *hcd)
292 static void c67x00_hcd_stop(struct usb_hcd *hcd)
297 static int c67x00_hcd_get_frame(struct usb_hcd *hcd)
346 struct usb_hcd *hcd;
406 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00);
/drivers/usb/musb/
H A Dmusb_host.h38 static inline struct usb_hcd *musb_to_hcd(struct musb *musb)
40 return container_of((void *) musb, struct usb_hcd, hcd_priv);
43 static inline struct musb *hcd_to_musb(struct usb_hcd *hcd)
87 struct usb_hcd;
89 extern int musb_hub_status_data(struct usb_hcd *hcd, char *buf);
90 extern int musb_hub_control(struct usb_hcd *hcd,
/drivers/usb/wusbcore/
H A Dwusbhc.h25 * Controllers (struct wusbhc, embedding a struct usb_hcd) and is used
80 * Note this "complements" the 'struct usb_device' that the usb_hcd
166 * @usb_hcd Instantiation of a USB host controller
244 * calling usb_hcd_add(&wusbhc->usb_hcd).
247 struct usb_hcd usb_hcd; /* HAS TO BE 1st */ member in struct:wusbhc
300 #define usb_hcd_to_wusbhc(u) container_of((u), struct wusbhc, usb_hcd)
322 * Return @usb_dev's @usb_hcd (properly referenced) or NULL if gone
329 static inline struct usb_hcd *usb_hcd_get_by_usb_dev(struct usb_device *usb_dev)
331 struct usb_hcd *usb_hc local
359 struct usb_hcd *usb_hcd; local
[all...]
H A Drh.c60 * ops defined in the usb_hcd struct:
137 * @usb_hcd is refcounted, so it won't disappear under us
141 int wusbhc_rh_status_data(struct usb_hcd *usb_hcd, char *_buf) argument
143 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd);
352 int wusbhc_rh_control(struct usb_hcd *usb_hcd, u16 reqntype, u16 wValue, argument
356 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd);
387 "UNIMPLEMENTED\n", __func__, usb_hcd, wusbhc, reqntype,
396 int wusbhc_rh_suspend(struct usb_hcd *usb_hc argument
406 wusbhc_rh_resume(struct usb_hcd *usb_hcd) argument
416 wusbhc_rh_start_port_reset(struct usb_hcd *usb_hcd, unsigned port_idx) argument
[all...]
H A Dpal.c40 wusbhc->pal.device = wusbhc->usb_hcd.self.controller;
/drivers/usb/host/
H A Dohci-pci.c27 static int broken_suspend(struct usb_hcd *hcd)
36 static int ohci_quirk_amd756(struct usb_hcd *hcd)
51 static int ohci_quirk_opti(struct usb_hcd *hcd)
64 static int ohci_quirk_ns(struct usb_hcd *hcd)
86 static int ohci_quirk_zfmicro(struct usb_hcd *hcd)
99 static int ohci_quirk_toshiba_scc(struct usb_hcd *hcd)
139 static int ohci_quirk_nec(struct usb_hcd *hcd)
150 static int ohci_quirk_amd700(struct usb_hcd *hcd)
249 static int ohci_pci_reset (struct usb_hcd *hcd)
260 int (*quirk)(struct usb_hcd *ohc
[all...]
H A Dhwa-hc.c115 * @usb_hcd: Pointer to WUSB Host Controller instance.
118 static int hwahc_op_reset(struct usb_hcd *usb_hcd) argument
121 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd);
145 static int hwahc_op_start(struct usb_hcd *usb_hcd) argument
149 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd);
161 usb_hcd->uses_new_polling = 1;
162 set_bit(HCD_FLAG_POLL_RH, &usb_hcd->flags);
163 usb_hcd
182 hwahc_op_stop(struct usb_hcd *usb_hcd) argument
191 hwahc_op_get_frame_number(struct usb_hcd *usb_hcd) argument
201 hwahc_op_urb_enqueue(struct usb_hcd *usb_hcd, struct urb *urb, gfp_t gfp) argument
210 hwahc_op_urb_dequeue(struct usb_hcd *usb_hcd, struct urb *urb, int status) argument
224 hwahc_op_endpoint_disable(struct usb_hcd *usb_hcd, struct usb_host_endpoint *ep) argument
767 struct usb_hcd *usb_hcd; local
811 struct usb_hcd *usb_hcd; local
[all...]
H A Dohci-ep93xx.c47 struct usb_hcd *hcd;
99 static void usb_hcd_ep93xx_remove(struct usb_hcd *hcd,
110 static int __devinit ohci_ep93xx_start(struct usb_hcd *hcd)
164 struct usb_hcd *hcd = platform_get_drvdata(pdev);
174 struct usb_hcd *hcd = platform_get_drvdata(pdev);
187 struct usb_hcd *hcd = platform_get_drvdata(pdev);
H A Dohci-sa1111.c45 static void dump_hci_status(struct usb_hcd *hcd, const char *label)
58 static int ohci_sa1111_reset(struct usb_hcd *hcd)
66 static int __devinit ohci_sa1111_start(struct usb_hcd *hcd)
182 struct usb_hcd *hcd;
228 struct usb_hcd *hcd = sa1111_get_drvdata(dev);
240 struct usb_hcd *hcd = sa1111_get_drvdata(dev);
H A Dohci-sh.c25 static int ohci_sh_start(struct usb_hcd *hcd)
82 struct usb_hcd *hcd = NULL;
123 struct usb_hcd *hcd = platform_get_drvdata(pdev);
H A Dohci-ppc-soc.c35 struct usb_hcd *hcd;
111 static void usb_hcd_ppc_soc_remove(struct usb_hcd *hcd,
124 ohci_ppc_soc_start(struct usb_hcd *hcd)
195 struct usb_hcd *hcd = platform_get_drvdata(pdev);
H A Dohci-xls.c20 struct usb_hcd *hcd;
75 static int ohci_xls_reset(struct usb_hcd *hcd)
83 static int __devinit ohci_xls_start(struct usb_hcd *hcd)
134 struct usb_hcd *hcd = platform_get_drvdata(dev);
H A Dxhci.h1373 static inline unsigned int hcd_index(struct usb_hcd *hcd)
1383 struct usb_hcd *main_hcd;
1384 struct usb_hcd *shared_hcd;
1508 static inline struct xhci_hcd *hcd_to_xhci(struct usb_hcd *hcd)
1513 static inline struct usb_hcd *xhci_to_hcd(struct xhci_hcd *xhci)
1693 int xhci_init(struct usb_hcd *hcd);
1694 int xhci_run(struct usb_hcd *hcd);
1695 void xhci_stop(struct usb_hcd *hcd);
1696 void xhci_shutdown(struct usb_hcd *hcd);
1697 int xhci_gen_setup(struct usb_hcd *hc
[all...]
H A Dohci-s3c2410.c39 static struct s3c2410_hcd_info *to_s3c2410_info(struct usb_hcd *hcd)
44 static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd)
89 ohci_s3c2410_hub_status_data(struct usb_hcd *hcd, char *buf)
147 struct usb_hcd *hcd,
280 struct usb_hcd *hcd;
322 usb_hcd_s3c2410_remove(struct usb_hcd *hcd, struct platform_device *dev)
343 struct usb_hcd *hcd = NULL;
412 ohci_s3c2410_start(struct usb_hcd *hcd)
483 struct usb_hcd *hcd = platform_get_drvdata(pdev);
492 struct usb_hcd *hc
[all...]
H A Dehci-msm.c37 static int ehci_msm_reset(struct usb_hcd *hcd)
108 struct usb_hcd *hcd;
183 struct usb_hcd *hcd = platform_get_drvdata(pdev);
200 struct usb_hcd *hcd = dev_get_drvdata(dev);
223 struct usb_hcd *hcd = dev_get_drvdata(dev);
H A Dehci-platform.c24 static int ehci_platform_reset(struct usb_hcd *hcd)
83 struct usb_hcd *hcd;
140 struct usb_hcd *hcd = platform_get_drvdata(dev);
155 struct usb_hcd *hcd = dev_get_drvdata(dev);
164 struct usb_hcd *hcd = dev_get_drvdata(dev);
H A Dehci-xilinx-of.c36 * @hcd: Pointer to the usb_hcd device to which the host controller bound
40 static int ehci_xilinx_of_setup(struct usb_hcd *hcd)
60 * @hcd: Pointer to the usb_hcd device to which the host controller bound
72 static int ehci_xilinx_port_handed_over(struct usb_hcd *hcd, int portnum)
155 struct usb_hcd *hcd;
252 struct usb_hcd *hcd = dev_get_drvdata(&op->dev);
275 struct usb_hcd *hcd = dev_get_drvdata(&op->dev);
H A Dohci-au1xxx.c29 static int __devinit ohci_au1xxx_start(struct usb_hcd *hcd)
93 struct usb_hcd *hcd;
152 struct usb_hcd *hcd = platform_get_drvdata(pdev);
170 struct usb_hcd *hcd = dev_get_drvdata(dev);
201 struct usb_hcd *hcd = dev_get_drvdata(dev);
H A Dohci-omap3.c38 static int ohci_omap3_init(struct usb_hcd *hcd)
47 static int ohci_omap3_start(struct usb_hcd *hcd)
131 struct usb_hcd *hcd = NULL;
215 struct usb_hcd *hcd = dev_get_drvdata(dev);
227 struct usb_hcd *hcd = dev_get_drvdata(&pdev->dev);
/drivers/staging/usbip/
H A Dvhci.h121 static inline struct vhci_hcd *hcd_to_vhci(struct usb_hcd *hcd)
126 static inline struct usb_hcd *vhci_to_hcd(struct vhci_hcd *vhci)
128 return container_of((void *) vhci, struct usb_hcd, hcd_priv);
/drivers/usb/core/
H A Dbuffer.c51 int hcd_buffer_create(struct usb_hcd *hcd)
83 void hcd_buffer_destroy(struct usb_hcd *hcd)
108 struct usb_hcd *hcd = bus_to_hcd(bus);
132 struct usb_hcd *hcd = bus_to_hcd(bus);
H A Dhcd-pci.c56 static void companion_common(struct pci_dev *pdev, struct usb_hcd *hcd,
60 struct usb_hcd *companion_hcd;
113 static void set_hs_companion(struct pci_dev *pdev, struct usb_hcd *hcd)
121 static void clear_hs_companion(struct pci_dev *pdev, struct usb_hcd *hcd)
136 static void wait_for_companions(struct pci_dev *pdev, struct usb_hcd *hcd)
148 static inline void set_hs_companion(struct pci_dev *d, struct usb_hcd *h) {}
149 static inline void clear_hs_companion(struct pci_dev *d, struct usb_hcd *h) {}
150 static inline void wait_for_companions(struct pci_dev *d, struct usb_hcd *h) {}
174 struct usb_hcd *hcd;
291 struct usb_hcd *hc
[all...]
H A Dhcd.c77 * associated cleanup. "usb_hcd" still != "usb_bus".
401 rh_string(int id, struct usb_hcd const *hcd, u8 *data, unsigned len)
440 static int rh_call_control (struct usb_hcd *hcd, struct urb *urb)
690 void usb_hcd_poll_rh_status(struct usb_hcd *hcd)
738 usb_hcd_poll_rh_status((struct usb_hcd *) _hcd);
743 static int rh_queue_status (struct usb_hcd *hcd, struct urb *urb)
774 static int rh_urb_enqueue (struct usb_hcd *hcd, struct urb *urb)
788 static int usb_rh_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
829 struct usb_hcd *usb_hcd; local
845 struct usb_hcd *usb_hcd; local
[all...]

Completed in 361 milliseconds

123456