Searched refs:slot_cap (Results 1 – 5 of 5) sorted by relevance
/linux-4.19.296/drivers/pci/hotplug/ |
D | pciehp.h | 123 u32 slot_cap; member 172 #define ATTN_BUTTN(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_ABP) 173 #define POWER_CTRL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PCP) 174 #define MRL_SENS(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_MRLSP) 175 #define ATTN_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_AIP) 176 #define PWR_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PIP) 177 #define HP_SUPR_RM(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_HPS) 178 #define EMI(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_EIP) 179 #define NO_CMD_CMPL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_NCCS) 180 #define PSN(ctrl) (((ctrl)->slot_cap & PCI_EXP_SLTCAP_PSN) >> 19)
|
D | pciehp_hpc.c | 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() [all …]
|
D | ibmphp_ebda.c | 201 debug("%s - cap of the slot: %x\n", __func__, hpc_ptr->slots[index].slot_cap); in print_ebda_hpc() 765 slot_ptr->slot_cap = readb(io_mem + addr_slot + 3*slot_num); in ebda_rsrc_controller() 894 tmp_slot->capabilities = hpc_ptr->slots[index].slot_cap; in ebda_rsrc_controller() 895 if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_133_MAX) == EBDA_SLOT_133_MAX) in ebda_rsrc_controller() 897 else if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_100_MAX) == EBDA_SLOT_100_MAX) in ebda_rsrc_controller() 899 else if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_66_MAX) == EBDA_SLOT_66_MAX) in ebda_rsrc_controller() 902 if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_PCIX_CAP) == EBDA_SLOT_PCIX_CAP) in ebda_rsrc_controller()
|
D | ibmphp.h | 171 u8 slot_cap; member
|
/linux-4.19.296/drivers/pci/ |
D | pci-acpi.c | 381 u32 slot_cap; in pciehp_is_native() local 386 pcie_capability_read_dword(bridge, PCI_EXP_SLTCAP, &slot_cap); in pciehp_is_native() 387 if (!(slot_cap & PCI_EXP_SLTCAP_HPC)) in pciehp_is_native()
|