Searched refs:gpu_pos (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | cik.c | 1380 int bridge_pos, gpu_pos; in cik_pcie_gen3_enable() local 1419 gpu_pos = pci_pcie_cap(adev->pdev); in cik_pcie_gen3_enable() 1420 if (!gpu_pos) in cik_pcie_gen3_enable() 1431 pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL, &gpu_cfg); in cik_pcie_gen3_enable() 1437 pci_write_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL, tmp16); in cik_pcie_gen3_enable() 1461 pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_DEVSTA, &tmp16); in cik_pcie_gen3_enable() 1466 pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL, &gpu_cfg); in cik_pcie_gen3_enable() 1469 pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &gpu_cfg2); in cik_pcie_gen3_enable() 1487 pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL, &tmp16); in cik_pcie_gen3_enable() 1490 pci_write_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL, tmp16); in cik_pcie_gen3_enable() [all …]
|
D | si.c | 1561 int bridge_pos, gpu_pos; in si_pcie_gen3_enable() local 1600 gpu_pos = pci_pcie_cap(adev->pdev); in si_pcie_gen3_enable() 1601 if (!gpu_pos) in si_pcie_gen3_enable() 1611 pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL, &gpu_cfg); in si_pcie_gen3_enable() 1617 pci_write_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL, tmp16); in si_pcie_gen3_enable() 1634 pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_DEVSTA, &tmp16); in si_pcie_gen3_enable() 1639 pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL, &gpu_cfg); in si_pcie_gen3_enable() 1642 pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &gpu_cfg2); in si_pcie_gen3_enable() 1659 pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL, &tmp16); in si_pcie_gen3_enable() 1662 pci_write_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL, tmp16); in si_pcie_gen3_enable() [all …]
|
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | si.c | 7086 int bridge_pos, gpu_pos; in si_pcie_gen3_enable() local 7132 gpu_pos = pci_pcie_cap(rdev->pdev); in si_pcie_gen3_enable() 7133 if (!gpu_pos) in si_pcie_gen3_enable() 7144 pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL, &gpu_cfg); in si_pcie_gen3_enable() 7150 pci_write_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL, tmp16); in si_pcie_gen3_enable() 7168 pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_DEVSTA, &tmp16); in si_pcie_gen3_enable() 7173 pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL, &gpu_cfg); in si_pcie_gen3_enable() 7176 pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &gpu_cfg2); in si_pcie_gen3_enable() 7194 pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL, &tmp16); in si_pcie_gen3_enable() 7197 pci_write_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL, tmp16); in si_pcie_gen3_enable() [all …]
|
D | cik.c | 9503 int bridge_pos, gpu_pos; in cik_pcie_gen3_enable() local 9549 gpu_pos = pci_pcie_cap(rdev->pdev); in cik_pcie_gen3_enable() 9550 if (!gpu_pos) in cik_pcie_gen3_enable() 9561 pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL, &gpu_cfg); in cik_pcie_gen3_enable() 9567 pci_write_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL, tmp16); in cik_pcie_gen3_enable() 9585 pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_DEVSTA, &tmp16); in cik_pcie_gen3_enable() 9590 pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL, &gpu_cfg); in cik_pcie_gen3_enable() 9593 pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &gpu_cfg2); in cik_pcie_gen3_enable() 9611 pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL, &tmp16); in cik_pcie_gen3_enable() 9614 pci_write_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL, tmp16); in cik_pcie_gen3_enable() [all …]
|