Lines Matching refs:psi
112 u32 ssp_cap_base, bm_attrib, psi, psi_mant, psi_exp; in xhci_create_usb3_bos_desc() local
137 psi = port_cap->psi[i]; in xhci_create_usb3_bos_desc()
138 psi &= ~USB_SSP_SUBLINK_SPEED_RSVD; in xhci_create_usb3_bos_desc()
139 psi_exp = XHCI_EXT_PORT_PSIE(psi); in xhci_create_usb3_bos_desc()
140 psi_mant = XHCI_EXT_PORT_PSIM(psi); in xhci_create_usb3_bos_desc()
146 psi |= BIT(14); in xhci_create_usb3_bos_desc()
148 if ((psi & PLT_MASK) == PLT_SYM) { in xhci_create_usb3_bos_desc()
150 put_unaligned_le32(psi, &buf[offset]); in xhci_create_usb3_bos_desc()
151 psi |= 1 << 7; /* turn entry to TX */ in xhci_create_usb3_bos_desc()
155 } else if ((psi & PLT_MASK) == PLT_ASYM_RX) { in xhci_create_usb3_bos_desc()
157 psi ^= PLT_MASK; in xhci_create_usb3_bos_desc()
159 put_unaligned_le32(psi, &buf[offset]); in xhci_create_usb3_bos_desc()