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()
1867 struct xhci_bus_state *bus_state; in handle_port_status() local1902 bus_state = &port->rhub->bus_state; in handle_port_status()1938 bus_state->port_remote_wakeup |= 1 << hcd_portnum; in handle_port_status()1947 } else if (!test_bit(hcd_portnum, &bus_state->resuming_ports)) { in handle_port_status()1951 set_bit(hcd_portnum, &bus_state->resuming_ports); in handle_port_status()1981 if (bus_state->port_remote_wakeup & (1 << hcd_portnum)) { in handle_port_status()
219 xhci->usb2_rhub.bus_state.port_c_suspend = 0; in xhci_reset()220 xhci->usb2_rhub.bus_state.suspended_ports = 0; in xhci_reset()221 xhci->usb2_rhub.bus_state.resuming_ports = 0; in xhci_reset()222 xhci->usb3_rhub.bus_state.port_c_suspend = 0; in xhci_reset()223 xhci->usb3_rhub.bus_state.suspended_ports = 0; in xhci_reset()224 xhci->usb3_rhub.bus_state.resuming_ports = 0; in xhci_reset()980 if (time_before(jiffies, xhci->usb2_rhub.bus_state.next_statechange) || in xhci_resume()981 time_before(jiffies, xhci->usb3_rhub.bus_state.next_statechange)) in xhci_resume()
1930 xhci->usb2_rhub.bus_state.bus_suspended = 0; in xhci_mem_cleanup()1931 xhci->usb3_rhub.bus_state.bus_suspended = 0; in xhci_mem_cleanup()
1753 struct xhci_bus_state bus_state; member