Lines Matching defs:hcd
3 * c67x00-hcd.c: Cypress C67X00 USB Host Controller Driver
15 #include "c67x00-hcd.h"
47 static int c67x00_hub_status_data(struct usb_hcd *hcd, char *buf)
49 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd);
66 static int c67x00_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
69 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd);
239 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00);
250 if (unlikely(hcd->state == HC_STATE_HALT))
253 if (!HCD_HW_ACCESSIBLE(hcd))
266 static int c67x00_hcd_start(struct usb_hcd *hcd)
268 hcd->uses_new_polling = 1;
269 hcd->state = HC_STATE_RUNNING;
270 set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
278 static void c67x00_hcd_stop(struct usb_hcd *hcd)
283 static int c67x00_hcd_get_frame(struct usb_hcd *hcd)
285 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd);
295 .description = "c67x00-hcd",
332 struct usb_hcd *hcd;
339 hcd = usb_create_hcd(&c67x00_hc_driver, sie_dev(sie), "c67x00_sie");
340 if (!hcd) {
344 c67x00 = hcd_to_c67x00_hcd(hcd);
366 retval = usb_add_hcd(hcd, 0, 0);
373 device_wakeup_enable(hcd->self.controller);
385 usb_put_hcd(hcd);
394 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00);
397 usb_remove_hcd(hcd);
398 usb_put_hcd(hcd);