Home
last modified time | relevance | path

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

12

/Linux-v6.6/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()
Dpci-layerscape-ep.c96 dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, pcie->lnkcap); in ls_pcie_ep_event_handler()
272 pcie->lnkcap = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCAP); in ls_pcie_ep_probe()
Dpcie-qcom-ep.c449 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCAP); in qcom_pcie_perst_deassert()
452 dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, val); in qcom_pcie_perst_deassert()
456 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCAP); in qcom_pcie_perst_deassert()
459 dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, val); in qcom_pcie_perst_deassert()
Dpci-imx6.c885 tmp = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCAP); in imx6_pcie_start_link()
888 dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, tmp); in imx6_pcie_start_link()
901 tmp = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCAP); in imx6_pcie_start_link()
904 dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, tmp); in imx6_pcie_start_link()
Dpcie-qcom.c819 val = readl(pci->dbi_base + offset + PCI_EXP_LNKCAP); in qcom_pcie_post_init_2_3_3()
821 writel(val, pci->dbi_base + offset + PCI_EXP_LNKCAP); in qcom_pcie_post_init_2_3_3()
1138 val = readl(pci->dbi_base + offset + PCI_EXP_LNKCAP); in qcom_pcie_post_init_2_9_0()
1140 writel(val, pci->dbi_base + offset + PCI_EXP_LNKCAP); in qcom_pcie_post_init_2_9_0()
Dpcie-designware.c704 cap = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCAP); in dw_pcie_link_set_max_speed()
731 dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, cap | link_speed); in dw_pcie_link_set_max_speed()
Dpcie-tegra194.c921 val = dw_pcie_readl_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKCAP); in tegra_pcie_dw_host_init()
924 dw_pcie_writel_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKCAP, val); in tegra_pcie_dw_host_init()
/Linux-v6.6/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.c255 ret = pcie_capability_read_dword(dd->pcidev, PCI_EXP_LNKCAP, &linkcap); in pcie_speeds()
/Linux-v6.6/drivers/pci/pcie/
Daspm.c178 pcie_capability_read_dword(child, PCI_EXP_LNKCAP, &reg32); in pcie_clkpm_cap_init()
385 pcie_capability_read_dword(link->pdev, PCI_EXP_LNKCAP, in pcie_aspm_check_latency()
387 pcie_capability_read_dword(dev, PCI_EXP_LNKCAP, in pcie_aspm_check_latency()
602 pcie_capability_read_dword(parent, PCI_EXP_LNKCAP, &parent_lnkcap); in pcie_aspm_cap_init()
603 pcie_capability_read_dword(child, PCI_EXP_LNKCAP, &child_lnkcap); in pcie_aspm_cap_init()
616 pcie_capability_read_dword(parent, PCI_EXP_LNKCAP, &parent_lnkcap); in pcie_aspm_cap_init()
617 pcie_capability_read_dword(child, PCI_EXP_LNKCAP, &child_lnkcap); in pcie_aspm_cap_init()
Dportdrv.c271 pcie_capability_read_dword(dev, PCI_EXP_LNKCAP, &linkcap); in get_port_device_capability()
/Linux-v6.6/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-v6.6/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.c381 u32 lnkcap = readl(pcie->base + BRCM_PCIE_CAP_REGS + PCI_EXP_LNKCAP); in brcm_pcie_set_gen()
384 writel(lnkcap, pcie->base + BRCM_PCIE_CAP_REGS + PCI_EXP_LNKCAP); in brcm_pcie_set_gen()
Dpcie-altera.c608 altera_read_cap_word(pcie, pcie->root_bus_nr, RP_DEVFN, PCI_EXP_LNKCAP, in altera_pcie_retrain()
Dpcie-rcar-host.c467 rcar_rmw32(pcie, REXPCAP(PCI_EXP_LNKCAP), PCI_EXP_LNKCAP_DLLLARC, in rcar_pcie_hw_init()
Dpci-aardvark.c870 case PCI_EXP_LNKCAP: { in advk_pci_bridge_emul_pcie_conf_read()
/Linux-v6.6/drivers/net/wwan/iosm/
Diosm_ipc_pcie.c190 pcie_capability_read_dword(pdev, PCI_EXP_LNKCAP, &cap); in ipc_pcie_check_aspm_supported()
/Linux-v6.6/drivers/pci/
Dpci-bridge-emul.c210 [PCI_EXP_LNKCAP / 4] = {
Daccess.c384 case PCI_EXP_LNKCAP: in pcie_capability_reg_implemented()
Dprobe.c820 pcie_capability_read_dword(bridge, PCI_EXP_LNKCAP, &linkcap); in pci_set_bus_speed()
1545 pcie_capability_read_dword(pdev, PCI_EXP_LNKCAP, &reg32); in set_pcie_port_type()
/Linux-v6.6/drivers/pci/controller/cadence/
Dpcie-cadence-host.c132 PCI_EXP_LNKCAP)); in cdns_pcie_retrain()
/Linux-v6.6/include/uapi/linux/
Dpci_regs.h533 #define PCI_EXP_LNKCAP 0x0c /* Link Capabilities */ macro
/Linux-v6.6/drivers/cxl/core/
Dpci.c49 if (pci_read_config_dword(pdev, pci_pcie_cap(pdev) + PCI_EXP_LNKCAP, in match_add_dports()
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Dcik.c1792 pcie_capability_read_dword(root, PCI_EXP_LNKCAP, &lnkcap); in cik_program_aspm()

12