Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_thermal.c83 uint32_t crystal_clock_freq; in smu7_fan_ctrl_get_fan_speed_rpm() local
95 crystal_clock_freq = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in smu7_fan_ctrl_get_fan_speed_rpm()
97 *speed = 60 * crystal_clock_freq * 10000 / tach_period; in smu7_fan_ctrl_get_fan_speed_rpm()
265 uint32_t crystal_clock_freq; in smu7_fan_ctrl_set_fan_speed_rpm() local
278 crystal_clock_freq = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in smu7_fan_ctrl_set_fan_speed_rpm()
280 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); in smu7_fan_ctrl_set_fan_speed_rpm()
Dvega10_thermal.c95 uint32_t crystal_clock_freq; in vega10_fan_ctrl_get_fan_speed_rpm() local
112 crystal_clock_freq = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in vega10_fan_ctrl_get_fan_speed_rpm()
114 *speed = 60 * crystal_clock_freq * 10000 / tach_period; in vega10_fan_ctrl_get_fan_speed_rpm()
307 uint32_t crystal_clock_freq; in vega10_fan_ctrl_set_fan_speed_rpm() local
320 crystal_clock_freq = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in vega10_fan_ctrl_set_fan_speed_rpm()
321 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); in vega10_fan_ctrl_set_fan_speed_rpm()
Dvega20_thermal.c191 uint32_t tach_period, crystal_clock_freq; in vega20_fan_ctrl_set_fan_speed_rpm() local
203 crystal_clock_freq = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in vega20_fan_ctrl_set_fan_speed_rpm()
204 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); in vega20_fan_ctrl_set_fan_speed_rpm()
/Linux-v5.15/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c1235 uint32_t crystal_clock_freq = 2500; in smu_v11_0_set_fan_speed_rpm() local
1246 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); in smu_v11_0_set_fan_speed_rpm()
1291 uint32_t crystal_clock_freq = 2500; in smu_v11_0_get_fan_speed_rpm() local
1306 tmp64 = (uint64_t)crystal_clock_freq * 60 * 10000; in smu_v11_0_get_fan_speed_rpm()
Darcturus_ppt.c1204 uint32_t crystal_clock_freq = 2500; in arcturus_get_fan_speed_rpm() local
1230 tmp64 = (uint64_t)crystal_clock_freq * 60 * 10000; in arcturus_get_fan_speed_rpm()
1278 uint32_t crystal_clock_freq = 2500; in arcturus_set_fan_speed_rpm() local
1281 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); in arcturus_set_fan_speed_rpm()
/Linux-v5.15/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0.c1152 uint32_t tach_period, crystal_clock_freq; in smu_v13_0_set_fan_speed_rpm() local
1161 crystal_clock_freq = amdgpu_asic_get_xclk(adev); in smu_v13_0_set_fan_speed_rpm()
1162 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); in smu_v13_0_set_fan_speed_rpm()