/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | rv6xx_dpm.c | 55 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv6xx_force_pcie_gen1() 57 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in rv6xx_force_pcie_gen1() 59 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv6xx_force_pcie_gen1() 61 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in rv6xx_force_pcie_gen1() 64 if (!(RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL) & LC_CURRENT_DATA_RATE)) in rv6xx_force_pcie_gen1() 69 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv6xx_force_pcie_gen1() 71 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in rv6xx_force_pcie_gen1() 78 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv6xx_enable_pcie_gen2_support() 83 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in rv6xx_enable_pcie_gen2_support() 92 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL) in rv6xx_enable_bif_dynamic_pcie_gen2() [all...] |
H A D | btcd.h | 169 #define PCIE_LC_SPEED_CNTL 0xa4 /* PCIE_P */ macro
|
H A D | rv6xxd.h | 236 #define PCIE_LC_SPEED_CNTL 0xa4 macro
|
H A D | rv770.c | 2066 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv770_pcie_gen2_enable() 2079 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv770_pcie_gen2_enable() 2081 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in rv770_pcie_gen2_enable() 2083 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv770_pcie_gen2_enable() 2085 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in rv770_pcie_gen2_enable() 2087 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv770_pcie_gen2_enable() 2089 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in rv770_pcie_gen2_enable() 2091 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv770_pcie_gen2_enable() 2093 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in rv770_pcie_gen2_enable()
|
H A D | cypress_dpm.c | 56 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in cypress_enable_bif_dynamic_pcie_gen2() 70 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in cypress_enable_bif_dynamic_pcie_gen2() 73 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in cypress_enable_bif_dynamic_pcie_gen2() 83 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in cypress_enable_bif_dynamic_pcie_gen2() 310 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in cypress_pcie_performance_request() 338 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in cypress_advertise_gen2_capability()
|
H A D | r600.c | 4518 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in r600_pcie_gen2_enable() 4547 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in r600_pcie_gen2_enable() 4568 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in r600_pcie_gen2_enable() 4586 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in r600_pcie_gen2_enable() 4588 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in r600_pcie_gen2_enable() 4591 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in r600_pcie_gen2_enable() 4593 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in r600_pcie_gen2_enable()
|
H A D | evergreen.c | 5348 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in evergreen_pcie_gen2_enable() 5363 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in evergreen_pcie_gen2_enable() 5365 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in evergreen_pcie_gen2_enable() 5367 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in evergreen_pcie_gen2_enable() 5369 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in evergreen_pcie_gen2_enable() 5371 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in evergreen_pcie_gen2_enable() 5373 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in evergreen_pcie_gen2_enable() 5375 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in evergreen_pcie_gen2_enable() 5377 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in evergreen_pcie_gen2_enable()
|
H A D | rv770_dpm.c | 74 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv770_enable_bif_dynamic_pcie_gen2() 87 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in rv770_enable_bif_dynamic_pcie_gen2() 1609 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv770_get_pcie_gen2_status()
|
H A D | btc_dpm.c | 1339 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in btc_enable_bif_dynamic_pcie_gen2() 1353 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in btc_enable_bif_dynamic_pcie_gen2() 1356 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in btc_enable_bif_dynamic_pcie_gen2() 1370 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in btc_enable_bif_dynamic_pcie_gen2()
|
H A D | rv770d.h | 961 #define PCIE_LC_SPEED_CNTL 0xa4 /* PCIE_P */ macro
|
H A D | ni_dpm.c | 3446 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in ni_advertise_gen2_capability() 3466 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in ni_enable_bif_dynamic_pcie_gen2() 3481 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in ni_enable_bif_dynamic_pcie_gen2() 3484 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in ni_enable_bif_dynamic_pcie_gen2() 3494 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in ni_enable_bif_dynamic_pcie_gen2()
|
H A D | nid.h | 1110 #define PCIE_LC_SPEED_CNTL 0xa4 /* PCIE_P */ macro
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | rv6xx_dpm.c | 55 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv6xx_force_pcie_gen1() 57 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in rv6xx_force_pcie_gen1() 59 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv6xx_force_pcie_gen1() 61 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in rv6xx_force_pcie_gen1() 64 if (!(RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL) & LC_CURRENT_DATA_RATE)) in rv6xx_force_pcie_gen1() 69 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv6xx_force_pcie_gen1() 71 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in rv6xx_force_pcie_gen1() 78 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv6xx_enable_pcie_gen2_support() 83 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in rv6xx_enable_pcie_gen2_support() 92 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL) in rv6xx_enable_bif_dynamic_pcie_gen2() [all...] |
H A D | btcd.h | 169 #define PCIE_LC_SPEED_CNTL 0xa4 /* PCIE_P */ macro
|
H A D | rv6xxd.h | 236 #define PCIE_LC_SPEED_CNTL 0xa4 macro
|
H A D | rv770.c | 2061 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv770_pcie_gen2_enable() 2074 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv770_pcie_gen2_enable() 2076 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in rv770_pcie_gen2_enable() 2078 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv770_pcie_gen2_enable() 2080 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in rv770_pcie_gen2_enable() 2082 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv770_pcie_gen2_enable() 2084 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in rv770_pcie_gen2_enable() 2086 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv770_pcie_gen2_enable() 2088 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in rv770_pcie_gen2_enable()
|
H A D | cypress_dpm.c | 54 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in cypress_enable_bif_dynamic_pcie_gen2() 68 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in cypress_enable_bif_dynamic_pcie_gen2() 71 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in cypress_enable_bif_dynamic_pcie_gen2() 81 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in cypress_enable_bif_dynamic_pcie_gen2() 308 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in cypress_pcie_performance_request() 336 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in cypress_advertise_gen2_capability()
|
H A D | r600.c | 4511 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in r600_pcie_gen2_enable() 4540 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in r600_pcie_gen2_enable() 4561 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in r600_pcie_gen2_enable() 4579 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in r600_pcie_gen2_enable() 4581 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in r600_pcie_gen2_enable() 4584 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in r600_pcie_gen2_enable() 4586 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in r600_pcie_gen2_enable()
|
H A D | evergreen.c | 5347 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in evergreen_pcie_gen2_enable() 5362 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in evergreen_pcie_gen2_enable() 5364 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in evergreen_pcie_gen2_enable() 5366 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in evergreen_pcie_gen2_enable() 5368 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in evergreen_pcie_gen2_enable() 5370 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in evergreen_pcie_gen2_enable() 5372 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in evergreen_pcie_gen2_enable() 5374 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in evergreen_pcie_gen2_enable() 5376 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in evergreen_pcie_gen2_enable()
|
H A D | rv770_dpm.c | 76 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv770_enable_bif_dynamic_pcie_gen2() 89 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in rv770_enable_bif_dynamic_pcie_gen2() 1611 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in rv770_get_pcie_gen2_status()
|
H A D | btc_dpm.c | 1337 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in btc_enable_bif_dynamic_pcie_gen2() 1351 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in btc_enable_bif_dynamic_pcie_gen2() 1354 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in btc_enable_bif_dynamic_pcie_gen2() 1368 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in btc_enable_bif_dynamic_pcie_gen2()
|
H A D | rv770d.h | 961 #define PCIE_LC_SPEED_CNTL 0xa4 /* PCIE_P */ macro
|
H A D | ni_dpm.c | 3447 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in ni_advertise_gen2_capability() 3467 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in ni_enable_bif_dynamic_pcie_gen2() 3482 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in ni_enable_bif_dynamic_pcie_gen2() 3485 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in ni_enable_bif_dynamic_pcie_gen2() 3495 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in ni_enable_bif_dynamic_pcie_gen2()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | si.c | 2136 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in si_pcie_gen3_enable() 2249 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in si_pcie_gen3_enable() 2262 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in si_pcie_gen3_enable() 2264 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in si_pcie_gen3_enable() 2267 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in si_pcie_gen3_enable()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | si.c | 2253 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in si_pcie_gen3_enable() 2366 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in si_pcie_gen3_enable() 2379 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in si_pcie_gen3_enable() 2381 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in si_pcie_gen3_enable() 2384 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in si_pcie_gen3_enable()
|