Searched refs:current_rpm (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega20_thermal.c | 104 static int vega20_get_current_rpm(struct pp_hwmgr *hwmgr, uint32_t *current_rpm) in vega20_get_current_rpm() argument 110 current_rpm)) == 0, in vega20_get_current_rpm() 122 uint32_t current_rpm, percent = 0; in vega20_fan_ctrl_get_fan_speed_percent() local 125 ret = vega20_get_current_rpm(hwmgr, ¤t_rpm); in vega20_fan_ctrl_get_fan_speed_percent() 129 percent = current_rpm * 100 / pp_table->FanMaximumRpm; in vega20_fan_ctrl_get_fan_speed_percent()
|
D | vega10_thermal.c | 32 static int vega10_get_current_rpm(struct pp_hwmgr *hwmgr, uint32_t *current_rpm) in vega10_get_current_rpm() argument 34 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetCurrentRpm, current_rpm); in vega10_get_current_rpm() 70 uint32_t current_rpm; in vega10_fan_ctrl_get_fan_speed_percent() local 76 if (vega10_get_current_rpm(hwmgr, ¤t_rpm)) in vega10_fan_ctrl_get_fan_speed_percent() 81 percent = current_rpm * 100 / in vega10_fan_ctrl_get_fan_speed_percent()
|
D | vega12_thermal.c | 32 static int vega12_get_current_rpm(struct pp_hwmgr *hwmgr, uint32_t *current_rpm) in vega12_get_current_rpm() argument 36 current_rpm), in vega12_get_current_rpm()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/ |
D | amdgpu_smu.c | 2235 uint32_t current_rpm; in smu_get_fan_speed_percent() local 2243 ret = smu->ppt_funcs->get_fan_speed_rpm(smu, ¤t_rpm); in smu_get_fan_speed_percent() 2245 percent = current_rpm * 100 / smu->fan_max_rpm; in smu_get_fan_speed_percent()
|