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