bus_state         820 drivers/usb/host/xhci-hub.c 	struct xhci_bus_state *bus_state;
bus_state         827 drivers/usb/host/xhci-hub.c 	bus_state = &port->rhub->bus_state;
bus_state         836 drivers/usb/host/xhci-hub.c 	if (!bus_state->resume_done[wIndex]) {
bus_state         838 drivers/usb/host/xhci-hub.c 		if (test_bit(wIndex, &bus_state->resuming_ports)) {
bus_state         852 drivers/usb/host/xhci-hub.c 			set_bit(wIndex, &bus_state->resuming_ports);
bus_state         853 drivers/usb/host/xhci-hub.c 			bus_state->resume_done[wIndex] = timeout;
bus_state         858 drivers/usb/host/xhci-hub.c 	} else if (time_after_eq(jiffies, bus_state->resume_done[wIndex])) {
bus_state         864 drivers/usb/host/xhci-hub.c 		bus_state->resume_done[wIndex] = 0;
bus_state         865 drivers/usb/host/xhci-hub.c 		clear_bit(wIndex, &bus_state->resuming_ports);
bus_state         867 drivers/usb/host/xhci-hub.c 		set_bit(wIndex, &bus_state->rexit_ports);
bus_state         874 drivers/usb/host/xhci-hub.c 			&bus_state->rexit_done[wIndex],
bus_state         893 drivers/usb/host/xhci-hub.c 			clear_bit(wIndex, &bus_state->rexit_ports);
bus_state         897 drivers/usb/host/xhci-hub.c 		bus_state->port_c_suspend |= 1 << wIndex;
bus_state         898 drivers/usb/host/xhci-hub.c 		bus_state->suspended_ports &= ~(1 << wIndex);
bus_state         930 drivers/usb/host/xhci-hub.c 	struct xhci_bus_state *bus_state;
bus_state         936 drivers/usb/host/xhci-hub.c 	bus_state = &port->rhub->bus_state;
bus_state         963 drivers/usb/host/xhci-hub.c 			bus_state->suspended_ports &= ~(1 << portnum);
bus_state         967 drivers/usb/host/xhci-hub.c 	if (bus_state->port_remote_wakeup & (1 << portnum) &&
bus_state         970 drivers/usb/host/xhci-hub.c 		bus_state->port_remote_wakeup &= ~(1 << portnum);
bus_state         981 drivers/usb/host/xhci-hub.c 	struct xhci_bus_state *bus_state;
bus_state         986 drivers/usb/host/xhci-hub.c 	bus_state = &port->rhub->bus_state;
bus_state        1000 drivers/usb/host/xhci-hub.c 			bus_state->resume_done[portnum] = 0;
bus_state        1001 drivers/usb/host/xhci-hub.c 			clear_bit(portnum, &bus_state->resuming_ports);
bus_state        1002 drivers/usb/host/xhci-hub.c 			if (bus_state->suspended_ports & (1 << portnum)) {
bus_state        1003 drivers/usb/host/xhci-hub.c 				bus_state->suspended_ports &= ~(1 << portnum);
bus_state        1004 drivers/usb/host/xhci-hub.c 				bus_state->port_c_suspend |= 1 << portnum;
bus_state        1027 drivers/usb/host/xhci-hub.c 		struct xhci_bus_state *bus_state,
bus_state        1072 drivers/usb/host/xhci-hub.c 	if ((bus_state->resume_done[wIndex] ||
bus_state        1073 drivers/usb/host/xhci-hub.c 	     test_bit(wIndex, &bus_state->resuming_ports)) &&
bus_state        1076 drivers/usb/host/xhci-hub.c 		bus_state->resume_done[wIndex] = 0;
bus_state        1077 drivers/usb/host/xhci-hub.c 		clear_bit(wIndex, &bus_state->resuming_ports);
bus_state        1081 drivers/usb/host/xhci-hub.c 	if (bus_state->port_c_suspend & (1 << wIndex))
bus_state        1096 drivers/usb/host/xhci-hub.c 	struct xhci_bus_state *bus_state;
bus_state        1107 drivers/usb/host/xhci-hub.c 	bus_state = &rhub->bus_state;
bus_state        1151 drivers/usb/host/xhci-hub.c 		status = xhci_get_port_status(hcd, bus_state, wIndex, temp,
bus_state        1236 drivers/usb/host/xhci-hub.c 			bus_state->suspended_ports |= 1 << wIndex;
bus_state        1328 drivers/usb/host/xhci-hub.c 					reinit_completion(&bus_state->u3exit_done[wIndex]);
bus_state        1339 drivers/usb/host/xhci-hub.c 				if (!wait_for_completion_timeout(&bus_state->u3exit_done[wIndex],
bus_state        1370 drivers/usb/host/xhci-hub.c 				bus_state->suspended_ports |= 1 << wIndex;
bus_state        1456 drivers/usb/host/xhci-hub.c 				set_bit(wIndex, &bus_state->resuming_ports);
bus_state        1465 drivers/usb/host/xhci-hub.c 				clear_bit(wIndex, &bus_state->resuming_ports);
bus_state        1468 drivers/usb/host/xhci-hub.c 			bus_state->port_c_suspend |= 1 << wIndex;
bus_state        1479 drivers/usb/host/xhci-hub.c 			bus_state->port_c_suspend &= ~(1 << wIndex);
bus_state        1530 drivers/usb/host/xhci-hub.c 	struct xhci_bus_state *bus_state;
bus_state        1538 drivers/usb/host/xhci-hub.c 	bus_state = &rhub->bus_state;
bus_state        1548 drivers/usb/host/xhci-hub.c 	status = bus_state->resuming_ports;
bus_state        1564 drivers/usb/host/xhci-hub.c 			(bus_state->port_c_suspend & 1 << i) ||
bus_state        1565 drivers/usb/host/xhci-hub.c 			(bus_state->resume_done[i] && time_after_eq(
bus_state        1566 drivers/usb/host/xhci-hub.c 			    jiffies, bus_state->resume_done[i]))) {
bus_state        1589 drivers/usb/host/xhci-hub.c 	struct xhci_bus_state *bus_state;
bus_state        1599 drivers/usb/host/xhci-hub.c 	bus_state = &rhub->bus_state;
bus_state        1605 drivers/usb/host/xhci-hub.c 		if (bus_state->resuming_ports ||	/* USB2 */
bus_state        1606 drivers/usb/host/xhci-hub.c 		    bus_state->port_remote_wakeup) {	/* USB3 */
bus_state        1616 drivers/usb/host/xhci-hub.c 	bus_state->bus_suspended = 0;
bus_state        1641 drivers/usb/host/xhci-hub.c 			bus_state->bus_suspended = 0;
bus_state        1649 drivers/usb/host/xhci-hub.c 				bus_state->bus_suspended = 0;
bus_state        1657 drivers/usb/host/xhci-hub.c 			set_bit(port_index, &bus_state->bus_suspended);
bus_state        1691 drivers/usb/host/xhci-hub.c 		if (test_bit(port_index, &bus_state->bus_suspended)) {
bus_state        1705 drivers/usb/host/xhci-hub.c 	bus_state->next_statechange = jiffies + msecs_to_jiffies(10);
bus_state        1741 drivers/usb/host/xhci-hub.c 	struct xhci_bus_state *bus_state;
bus_state        1754 drivers/usb/host/xhci-hub.c 	bus_state = &rhub->bus_state;
bus_state        1756 drivers/usb/host/xhci-hub.c 	if (time_before(jiffies, bus_state->next_statechange))
bus_state        1785 drivers/usb/host/xhci-hub.c 			clear_bit(port_index, &bus_state->bus_suspended);
bus_state        1789 drivers/usb/host/xhci-hub.c 		if (test_bit(port_index, &bus_state->bus_suspended))
bus_state        1802 drivers/usb/host/xhci-hub.c 					  &bus_state->bus_suspended);
bus_state        1812 drivers/usb/host/xhci-hub.c 		if (bus_state->bus_suspended) {
bus_state        1817 drivers/usb/host/xhci-hub.c 		for_each_set_bit(port_index, &bus_state->bus_suspended,
bus_state        1827 drivers/usb/host/xhci-hub.c 	for_each_set_bit(port_index, &bus_state->bus_suspended, BITS_PER_LONG) {
bus_state        1842 drivers/usb/host/xhci-hub.c 	bus_state->next_statechange = jiffies + msecs_to_jiffies(5);
bus_state        1858 drivers/usb/host/xhci-hub.c 	return rhub->bus_state.resuming_ports;	/* USB2 ports only */
bus_state        1935 drivers/usb/host/xhci-mem.c 	xhci->usb2_rhub.bus_state.bus_suspended = 0;
bus_state        1936 drivers/usb/host/xhci-mem.c 	xhci->usb3_rhub.bus_state.bus_suspended = 0;
bus_state        2551 drivers/usb/host/xhci-mem.c 		xhci->usb2_rhub.bus_state.resume_done[i] = 0;
bus_state        2552 drivers/usb/host/xhci-mem.c 		xhci->usb3_rhub.bus_state.resume_done[i] = 0;
bus_state        2554 drivers/usb/host/xhci-mem.c 		init_completion(&xhci->usb2_rhub.bus_state.rexit_done[i]);
bus_state        2555 drivers/usb/host/xhci-mem.c 		init_completion(&xhci->usb3_rhub.bus_state.u3exit_done[i]);
bus_state        1591 drivers/usb/host/xhci-ring.c 	struct xhci_bus_state *bus_state;
bus_state        1626 drivers/usb/host/xhci-ring.c 	bus_state = &port->rhub->bus_state;
bus_state        1662 drivers/usb/host/xhci-ring.c 			bus_state->port_remote_wakeup |= 1 << hcd_portnum;
bus_state        1671 drivers/usb/host/xhci-ring.c 		} else if (!test_bit(hcd_portnum, &bus_state->resuming_ports)) {
bus_state        1673 drivers/usb/host/xhci-ring.c 			bus_state->resume_done[hcd_portnum] = jiffies +
bus_state        1675 drivers/usb/host/xhci-ring.c 			set_bit(hcd_portnum, &bus_state->resuming_ports);
bus_state        1682 drivers/usb/host/xhci-ring.c 				  bus_state->resume_done[hcd_portnum]);
bus_state        1694 drivers/usb/host/xhci-ring.c 		complete(&bus_state->u3exit_done[hcd_portnum]);
bus_state        1705 drivers/usb/host/xhci-ring.c 		if (bus_state->port_remote_wakeup & (1 << hcd_portnum)) {
bus_state        1721 drivers/usb/host/xhci-ring.c 				&bus_state->rexit_ports)) {
bus_state        1722 drivers/usb/host/xhci-ring.c 		complete(&bus_state->rexit_done[hcd_portnum]);
bus_state         216 drivers/usb/host/xhci.c 	xhci->usb2_rhub.bus_state.port_c_suspend = 0;
bus_state         217 drivers/usb/host/xhci.c 	xhci->usb2_rhub.bus_state.suspended_ports = 0;
bus_state         218 drivers/usb/host/xhci.c 	xhci->usb2_rhub.bus_state.resuming_ports = 0;
bus_state         219 drivers/usb/host/xhci.c 	xhci->usb3_rhub.bus_state.port_c_suspend = 0;
bus_state         220 drivers/usb/host/xhci.c 	xhci->usb3_rhub.bus_state.suspended_ports = 0;
bus_state         221 drivers/usb/host/xhci.c 	xhci->usb3_rhub.bus_state.resuming_ports = 0;
bus_state        1096 drivers/usb/host/xhci.c 	if (time_before(jiffies, xhci->usb2_rhub.bus_state.next_statechange) ||
bus_state        1097 drivers/usb/host/xhci.c 	    time_before(jiffies, xhci->usb3_rhub.bus_state.next_statechange))
bus_state        1727 drivers/usb/host/xhci.h 	struct xhci_bus_state   bus_state;