Searched refs:bus_state (Results 1 – 6 of 6) sorted by relevance
948 bus_state = &port->rhub->bus_state; in xhci_handle_usb2_port_link_resume()1051 bus_state = &port->rhub->bus_state; in xhci_get_usb3_port_status()1101 bus_state = &port->rhub->bus_state; in xhci_get_usb2_port_status()1227 bus_state = &rhub->bus_state; in xhci_hub_control()1657 bus_state = &rhub->bus_state; in xhci_hub_status_data()1731 bus_state = &rhub->bus_state; in xhci_bus_suspend()1749 bus_state->bus_suspended = 0; in xhci_bus_suspend()1774 bus_state->bus_suspended = 0; in xhci_bus_suspend()1782 bus_state->bus_suspended = 0; in xhci_bus_suspend()1839 if (bus_state->bus_suspended) in xhci_bus_suspend()[all …]
1989 struct xhci_bus_state *bus_state = &xhci->usb2_rhub.bus_state; in tegra_xusb_check_ports() local1993 if (bus_state->bus_suspended) { in tegra_xusb_check_ports()2699 struct xhci_bus_state *bus_state; in tegra_xhci_hub_control() local2708 bus_state = &rhub->bus_state; in tegra_xhci_hub_control()2709 if (bus_state->resuming_ports && hcd->speed == HCD_USB2) { in tegra_xhci_hub_control()2713 if (!test_bit(i, &bus_state->resuming_ports)) in tegra_xhci_hub_control()
245 xhci->usb2_rhub.bus_state.port_c_suspend = 0; in xhci_reset()246 xhci->usb2_rhub.bus_state.suspended_ports = 0; in xhci_reset()247 xhci->usb2_rhub.bus_state.resuming_ports = 0; in xhci_reset()248 xhci->usb3_rhub.bus_state.port_c_suspend = 0; in xhci_reset()249 xhci->usb3_rhub.bus_state.suspended_ports = 0; in xhci_reset()250 xhci->usb3_rhub.bus_state.resuming_ports = 0; in xhci_reset()1013 if (time_before(jiffies, xhci->usb2_rhub.bus_state.next_statechange) || in xhci_resume()1014 time_before(jiffies, xhci->usb3_rhub.bus_state.next_statechange)) in xhci_resume()1163 if (xhci->usb3_rhub.bus_state.suspended_ports || in xhci_resume()1164 xhci->usb3_rhub.bus_state.bus_suspended) in xhci_resume()
1986 struct xhci_bus_state *bus_state; in handle_port_status() local2020 bus_state = &port->rhub->bus_state; in handle_port_status()2055 bus_state->port_remote_wakeup |= 1 << hcd_portnum; in handle_port_status()2064 } else if (!test_bit(hcd_portnum, &bus_state->resuming_ports)) { in handle_port_status()2068 set_bit(hcd_portnum, &bus_state->resuming_ports); in handle_port_status()2097 if (bus_state->port_remote_wakeup & (1 << hcd_portnum)) { in handle_port_status()
1956 xhci->usb2_rhub.bus_state.bus_suspended = 0; in xhci_mem_cleanup()1957 xhci->usb3_rhub.bus_state.bus_suspended = 0; in xhci_mem_cleanup()
1490 struct xhci_bus_state bus_state; member