Home
last modified time | relevance | path

Searched refs:slot_cap (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/drivers/pci/hotplug/
A Dpciehp.h91 u32 slot_cap; /* capabilities and quirks */ member
152 #define ATTN_BUTTN(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_ABP)
153 #define POWER_CTRL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PCP)
154 #define MRL_SENS(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_MRLSP)
155 #define ATTN_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_AIP)
156 #define PWR_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PIP)
157 #define NO_CMD_CMPL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_NCCS)
158 #define PSN(ctrl) (((ctrl)->slot_cap & PCI_EXP_SLTCAP_PSN) >> 19)
A Dpciehp_hpc.c987 u32 slot_cap, slot_cap2, link_cap; in pcie_init() local
1008 slot_cap |= PCI_EXP_SLTCAP_NCCS; in pcie_init()
1010 ctrl->slot_cap = slot_cap; in pcie_init()
1044 FLAG(slot_cap, PCI_EXP_SLTCAP_ABP), in pcie_init()
1045 FLAG(slot_cap, PCI_EXP_SLTCAP_PCP), in pcie_init()
1047 FLAG(slot_cap, PCI_EXP_SLTCAP_AIP), in pcie_init()
1048 FLAG(slot_cap, PCI_EXP_SLTCAP_PIP), in pcie_init()
1049 FLAG(slot_cap, PCI_EXP_SLTCAP_HPC), in pcie_init()
1050 FLAG(slot_cap, PCI_EXP_SLTCAP_HPS), in pcie_init()
1051 FLAG(slot_cap, PCI_EXP_SLTCAP_EIP), in pcie_init()
[all …]
A Dibmphp_ebda.c201 debug("%s - cap of the slot: %x\n", __func__, hpc_ptr->slots[index].slot_cap); in print_ebda_hpc()
735 slot_ptr->slot_cap = readb(io_mem + addr_slot + 3*slot_num); in ebda_rsrc_controller()
851 tmp_slot->capabilities = hpc_ptr->slots[index].slot_cap; in ebda_rsrc_controller()
852 if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_133_MAX) == EBDA_SLOT_133_MAX) in ebda_rsrc_controller()
854 else if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_100_MAX) == EBDA_SLOT_100_MAX) in ebda_rsrc_controller()
856 else if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_66_MAX) == EBDA_SLOT_66_MAX) in ebda_rsrc_controller()
859 if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_PCIX_CAP) == EBDA_SLOT_PCIX_CAP) in ebda_rsrc_controller()
A Dibmphp.h171 u8 slot_cap; member
/linux-6.3-rc2/drivers/media/pci/bt8xx/
A Ddst_ca.c213 u8 slot_cap[256]; in ca_get_slot_caps() local
217 if ((dst_put_ci(state, slot_command, sizeof (slot_command), slot_cap, GET_REPLY)) < 0) { in ca_get_slot_caps()
225 dprintk(verbose, DST_CA_INFO, 1, " Slot cap = [%d]", slot_cap[7]); in ca_get_slot_caps()
227 for (i = 0; i < slot_cap[0] + 1; i++) in ca_get_slot_caps()
228 dprintk(verbose, DST_CA_INFO, 0, " %d", slot_cap[i]); in ca_get_slot_caps()
233 p_ca_caps->descr_num = slot_cap[7]; in ca_get_slot_caps()
/linux-6.3-rc2/drivers/pci/
A Dpci-acpi.c796 u32 slot_cap; in pciehp_is_native() local
801 pcie_capability_read_dword(bridge, PCI_EXP_SLTCAP, &slot_cap); in pciehp_is_native()
802 if (!(slot_cap & PCI_EXP_SLTCAP_HPC)) in pciehp_is_native()

Completed in 27 milliseconds