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()
1780 static void u132_hcd_stop(struct usb_hcd *hcd) in u132_hcd_stop() argument
1782 struct u132 *u132 = hcd_to_u132(hcd); in u132_hcd_stop()
1785 "een removed %d\n", u132, hcd, u132->going); in u132_hcd_stop()
1788 "ed\n", hcd); in u132_hcd_stop()
1797 static int u132_hcd_start(struct usb_hcd *hcd) in u132_hcd_start() argument
1799 struct u132 *u132 = hcd_to_u132(hcd); in u132_hcd_start()
1807 } else if (hcd->self.controller) { in u132_hcd_start()
1810 to_platform_device(hcd->self.controller); in u132_hcd_start()
1838 static int u132_hcd_reset(struct usb_hcd *hcd) in u132_hcd_reset() argument
1840 struct u132 *u132 = hcd_to_u132(hcd); in u132_hcd_reset()
2245 static int u132_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, in u132_urb_enqueue() argument
2248 struct u132 *u132 = hcd_to_u132(hcd); in u132_urb_enqueue()
2278 retval = usb_hcd_link_urb_to_ep(hcd, urb); in u132_urb_enqueue()
2287 hcd, urb); in u132_urb_enqueue()
2320 retval = usb_hcd_link_urb_to_ep(hcd, urb); in u132_urb_enqueue()
2329 hcd, urb); in u132_urb_enqueue()
2369 retval = usb_hcd_link_urb_to_ep(hcd, urb); in u132_urb_enqueue()
2377 hcd, urb); in u132_urb_enqueue()
2406 struct usb_hcd *hcd = u132_to_hcd(u132); in dequeue_from_overflow_chain() local
2410 usb_hcd_giveback_urb(hcd, urb, 0); in dequeue_from_overflow_chain()
2478 struct usb_hcd *hcd = u132_to_hcd(u132); in u132_endp_urb_dequeue() local
2480 usb_hcd_unlink_urb_from_ep(hcd, urb); in u132_endp_urb_dequeue()
2495 usb_hcd_giveback_urb(hcd, urb, status); in u132_endp_urb_dequeue()
2520 static int u132_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in u132_urb_dequeue() argument
2522 struct u132 *u132 = hcd_to_u132(hcd); in u132_urb_dequeue()
2544 static void u132_endpoint_disable(struct usb_hcd *hcd, in u132_endpoint_disable() argument
2547 struct u132 *u132 = hcd_to_u132(hcd); in u132_endpoint_disable()
2550 ") has been removed %d\n", u132, hcd, hep, in u132_endpoint_disable()
2559 static int u132_get_frame(struct usb_hcd *hcd) in u132_get_frame() argument
2561 struct u132 *u132 = hcd_to_u132(hcd); in u132_get_frame()
2786 static int u132_hub_status_data(struct usb_hcd *hcd, char *buf) in u132_hub_status_data() argument
2788 struct u132 *u132 = hcd_to_u132(hcd); in u132_hub_status_data()
2791 "ed %d\n", hcd, u132->going); in u132_hub_status_data()
2795 "ed\n", hcd); in u132_hub_status_data()
2837 static int u132_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in u132_hub_control() argument
2840 struct u132 *u132 = hcd_to_u132(hcd); in u132_hub_control()
2920 static int u132_start_port_reset(struct usb_hcd *hcd, unsigned port_num) in u132_start_port_reset() argument
2922 struct u132 *u132 = hcd_to_u132(hcd); in u132_start_port_reset()
2936 static int u132_bus_suspend(struct usb_hcd *hcd) in u132_bus_suspend() argument
2938 struct u132 *u132 = hcd_to_u132(hcd); in u132_bus_suspend()
2950 static int u132_bus_resume(struct usb_hcd *hcd) in u132_bus_resume() argument
2952 struct u132 *u132 = hcd_to_u132(hcd); in u132_bus_resume()
2995 struct usb_hcd *hcd = platform_get_drvdata(pdev); in u132_remove() local
2996 if (hcd) { in u132_remove()
2997 struct u132 *u132 = hcd_to_u132(hcd); in u132_remove()
3022 usb_remove_hcd(hcd); in u132_remove()
3089 struct usb_hcd *hcd; in u132_probe() local
3112 hcd = usb_create_hcd(&u132_hc_driver, &pdev->dev, dev_name(&pdev->dev)); in u132_probe()
3113 if (!hcd) { in u132_probe()
3119 struct u132 *u132 = hcd_to_u132(hcd); in u132_probe()
3121 hcd->rsrc_start = 0; in u132_probe()
3128 hcd->product_desc = "ELAN U132 Host Controller"; in u132_probe()
3129 retval = usb_add_hcd(hcd, 0, 0); in u132_probe()
3136 device_wakeup_enable(hcd->self.controller); in u132_probe()
3151 struct usb_hcd *hcd = platform_get_drvdata(pdev); in u132_suspend() local
3152 struct u132 *u132 = hcd_to_u132(hcd); in u132_suspend()
3165 retval = u132_bus_suspend(hcd); in u132_suspend()
3181 struct usb_hcd *hcd = platform_get_drvdata(pdev); in u132_resume() local
3182 struct u132 *u132 = hcd_to_u132(hcd); in u132_resume()
3199 retval = u132_bus_resume(hcd); in u132_resume()