Searched defs:usb_hcd (Results 1 - 7 of 7) sorted by relevance

/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/wusbcore/
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 Dwusbhc.c40 * wusbhc.usb_hcd.self->class_dev; otherwise, you loose.
45 struct usb_hcd *usb_hcd = bus_to_hcd(usb_bus); local
46 return usb_hcd_to_wusbhc(usb_hcd);
197 * - assumes *wusbhc has been zeroed and wusbhc->usb_hcd has been
240 return &wusbhc->usb_hcd.self.controller->kobj;
246 * Creates fields that depend on wusbhc->usb_hcd having been
250 * NOTE: Assumes wusbhc->usb_hcd has been already added by the upper
256 struct device *dev = wusbhc->usb_hcd.self.controller;
383 usb_hcd_giveback_urb(&wusbhc->usb_hcd, ur
[all...]
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...]
/drivers/usb/core/
H A Dusb.c222 struct usb_hcd *hcd;
352 struct usb_hcd *hcd = container_of(bus, struct usb_hcd, self);
373 struct usb_hcd *usb_hcd = container_of(bus, struct usb_hcd, self); local
385 if (usb_hcd->driver->alloc_dev && parent &&
386 !usb_hcd->driver->alloc_dev(usb_hcd, dev)) {
462 dev->authorized = usb_hcd
[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...]
/drivers/usb/host/
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...]

Completed in 111 milliseconds