Lines Matching refs:hcd
230 static inline struct u132 *hcd_to_u132(struct usb_hcd *hcd) in hcd_to_u132() argument
232 return (struct u132 *)(hcd->hcd_priv); in hcd_to_u132()
258 struct usb_hcd *hcd = u132_to_hcd(u132); in u132_hcd_delete() local
265 "2=%p going=%d pdev=%p\n", hcd, u132, u132->going, pdev); in u132_hcd_delete()
266 usb_put_hcd(hcd); in u132_hcd_delete()
495 struct usb_hcd *hcd = u132_to_hcd(u132); in u132_hcd_monitor_work() local
499 usb_hc_died(hcd); in u132_hcd_monitor_work()
516 struct usb_hcd *hcd = u132_to_hcd(u132); in u132_hcd_giveback_urb() local
519 usb_hcd_unlink_urb_from_ep(hcd, urb); in u132_hcd_giveback_urb()
542 usb_hcd_giveback_urb(hcd, urb, status); in u132_hcd_giveback_urb()
555 struct usb_hcd *hcd = u132_to_hcd(u132); in u132_hcd_abandon_urb() local
558 usb_hcd_unlink_urb_from_ep(hcd, urb); in u132_hcd_abandon_urb()
574 usb_hcd_giveback_urb(hcd, urb, status); in u132_hcd_abandon_urb()
1519 struct usb_hcd *hcd = u132_to_hcd(u132) in u132_power() local
1527 hcd->state = HC_STATE_HALT; in u132_power()
1777 static void u132_hcd_stop(struct usb_hcd *hcd) in u132_hcd_stop() argument
1779 struct u132 *u132 = hcd_to_u132(hcd); in u132_hcd_stop()
1782 "een removed %d\n", u132, hcd, u132->going); in u132_hcd_stop()
1785 "ed\n", hcd); in u132_hcd_stop()
1794 static int u132_hcd_start(struct usb_hcd *hcd) in u132_hcd_start() argument
1796 struct u132 *u132 = hcd_to_u132(hcd); in u132_hcd_start()
1804 } else if (hcd->self.controller) { in u132_hcd_start()
1807 to_platform_device(hcd->self.controller); in u132_hcd_start()
1835 static int u132_hcd_reset(struct usb_hcd *hcd) in u132_hcd_reset() argument
1837 struct u132 *u132 = hcd_to_u132(hcd); in u132_hcd_reset()
2242 static int u132_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, in u132_urb_enqueue() argument
2245 struct u132 *u132 = hcd_to_u132(hcd); in u132_urb_enqueue()
2274 retval = usb_hcd_link_urb_to_ep(hcd, urb); in u132_urb_enqueue()
2283 hcd, urb); in u132_urb_enqueue()
2316 retval = usb_hcd_link_urb_to_ep(hcd, urb); in u132_urb_enqueue()
2325 hcd, urb); in u132_urb_enqueue()
2365 retval = usb_hcd_link_urb_to_ep(hcd, urb); in u132_urb_enqueue()
2373 hcd, urb); in u132_urb_enqueue()
2402 struct usb_hcd *hcd = u132_to_hcd(u132); in dequeue_from_overflow_chain() local
2406 usb_hcd_giveback_urb(hcd, urb, 0); in dequeue_from_overflow_chain()
2474 struct usb_hcd *hcd = u132_to_hcd(u132); in u132_endp_urb_dequeue() local
2476 usb_hcd_unlink_urb_from_ep(hcd, urb); in u132_endp_urb_dequeue()
2491 usb_hcd_giveback_urb(hcd, urb, status); in u132_endp_urb_dequeue()
2516 static int u132_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in u132_urb_dequeue() argument
2518 struct u132 *u132 = hcd_to_u132(hcd); in u132_urb_dequeue()
2540 static void u132_endpoint_disable(struct usb_hcd *hcd, in u132_endpoint_disable() argument
2543 struct u132 *u132 = hcd_to_u132(hcd); in u132_endpoint_disable()
2546 ") has been removed %d\n", u132, hcd, hep, in u132_endpoint_disable()
2555 static int u132_get_frame(struct usb_hcd *hcd) in u132_get_frame() argument
2557 struct u132 *u132 = hcd_to_u132(hcd); in u132_get_frame()
2768 static int u132_hub_status_data(struct usb_hcd *hcd, char *buf) in u132_hub_status_data() argument
2770 struct u132 *u132 = hcd_to_u132(hcd); in u132_hub_status_data()
2773 "ed %d\n", hcd, u132->going); in u132_hub_status_data()
2777 "ed\n", hcd); in u132_hub_status_data()
2819 static int u132_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in u132_hub_control() argument
2822 struct u132 *u132 = hcd_to_u132(hcd); in u132_hub_control()
2902 static int u132_start_port_reset(struct usb_hcd *hcd, unsigned port_num) in u132_start_port_reset() argument
2904 struct u132 *u132 = hcd_to_u132(hcd); in u132_start_port_reset()
2918 static int u132_bus_suspend(struct usb_hcd *hcd) in u132_bus_suspend() argument
2920 struct u132 *u132 = hcd_to_u132(hcd); in u132_bus_suspend()
2932 static int u132_bus_resume(struct usb_hcd *hcd) in u132_bus_resume() argument
2934 struct u132 *u132 = hcd_to_u132(hcd); in u132_bus_resume()
2977 struct usb_hcd *hcd = platform_get_drvdata(pdev); in u132_remove() local
2978 if (hcd) { in u132_remove()
2979 struct u132 *u132 = hcd_to_u132(hcd); in u132_remove()
3004 usb_remove_hcd(hcd); in u132_remove()
3071 struct usb_hcd *hcd; in u132_probe() local
3094 hcd = usb_create_hcd(&u132_hc_driver, &pdev->dev, dev_name(&pdev->dev)); in u132_probe()
3095 if (!hcd) { in u132_probe()
3101 struct u132 *u132 = hcd_to_u132(hcd); in u132_probe()
3103 hcd->rsrc_start = 0; in u132_probe()
3110 hcd->product_desc = "ELAN U132 Host Controller"; in u132_probe()
3111 retval = usb_add_hcd(hcd, 0, 0); in u132_probe()
3118 device_wakeup_enable(hcd->self.controller); in u132_probe()
3133 struct usb_hcd *hcd = platform_get_drvdata(pdev); in u132_suspend() local
3134 struct u132 *u132 = hcd_to_u132(hcd); in u132_suspend()
3147 retval = u132_bus_suspend(hcd); in u132_suspend()
3163 struct usb_hcd *hcd = platform_get_drvdata(pdev); in u132_resume() local
3164 struct u132 *u132 = hcd_to_u132(hcd); in u132_resume()
3181 retval = u132_bus_resume(hcd); in u132_resume()