Lines Matching refs:slot_cap
860 ctrl_info(ctrl, "Slot Capabilities : 0x%08x\n", ctrl->slot_cap); in dbg_ctrl()
886 u32 slot_cap, link_cap; in pcie_init() local
896 pcie_capability_read_dword(pdev, PCI_EXP_SLTCAP, &slot_cap); in pcie_init()
899 slot_cap &= ~(PCI_EXP_SLTCAP_AIP | PCI_EXP_SLTCAP_PIP); in pcie_init()
906 slot_cap |= PCI_EXP_SLTCAP_NCCS; in pcie_init()
908 ctrl->slot_cap = slot_cap; in pcie_init()
927 (slot_cap & PCI_EXP_SLTCAP_PSN) >> 19, in pcie_init()
928 FLAG(slot_cap, PCI_EXP_SLTCAP_ABP), in pcie_init()
929 FLAG(slot_cap, PCI_EXP_SLTCAP_PCP), in pcie_init()
930 FLAG(slot_cap, PCI_EXP_SLTCAP_MRLSP), in pcie_init()
931 FLAG(slot_cap, PCI_EXP_SLTCAP_AIP), in pcie_init()
932 FLAG(slot_cap, PCI_EXP_SLTCAP_PIP), in pcie_init()
933 FLAG(slot_cap, PCI_EXP_SLTCAP_HPC), in pcie_init()
934 FLAG(slot_cap, PCI_EXP_SLTCAP_HPS), in pcie_init()
935 FLAG(slot_cap, PCI_EXP_SLTCAP_EIP), in pcie_init()
936 FLAG(slot_cap, PCI_EXP_SLTCAP_NCCS), in pcie_init()
972 u32 slot_cap; in quirk_cmd_compl() local
975 pcie_capability_read_dword(pdev, PCI_EXP_SLTCAP, &slot_cap); in quirk_cmd_compl()
976 if (slot_cap & PCI_EXP_SLTCAP_HPC && in quirk_cmd_compl()
977 !(slot_cap & PCI_EXP_SLTCAP_NCCS)) in quirk_cmd_compl()