Lines Matching refs:the_controller

59 struct vhci_hcd *the_controller;  variable
126 spin_lock(&the_controller->lock); in rh_port_connect()
128 the_controller->port_status[rhport] |= USB_PORT_STAT_CONNECTION in rh_port_connect()
133 the_controller->port_status[rhport] |= USB_PORT_STAT_HIGH_SPEED; in rh_port_connect()
136 the_controller->port_status[rhport] |= USB_PORT_STAT_LOW_SPEED; in rh_port_connect()
142 spin_unlock(&the_controller->lock); in rh_port_connect()
144 usb_hcd_poll_rh_status(vhci_to_hcd(the_controller)); in rh_port_connect()
151 spin_lock(&the_controller->lock); in rh_port_disconnect()
153 the_controller->port_status[rhport] &= ~USB_PORT_STAT_CONNECTION; in rh_port_disconnect()
154 the_controller->port_status[rhport] |= in rh_port_disconnect()
157 spin_unlock(&the_controller->lock); in rh_port_disconnect()
158 usb_hcd_poll_rh_status(vhci_to_hcd(the_controller)); in rh_port_disconnect()
419 if (the_controller->vdev[i].udev == udev) in get_vdev()
443 priv->seqnum = atomic_inc_return(&the_controller->seqnum); in vhci_tx_urb()
471 spin_lock(&the_controller->lock); in vhci_urb_enqueue()
475 spin_unlock(&the_controller->lock); in vhci_urb_enqueue()
487 spin_unlock(&the_controller->lock); in vhci_urb_enqueue()
560 spin_unlock(&the_controller->lock); in vhci_urb_enqueue()
567 spin_unlock(&the_controller->lock); in vhci_urb_enqueue()
568 usb_hcd_giveback_urb(vhci_to_hcd(the_controller), urb, urb->status); in vhci_urb_enqueue()
625 spin_lock(&the_controller->lock); in vhci_urb_dequeue()
631 spin_unlock(&the_controller->lock); in vhci_urb_dequeue()
640 spin_unlock(&the_controller->lock); in vhci_urb_dequeue()
668 spin_unlock(&the_controller->lock); in vhci_urb_dequeue()
669 usb_hcd_giveback_urb(vhci_to_hcd(the_controller), urb, in vhci_urb_dequeue()
671 spin_lock(&the_controller->lock); in vhci_urb_dequeue()
683 spin_unlock(&the_controller->lock); in vhci_urb_dequeue()
688 unlink->seqnum = atomic_inc_return(&the_controller->seqnum); in vhci_urb_dequeue()
704 spin_unlock(&the_controller->lock); in vhci_urb_dequeue()
714 spin_lock(&the_controller->lock); in vhci_device_unlink_cleanup()
743 usb_hcd_unlink_urb_from_ep(vhci_to_hcd(the_controller), urb); in vhci_device_unlink_cleanup()
748 spin_unlock(&the_controller->lock); in vhci_device_unlink_cleanup()
750 usb_hcd_giveback_urb(vhci_to_hcd(the_controller), urb, in vhci_device_unlink_cleanup()
753 spin_lock(&the_controller->lock); in vhci_device_unlink_cleanup()
760 spin_unlock(&the_controller->lock); in vhci_device_unlink_cleanup()
1012 the_controller = hcd_to_vhci(hcd); in vhci_hcd_probe()
1022 the_controller = NULL; in vhci_hcd_probe()
1045 the_controller = NULL; in vhci_hcd_remove()
1062 spin_lock(&the_controller->lock); in vhci_hcd_suspend()
1065 if (the_controller->port_status[rhport] & in vhci_hcd_suspend()
1069 spin_unlock(&the_controller->lock); in vhci_hcd_suspend()