Home
last modified time | relevance | path

Searched refs:lnkcap (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/pci/
H A Dpci-bridge-emul.h50 __le32 lnkcap; member
/linux/drivers/cxl/core/
H A Dpci.c30 u32 lnkcap; in pci_get_port_num() local
38 &lnkcap)) in pci_get_port_num()
41 return FIELD_GET(PCI_EXP_LNKCAP_PN, lnkcap); in pci_get_port_num()
/linux/drivers/pci/controller/
H A Dpci-mvebu.c251 u32 ctrl, lnkcap, cmd, dev_rev, unmask, sspl; in mvebu_pcie_setup_hw() local
265 lnkcap = mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_LNKCAP); in mvebu_pcie_setup_hw()
266 FIELD_MODIFY(PCI_EXP_LNKCAP_MLW, &lnkcap, port->is_x4 ? 4 : 1); in mvebu_pcie_setup_hw()
267 mvebu_writel(port, lnkcap, PCIE_CAP_PCIEXP + PCI_EXP_LNKCAP); in mvebu_pcie_setup_hw()
H A Dpcie-brcmstb.c478 u32 lnkcap = readl(pcie->base + PCIE_RC_CFG_PRIV1_LINK_CAPABILITY); in brcm_pcie_set_gen() local
480 u32p_replace_bits(&lnkcap, gen, PCI_EXP_LNKCAP_SLS); in brcm_pcie_set_gen()
481 writel(lnkcap, pcie->base + PCIE_RC_CFG_PRIV1_LINK_CAPABILITY); in brcm_pcie_set_gen()