Home
last modified time | relevance | path

Searched refs:PCIE_LC_SPEED_CNTL (Results 1 - 25 of 48) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Drv6xx_dpm.c55 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 Dbtcd.h169 #define PCIE_LC_SPEED_CNTL 0xa4 /* PCIE_P */ macro
H A Drv6xxd.h236 #define PCIE_LC_SPEED_CNTL 0xa4 macro
H A Drv770.c2066 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 Dcypress_dpm.c56 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 Dr600.c4518 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 Devergreen.c5348 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 Drv770_dpm.c74 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 Dbtc_dpm.c1339 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 Drv770d.h961 #define PCIE_LC_SPEED_CNTL 0xa4 /* PCIE_P */ macro
H A Dni_dpm.c3446 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 Dnid.h1110 #define PCIE_LC_SPEED_CNTL 0xa4 /* PCIE_P */ macro
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Drv6xx_dpm.c55 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 Dbtcd.h169 #define PCIE_LC_SPEED_CNTL 0xa4 /* PCIE_P */ macro
H A Drv6xxd.h236 #define PCIE_LC_SPEED_CNTL 0xa4 macro
H A Drv770.c2061 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 Dcypress_dpm.c54 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 Dr600.c4511 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 Devergreen.c5347 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 Drv770_dpm.c76 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 Dbtc_dpm.c1337 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 Drv770d.h961 #define PCIE_LC_SPEED_CNTL 0xa4 /* PCIE_P */ macro
H A Dni_dpm.c3447 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 Dsi.c2136 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 Dsi.c2253 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()

Completed in 84 milliseconds

12