Searched refs:bus_state (Results 1 – 6 of 6) sorted by relevance
930 struct xhci_bus_state *bus_state; in xhci_handle_usb2_port_link_resume() local937 bus_state = &port->rhub->bus_state; in xhci_handle_usb2_port_link_resume()947 if (test_bit(wIndex, &bus_state->resuming_ports)) { in xhci_handle_usb2_port_link_resume()961 set_bit(wIndex, &bus_state->resuming_ports); in xhci_handle_usb2_port_link_resume()974 clear_bit(wIndex, &bus_state->resuming_ports); in xhci_handle_usb2_port_link_resume()1010 bus_state->port_c_suspend |= 1 << wIndex; in xhci_handle_usb2_port_link_resume()1011 bus_state->suspended_ports &= ~(1 << wIndex); in xhci_handle_usb2_port_link_resume()1036 struct xhci_bus_state *bus_state; in xhci_get_usb3_port_status() local1042 bus_state = &port->rhub->bus_state; in xhci_get_usb3_port_status()1073 if (bus_state->port_remote_wakeup & (1 << portnum)) { in xhci_get_usb3_port_status()[all …]
1985 struct xhci_bus_state *bus_state = &xhci->usb2_rhub.bus_state; in tegra_xusb_check_ports() local1989 if (bus_state->bus_suspended) { in tegra_xusb_check_ports()2695 struct xhci_bus_state *bus_state; in tegra_xhci_hub_control() local2704 bus_state = &rhub->bus_state; in tegra_xhci_hub_control()2705 if (bus_state->resuming_ports && hcd->speed == HCD_USB2) { in tegra_xhci_hub_control()2709 if (!test_bit(i, &bus_state->resuming_ports)) in tegra_xhci_hub_control()
220 xhci->usb2_rhub.bus_state.port_c_suspend = 0; in xhci_reset()221 xhci->usb2_rhub.bus_state.suspended_ports = 0; in xhci_reset()222 xhci->usb2_rhub.bus_state.resuming_ports = 0; in xhci_reset()223 xhci->usb3_rhub.bus_state.port_c_suspend = 0; in xhci_reset()224 xhci->usb3_rhub.bus_state.suspended_ports = 0; in xhci_reset()225 xhci->usb3_rhub.bus_state.resuming_ports = 0; in xhci_reset()982 if (time_before(jiffies, xhci->usb2_rhub.bus_state.next_statechange) || in xhci_resume()983 time_before(jiffies, xhci->usb3_rhub.bus_state.next_statechange)) in xhci_resume()1132 if (xhci->usb3_rhub.bus_state.suspended_ports || in xhci_resume()1133 xhci->usb3_rhub.bus_state.bus_suspended) in xhci_resume()
1969 struct xhci_bus_state *bus_state; in handle_port_status() local2004 bus_state = &port->rhub->bus_state; in handle_port_status()2040 bus_state->port_remote_wakeup |= 1 << hcd_portnum; in handle_port_status()2049 } else if (!test_bit(hcd_portnum, &bus_state->resuming_ports)) { in handle_port_status()2053 set_bit(hcd_portnum, &bus_state->resuming_ports); in handle_port_status()2083 if (bus_state->port_remote_wakeup & (1 << hcd_portnum)) { in handle_port_status()
1932 xhci->usb2_rhub.bus_state.bus_suspended = 0; in xhci_mem_cleanup() 1933 xhci->usb3_rhub.bus_state.bus_suspended = 0; in xhci_mem_cleanup()
1506 struct xhci_bus_state bus_state; member