Searched refs:PCI_EXP_LNKCTL2 (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | cik.c | 1656 pci_read_config_word(root, bridge_pos + PCI_EXP_LNKCTL2, &bridge_cfg2); in cik_pcie_gen3_enable() 1657 pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &gpu_cfg2); in cik_pcie_gen3_enable() 1681 pci_read_config_word(root, bridge_pos + PCI_EXP_LNKCTL2, &tmp16); in cik_pcie_gen3_enable() 1684 pci_write_config_word(root, bridge_pos + PCI_EXP_LNKCTL2, tmp16); in cik_pcie_gen3_enable() 1686 pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &tmp16); in cik_pcie_gen3_enable() 1689 pci_write_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL2, tmp16); in cik_pcie_gen3_enable() 1704 pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &tmp16); in cik_pcie_gen3_enable() 1712 pci_write_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL2, tmp16); in cik_pcie_gen3_enable()
|
/linux-4.4.14/drivers/pci/host/ |
D | pcie-spear13xx.c | 187 dw_pcie_cfg_read(pp->dbi_base + exp_cap_off + PCI_EXP_LNKCTL2, in spear13xx_pcie_establish_link() 193 PCI_EXP_LNKCTL2, 2, val); in spear13xx_pcie_establish_link()
|
D | pci-mvebu.c | 79 PCISWCAP_EXP_LNKCTL2 = PCISWCAP + PCI_EXP_LNKCTL2,
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | pcie.c | 1105 pcie_capability_read_word(parent, PCI_EXP_LNKCTL2, &lnkctl2); in do_pcie_gen3_transition() 1114 pcie_capability_write_word(parent, PCI_EXP_LNKCTL2, lnkctl2); in do_pcie_gen3_transition() 1120 pcie_capability_read_word(dd->pcidev, PCI_EXP_LNKCTL2, &lnkctl2); in do_pcie_gen3_transition() 1127 pcie_capability_write_word(dd->pcidev, PCI_EXP_LNKCTL2, lnkctl2); in do_pcie_gen3_transition()
|
/linux-4.4.14/include/uapi/linux/ |
D | pci_regs.h | 635 #define PCI_EXP_LNKCTL2 48 /* Link Control 2 */ macro
|
/linux-4.4.14/drivers/pci/ |
D | access.c | 636 case PCI_EXP_LNKCTL2: in pcie_capability_reg_implemented()
|
D | pci.c | 982 pcie_capability_read_word(dev, PCI_EXP_LNKCTL2, &cap[i++]); in pci_save_pcie_state() 1004 pcie_capability_write_word(dev, PCI_EXP_LNKCTL2, cap[i++]); in pci_restore_pcie_state()
|
D | quirks.c | 4204 pcie_capability_read_word(pdev, PCI_EXP_LNKCTL2, &cap[i++]); in quirk_intel_qat_vf_cap()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | si.c | 7502 pci_read_config_word(root, bridge_pos + PCI_EXP_LNKCTL2, &bridge_cfg2); in si_pcie_gen3_enable() 7503 pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &gpu_cfg2); in si_pcie_gen3_enable() 7527 pci_read_config_word(root, bridge_pos + PCI_EXP_LNKCTL2, &tmp16); in si_pcie_gen3_enable() 7530 pci_write_config_word(root, bridge_pos + PCI_EXP_LNKCTL2, tmp16); in si_pcie_gen3_enable() 7532 pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &tmp16); in si_pcie_gen3_enable() 7535 pci_write_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, tmp16); in si_pcie_gen3_enable() 7549 pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &tmp16); in si_pcie_gen3_enable() 7557 pci_write_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, tmp16); in si_pcie_gen3_enable()
|
D | cik.c | 9876 pci_read_config_word(root, bridge_pos + PCI_EXP_LNKCTL2, &bridge_cfg2); in cik_pcie_gen3_enable() 9877 pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &gpu_cfg2); in cik_pcie_gen3_enable() 9901 pci_read_config_word(root, bridge_pos + PCI_EXP_LNKCTL2, &tmp16); in cik_pcie_gen3_enable() 9904 pci_write_config_word(root, bridge_pos + PCI_EXP_LNKCTL2, tmp16); in cik_pcie_gen3_enable() 9906 pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &tmp16); in cik_pcie_gen3_enable() 9909 pci_write_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, tmp16); in cik_pcie_gen3_enable() 9923 pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &tmp16); in cik_pcie_gen3_enable() 9931 pci_write_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, tmp16); in cik_pcie_gen3_enable()
|