Home
last modified time | relevance | path

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

/drivers/pci/hotplug/
Dpciehp.h94 u32 slot_cap; member
123 #define ATTN_BUTTN(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_ABP)
124 #define POWER_CTRL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PCP)
125 #define MRL_SENS(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_MRLSP)
126 #define ATTN_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_AIP)
127 #define PWR_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PIP)
128 #define HP_SUPR_RM(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_HPS)
129 #define EMI(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_EIP)
130 #define NO_CMD_CMPL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_NCCS)
131 #define PSN(ctrl) (((ctrl)->slot_cap & PCI_EXP_SLTCAP_PSN) >> 19)
Dpciehp_hpc.c775 ctrl_info(ctrl, "Slot Capabilities : 0x%08x\n", ctrl->slot_cap); in dbg_ctrl()
804 u32 slot_cap, link_cap; in pcie_init() local
813 pcie_capability_read_dword(pdev, PCI_EXP_SLTCAP, &slot_cap); in pcie_init()
814 ctrl->slot_cap = slot_cap; in pcie_init()
833 (slot_cap & PCI_EXP_SLTCAP_PSN) >> 19, in pcie_init()
834 FLAG(slot_cap, PCI_EXP_SLTCAP_ABP), in pcie_init()
835 FLAG(slot_cap, PCI_EXP_SLTCAP_AIP), in pcie_init()
836 FLAG(slot_cap, PCI_EXP_SLTCAP_PIP), in pcie_init()
837 FLAG(slot_cap, PCI_EXP_SLTCAP_PCP), in pcie_init()
838 FLAG(slot_cap, PCI_EXP_SLTCAP_MRLSP), in pcie_init()
[all …]
Dpciehp_acpi.c84 u32 slot_cap; in dummy_probe() local
89 pcie_capability_read_dword(pdev, PCI_EXP_SLTCAP, &slot_cap); in dummy_probe()
93 slot->number = (slot_cap & PCI_EXP_SLTCAP_PSN) >> 19; in dummy_probe()
Dibmphp_ebda.c215 debug ("%s - cap of the slot: %x\n", __func__, hpc_ptr->slots[index].slot_cap); in print_ebda_hpc()
798 slot_ptr->slot_cap = readb (io_mem + addr_slot + 3*slot_num); in ebda_rsrc_controller()
927 tmp_slot->capabilities = hpc_ptr->slots[index].slot_cap; in ebda_rsrc_controller()
928 if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_133_MAX) == EBDA_SLOT_133_MAX) in ebda_rsrc_controller()
930 else if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_100_MAX) == EBDA_SLOT_100_MAX) in ebda_rsrc_controller()
932 else if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_66_MAX) == EBDA_SLOT_66_MAX) in ebda_rsrc_controller()
935 if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_PCIX_CAP) == EBDA_SLOT_PCIX_CAP) in ebda_rsrc_controller()
Dibmphp.h185 u8 slot_cap; member
/drivers/media/pci/bt8xx/
Ddst_ca.c239 u8 slot_cap[256]; in ca_get_slot_caps() local
243 if ((dst_put_ci(state, slot_command, sizeof (slot_command), slot_cap, GET_REPLY)) < 0) { in ca_get_slot_caps()
251 dprintk(verbose, DST_CA_INFO, 1, " Slot cap = [%d]", slot_cap[7]); in ca_get_slot_caps()
253 for (i = 0; i < slot_cap[0] + 1; i++) in ca_get_slot_caps()
254 dprintk(verbose, DST_CA_INFO, 0, " %d", slot_cap[i]); in ca_get_slot_caps()
259 p_ca_caps->descr_num = slot_cap[7]; in ca_get_slot_caps()