Searched refs:ohci_to_hcd (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/drivers/usb/host/ |
D | ohci-q.c | 44 struct device *dev = ohci_to_hcd(ohci)->self.controller; in finish_urb() 58 ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs--; in finish_urb() 59 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0) { in finish_urb() 67 ohci_to_hcd(ohci)->self.bandwidth_int_reqs--; in finish_urb() 72 usb_hcd_unlink_urb_from_ep(ohci_to_hcd(ohci), urb); in finish_urb() 74 usb_hcd_giveback_urb(ohci_to_hcd(ohci), urb, status); in finish_urb() 78 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0 in finish_urb() 79 && ohci_to_hcd(ohci)->self.bandwidth_int_reqs == 0) { in finish_urb() 177 ohci_to_hcd(ohci)->self.bandwidth_allocated += ed->load / ed->interval; in periodic_link() 287 ohci_to_hcd(ohci)->self.bandwidth_allocated -= ed->load / ed->interval; in periodic_unlink() [all …]
|
D | ohci-omap.c | 178 struct usb_hcd *hcd = ohci_to_hcd(ohci); in start_hnp() 226 &ohci_to_hcd(ohci)->self); in ohci_omap_reset() 266 ohci_to_hcd(ohci)->power_budget = 250; in ohci_omap_reset() 283 ohci_to_hcd(ohci)->power_budget = 0; in ohci_omap_reset()
|
D | ohci-mem.c | 39 ohci_to_hcd(ohci)->self.controller, in ohci_mem_init() 46 ohci_to_hcd(ohci)->self.controller, in ohci_mem_init()
|
D | ohci.h | 482 static inline struct usb_hcd *ohci_to_hcd (const struct ohci_hcd *ohci) in ohci_to_hcd() function 490 dev_dbg (ohci_to_hcd(ohci)->self.controller , fmt , ## args ) 492 dev_err (ohci_to_hcd(ohci)->self.controller , fmt , ## args ) 494 dev_info (ohci_to_hcd(ohci)->self.controller , fmt , ## args ) 496 dev_warn (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
|
D | ohci-hub.c | 112 if (ohci_to_hcd(ohci)->self.root_hub->do_remote_wakeup || autostop) { in ohci_rh_suspend() 152 struct usb_hcd *hcd = ohci_to_hcd (ohci); in ohci_rh_resume() 367 !device_may_wakeup(&ohci_to_hcd(ohci) in ohci_root_hub_state_changes() 401 usb_hcd_resume_root_hub(ohci_to_hcd(ohci)); in ohci_root_hub_state_changes() 405 !ohci_to_hcd(ohci)->self.root_hub-> in ohci_root_hub_state_changes()
|
D | ohci-dbg.c | 589 hcd = ohci_to_hcd(ohci); in fill_registers_buffer() 649 HCD_POLL_RH(ohci_to_hcd(ohci)) ? "ON" : "off"); in fill_registers_buffer() 761 struct usb_bus *bus = &ohci_to_hcd(ohci)->self; in create_debug_files()
|
D | ohci-hcd.c | 443 struct usb_hcd *hcd = ohci_to_hcd(ohci); in ohci_init() 528 struct usb_hcd *hcd = ohci_to_hcd(ohci); in ohci_run() 749 usb_hc_died(ohci_to_hcd(ohci)); in io_watchdog_func() 751 ohci_shutdown(ohci_to_hcd(ohci)); in io_watchdog_func()
|