Home
last modified time | relevance | path

Searched refs:current_rpm (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega20_thermal.c104 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, &current_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()
Dvega10_thermal.c32 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, &current_rpm)) in vega10_fan_ctrl_get_fan_speed_percent()
81 percent = current_rpm * 100 / in vega10_fan_ctrl_get_fan_speed_percent()
Dvega12_thermal.c32 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/
Damdgpu_smu.c2235 uint32_t current_rpm; in smu_get_fan_speed_percent() local
2243 ret = smu->ppt_funcs->get_fan_speed_rpm(smu, &current_rpm); in smu_get_fan_speed_percent()
2245 percent = current_rpm * 100 / smu->fan_max_rpm; in smu_get_fan_speed_percent()