Home
last modified time | relevance | path

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

/Linux-v5.15/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()
687 if (ehci->resuming_ports) in ehci_hub_status_data()
828 set_bit(wIndex, &ehci->resuming_ports); in ehci_hub_control()
905 set_bit(wIndex, &ehci->resuming_ports); in ehci_hub_control()
916 } else if (test_bit(wIndex, &ehci->resuming_ports)) { in ehci_hub_control()
925 clear_bit(wIndex, &ehci->resuming_ports); in ehci_hub_control()
992 clear_bit(wIndex, &ehci->resuming_ports); in ehci_hub_control()
Dxhci-hub.c927 if (test_bit(wIndex, &bus_state->resuming_ports)) { in xhci_handle_usb2_port_link_resume()
941 set_bit(wIndex, &bus_state->resuming_ports); in xhci_handle_usb2_port_link_resume()
954 clear_bit(wIndex, &bus_state->resuming_ports); in xhci_handle_usb2_port_link_resume()
1090 clear_bit(portnum, &bus_state->resuming_ports); in xhci_get_usb2_port_status()
1162 test_bit(wIndex, &bus_state->resuming_ports)) && in xhci_get_port_status()
1166 clear_bit(wIndex, &bus_state->resuming_ports); in xhci_get_port_status()
1549 set_bit(wIndex, &bus_state->resuming_ports); in xhci_hub_control()
1558 clear_bit(wIndex, &bus_state->resuming_ports); in xhci_hub_control()
1643 status = bus_state->resuming_ports; in xhci_hub_status_data()
1700 if (bus_state->resuming_ports || /* USB2 */ in xhci_bus_suspend()
[all …]
Duhci-hcd.c142 uhci->port_c_suspend = uhci->resuming_ports = 0; in finish_reset()
741 uhci->resuming_ports) { in uhci_rh_suspend()
Dfotg210.h159 unsigned long resuming_ports; member
Duhci-hcd.h434 unsigned long resuming_ports; member
Dehci-hcd.c264 ehci->resuming_ports = 0; in ehci_reset()
820 set_bit(i, &ehci->resuming_ports); in ehci_irq()
Dehci.h191 unsigned long resuming_ports; /* which ports have member
Dfotg210-hcd.c956 fotg210->resuming_ports = 0; in fotg210_reset()
1407 status = fotg210->resuming_ports; in fotg210_hub_status_data()
1593 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1611 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1639 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1670 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
5219 set_bit(0, &fotg210->resuming_ports); in fotg210_irq()
Dxhci-ring.c1982 } else if (!test_bit(hcd_portnum, &bus_state->resuming_ports)) { in handle_port_status()
1986 set_bit(hcd_portnum, &bus_state->resuming_ports); in handle_port_status()
Dxhci.h1710 unsigned long resuming_ports; member
Dxhci.c217 xhci->usb2_rhub.bus_state.resuming_ports = 0; in xhci_reset()
220 xhci->usb3_rhub.bus_state.resuming_ports = 0; in xhci_reset()
/Linux-v5.15/drivers/usb/core/
Dhcd.c1043 if (!(bus->resuming_ports & bit)) { in usb_hcd_start_port_resume()
1044 bus->resuming_ports |= bit; in usb_hcd_start_port_resume()
1065 if (bus->resuming_ports & bit) { in usb_hcd_end_port_resume()
1066 bus->resuming_ports &= ~bit; in usb_hcd_end_port_resume()
Dhub.c3852 unsigned long resuming_ports; in report_wakeup_requests() local
3869 resuming_ports = hcd->driver->get_resuming_ports(hcd); in report_wakeup_requests()
3871 if (test_bit(i, &resuming_ports)) { in report_wakeup_requests()
/Linux-v5.15/include/linux/
Dusb.h462 unsigned resuming_ports; /* bit array: resuming root-hub ports */ member