Searched refs:lnkcap (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/pci/ |
| H A D | pci-bridge-emul.h | 50 __le32 lnkcap; member
|
| /linux/drivers/cxl/core/ |
| H A D | pci.c | 30 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 D | pci-mvebu.c | 251 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 D | pcie-brcmstb.c | 478 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()
|