Home
last modified time | relevance | path

Searched refs:bus_state (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/usb/host/
H A Dxhci.c237 xhci->usb2_rhub.bus_state.port_c_suspend = 0; in xhci_reset()
238 xhci->usb2_rhub.bus_state.suspended_ports = 0; in xhci_reset()
239 xhci->usb2_rhub.bus_state.resuming_ports = 0; in xhci_reset()
240 xhci->usb3_rhub.bus_state.port_c_suspend = 0; in xhci_reset()
241 xhci->usb3_rhub.bus_state.suspended_ports = 0; in xhci_reset()
242 xhci->usb3_rhub.bus_state.resuming_ports = 0; in xhci_reset()
1098 if (time_before(jiffies, xhci->usb2_rhub.bus_state.next_statechange) || in xhci_resume()
1099 time_before(jiffies, xhci->usb3_rhub.bus_state.next_statechange)) in xhci_resume()
1254 if (xhci->usb3_rhub.bus_state.suspended_ports || xhci->usb3_rhub.bus_state.bus_suspended) in xhci_resume()
H A Dxhci-ring.c1999 struct xhci_bus_state *bus_state; in handle_port_status() local
2035 bus_state = &port->rhub->bus_state; in handle_port_status()
2071 bus_state->port_remote_wakeup |= 1 << hcd_portnum; in handle_port_status()
2080 } else if (!test_bit(hcd_portnum, &bus_state->resuming_ports)) { in handle_port_status()
2084 set_bit(hcd_portnum, &bus_state->resuming_ports); in handle_port_status()
2113 if (bus_state->port_remote_wakeup & (1 << hcd_portnum)) { in handle_port_status()