Searched refs:ohci_to_hcd (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/drivers/usb/host/ |
D | ohci-mem.c | 43 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()
|
D | ohci-q.c | 45 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() 178 ohci_to_hcd(ohci)->self.bandwidth_allocated += ed->load / ed->interval; in periodic_link() 289 ohci_to_hcd(ohci)->self.bandwidth_allocated -= ed->load / ed->interval; in periodic_unlink() [all …]
|
D | ohci-omap.c | 74 struct usb_hcd *hcd = ohci_to_hcd(ohci); in start_hnp() 123 &ohci_to_hcd(ohci)->self); in ohci_omap_reset() 161 ohci_to_hcd(ohci)->power_budget = 250; in ohci_omap_reset() 176 ohci_to_hcd(ohci)->power_budget = 0; in ohci_omap_reset()
|
D | ohci.h | 483 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 )
|
D | ohci-hub.c | 116 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()
|
D | ohci-dbg.c | 592 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()
|
D | ohci-hcd.c | 455 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()
|