Home
last modified time | relevance | path

Searched refs:PCI_EXP_LNKCAP (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.1.9/drivers/pci/controller/dwc/
Dpcie-fu740.c196 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()
Dpcie-qcom-ep.c376 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()
Dpci-imx6.c844 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()
Dpcie-designware.c494 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()
Dpcie-qcom.c1158 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()
Dpcie-tegra194.c901 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/
Daspm.c35 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()
Dpcie.c257 ret = pcie_capability_read_dword(dd->pcidev, PCI_EXP_LNKCAP, &linkcap); in pcie_speeds()
/linux-6.1.9/drivers/pci/pcie/
Daspm.c180 pcie_capability_read_dword(child, PCI_EXP_LNKCAP, &reg32); 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()
Dportdrv_core.c256 pcie_capability_read_dword(dev, PCI_EXP_LNKCAP, &linkcap); in get_port_device_capability()
/linux-6.1.9/drivers/media/pci/cobalt/
Dcobalt-driver.c208 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/
Dpci-mvebu.c265 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()
Dpcie-brcmstb.c386 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()
Dpcie-altera.c609 altera_read_cap_word(pcie, pcie->root_bus_nr, RP_DEVFN, PCI_EXP_LNKCAP, in altera_pcie_retrain()
Dpcie-rcar-host.c482 rcar_rmw32(pcie, REXPCAP(PCI_EXP_LNKCAP), PCI_EXP_LNKCAP_DLLLARC, in rcar_pcie_hw_init()
/linux-6.1.9/drivers/net/wwan/iosm/
Diosm_ipc_pcie.c190 pcie_capability_read_dword(pdev, PCI_EXP_LNKCAP, &cap); in ipc_pcie_check_aspm_supported()
/linux-6.1.9/drivers/pci/
Dpci-bridge-emul.c210 [PCI_EXP_LNKCAP / 4] = {
Daccess.c379 case PCI_EXP_LNKCAP: in pcie_capability_reg_implemented()
/linux-6.1.9/drivers/pci/controller/cadence/
Dpcie-cadence-host.c109 PCI_EXP_LNKCAP)); in cdns_pcie_retrain()
/linux-6.1.9/arch/powerpc/kernel/
Deeh_pe.c674 eeh_ops->read_config(edev, cap + PCI_EXP_LNKCAP, 4, &val); in eeh_bridge_check_link()
/linux-6.1.9/drivers/cxl/core/
Dpci.c48 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/
Dfw_reset.c336 err = pci_read_config_dword(bridge, cap + PCI_EXP_LNKCAP, &reg32); in mlx5_pci_link_toggle()
/linux-6.1.9/include/uapi/linux/
Dpci_regs.h533 #define PCI_EXP_LNKCAP 0x0c /* Link Capabilities */ macro
/linux-6.1.9/drivers/pci/hotplug/
Dpciehp_hpc.c1032 pcie_capability_read_dword(pdev, PCI_EXP_LNKCAP, &link_cap); in pcie_init()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Dcik.c1808 pcie_capability_read_dword(root, PCI_EXP_LNKCAP, &lnkcap); in cik_program_aspm()

12