Searched refs:ohci_to_hcd (Results 1 – 11 of 11) sorted by relevance
/linux-3.4.99/drivers/usb/host/ |
D | ohci-omap.c | 170 const unsigned port = ohci_to_hcd(ohci)->self.otg_port - 1; in start_hnp() 199 ohci_to_hcd(ohci)->self.otg_port = config->otg; in ohci_omap_init() 201 ohci_to_hcd(ohci)->power_budget = 8; in ohci_omap_init() 216 &ohci_to_hcd(ohci)->self); in ohci_omap_init() 251 ohci_to_hcd(ohci)->power_budget = 250; in ohci_omap_init() 268 ohci_to_hcd(ohci)->power_budget = 0; in ohci_omap_init()
|
D | ohci-q.c | 52 ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs--; in finish_urb() 53 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0) { in finish_urb() 61 ohci_to_hcd(ohci)->self.bandwidth_int_reqs--; in finish_urb() 70 usb_hcd_unlink_urb_from_ep(ohci_to_hcd(ohci), urb); in finish_urb() 72 usb_hcd_giveback_urb(ohci_to_hcd(ohci), urb, status); in finish_urb() 76 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0 in finish_urb() 77 && ohci_to_hcd(ohci)->self.bandwidth_int_reqs == 0) { in finish_urb() 160 ohci_to_hcd(ohci)->self.bandwidth_allocated += ed->load / ed->interval; in periodic_link() 274 ohci_to_hcd(ohci)->self.bandwidth_allocated -= ed->load / ed->interval; in periodic_unlink() 618 periodic = ohci_to_hcd(ohci)->self.bandwidth_int_reqs++ == 0 in td_submit_urb() [all …]
|
D | ohci-mem.c | 38 ohci_to_hcd(ohci)->self.controller, in ohci_mem_init() 45 ohci_to_hcd(ohci)->self.controller, in ohci_mem_init()
|
D | ohci.h | 472 static inline struct usb_hcd *ohci_to_hcd (const struct ohci_hcd *ohci) in ohci_to_hcd() function 484 dev_dbg (ohci_to_hcd(ohci)->self.controller , fmt , ## args ) 486 dev_err (ohci_to_hcd(ohci)->self.controller , fmt , ## args ) 488 dev_info (ohci_to_hcd(ohci)->self.controller , fmt , ## args ) 490 dev_warn (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
|
D | ohci-hub.c | 94 if (ohci_to_hcd(ohci)->self.root_hub->do_remote_wakeup || autostop) { in ohci_rh_suspend() 134 struct usb_hcd *hcd = ohci_to_hcd (ohci); in ohci_rh_resume() 388 !device_may_wakeup(&ohci_to_hcd(ohci) in ohci_root_hub_state_changes() 422 usb_hcd_resume_root_hub(ohci_to_hcd(ohci)); in ohci_root_hub_state_changes() 426 !ohci_to_hcd(ohci)->self.root_hub-> in ohci_root_hub_state_changes()
|
D | ohci-ppc-soc.c | 133 err("can't start %s", ohci_to_hcd(ohci)->self.bus_name); in ohci_ppc_soc_start()
|
D | ohci-pxa27x.c | 241 pxa3xx_u2d_start_hc(&ohci_to_hcd(&ohci->ohci)->self); in pxa27x_start_hc() 260 pxa3xx_u2d_stop_hc(&ohci_to_hcd(&ohci->ohci)->self); in pxa27x_stop_hc()
|
D | ohci-ppc-of.c | 32 err("can't start %s", ohci_to_hcd(ohci)->self.bus_name); in ohci_ppc_of_start()
|
D | ohci-dbg.c | 655 hcd = ohci_to_hcd(ohci); in fill_registers_buffer() 715 HCD_POLL_RH(ohci_to_hcd(ohci)) ? "ON" : "off"); in fill_registers_buffer() 827 struct usb_bus *bus = &ohci_to_hcd(ohci)->self; in create_debug_files()
|
D | ohci-pci.c | 183 pdev = to_pci_dev(ohci_to_hcd(ohci)->self.controller); in sb800_prefetch()
|
D | ohci-hcd.c | 498 struct usb_hcd *hcd = ohci_to_hcd(ohci); in ohci_init() 576 struct usb_hcd *hcd = ohci_to_hcd(ohci); in ohci_run()
|