Searched refs:slot_cap (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/pci/hotplug/
H A Dpciehp.h94 u32 slot_cap; member in struct:controller
117 #define ATTN_BUTTN(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_ABP)
118 #define POWER_CTRL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PCP)
119 #define MRL_SENS(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_MRLSP)
120 #define ATTN_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_AIP)
121 #define PWR_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PIP)
122 #define HP_SUPR_RM(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_HPS)
123 #define EMI(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_EIP)
124 #define NO_CMD_CMPL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_NCCS)
125 #define PSN(ctrl) (((ctrl)->slot_cap & PCI_EXP_SLTCAP_PSN) >> 19)
H A Dpciehp_hpc.c781 ctrl_info(ctrl, "Slot Capabilities : 0x%08x\n", ctrl->slot_cap); dbg_ctrl()
793 u32 slot_cap, link_cap; pcie_init() local
802 pcie_capability_read_dword(pdev, PCI_EXP_SLTCAP, &slot_cap); pcie_init()
803 ctrl->slot_cap = slot_cap; pcie_init()
820 (slot_cap & PCI_EXP_SLTCAP_PSN) >> 19, pcie_init()
821 FLAG(slot_cap, PCI_EXP_SLTCAP_ABP), pcie_init()
822 FLAG(slot_cap, PCI_EXP_SLTCAP_PCP), pcie_init()
823 FLAG(slot_cap, PCI_EXP_SLTCAP_MRLSP), pcie_init()
824 FLAG(slot_cap, PCI_EXP_SLTCAP_AIP), pcie_init()
825 FLAG(slot_cap, PCI_EXP_SLTCAP_PIP), pcie_init()
826 FLAG(slot_cap, PCI_EXP_SLTCAP_HPC), pcie_init()
827 FLAG(slot_cap, PCI_EXP_SLTCAP_HPS), pcie_init()
828 FLAG(slot_cap, PCI_EXP_SLTCAP_EIP), pcie_init()
829 FLAG(slot_cap, PCI_EXP_SLTCAP_NCCS), pcie_init()
H A Dibmphp_ebda.c215 debug ("%s - cap of the slot: %x\n", __func__, hpc_ptr->slots[index].slot_cap); print_ebda_hpc()
798 slot_ptr->slot_cap = readb (io_mem + addr_slot + 3*slot_num); ebda_rsrc_controller()
927 tmp_slot->capabilities = hpc_ptr->slots[index].slot_cap; ebda_rsrc_controller()
928 if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_133_MAX) == EBDA_SLOT_133_MAX) ebda_rsrc_controller()
930 else if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_100_MAX) == EBDA_SLOT_100_MAX) ebda_rsrc_controller()
932 else if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_66_MAX) == EBDA_SLOT_66_MAX) ebda_rsrc_controller()
935 if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_PCIX_CAP) == EBDA_SLOT_PCIX_CAP) ebda_rsrc_controller()
H A Dibmphp.h185 u8 slot_cap; member in struct:ebda_hpc_slot
/linux-4.4.14/drivers/media/pci/bt8xx/
H A Ddst_ca.c239 u8 slot_cap[256]; ca_get_slot_caps() local
243 if ((dst_put_ci(state, slot_command, sizeof (slot_command), slot_cap, GET_REPLY)) < 0) { ca_get_slot_caps()
251 dprintk(verbose, DST_CA_INFO, 1, " Slot cap = [%d]", slot_cap[7]); ca_get_slot_caps()
253 for (i = 0; i < slot_cap[0] + 1; i++) ca_get_slot_caps()
254 dprintk(verbose, DST_CA_INFO, 0, " %d", slot_cap[i]); ca_get_slot_caps()
259 p_ca_caps->descr_num = slot_cap[7]; ca_get_slot_caps()

Completed in 167 milliseconds