Home
last modified time | relevance | path

Searched refs:PCIE_LC_SPEED_CNTL (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/gpu/drm/radeon/
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 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) & ~LC_HW_VOLTAGE_IF_CONTROL_MASK; 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 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 Dbtc_dpm.c1309 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in btc_enable_bif_dynamic_pcie_gen2()
1323 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in btc_enable_bif_dynamic_pcie_gen2()
1326 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in btc_enable_bif_dynamic_pcie_gen2()
1340 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in btc_enable_bif_dynamic_pcie_gen2()
H A Devergreen.c5344 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in evergreen_pcie_gen2_enable()
5359 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in evergreen_pcie_gen2_enable()
5361 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, 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()
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 Drv770d.h961 #define PCIE_LC_SPEED_CNTL 0xa4 /* PCIE_P */ macro
H A Dni_dpm.c3444 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in ni_advertise_gen2_capability()
3464 tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in ni_enable_bif_dynamic_pcie_gen2()
3479 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in ni_enable_bif_dynamic_pcie_gen2()
3482 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in ni_enable_bif_dynamic_pcie_gen2()
3492 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in ni_enable_bif_dynamic_pcie_gen2()
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 Dnid.h1110 #define PCIE_LC_SPEED_CNTL 0xa4 /* PCIE_P */ macro
H A Dsi.c7092 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in si_pcie_gen3_enable()
7200 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in si_pcie_gen3_enable()
7212 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in si_pcie_gen3_enable()
7214 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in si_pcie_gen3_enable()
7217 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in si_pcie_gen3_enable()
H A Dsid.h1526 #define PCIE_LC_SPEED_CNTL 0xa4 /* PCIE_P */ macro
H A Dcikd.h387 #define PCIE_LC_SPEED_CNTL 0x100100A4 /* PCIE */ macro
H A Dcik.c9510 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in cik_pcie_gen3_enable()
9618 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in cik_pcie_gen3_enable()
9630 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in cik_pcie_gen3_enable()
9632 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in cik_pcie_gen3_enable()
9635 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in cik_pcie_gen3_enable()
H A Devergreend.h1498 #define PCIE_LC_SPEED_CNTL 0xa4 /* PCIE_P */ macro
H A Dr600d.h912 #define PCIE_LC_SPEED_CNTL 0xa4 /* PCIE_P */ macro
H A Dci_dpm.c4773 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL) & LC_CURRENT_DATA_RATE_MASK; in ci_get_current_pcie_speed()
H A Dsi_dpm.c5674 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL) & LC_CURRENT_DATA_RATE_MASK; in si_get_current_pcie_speed()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dsi.c2253 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in si_pcie_gen3_enable()
2356 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in si_pcie_gen3_enable()
2368 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in si_pcie_gen3_enable()
2370 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in si_pcie_gen3_enable()
2373 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); in si_pcie_gen3_enable()
H A Dsid.h1589 #define PCIE_LC_SPEED_CNTL 0xa4 /* PCIE_P */ macro
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_hwmgr.c220 PCIE_LC_SPEED_CNTL, LC_CURRENT_DATA_RATE)); in smu7_get_current_pcie_speed()
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c6205 speed_cntl = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL) & LC_CURRENT_DATA_RATE_MASK; in si_get_current_pcie_speed()