Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/usb/host/
Dxhci-hub.c548 struct xhci_bus_state *bus_state; in xhci_hub_control() local
553 bus_state = &xhci->bus_state[hcd_index(hcd)]; in xhci_hub_control()
630 bus_state->resume_done[wIndex])) { in xhci_hub_control()
633 bus_state->resume_done[wIndex] = 0; in xhci_hub_control()
634 clear_bit(wIndex, &bus_state->resuming_ports); in xhci_hub_control()
646 bus_state->port_c_suspend |= 1 << wIndex; in xhci_hub_control()
647 bus_state->suspended_ports &= ~(1 << wIndex); in xhci_hub_control()
660 && (bus_state->suspended_ports & (1 << wIndex))) { in xhci_hub_control()
661 bus_state->suspended_ports &= ~(1 << wIndex); in xhci_hub_control()
663 bus_state->port_c_suspend |= 1 << wIndex; in xhci_hub_control()
[all …]
Dxhci-ring.c1607 struct xhci_bus_state *bus_state; in handle_port_status() local
1656 bus_state = &xhci->bus_state[hcd_index(hcd)]; in handle_port_status()
1686 bus_state->port_remote_wakeup |= 1 << faked_port_index; in handle_port_status()
1698 bus_state->resume_done[faked_port_index] = jiffies + in handle_port_status()
1700 set_bit(faked_port_index, &bus_state->resuming_ports); in handle_port_status()
1702 bus_state->resume_done[faked_port_index]); in handle_port_status()
1721 if (bus_state->port_remote_wakeup & (1 << faked_port_index)) { in handle_port_status()
1722 bus_state->port_remote_wakeup &= in handle_port_status()
Dxhci-mem.c1884 xhci->bus_state[0].bus_suspended = 0; in xhci_mem_cleanup()
1885 xhci->bus_state[1].bus_suspended = 0; in xhci_mem_cleanup()
2457 xhci->bus_state[0].resume_done[i] = 0; in xhci_mem_init()
2458 xhci->bus_state[1].resume_done[i] = 0; in xhci_mem_init()
Dxhci.c184 xhci->bus_state[i].port_c_suspend = 0; in xhci_reset()
185 xhci->bus_state[i].suspended_ports = 0; in xhci_reset()
186 xhci->bus_state[i].resuming_ports = 0; in xhci_reset()
975 if (time_before(jiffies, xhci->bus_state[0].next_statechange) || in xhci_resume()
977 xhci->bus_state[1].next_statechange)) in xhci_resume()
Dxhci.h1517 struct xhci_bus_state bus_state[2]; member