Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/host/
H A 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()
H A 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()
H A 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()
H A Duhci-hcd.c142 uhci->port_c_suspend = uhci->resuming_ports = 0; in finish_reset()
741 uhci->resuming_ports) { in uhci_rh_suspend()
H A Dehci-hcd.c264 ehci->resuming_ports = 0; in ehci_reset()
833 set_bit(i, &ehci->resuming_ports); in ehci_irq()
H A Duhci-hcd.h434 unsigned long resuming_ports; member
H A Dehci.h191 unsigned long resuming_ports; /* which ports have member
H A 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()
H A Dxhci.h1460 unsigned long resuming_ports; member
H A Dxhci-ring.c2049 } else if (!test_bit(hcd_portnum, &bus_state->resuming_ports)) { in handle_port_status()
2053 set_bit(hcd_portnum, &bus_state->resuming_ports); in handle_port_status()
H A Dxhci.c222 xhci->usb2_rhub.bus_state.resuming_ports = 0; in xhci_reset()
225 xhci->usb3_rhub.bus_state.resuming_ports = 0; in xhci_reset()
/openbmc/linux/drivers/usb/fotg210/
H A Dfotg210-hcd.h159 unsigned long resuming_ports; member
H A Dfotg210-hcd.c952 fotg210->resuming_ports = 0; in fotg210_reset()
1403 status = fotg210->resuming_ports; in fotg210_hub_status_data()
1589 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1607 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1635 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1666 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
5211 set_bit(0, &fotg210->resuming_ports); in fotg210_irq()
/openbmc/linux/drivers/usb/core/
H A 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()
H A Dhub.c3953 unsigned long resuming_ports; in report_wakeup_requests() local
3970 resuming_ports = hcd->driver->get_resuming_ports(hcd); in report_wakeup_requests()
3972 if (test_bit(i, &resuming_ports)) { in report_wakeup_requests()
/openbmc/linux/include/linux/
H A Dusb.h489 unsigned resuming_ports; /* bit array: resuming root-hub ports */ member