Home
last modified time | relevance | path

Searched refs:ohci_to_hcd (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/usb/host/
H A Dohci-mem.c43 if (ohci_to_hcd(ohci)->localmem_pool) in ohci_mem_init()
47 ohci_to_hcd(ohci)->self.controller, in ohci_mem_init()
54 ohci_to_hcd(ohci)->self.controller, in ohci_mem_init()
94 struct usb_hcd *hcd = ohci_to_hcd(hc); in td_alloc()
114 struct usb_hcd *hcd = ohci_to_hcd(hc); in td_free()
138 struct usb_hcd *hcd = ohci_to_hcd(hc); in ed_alloc()
155 struct usb_hcd *hcd = ohci_to_hcd(hc); in ed_free()
H A Dohci-q.c45 struct device *dev = ohci_to_hcd(ohci)->self.controller; in finish_urb()
59 ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs--; in finish_urb()
60 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0) { in finish_urb()
68 ohci_to_hcd(ohci)->self.bandwidth_int_reqs--; in finish_urb()
73 usb_hcd_unlink_urb_from_ep(ohci_to_hcd(ohci), urb); in finish_urb()
75 usb_hcd_giveback_urb(ohci_to_hcd(ohci), urb, status); in finish_urb()
79 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0 in finish_urb()
80 && ohci_to_hcd(ohci)->self.bandwidth_int_reqs == 0) { in finish_urb()
596 struct device *dev = ohci_to_hcd(ohci)->self.controller; in td_submit_urb()
649 && ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0; in td_submit_urb()
[all …]
H A Dohci-omap.c72 struct usb_hcd *hcd = ohci_to_hcd(ohci); in start_hnp()
114 &ohci_to_hcd(ohci)->self); in ohci_omap_reset()
151 ohci_to_hcd(ohci)->power_budget = 250; in ohci_omap_reset()
166 ohci_to_hcd(ohci)->power_budget = 0; in ohci_omap_reset()
H A Dohci.h483 static inline struct usb_hcd *ohci_to_hcd (const struct ohci_hcd *ohci) in ohci_to_hcd() function
491 dev_dbg (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
493 dev_err (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
495 dev_info (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
497 dev_warn (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
H A Dohci-hub.c116 if (ohci_to_hcd(ohci)->self.root_hub->do_remote_wakeup || autostop) { in ohci_rh_suspend()
156 struct usb_hcd *hcd = ohci_to_hcd (ohci); in ohci_rh_resume()
373 !device_may_wakeup(&ohci_to_hcd(ohci) in ohci_root_hub_state_changes()
407 usb_hcd_resume_root_hub(ohci_to_hcd(ohci)); in ohci_root_hub_state_changes()
411 !ohci_to_hcd(ohci)->self.root_hub-> in ohci_root_hub_state_changes()
H A Dohci-dbg.c592 hcd = ohci_to_hcd(ohci); in fill_registers_buffer()
652 HCD_POLL_RH(ohci_to_hcd(ohci)) ? "ON" : "off"); in fill_registers_buffer()
764 struct usb_bus *bus = &ohci_to_hcd(ohci)->self; in create_debug_files()
H A Dohci-hcd.c455 struct usb_hcd *hcd = ohci_to_hcd(ohci); in ohci_init()
547 struct usb_hcd *hcd = ohci_to_hcd(ohci); in ohci_run()
772 usb_hc_died(ohci_to_hcd(ohci)); in io_watchdog_func()
774 _ohci_shutdown(ohci_to_hcd(ohci)); in io_watchdog_func()