Home
last modified time | relevance | path

Searched refs:resuming_ports (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.10/drivers/usb/host/
Duhci-hub.c104 if (test_bit(port, &uhci->resuming_ports)) in uhci_finish_suspend()
118 clear_bit(port, &uhci->resuming_ports); in uhci_finish_suspend()
165 if (!test_bit(port, &uhci->resuming_ports)) { in uhci_check_ports()
168 set_bit(port, &uhci->resuming_ports); in uhci_check_ports()
204 if (status || uhci->resuming_ports) { in uhci_hub_status_data()
290 if (test_bit(port, &uhci->resuming_ports)) in uhci_hub_control()
372 &uhci->resuming_ports)) { in uhci_hub_control()
Dehci-hub.c239 if (ehci->resuming_ports) { in ehci_bus_suspend()
518 return ehci->resuming_ports; in ehci_get_resuming_ports()
635 status = ehci->resuming_ports; in ehci_hub_status_data()
684 if (ehci->resuming_ports) in ehci_hub_status_data()
964 set_bit(wIndex, &ehci->resuming_ports); in ehci_hub_control()
1041 set_bit(wIndex, &ehci->resuming_ports); in ehci_hub_control()
1052 } else if (test_bit(wIndex, &ehci->resuming_ports)) { in ehci_hub_control()
1061 clear_bit(wIndex, &ehci->resuming_ports); in ehci_hub_control()
1128 clear_bit(wIndex, &ehci->resuming_ports); in ehci_hub_control()
Dxhci-hub.c841 if (test_bit(wIndex, &bus_state->resuming_ports)) { in xhci_handle_usb2_port_link_resume()
855 set_bit(wIndex, &bus_state->resuming_ports); in xhci_handle_usb2_port_link_resume()
868 clear_bit(wIndex, &bus_state->resuming_ports); in xhci_handle_usb2_port_link_resume()
1004 clear_bit(portnum, &bus_state->resuming_ports); in xhci_get_usb2_port_status()
1076 test_bit(wIndex, &bus_state->resuming_ports)) && in xhci_get_port_status()
1080 clear_bit(wIndex, &bus_state->resuming_ports); in xhci_get_port_status()
1463 set_bit(wIndex, &bus_state->resuming_ports); in xhci_hub_control()
1472 clear_bit(wIndex, &bus_state->resuming_ports); in xhci_hub_control()
1555 status = bus_state->resuming_ports; in xhci_hub_status_data()
1612 if (bus_state->resuming_ports || /* USB2 */ in xhci_bus_suspend()
[all …]
Dehci-tegra.c253 set_bit(wIndex-1, &ehci->resuming_ports); in tegra_ehci_hub_control()
266 clear_bit(wIndex-1, &ehci->resuming_ports); in tegra_ehci_hub_control()
Duhci-hcd.c142 uhci->port_c_suspend = uhci->resuming_ports = 0; in finish_reset()
743 uhci->resuming_ports) { in uhci_rh_suspend()
Dfotg210.h159 unsigned long resuming_ports; member
Duhci-hcd.h438 unsigned long resuming_ports; member
Dehci-hcd.c263 ehci->resuming_ports = 0; in ehci_reset()
804 set_bit(i, &ehci->resuming_ports); in ehci_irq()
Dehci.h191 unsigned long resuming_ports; /* which ports have member
Dfotg210-hcd.c955 fotg210->resuming_ports = 0; in fotg210_reset()
1406 status = fotg210->resuming_ports; in fotg210_hub_status_data()
1592 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1610 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1638 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1669 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
5218 set_bit(0, &fotg210->resuming_ports); in fotg210_irq()
Dxhci-ring.c1679 } else if (!test_bit(hcd_portnum, &bus_state->resuming_ports)) { in handle_port_status()
1683 set_bit(hcd_portnum, &bus_state->resuming_ports); in handle_port_status()
Dxhci.h1693 unsigned long resuming_ports; member
Dxhci.c218 xhci->usb2_rhub.bus_state.resuming_ports = 0; in xhci_reset()
221 xhci->usb3_rhub.bus_state.resuming_ports = 0; in xhci_reset()
/Linux-v5.10/drivers/usb/core/
Dhcd.c1042 if (!(bus->resuming_ports & bit)) { in usb_hcd_start_port_resume()
1043 bus->resuming_ports |= bit; in usb_hcd_start_port_resume()
1064 if (bus->resuming_ports & bit) { in usb_hcd_end_port_resume()
1065 bus->resuming_ports &= ~bit; in usb_hcd_end_port_resume()
Dhub.c3774 unsigned long resuming_ports; in report_wakeup_requests() local
3791 resuming_ports = hcd->driver->get_resuming_ports(hcd); in report_wakeup_requests()
3793 if (test_bit(i, &resuming_ports)) { in report_wakeup_requests()
/Linux-v5.10/include/linux/
Dusb.h462 unsigned resuming_ports; /* bit array: resuming root-hub ports */ member