Searched refs:bus_state (Results 1 – 6 of 6) sorted by relevance
934 struct xhci_bus_state *bus_state; in xhci_handle_usb2_port_link_resume() local940 bus_state = &port->rhub->bus_state; in xhci_handle_usb2_port_link_resume()950 if (test_bit(wIndex, &bus_state->resuming_ports)) { in xhci_handle_usb2_port_link_resume()964 set_bit(wIndex, &bus_state->resuming_ports); in xhci_handle_usb2_port_link_resume()977 clear_bit(wIndex, &bus_state->resuming_ports); in xhci_handle_usb2_port_link_resume()1011 bus_state->port_c_suspend |= 1 << wIndex; in xhci_handle_usb2_port_link_resume()1012 bus_state->suspended_ports &= ~(1 << wIndex); in xhci_handle_usb2_port_link_resume()1037 struct xhci_bus_state *bus_state; in xhci_get_usb3_port_status() local1043 bus_state = &port->rhub->bus_state; in xhci_get_usb3_port_status()1074 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()
243 xhci->usb2_rhub.bus_state.port_c_suspend = 0; in xhci_reset()244 xhci->usb2_rhub.bus_state.suspended_ports = 0; in xhci_reset()245 xhci->usb2_rhub.bus_state.resuming_ports = 0; in xhci_reset()246 xhci->usb3_rhub.bus_state.port_c_suspend = 0; in xhci_reset()247 xhci->usb3_rhub.bus_state.suspended_ports = 0; in xhci_reset()248 xhci->usb3_rhub.bus_state.resuming_ports = 0; in xhci_reset()1022 if (time_before(jiffies, xhci->usb2_rhub.bus_state.next_statechange) || in xhci_resume()1023 time_before(jiffies, xhci->usb3_rhub.bus_state.next_statechange)) in xhci_resume()1172 if (xhci->usb3_rhub.bus_state.suspended_ports || in xhci_resume()1173 xhci->usb3_rhub.bus_state.bus_suspended) in xhci_resume()
1901 struct xhci_bus_state *bus_state; in handle_port_status() local1935 bus_state = &port->rhub->bus_state; in handle_port_status()1970 bus_state->port_remote_wakeup |= 1 << hcd_portnum; in handle_port_status()1979 } else if (!test_bit(hcd_portnum, &bus_state->resuming_ports)) { in handle_port_status()1983 set_bit(hcd_portnum, &bus_state->resuming_ports); in handle_port_status()2012 if (bus_state->port_remote_wakeup & (1 << hcd_portnum)) { in handle_port_status()
1963 xhci->usb2_rhub.bus_state.bus_suspended = 0; in xhci_mem_cleanup()1964 xhci->usb3_rhub.bus_state.bus_suspended = 0; in xhci_mem_cleanup()
1475 struct xhci_bus_state bus_state; member