/linux/drivers/infiniband/hw/hfi1/ |
A D | aspm.c | 35 pcie_capability_read_dword(dd->pcidev, PCI_EXP_LNKCAP, &dn); in aspm_hw_l1_supported() 38 pcie_capability_read_dword(parent, PCI_EXP_LNKCAP, &up); in aspm_hw_l1_supported()
|
A D | pcie.c | 257 ret = pcie_capability_read_dword(dd->pcidev, PCI_EXP_LNKCAP, &linkcap); in pcie_speeds()
|
/linux/drivers/pci/controller/dwc/ |
A D | pcie-qcom-ep.c | 315 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCAP); in qcom_pcie_perst_deassert() 318 dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, val); in qcom_pcie_perst_deassert() 322 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCAP); in qcom_pcie_perst_deassert() 325 dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, val); in qcom_pcie_perst_deassert()
|
A D | pci-imx6.c | 774 tmp = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCAP); in imx6_pcie_start_link() 777 dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, tmp); in imx6_pcie_start_link() 788 tmp = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCAP); in imx6_pcie_start_link() 791 dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, tmp); in imx6_pcie_start_link()
|
A D | pcie-designware.c | 558 cap = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCAP); in dw_pcie_link_set_max_speed() 585 dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, cap | link_speed); in dw_pcie_link_set_max_speed()
|
A D | pcie-qcom.c | 1116 val = readl(pci->dbi_base + offset + PCI_EXP_LNKCAP); in qcom_pcie_init_2_3_3() 1118 writel(val, pci->dbi_base + offset + PCI_EXP_LNKCAP); in qcom_pcie_init_2_3_3()
|
A D | pcie-tegra194.c | 887 val = dw_pcie_readl_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKCAP); in tegra_pcie_dw_host_init() 890 dw_pcie_writel_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKCAP, val); in tegra_pcie_dw_host_init()
|
/linux/drivers/pci/pcie/ |
A D | aspm.c | 179 pcie_capability_read_dword(child, PCI_EXP_LNKCAP, ®32); in pcie_clkpm_cap_init() 563 pcie_capability_read_dword(parent, PCI_EXP_LNKCAP, &parent_lnkcap); in pcie_aspm_cap_init() 564 pcie_capability_read_dword(child, PCI_EXP_LNKCAP, &child_lnkcap); in pcie_aspm_cap_init() 577 pcie_capability_read_dword(parent, PCI_EXP_LNKCAP, &parent_lnkcap); in pcie_aspm_cap_init() 578 pcie_capability_read_dword(child, PCI_EXP_LNKCAP, &child_lnkcap); in pcie_aspm_cap_init()
|
A D | portdrv_core.c | 260 pcie_capability_read_dword(dev, PCI_EXP_LNKCAP, &linkcap); in get_port_device_capability()
|
/linux/tools/testing/cxl/ |
A D | mock_acpi.c | 54 if (pci_read_config_dword(pdev, pci_pcie_cap(pdev) + PCI_EXP_LNKCAP, in match_add_root_port()
|
/linux/drivers/media/pci/cobalt/ |
A D | cobalt-driver.c | 208 pcie_capability_read_dword(pci_dev, PCI_EXP_LNKCAP, &capa); in cobalt_pcie_status_show() 220 pcie_capability_read_dword(pci_bus_dev, PCI_EXP_LNKCAP, &capa); in cobalt_pcie_status_show() 252 pcie_capability_read_dword(pci_dev, PCI_EXP_LNKCAP, &link); in pcie_bus_link_get_lanes()
|
/linux/drivers/pci/ |
A D | pci-bridge-emul.c | 195 [PCI_EXP_LNKCAP / 4] = {
|
A D | access.c | 374 case PCI_EXP_LNKCAP: in pcie_capability_reg_implemented()
|
/linux/drivers/net/wwan/iosm/ |
A D | iosm_ipc_pcie.c | 190 pcie_capability_read_dword(pdev, PCI_EXP_LNKCAP, &cap); in ipc_pcie_check_aspm_supported()
|
/linux/drivers/pci/controller/ |
A D | pci-mvebu.c | 450 case PCI_EXP_LNKCAP: in mvebu_pci_bridge_emul_pcie_conf_read() 455 *value = mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_LNKCAP) & in mvebu_pci_bridge_emul_pcie_conf_read()
|
A D | pcie-brcmstb.c | 413 u32 lnkcap = readl(pcie->base + BRCM_PCIE_CAP_REGS + PCI_EXP_LNKCAP); in brcm_pcie_set_gen() 416 writel(lnkcap, pcie->base + BRCM_PCIE_CAP_REGS + PCI_EXP_LNKCAP); in brcm_pcie_set_gen()
|
A D | pcie-altera.c | 611 altera_read_cap_word(pcie, pcie->root_bus_nr, RP_DEVFN, PCI_EXP_LNKCAP, in altera_pcie_retrain()
|
A D | pcie-rcar-host.c | 392 rcar_rmw32(pcie, REXPCAP(PCI_EXP_LNKCAP), PCI_EXP_LNKCAP_DLLLARC, in rcar_pcie_hw_init()
|
/linux/drivers/cxl/ |
A D | acpi.c | 223 if (pci_read_config_dword(pdev, pci_pcie_cap(pdev) + PCI_EXP_LNKCAP, in match_add_root_ports()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | fw_reset.c | 279 err = pci_read_config_dword(bridge, cap + PCI_EXP_LNKCAP, ®32); in mlx5_pci_link_toggle()
|
/linux/drivers/pci/controller/cadence/ |
A D | pcie-cadence-host.c | 109 PCI_EXP_LNKCAP)); in cdns_pcie_retrain()
|
/linux/arch/powerpc/kernel/ |
A D | eeh_pe.c | 673 eeh_ops->read_config(edev, cap + PCI_EXP_LNKCAP, 4, &val); in eeh_bridge_check_link()
|
/linux/include/uapi/linux/ |
A D | pci_regs.h | 533 #define PCI_EXP_LNKCAP 12 /* Link Capabilities */ macro
|
/linux/drivers/pci/hotplug/ |
A D | pciehp_hpc.c | 1014 pcie_capability_read_dword(pdev, PCI_EXP_LNKCAP, &link_cap); in pcie_init()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | cik.c | 1804 pcie_capability_read_dword(root, PCI_EXP_LNKCAP, &lnkcap); in cik_program_aspm()
|