Lines Matching refs:hcd
22 #include <linux/usb/hcd.h> /* for usbcore internals */
1279 * If @reset_hardware is set then also deallocates hcd/hardware state
1361 struct usb_hcd *hcd = bus_to_hcd(dev->bus);
1364 if (hcd->driver->check_bandwidth) {
1371 mutex_lock(hcd->bandwidth_mutex);
1373 mutex_unlock(hcd->bandwidth_mutex);
1388 * Deallocates hcd/hardware state for the endpoints (nuking all or most
1531 struct usb_hcd *hcd = bus_to_hcd(dev->bus);
1564 mutex_lock(hcd->bandwidth_mutex);
1570 mutex_unlock(hcd->bandwidth_mutex);
1582 mutex_unlock(hcd->bandwidth_mutex);
1607 mutex_unlock(hcd->bandwidth_mutex);
1610 mutex_unlock(hcd->bandwidth_mutex);
1615 * should hcd+usbcore postprocess control requests?
1696 struct usb_hcd *hcd = bus_to_hcd(dev->bus);
1710 mutex_lock(hcd->bandwidth_mutex);
1716 mutex_unlock(hcd->bandwidth_mutex);
1724 mutex_unlock(hcd->bandwidth_mutex);
1734 mutex_unlock(hcd->bandwidth_mutex);
1737 mutex_unlock(hcd->bandwidth_mutex);
1739 /* re-init hc/hcd interface/endpoint state */
2001 struct usb_hcd *hcd = bus_to_hcd(dev->bus);
2077 mutex_lock(hcd->bandwidth_mutex);
2084 mutex_unlock(hcd->bandwidth_mutex);
2092 mutex_unlock(hcd->bandwidth_mutex);
2099 * hc/hcd/usbcore interface/endpoint state.
2111 intf->authorized = !!HCD_INTF_AUTHORIZED(hcd);
2169 mutex_unlock(hcd->bandwidth_mutex);