Home
last modified time | relevance | path

Searched refs:PCI_EXP_LNKCTL2 (Results 1 – 17 of 17) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Dcik.c1558 pcie_capability_read_word(root, PCI_EXP_LNKCTL2, in cik_pcie_gen3_enable()
1561 PCI_EXP_LNKCTL2, in cik_pcie_gen3_enable()
1592 pcie_capability_read_word(root, PCI_EXP_LNKCTL2, in cik_pcie_gen3_enable()
1600 PCI_EXP_LNKCTL2, in cik_pcie_gen3_enable()
1604 PCI_EXP_LNKCTL2, in cik_pcie_gen3_enable()
1612 PCI_EXP_LNKCTL2, in cik_pcie_gen3_enable()
1628 pcie_capability_read_word(adev->pdev, PCI_EXP_LNKCTL2, &tmp16); in cik_pcie_gen3_enable()
1637 pcie_capability_write_word(adev->pdev, PCI_EXP_LNKCTL2, tmp16); in cik_pcie_gen3_enable()
H A Dsi.c2201 pcie_capability_read_word(root, PCI_EXP_LNKCTL2, in si_pcie_gen3_enable()
2204 PCI_EXP_LNKCTL2, in si_pcie_gen3_enable()
2233 pcie_capability_read_word(root, PCI_EXP_LNKCTL2, in si_pcie_gen3_enable()
2241 PCI_EXP_LNKCTL2, in si_pcie_gen3_enable()
2245 PCI_EXP_LNKCTL2, in si_pcie_gen3_enable()
2253 PCI_EXP_LNKCTL2, in si_pcie_gen3_enable()
2267 pcie_capability_read_word(adev->pdev, PCI_EXP_LNKCTL2, &tmp16); in si_pcie_gen3_enable()
2276 pcie_capability_write_word(adev->pdev, PCI_EXP_LNKCTL2, tmp16); in si_pcie_gen3_enable()
/OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/
H A Dspl_pcie_ep_boot.c49 #define PCI_EXP_LNKCTL2 48 /* Link Control 2 */ macro
242 ctrl2 = readl(dbi_base + offset + PCI_EXP_LNKCTL2); in pcie_link_set_max_speed()
248 writel(ctrl2 | link_speed, dbi_base + offset + PCI_EXP_LNKCTL2); in pcie_link_set_max_speed()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Dpcie.c1255 ret = pcie_capability_read_word(parent, PCI_EXP_LNKCTL2, &lnkctl2); in do_pcie_gen3_transition()
1271 PCI_EXP_LNKCTL2, lnkctl2); in do_pcie_gen3_transition()
1282 ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_LNKCTL2, &lnkctl2); in do_pcie_gen3_transition()
1295 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_LNKCTL2, lnkctl2); in do_pcie_gen3_transition()
/OK3568_Linux_fs/kernel/drivers/pci/controller/dwc/
H A Dpcie-designware.c517 ctrl2 = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCTL2); in dw_pcie_link_set_max_speed()
540 dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCTL2, ctrl2 | link_speed); in dw_pcie_link_set_max_speed()
H A Dpcie-tegra194.c353 PCI_EXP_LNKCTL2); in apply_bad_link_workaround()
357 PCI_EXP_LNKCTL2, val); in apply_bad_link_workaround()
/OK3568_Linux_fs/kernel/drivers/pci/controller/
H A Dpcie-iproc.c834 IPROC_PCI_EXP_CAP + PCI_EXP_LNKCTL2, in iproc_pcie_check_link()
841 IPROC_PCI_EXP_CAP + PCI_EXP_LNKCTL2, in iproc_pcie_check_link()
H A Dpcie-brcmstb.c404 u16 lnkctl2 = readw(pcie->base + BRCM_PCIE_CAP_REGS + PCI_EXP_LNKCTL2); in brcm_pcie_set_gen()
411 writew(lnkctl2, pcie->base + BRCM_PCIE_CAP_REGS + PCI_EXP_LNKCTL2); in brcm_pcie_set_gen()
H A Dpci-aardvark.c417 reg = advk_readl(pcie, PCIE_CORE_PCIEXP_CAP + PCI_EXP_LNKCTL2); in advk_pcie_train_link()
425 advk_writel(pcie, reg, PCIE_CORE_PCIEXP_CAP + PCI_EXP_LNKCTL2); in advk_pcie_train_link()
/OK3568_Linux_fs/kernel/drivers/pci/
H A Daccess.c389 case PCI_EXP_LNKCTL2: in pcie_capability_reg_implemented()
H A Dpci.c1447 pcie_capability_read_word(dev, PCI_EXP_LNKCTL2, &cap[i++]); in pci_save_pcie_state()
1469 pcie_capability_write_word(dev, PCI_EXP_LNKCTL2, cap[i++]); in pci_restore_pcie_state()
H A Dquirks.c5288 pcie_capability_read_word(pdev, PCI_EXP_LNKCTL2, &cap[i++]); in quirk_intel_qat_vf_cap()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dpci_regs.h661 #define PCI_EXP_LNKCTL2 48 /* Link Control 2 */ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dpci_regs.h661 #define PCI_EXP_LNKCTL2 48 /* Link Control 2 */ macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dpci_regs.h680 #define PCI_EXP_LNKCTL2 48 /* Link Control 2 */ macro
/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A Dsi.c7181 pcie_capability_read_word(root, PCI_EXP_LNKCTL2, in si_pcie_gen3_enable()
7184 PCI_EXP_LNKCTL2, in si_pcie_gen3_enable()
7216 pcie_capability_read_word(root, PCI_EXP_LNKCTL2, in si_pcie_gen3_enable()
7224 PCI_EXP_LNKCTL2, in si_pcie_gen3_enable()
7228 PCI_EXP_LNKCTL2, in si_pcie_gen3_enable()
7236 PCI_EXP_LNKCTL2, in si_pcie_gen3_enable()
7251 pcie_capability_read_word(rdev->pdev, PCI_EXP_LNKCTL2, &tmp16); in si_pcie_gen3_enable()
7259 pcie_capability_write_word(rdev->pdev, PCI_EXP_LNKCTL2, tmp16); in si_pcie_gen3_enable()
H A Dcik.c9594 pcie_capability_read_word(root, PCI_EXP_LNKCTL2, in cik_pcie_gen3_enable()
9597 PCI_EXP_LNKCTL2, in cik_pcie_gen3_enable()
9628 pcie_capability_read_word(root, PCI_EXP_LNKCTL2, in cik_pcie_gen3_enable()
9636 PCI_EXP_LNKCTL2, in cik_pcie_gen3_enable()
9640 PCI_EXP_LNKCTL2, in cik_pcie_gen3_enable()
9648 PCI_EXP_LNKCTL2, in cik_pcie_gen3_enable()
9663 pcie_capability_read_word(rdev->pdev, PCI_EXP_LNKCTL2, &tmp16); in cik_pcie_gen3_enable()
9671 pcie_capability_write_word(rdev->pdev, PCI_EXP_LNKCTL2, tmp16); in cik_pcie_gen3_enable()