Lines Matching refs:port_index
892 int port_index; in xhci_disable_port_wake_on_bits() local
899 port_index = xhci->usb3_rhub.num_ports; in xhci_disable_port_wake_on_bits()
901 while (port_index--) { in xhci_disable_port_wake_on_bits()
902 t1 = readl(ports[port_index]->addr); in xhci_disable_port_wake_on_bits()
907 writel(t2, ports[port_index]->addr); in xhci_disable_port_wake_on_bits()
910 port_index + 1, portsc, t2); in xhci_disable_port_wake_on_bits()
915 port_index = xhci->usb2_rhub.num_ports; in xhci_disable_port_wake_on_bits()
917 while (port_index--) { in xhci_disable_port_wake_on_bits()
918 t1 = readl(ports[port_index]->addr); in xhci_disable_port_wake_on_bits()
923 writel(t2, ports[port_index]->addr); in xhci_disable_port_wake_on_bits()
926 port_index + 1, portsc, t2); in xhci_disable_port_wake_on_bits()
935 int port_index; in xhci_pending_portevent() local
948 port_index = xhci->usb2_rhub.num_ports; in xhci_pending_portevent()
950 while (port_index--) { in xhci_pending_portevent()
951 portsc = readl(ports[port_index]->addr); in xhci_pending_portevent()
956 port_index = xhci->usb3_rhub.num_ports; in xhci_pending_portevent()
958 while (port_index--) { in xhci_pending_portevent()
959 portsc = readl(ports[port_index]->addr); in xhci_pending_portevent()
2438 unsigned int port_index = virt_dev->real_port - 1; in xhci_check_bw_table() local
2445 xhci->rh_bw[port_index].num_active_tts; in xhci_check_bw_table()