Lines Matching refs:hcd

22 #include <linux/usb/hcd.h>
42 static int r8a66597_get_frame(struct usb_hcd *hcd);
1272 struct usb_hcd *hcd = r8a66597_to_hcd(r8a66597);
1290 urb->start_frame = r8a66597_get_frame(hcd);
1600 static irqreturn_t r8a66597_irq(struct usb_hcd *hcd)
1602 struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
1824 static int r8a66597_start(struct usb_hcd *hcd)
1826 struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
1828 hcd->state = HC_STATE_RUNNING;
1832 static void r8a66597_stop(struct usb_hcd *hcd)
1834 struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
1882 static int r8a66597_urb_enqueue(struct usb_hcd *hcd,
1887 struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
1898 ret = usb_hcd_link_urb_to_ep(hcd, urb);
1946 usb_hcd_unlink_urb_from_ep(hcd, urb);
1952 static int r8a66597_urb_dequeue(struct usb_hcd *hcd, struct urb *urb,
1955 struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
1961 rc = usb_hcd_check_unlink_urb(hcd, urb, status);
1977 static void r8a66597_endpoint_disable(struct usb_hcd *hcd,
1982 struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
2013 static int r8a66597_get_frame(struct usb_hcd *hcd)
2015 struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
2086 struct usb_hcd *hcd)
2094 bus = idr_find(&usb_bus_idr, hcd->self.busnum);
2102 static int r8a66597_hub_status_data(struct usb_hcd *hcd, char *buf)
2104 struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
2108 r8a66597_check_detect_child(r8a66597, hcd);
2139 static int r8a66597_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
2142 struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
2243 static int r8a66597_bus_suspend(struct usb_hcd *hcd)
2245 struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
2274 static int r8a66597_bus_resume(struct usb_hcd *hcd)
2276 struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
2360 struct usb_hcd *hcd = r8a66597_to_hcd(r8a66597);
2365 usb_root_hub_lost_power(hcd->self.root_hub);
2385 struct usb_hcd *hcd = r8a66597_to_hcd(r8a66597);
2388 usb_remove_hcd(hcd);
2392 usb_put_hcd(hcd);
2401 struct usb_hcd *hcd = NULL;
2441 /* initialize hcd */
2442 hcd = usb_create_hcd(&r8a66597_hc_driver, &pdev->dev, (char *)hcd_name);
2443 if (!hcd) {
2445 dev_err(&pdev->dev, "Failed to create hcd\n");
2448 r8a66597 = hcd_to_r8a66597(hcd);
2486 hcd->rsrc_start = res->start;
2487 hcd->has_tt = 1;
2489 ret = usb_add_hcd(hcd, irq, irq_trigger);
2491 dev_err(&pdev->dev, "Failed to add hcd\n");
2494 device_wakeup_enable(hcd->self.controller);
2502 usb_put_hcd(hcd);