/linux-6.1.9/drivers/pci/controller/dwc/ |
D | pcie-fu740.c | 196 tmp = dw_pcie_readl_dbi(pci, cap_exp + PCI_EXP_LNKCAP); in fu740_pcie_start_link() 200 dw_pcie_writel_dbi(pci, cap_exp + PCI_EXP_LNKCAP, tmp); in fu740_pcie_start_link() 211 tmp = dw_pcie_readl_dbi(pci, cap_exp + PCI_EXP_LNKCAP); in fu740_pcie_start_link() 217 dw_pcie_writel_dbi(pci, cap_exp + PCI_EXP_LNKCAP, tmp); in fu740_pcie_start_link()
|
D | pcie-qcom-ep.c | 376 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCAP); in qcom_pcie_perst_deassert() 379 dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, val); in qcom_pcie_perst_deassert() 383 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCAP); in qcom_pcie_perst_deassert() 386 dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, val); in qcom_pcie_perst_deassert()
|
D | pci-imx6.c | 844 tmp = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCAP); in imx6_pcie_start_link() 847 dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, tmp); in imx6_pcie_start_link() 860 tmp = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCAP); in imx6_pcie_start_link() 863 dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, tmp); in imx6_pcie_start_link()
|
D | pcie-designware.c | 494 cap = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCAP); in dw_pcie_link_set_max_speed() 521 dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, cap | link_speed); in dw_pcie_link_set_max_speed()
|
D | pcie-qcom.c | 1158 val = readl(pci->dbi_base + offset + PCI_EXP_LNKCAP); in qcom_pcie_post_init_2_3_3() 1160 writel(val, pci->dbi_base + offset + PCI_EXP_LNKCAP); in qcom_pcie_post_init_2_3_3() 1396 val = readl(pci->dbi_base + offset + PCI_EXP_LNKCAP); in qcom_pcie_post_init_2_9_0() 1398 writel(val, pci->dbi_base + offset + PCI_EXP_LNKCAP); in qcom_pcie_post_init_2_9_0()
|
D | pcie-tegra194.c | 901 val = dw_pcie_readl_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKCAP); in tegra_pcie_dw_host_init() 904 dw_pcie_writel_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKCAP, val); in tegra_pcie_dw_host_init()
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
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()
|
D | pcie.c | 257 ret = pcie_capability_read_dword(dd->pcidev, PCI_EXP_LNKCAP, &linkcap); in pcie_speeds()
|
/linux-6.1.9/drivers/pci/pcie/ |
D | aspm.c | 180 pcie_capability_read_dword(child, PCI_EXP_LNKCAP, ®32); in pcie_clkpm_cap_init() 421 pcie_capability_read_dword(link->pdev, PCI_EXP_LNKCAP, in pcie_aspm_check_latency() 423 pcie_capability_read_dword(dev, PCI_EXP_LNKCAP, in pcie_aspm_check_latency() 647 pcie_capability_read_dword(parent, PCI_EXP_LNKCAP, &parent_lnkcap); in pcie_aspm_cap_init() 648 pcie_capability_read_dword(child, PCI_EXP_LNKCAP, &child_lnkcap); in pcie_aspm_cap_init() 661 pcie_capability_read_dword(parent, PCI_EXP_LNKCAP, &parent_lnkcap); in pcie_aspm_cap_init() 662 pcie_capability_read_dword(child, PCI_EXP_LNKCAP, &child_lnkcap); in pcie_aspm_cap_init()
|
D | portdrv_core.c | 256 pcie_capability_read_dword(dev, PCI_EXP_LNKCAP, &linkcap); in get_port_device_capability()
|
/linux-6.1.9/drivers/media/pci/cobalt/ |
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-6.1.9/drivers/pci/controller/ |
D | pci-mvebu.c | 265 lnkcap = mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_LNKCAP); in mvebu_pcie_setup_hw() 268 mvebu_writel(port, lnkcap, PCIE_CAP_PCIEXP + PCI_EXP_LNKCAP); in mvebu_pcie_setup_hw() 636 case PCI_EXP_LNKCAP: in mvebu_pci_bridge_emul_pcie_conf_read() 643 *value = (mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_LNKCAP) & in mvebu_pci_bridge_emul_pcie_conf_read()
|
D | pcie-brcmstb.c | 386 u32 lnkcap = readl(pcie->base + BRCM_PCIE_CAP_REGS + PCI_EXP_LNKCAP); in brcm_pcie_set_gen() 389 writel(lnkcap, pcie->base + BRCM_PCIE_CAP_REGS + PCI_EXP_LNKCAP); in brcm_pcie_set_gen()
|
D | pcie-altera.c | 609 altera_read_cap_word(pcie, pcie->root_bus_nr, RP_DEVFN, PCI_EXP_LNKCAP, in altera_pcie_retrain()
|
D | pcie-rcar-host.c | 482 rcar_rmw32(pcie, REXPCAP(PCI_EXP_LNKCAP), PCI_EXP_LNKCAP_DLLLARC, in rcar_pcie_hw_init()
|
/linux-6.1.9/drivers/net/wwan/iosm/ |
D | iosm_ipc_pcie.c | 190 pcie_capability_read_dword(pdev, PCI_EXP_LNKCAP, &cap); in ipc_pcie_check_aspm_supported()
|
/linux-6.1.9/drivers/pci/ |
D | pci-bridge-emul.c | 210 [PCI_EXP_LNKCAP / 4] = {
|
D | access.c | 379 case PCI_EXP_LNKCAP: in pcie_capability_reg_implemented()
|
/linux-6.1.9/drivers/pci/controller/cadence/ |
D | pcie-cadence-host.c | 109 PCI_EXP_LNKCAP)); in cdns_pcie_retrain()
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | eeh_pe.c | 674 eeh_ops->read_config(edev, cap + PCI_EXP_LNKCAP, 4, &val); in eeh_bridge_check_link()
|
/linux-6.1.9/drivers/cxl/core/ |
D | pci.c | 48 if (pci_read_config_dword(pdev, pci_pcie_cap(pdev) + PCI_EXP_LNKCAP, in match_add_dports()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fw_reset.c | 336 err = pci_read_config_dword(bridge, cap + PCI_EXP_LNKCAP, ®32); in mlx5_pci_link_toggle()
|
/linux-6.1.9/include/uapi/linux/ |
D | pci_regs.h | 533 #define PCI_EXP_LNKCAP 0x0c /* Link Capabilities */ macro
|
/linux-6.1.9/drivers/pci/hotplug/ |
D | pciehp_hpc.c | 1032 pcie_capability_read_dword(pdev, PCI_EXP_LNKCAP, &link_cap); in pcie_init()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | cik.c | 1808 pcie_capability_read_dword(root, PCI_EXP_LNKCAP, &lnkcap); in cik_program_aspm()
|