Searched refs:crystal_clock_freq (Results 1 – 6 of 6) sorted by relevance
83 uint32_t crystal_clock_freq; in smu7_fan_ctrl_get_fan_speed_rpm() local95 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() local278 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()
94 uint32_t crystal_clock_freq; in vega10_fan_ctrl_get_fan_speed_rpm() local111 crystal_clock_freq = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in vega10_fan_ctrl_get_fan_speed_rpm()113 *speed = 60 * crystal_clock_freq * 10000 / tach_period; in vega10_fan_ctrl_get_fan_speed_rpm()306 uint32_t crystal_clock_freq; in vega10_fan_ctrl_set_fan_speed_rpm() local319 crystal_clock_freq = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in vega10_fan_ctrl_set_fan_speed_rpm()320 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); in vega10_fan_ctrl_set_fan_speed_rpm()
191 uint32_t tach_period, crystal_clock_freq; in vega20_fan_ctrl_set_fan_speed_rpm() local203 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()
1228 uint32_t crystal_clock_freq = 2500; in smu_v11_0_set_fan_speed_rpm() local1241 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); in smu_v11_0_set_fan_speed_rpm()1286 uint32_t crystal_clock_freq = 2500; in smu_v11_0_get_fan_speed_rpm() local1301 tmp64 = (uint64_t)crystal_clock_freq * 60 * 10000; in smu_v11_0_get_fan_speed_rpm()
1199 uint32_t crystal_clock_freq = 2500; in arcturus_get_fan_speed_rpm() local1225 tmp64 = (uint64_t)crystal_clock_freq * 60 * 10000; in arcturus_get_fan_speed_rpm()1273 uint32_t crystal_clock_freq = 2500; in arcturus_set_fan_speed_rpm() local1276 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); in arcturus_set_fan_speed_rpm()
1264 uint32_t crystal_clock_freq = 2500; in smu_v13_0_set_fan_speed_rpm() local1275 tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed); in smu_v13_0_set_fan_speed_rpm()