/src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/ |
amdgpu_smu7_thermal.c | 90 uint32_t tach_period; local in function:smu7_fan_ctrl_get_fan_speed_rpm 97 tach_period = PHM_READ_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, 98 CG_TACH_STATUS, TACH_PERIOD); 100 if (tach_period == 0) 105 *speed = 60 * crystal_clock_freq * 10000 / tach_period; 262 uint32_t tach_period; local in function:smu7_fan_ctrl_set_fan_speed_rpm 278 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); 281 CG_TACH_CTRL, TARGET_PERIOD, tach_period);
|
amdgpu_vega10_thermal.c | 100 uint32_t tach_period; local in function:vega10_fan_ctrl_get_fan_speed_rpm 110 tach_period = 113 TACH_PERIOD); 115 if (tach_period == 0) 120 *speed = 60 * crystal_clock_freq * 10000 / tach_period; 315 uint32_t tach_period; local in function:vega10_fan_ctrl_set_fan_speed_rpm 330 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); 334 tach_period));
|
amdgpu_vega20_thermal.c | 194 uint32_t tach_period, crystal_clock_freq; local in function:vega20_fan_ctrl_set_fan_speed_rpm 207 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); 211 tach_period));
|
/src/sys/external/bsd/drm2/dist/drm/amd/powerplay/ |
amdgpu_smu_v11_0.c | 1494 uint32_t tach_period, crystal_clock_freq; local in function:smu_v11_0_set_fan_speed_rpm 1504 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); 1508 tach_period));
|
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_ci_dpm.c | 1169 u32 tach_period; 1178 tach_period = (RREG32_SMC(CG_TACH_STATUS) & TACH_PERIOD_MASK) >> TACH_PERIOD_SHIFT; 1179 if (tach_period == 0) 1182 *speed = 60 * xclk * 10000 / tach_period; 1190 u32 tach_period, tmp; 1206 tach_period = 60 * xclk * 10000 / (8 * speed); 1208 tmp |= TARGET_PERIOD(tach_period);
|
radeon_si_dpm.c | 6229 u32 tach_period; 6238 tach_period = (RREG32(CG_TACH_STATUS) & TACH_PERIOD_MASK) >> TACH_PERIOD_SHIFT; 6239 if (tach_period == 0) 6242 *speed = 60 * xclk * 10000 / tach_period; 6250 u32 tach_period, tmp; 6266 tach_period = 60 * xclk * 10000 / (8 * speed); 6268 tmp |= TARGET_PERIOD(tach_period);
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_si_dpm.c | 6663 u32 tach_period; 6672 tach_period = (RREG32(CG_TACH_STATUS) & TACH_PERIOD_MASK) >> TACH_PERIOD_SHIFT; 6673 if (tach_period == 0) 6676 *speed = 60 * xclk * 10000 / tach_period; 6684 u32 tach_period, tmp; 6700 tach_period = 60 * xclk * 10000 / (8 * speed); 6702 tmp |= TARGET_PERIOD(tach_period);
|