Lines Matching refs:port_index
889 int port_index; in xhci_disable_port_wake_on_bits() local
896 port_index = xhci->usb3_rhub.num_ports; in xhci_disable_port_wake_on_bits()
898 while (port_index--) { in xhci_disable_port_wake_on_bits()
899 t1 = readl(ports[port_index]->addr); in xhci_disable_port_wake_on_bits()
904 writel(t2, ports[port_index]->addr); in xhci_disable_port_wake_on_bits()
907 port_index + 1, portsc, t2); in xhci_disable_port_wake_on_bits()
912 port_index = xhci->usb2_rhub.num_ports; in xhci_disable_port_wake_on_bits()
914 while (port_index--) { in xhci_disable_port_wake_on_bits()
915 t1 = readl(ports[port_index]->addr); in xhci_disable_port_wake_on_bits()
920 writel(t2, ports[port_index]->addr); in xhci_disable_port_wake_on_bits()
923 port_index + 1, portsc, t2); in xhci_disable_port_wake_on_bits()
932 int port_index; in xhci_pending_portevent() local
945 port_index = xhci->usb2_rhub.num_ports; in xhci_pending_portevent()
947 while (port_index--) { in xhci_pending_portevent()
948 portsc = readl(ports[port_index]->addr); in xhci_pending_portevent()
953 port_index = xhci->usb3_rhub.num_ports; in xhci_pending_portevent()
955 while (port_index--) { in xhci_pending_portevent()
956 portsc = readl(ports[port_index]->addr); in xhci_pending_portevent()
2439 unsigned int port_index = virt_dev->real_port - 1; in xhci_check_bw_table() local
2446 xhci->rh_bw[port_index].num_active_tts; in xhci_check_bw_table()