Searched refs:resuming_ports (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/usb/host/ |
H A D | uhci-hub.c | 104 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 D | ehci-hub.c | 239 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 D | xhci-hub.c | 958 if (test_bit(wIndex, &bus_state->resuming_ports)) { in xhci_handle_usb2_port_link_resume() 972 set_bit(wIndex, &bus_state->resuming_ports); in xhci_handle_usb2_port_link_resume() 985 clear_bit(wIndex, &bus_state->resuming_ports); in xhci_handle_usb2_port_link_resume() 1137 test_bit(portnum, &bus_state->resuming_ports)) { in xhci_get_usb2_port_status() 1139 clear_bit(portnum, &bus_state->resuming_ports); in xhci_get_usb2_port_status() 1579 set_bit(wIndex, &bus_state->resuming_ports); in xhci_hub_control() 1586 clear_bit(wIndex, &bus_state->resuming_ports); in xhci_hub_control() 1669 status = bus_state->resuming_ports; in xhci_hub_status_data() 1737 if (bus_state->resuming_ports || /* USB2 */ in xhci_bus_suspend() 1992 return rhub->bus_state.resuming_ports; /* USB2 ports only */ in xhci_get_resuming_ports()
|
H A D | uhci-hcd.c | 142 uhci->port_c_suspend = uhci->resuming_ports = 0; in finish_reset() 741 uhci->resuming_ports) { in uhci_rh_suspend()
|
H A D | uhci-hcd.h | 434 unsigned long resuming_ports; member
|
H A D | xhci.h | 1436 unsigned long resuming_ports; member
|
H A D | xhci-ring.c | 2033 } else if (!test_bit(hcd_portnum, &bus_state->resuming_ports)) { in handle_port_status() 2037 set_bit(hcd_portnum, &bus_state->resuming_ports); in handle_port_status()
|
H A D | xhci.c | 247 xhci->usb2_rhub.bus_state.resuming_ports = 0; in xhci_reset() 250 xhci->usb3_rhub.bus_state.resuming_ports = 0; in xhci_reset()
|
/linux/drivers/usb/fotg210/ |
H A D | fotg210-hcd.h | 159 unsigned long resuming_ports; member
|
H A D | fotg210-hcd.c | 948 fotg210->resuming_ports = 0; in fotg210_reset() 1399 status = fotg210->resuming_ports; in fotg210_hub_status_data() 1585 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control() 1603 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control() 1631 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control() 1662 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control() 5207 set_bit(0, &fotg210->resuming_ports); in fotg210_irq()
|
/linux/drivers/usb/core/ |
H A D | hcd.c | 1027 if (!(bus->resuming_ports & bit)) { in usb_hcd_start_port_resume() 1028 bus->resuming_ports |= bit; in usb_hcd_start_port_resume() 1049 if (bus->resuming_ports & bit) { in usb_hcd_end_port_resume() 1050 bus->resuming_ports &= ~bit; in usb_hcd_end_port_resume()
|
H A D | hub.c | 3986 unsigned long resuming_ports; in report_wakeup_requests() local 4003 resuming_ports = hcd->driver->get_resuming_ports(hcd); in report_wakeup_requests() 4005 if (test_bit(i, &resuming_ports)) { in report_wakeup_requests()
|