Home
last modified time | relevance | path

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

/drivers/usb/host/
Dohci-q.c51 ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs--; in finish_urb()
52 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0 in finish_urb()
57 ohci_to_hcd(ohci)->self.bandwidth_int_reqs--; in finish_urb()
66 usb_hcd_unlink_urb_from_ep(ohci_to_hcd(ohci), urb); in finish_urb()
68 usb_hcd_giveback_urb(ohci_to_hcd(ohci), urb, status); in finish_urb()
72 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0 in finish_urb()
73 && ohci_to_hcd(ohci)->self.bandwidth_int_reqs == 0) { in finish_urb()
156 ohci_to_hcd(ohci)->self.bandwidth_allocated += ed->load / ed->interval; in periodic_link()
270 ohci_to_hcd(ohci)->self.bandwidth_allocated -= ed->load / ed->interval; in periodic_unlink()
614 periodic = ohci_to_hcd(ohci)->self.bandwidth_int_reqs++ == 0 in td_submit_urb()
[all …]
Dohci-omap.c170 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()
518 ohci_to_hcd(ohci)->state = HC_STATE_SUSPENDED; in ohci_omap_suspend()
Dohci.h456 static inline struct usb_hcd *ohci_to_hcd (const struct ohci_hcd *ohci) in ohci_to_hcd() function
468 dev_dbg (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
470 dev_err (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
472 dev_info (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
474 dev_warn (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
685 ohci_to_hcd(ohci)->state = HC_STATE_HALT; in disable()
Dohci-mem.c38 ohci_to_hcd(ohci)->self.controller, in ohci_mem_init()
45 ohci_to_hcd(ohci)->self.controller, in ohci_mem_init()
Dohci-hub.c94 if (ohci_to_hcd(ohci)->self.root_hub->do_remote_wakeup || autostop) { in ohci_rh_suspend()
133 struct usb_hcd *hcd = ohci_to_hcd (ohci); in ohci_rh_resume()
387 !device_may_wakeup(&ohci_to_hcd(ohci) in ohci_root_hub_state_changes()
421 usb_hcd_resume_root_hub(ohci_to_hcd(ohci)); in ohci_root_hub_state_changes()
425 !ohci_to_hcd(ohci)->self.root_hub-> in ohci_root_hub_state_changes()
Dohci-ppc-soc.c133 err("can't start %s", ohci_to_hcd(ohci)->self.bus_name); in ohci_ppc_soc_start()
Dohci-ppc-of.c32 err("can't start %s", ohci_to_hcd(ohci)->self.bus_name); in ohci_ppc_of_start()
Dohci-sm501.c226 ohci_to_hcd(ohci)->state = HC_STATE_SUSPENDED; in ohci_sm501_suspend()
Dohci-hcd.c498 struct usb_hcd *hcd = ohci_to_hcd(ohci); in ohci_init()
576 struct usb_hcd *hcd = ohci_to_hcd(ohci); in ohci_run()
Dohci-dbg.c700 ohci_to_hcd(ohci)->poll_rh ? "ON" : "off"); in fill_registers_buffer()
812 struct usb_bus *bus = &ohci_to_hcd(ohci)->self; in create_debug_files()