Home
last modified time | relevance | path

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

/Linux-v6.6/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()
521 return ehci->resuming_ports; in ehci_get_resuming_ports()
638 status = ehci->resuming_ports; in ehci_hub_status_data()
688 if (ehci->resuming_ports) in ehci_hub_status_data()
830 set_bit(wIndex, &ehci->resuming_ports); in ehci_hub_control()
914 set_bit(wIndex, &ehci->resuming_ports); in ehci_hub_control()
925 } else if (test_bit(wIndex, &ehci->resuming_ports)) { in ehci_hub_control()
934 clear_bit(wIndex, &ehci->resuming_ports); in ehci_hub_control()
1001 clear_bit(wIndex, &ehci->resuming_ports); in ehci_hub_control()
Dxhci-hub.c947 if (test_bit(wIndex, &bus_state->resuming_ports)) { in xhci_handle_usb2_port_link_resume()
961 set_bit(wIndex, &bus_state->resuming_ports); in xhci_handle_usb2_port_link_resume()
974 clear_bit(wIndex, &bus_state->resuming_ports); in xhci_handle_usb2_port_link_resume()
1128 test_bit(portnum, &bus_state->resuming_ports)) { in xhci_get_usb2_port_status()
1130 clear_bit(portnum, &bus_state->resuming_ports); in xhci_get_usb2_port_status()
1575 set_bit(wIndex, &bus_state->resuming_ports); in xhci_hub_control()
1582 clear_bit(wIndex, &bus_state->resuming_ports); in xhci_hub_control()
1667 status = bus_state->resuming_ports; in xhci_hub_status_data()
1735 if (bus_state->resuming_ports || /* USB2 */ in xhci_bus_suspend()
1995 return rhub->bus_state.resuming_ports; /* USB2 ports only */ in xhci_get_resuming_ports()
Duhci-hcd.c142 uhci->port_c_suspend = uhci->resuming_ports = 0; in finish_reset()
741 uhci->resuming_ports) { in uhci_rh_suspend()
Duhci-hcd.h434 unsigned long resuming_ports; member
Dehci-hcd.c264 ehci->resuming_ports = 0; in ehci_reset()
833 set_bit(i, &ehci->resuming_ports); in ehci_irq()
Dehci.h191 unsigned long resuming_ports; /* which ports have member
Dxhci-tegra.c2705 if (bus_state->resuming_ports && hcd->speed == HCD_USB2) { in tegra_xhci_hub_control()
2709 if (!test_bit(i, &bus_state->resuming_ports)) in tegra_xhci_hub_control()
Dxhci-ring.c1947 } else if (!test_bit(hcd_portnum, &bus_state->resuming_ports)) { in handle_port_status()
1951 set_bit(hcd_portnum, &bus_state->resuming_ports); in handle_port_status()
Dxhci.h1707 unsigned long resuming_ports; member
Dxhci.c221 xhci->usb2_rhub.bus_state.resuming_ports = 0; in xhci_reset()
224 xhci->usb3_rhub.bus_state.resuming_ports = 0; in xhci_reset()
/Linux-v6.6/drivers/usb/fotg210/
Dfotg210-hcd.h159 unsigned long resuming_ports; 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()
5214 set_bit(0, &fotg210->resuming_ports); in fotg210_irq()
/Linux-v6.6/drivers/usb/core/
Dhcd.c1029 if (!(bus->resuming_ports & bit)) { in usb_hcd_start_port_resume()
1030 bus->resuming_ports |= bit; in usb_hcd_start_port_resume()
1051 if (bus->resuming_ports & bit) { in usb_hcd_end_port_resume()
1052 bus->resuming_ports &= ~bit; in usb_hcd_end_port_resume()
Dhub.c3916 unsigned long resuming_ports; in report_wakeup_requests() local
3933 resuming_ports = hcd->driver->get_resuming_ports(hcd); in report_wakeup_requests()
3935 if (test_bit(i, &resuming_ports)) { in report_wakeup_requests()
/Linux-v6.6/include/linux/
Dusb.h489 unsigned resuming_ports; /* bit array: resuming root-hub ports */ member