ehci_to_hcd
struct usb_bus *bus = &ehci_to_hcd(ehci)->self;
pdev = to_pci_dev(ehci_to_hcd(ehci)->self.controller);
&ehci_to_hcd(ehci)->self);
struct usb_hcd *hcd = ehci_to_hcd(ehci);
synchronize_irq(ehci_to_hcd(ehci)->irq);
if (ehci->debug && !dbgp_reset_prep(ehci_to_hcd(ehci)))
dbgp_external_startup(ehci_to_hcd(ehci));
struct usb_hcd *hcd = ehci_to_hcd(ehci);
if (!ehci_to_hcd(ehci)->self.root_hub->do_remote_wakeup || do_wakeup)
usb_hcd_resume_root_hub(ehci_to_hcd(ehci));
struct usb_hcd *hcd = ehci_to_hcd(ehci);
mod_timer(&ehci_to_hcd(ehci)->rh_timer,
dma_free_coherent(ehci_to_hcd(ehci)->self.sysdev,
ehci_to_hcd(ehci)->self.sysdev,
ehci_to_hcd(ehci)->self.sysdev,
ehci_to_hcd(ehci)->self.sysdev,
ehci_to_hcd(ehci)->self.sysdev,
dma_alloc_coherent(ehci_to_hcd(ehci)->self.sysdev,
struct usb_hcd *hcd = ehci_to_hcd(ehci);
if (unlikely(!HCD_HW_ACCESSIBLE(ehci_to_hcd(ehci)))) {
rc = usb_hcd_link_urb_to_ep(ehci_to_hcd(ehci), urb);
usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb);
ehci_to_hcd(ehci)->self.root_hub) {
ehci_to_hcd(ehci)->self.bandwidth_int_reqs--;
usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb);
usb_hcd_giveback_urb(ehci_to_hcd(ehci), urb, status);
if (tt && tt->hub != ehci_to_hcd(ehci)->self.root_hub)
ehci_to_hcd(ehci)->self.root_hub))
ehci_to_hcd(ehci), urb->ep))) {
ehci_to_hcd(ehci)->self.bandwidth_allocated
if (ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs == 0) {
ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs++;
ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs--;
if (ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs == 0) {
ehci_to_hcd(ehci)->self.bandwidth_allocated
if (unlikely(!HCD_HW_ACCESSIBLE(ehci_to_hcd(ehci)))) {
status = usb_hcd_link_urb_to_ep(ehci_to_hcd(ehci), urb);
usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb);
ehci_to_hcd(ehci)->self.bandwidth_allocated
if (ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs == 0) {
ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs++;
ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs--;
if (ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs == 0) {
ehci_to_hcd(ehci)->self.bandwidth_allocated
if (unlikely(!HCD_HW_ACCESSIBLE(ehci_to_hcd(ehci)))) {
status = usb_hcd_link_urb_to_ep(ehci_to_hcd(ehci), urb);
usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb);
ehci_to_hcd(ehci)->self.bandwidth_allocated += qh->ps.bw_period
ehci_to_hcd(ehci)->self.bandwidth_allocated -= qh->ps.bw_period
if (unlikely(!HCD_HW_ACCESSIBLE(ehci_to_hcd(ehci)))) {
status = usb_hcd_link_urb_to_ep(ehci_to_hcd(ehci), urb);
ehci_to_hcd(ehci)->self.bandwidth_int_reqs++;
usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb);
struct device *controller = ehci_to_hcd(ehci)->self.controller;
struct device *controller = ehci_to_hcd(ehci)->self.controller;
#define ehci_is_TDI(e) (ehci_to_hcd(e)->has_tt)
dev_dbg(ehci_to_hcd(ehci)->self.controller, fmt, ## args)
dev_err(ehci_to_hcd(ehci)->self.controller, fmt, ## args)
dev_info(ehci_to_hcd(ehci)->self.controller, fmt, ## args)
dev_warn(ehci_to_hcd(ehci)->self.controller, fmt, ## args)