Home
last modified time | relevance | path

Searched refs:speed_cap (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/radeon/
Dsi.c7082 enum pci_bus_speed speed_cap; in si_pcie_gen3_enable() local
7099 speed_cap = pcie_get_speed_cap(root); in si_pcie_gen3_enable()
7100 if (speed_cap == PCI_SPEED_UNKNOWN) in si_pcie_gen3_enable()
7103 if ((speed_cap != PCIE_SPEED_8_0GT) && in si_pcie_gen3_enable()
7104 (speed_cap != PCIE_SPEED_5_0GT)) in si_pcie_gen3_enable()
7110 if (speed_cap == PCIE_SPEED_8_0GT) { in si_pcie_gen3_enable()
7116 } else if (speed_cap == PCIE_SPEED_5_0GT) { in si_pcie_gen3_enable()
7127 if (speed_cap == PCIE_SPEED_8_0GT) { in si_pcie_gen3_enable()
7246 if (speed_cap == PCIE_SPEED_8_0GT) in si_pcie_gen3_enable()
7248 else if (speed_cap == PCIE_SPEED_5_0GT) in si_pcie_gen3_enable()
Dcik.c9485 enum pci_bus_speed speed_cap; in cik_pcie_gen3_enable() local
9502 speed_cap = pcie_get_speed_cap(root); in cik_pcie_gen3_enable()
9503 if (speed_cap == PCI_SPEED_UNKNOWN) in cik_pcie_gen3_enable()
9506 if ((speed_cap != PCIE_SPEED_8_0GT) && in cik_pcie_gen3_enable()
9507 (speed_cap != PCIE_SPEED_5_0GT)) in cik_pcie_gen3_enable()
9513 if (speed_cap == PCIE_SPEED_8_0GT) { in cik_pcie_gen3_enable()
9519 } else if (speed_cap == PCIE_SPEED_5_0GT) { in cik_pcie_gen3_enable()
9530 if (speed_cap == PCIE_SPEED_8_0GT) { in cik_pcie_gen3_enable()
9648 if (speed_cap == PCIE_SPEED_8_0GT) in cik_pcie_gen3_enable()
9650 else if (speed_cap == PCIE_SPEED_5_0GT) in cik_pcie_gen3_enable()
Dci_dpm.c5645 enum pci_bus_speed speed_cap = PCI_SPEED_UNKNOWN; in ci_dpm_init() local
5655 speed_cap = pcie_get_speed_cap(root); in ci_dpm_init()
5656 if (speed_cap == PCI_SPEED_UNKNOWN) { in ci_dpm_init()
5659 if (speed_cap == PCIE_SPEED_8_0GT) in ci_dpm_init()
5663 else if (speed_cap == PCIE_SPEED_5_0GT) in ci_dpm_init()
Dsi_dpm.c6887 enum pci_bus_speed speed_cap = PCI_SPEED_UNKNOWN; in si_dpm_init() local
6900 speed_cap = pcie_get_speed_cap(root); in si_dpm_init()
6901 if (speed_cap == PCI_SPEED_UNKNOWN) { in si_dpm_init()
6904 if (speed_cap == PCIE_SPEED_8_0GT) in si_dpm_init()
6908 else if (speed_cap == PCIE_SPEED_5_0GT) in si_dpm_init()
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c5359 enum pci_bus_speed speed_cap, platform_speed_cap; in amdgpu_device_get_pcie_info() local
5386 speed_cap = pcie_get_speed_cap(pdev); in amdgpu_device_get_pcie_info()
5387 if (speed_cap == PCI_SPEED_UNKNOWN) { in amdgpu_device_get_pcie_info()
5392 if (speed_cap == PCIE_SPEED_32_0GT) in amdgpu_device_get_pcie_info()
5398 else if (speed_cap == PCIE_SPEED_16_0GT) in amdgpu_device_get_pcie_info()
5403 else if (speed_cap == PCIE_SPEED_8_0GT) in amdgpu_device_get_pcie_info()
5407 else if (speed_cap == PCIE_SPEED_5_0GT) in amdgpu_device_get_pcie_info()
/linux-5.19.10/drivers/pci/
Dpci.c6272 enum pci_bus_speed speed, speed_cap; in __pcie_print_link_status() local
6276 bw_cap = pcie_bandwidth_capable(dev, &speed_cap, &width_cap); in __pcie_print_link_status()
6282 pci_speed_string(speed_cap), width_cap); in __pcie_print_link_status()
6289 pci_speed_string(speed_cap), width_cap); in __pcie_print_link_status()