Searched refs:crystal_clock_freq (Results 1 – 4 of 4) sorted by relevance
86 uint32_t crystal_clock_freq; in smu7_fan_ctrl_get_fan_speed_rpm() local98 crystal_clock_freq = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in smu7_fan_ctrl_get_fan_speed_rpm()100 *speed = 60 * crystal_clock_freq * 10000 / tach_period; in smu7_fan_ctrl_get_fan_speed_rpm()258 uint32_t crystal_clock_freq; in smu7_fan_ctrl_set_fan_speed_rpm() local271 crystal_clock_freq = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in smu7_fan_ctrl_set_fan_speed_rpm()273 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); in smu7_fan_ctrl_set_fan_speed_rpm()
96 uint32_t crystal_clock_freq; in vega10_fan_ctrl_get_fan_speed_rpm() local113 crystal_clock_freq = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in vega10_fan_ctrl_get_fan_speed_rpm()115 *speed = 60 * crystal_clock_freq * 10000 / tach_period; in vega10_fan_ctrl_get_fan_speed_rpm()311 uint32_t crystal_clock_freq; in vega10_fan_ctrl_set_fan_speed_rpm() local324 crystal_clock_freq = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in vega10_fan_ctrl_set_fan_speed_rpm()325 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); in vega10_fan_ctrl_set_fan_speed_rpm()
189 uint32_t tach_period, crystal_clock_freq; in vega20_fan_ctrl_set_fan_speed_rpm() local201 crystal_clock_freq = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in vega20_fan_ctrl_set_fan_speed_rpm()202 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); in vega20_fan_ctrl_set_fan_speed_rpm()
1480 uint32_t tach_period, crystal_clock_freq; in smu_v11_0_set_fan_speed_rpm() local1490 crystal_clock_freq = amdgpu_asic_get_xclk(adev); in smu_v11_0_set_fan_speed_rpm()1491 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); in smu_v11_0_set_fan_speed_rpm()