Searched refs:bus_state (Results 1 – 6 of 6) sorted by relevance
909 struct xhci_bus_state *bus_state; in xhci_handle_usb2_port_link_resume() local916 bus_state = &port->rhub->bus_state; in xhci_handle_usb2_port_link_resume()925 if (!bus_state->resume_done[wIndex]) { in xhci_handle_usb2_port_link_resume()927 if (test_bit(wIndex, &bus_state->resuming_ports)) { in xhci_handle_usb2_port_link_resume()941 set_bit(wIndex, &bus_state->resuming_ports); in xhci_handle_usb2_port_link_resume()942 bus_state->resume_done[wIndex] = timeout; in xhci_handle_usb2_port_link_resume()947 } else if (time_after_eq(jiffies, bus_state->resume_done[wIndex])) { in xhci_handle_usb2_port_link_resume()953 bus_state->resume_done[wIndex] = 0; in xhci_handle_usb2_port_link_resume()954 clear_bit(wIndex, &bus_state->resuming_ports); in xhci_handle_usb2_port_link_resume()956 set_bit(wIndex, &bus_state->rexit_ports); in xhci_handle_usb2_port_link_resume()[all …]
1902 struct xhci_bus_state *bus_state; in handle_port_status() local1937 bus_state = &port->rhub->bus_state; in handle_port_status()1973 bus_state->port_remote_wakeup |= 1 << hcd_portnum; in handle_port_status()1982 } else if (!test_bit(hcd_portnum, &bus_state->resuming_ports)) { in handle_port_status()1984 bus_state->resume_done[hcd_portnum] = jiffies + in handle_port_status()1986 set_bit(hcd_portnum, &bus_state->resuming_ports); in handle_port_status()1993 bus_state->resume_done[hcd_portnum]); in handle_port_status()2005 complete(&bus_state->u3exit_done[hcd_portnum]); in handle_port_status()2016 if (bus_state->port_remote_wakeup & (1 << hcd_portnum)) { in handle_port_status()2032 &bus_state->rexit_ports)) { in handle_port_status()[all …]
1931 xhci->usb2_rhub.bus_state.bus_suspended = 0; in xhci_mem_cleanup()1932 xhci->usb3_rhub.bus_state.bus_suspended = 0; in xhci_mem_cleanup()2561 xhci->usb2_rhub.bus_state.resume_done[i] = 0; in xhci_mem_init()2562 xhci->usb3_rhub.bus_state.resume_done[i] = 0; in xhci_mem_init()2564 init_completion(&xhci->usb2_rhub.bus_state.rexit_done[i]); in xhci_mem_init()2565 init_completion(&xhci->usb3_rhub.bus_state.u3exit_done[i]); in xhci_mem_init()
215 xhci->usb2_rhub.bus_state.port_c_suspend = 0; in xhci_reset()216 xhci->usb2_rhub.bus_state.suspended_ports = 0; in xhci_reset()217 xhci->usb2_rhub.bus_state.resuming_ports = 0; in xhci_reset()218 xhci->usb3_rhub.bus_state.port_c_suspend = 0; in xhci_reset()219 xhci->usb3_rhub.bus_state.suspended_ports = 0; in xhci_reset()220 xhci->usb3_rhub.bus_state.resuming_ports = 0; in xhci_reset()1103 if (time_before(jiffies, xhci->usb2_rhub.bus_state.next_statechange) || in xhci_resume()1104 time_before(jiffies, xhci->usb3_rhub.bus_state.next_statechange)) in xhci_resume()
1815 struct xhci_bus_state *bus_state = &xhci->usb2_rhub.bus_state; in tegra_xusb_check_ports() local1819 if (bus_state->bus_suspended) { in tegra_xusb_check_ports()
1744 struct xhci_bus_state bus_state; member