Lines Matching refs:port_cap

1964 	struct xhci_port_cap *port_cap;  in xhci_add_in_port()  local
2011 port_cap = &xhci->port_caps[xhci->num_port_caps++]; in xhci_add_in_port()
2015 port_cap->psi_count = XHCI_EXT_PORT_PSIC(temp); in xhci_add_in_port()
2017 if (port_cap->psi_count) { in xhci_add_in_port()
2018 port_cap->psi = kcalloc_node(port_cap->psi_count, in xhci_add_in_port()
2019 sizeof(*port_cap->psi), in xhci_add_in_port()
2021 if (!port_cap->psi) in xhci_add_in_port()
2022 port_cap->psi_count = 0; in xhci_add_in_port()
2024 port_cap->psi_uid_count++; in xhci_add_in_port()
2025 for (i = 0; i < port_cap->psi_count; i++) { in xhci_add_in_port()
2026 port_cap->psi[i] = readl(addr + 4 + i); in xhci_add_in_port()
2031 if (i && (XHCI_EXT_PORT_PSIV(port_cap->psi[i]) != in xhci_add_in_port()
2032 XHCI_EXT_PORT_PSIV(port_cap->psi[i - 1]))) in xhci_add_in_port()
2033 port_cap->psi_uid_count++; in xhci_add_in_port()
2037 XHCI_EXT_PORT_PSIV(port_cap->psi[i]) >= 5) in xhci_add_in_port()
2041 XHCI_EXT_PORT_PSIV(port_cap->psi[i]), in xhci_add_in_port()
2042 XHCI_EXT_PORT_PSIE(port_cap->psi[i]), in xhci_add_in_port()
2043 XHCI_EXT_PORT_PLT(port_cap->psi[i]), in xhci_add_in_port()
2044 XHCI_EXT_PORT_PFD(port_cap->psi[i]), in xhci_add_in_port()
2045 XHCI_EXT_PORT_LP(port_cap->psi[i]), in xhci_add_in_port()
2046 XHCI_EXT_PORT_PSIM(port_cap->psi[i])); in xhci_add_in_port()
2055 port_cap->maj_rev = major_revision; in xhci_add_in_port()
2056 port_cap->min_rev = minor_revision; in xhci_add_in_port()
2088 hw_port->port_cap = port_cap; in xhci_add_in_port()