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()
569 usb_hcd_giveback_urb(vhci_to_hcd(the_controller), in vhci_urb_enqueue()
627 spin_lock(&the_controller->lock); in vhci_urb_dequeue()
633 spin_unlock(&the_controller->lock); in vhci_urb_dequeue()
642 spin_unlock(&the_controller->lock); in vhci_urb_dequeue()
670 spin_unlock(&the_controller->lock); in vhci_urb_dequeue()
671 usb_hcd_giveback_urb(vhci_to_hcd(the_controller), urb, in vhci_urb_dequeue()
673 spin_lock(&the_controller->lock); in vhci_urb_dequeue()
685 spin_unlock(&the_controller->lock); in vhci_urb_dequeue()
690 unlink->seqnum = atomic_inc_return(&the_controller->seqnum); in vhci_urb_dequeue()
706 spin_unlock(&the_controller->lock); in vhci_urb_dequeue()
716 spin_lock(&the_controller->lock); in vhci_device_unlink_cleanup()
745 usb_hcd_unlink_urb_from_ep(vhci_to_hcd(the_controller), urb); in vhci_device_unlink_cleanup()
750 spin_unlock(&the_controller->lock); in vhci_device_unlink_cleanup()
752 usb_hcd_giveback_urb(vhci_to_hcd(the_controller), urb, in vhci_device_unlink_cleanup()
755 spin_lock(&the_controller->lock); in vhci_device_unlink_cleanup()
762 spin_unlock(&the_controller->lock); in vhci_device_unlink_cleanup()
1014 the_controller = hcd_to_vhci(hcd); in vhci_hcd_probe()
1024 the_controller = NULL; in vhci_hcd_probe()
1047 the_controller = NULL; in vhci_hcd_remove()
1064 spin_lock(&the_controller->lock); in vhci_hcd_suspend()
1067 if (the_controller->port_status[rhport] & in vhci_hcd_suspend()
1071 spin_unlock(&the_controller->lock); in vhci_hcd_suspend()