Lines Matching refs:slot_cap
955 ctrl_dbg(ctrl, "Slot Capabilities : 0x%08x\n", ctrl->slot_cap); in dbg_ctrl()
981 u32 slot_cap, slot_cap2; in pcie_init() local
992 pcie_capability_read_dword(pdev, PCI_EXP_SLTCAP, &slot_cap); in pcie_init()
995 slot_cap &= ~(PCI_EXP_SLTCAP_AIP | PCI_EXP_SLTCAP_PIP); in pcie_init()
1002 slot_cap |= PCI_EXP_SLTCAP_NCCS; in pcie_init()
1004 ctrl->slot_cap = slot_cap; in pcie_init()
1034 FIELD_GET(PCI_EXP_SLTCAP_PSN, slot_cap), in pcie_init()
1035 FLAG(slot_cap, PCI_EXP_SLTCAP_ABP), in pcie_init()
1036 FLAG(slot_cap, PCI_EXP_SLTCAP_PCP), in pcie_init()
1037 FLAG(slot_cap, PCI_EXP_SLTCAP_MRLSP), in pcie_init()
1038 FLAG(slot_cap, PCI_EXP_SLTCAP_AIP), in pcie_init()
1039 FLAG(slot_cap, PCI_EXP_SLTCAP_PIP), in pcie_init()
1040 FLAG(slot_cap, PCI_EXP_SLTCAP_HPC), in pcie_init()
1041 FLAG(slot_cap, PCI_EXP_SLTCAP_HPS), in pcie_init()
1042 FLAG(slot_cap, PCI_EXP_SLTCAP_EIP), in pcie_init()
1043 FLAG(slot_cap, PCI_EXP_SLTCAP_NCCS), in pcie_init()
1076 u32 slot_cap; in quirk_cmd_compl() local
1079 pcie_capability_read_dword(pdev, PCI_EXP_SLTCAP, &slot_cap); in quirk_cmd_compl()
1080 if (slot_cap & PCI_EXP_SLTCAP_HPC && in quirk_cmd_compl()
1081 !(slot_cap & PCI_EXP_SLTCAP_NCCS)) in quirk_cmd_compl()