Lines Matching refs:speed
67 static int smu_set_fan_speed_pwm(void *handle, u32 speed);
70 static int smu_set_fan_speed_rpm(void *handle, uint32_t speed);
2282 static int smu_set_fan_speed_rpm(void *handle, uint32_t speed) in smu_set_fan_speed_rpm() argument
2293 if (speed == U32_MAX) in smu_set_fan_speed_rpm()
2296 ret = smu->ppt_funcs->set_fan_speed_rpm(smu, speed); in smu_set_fan_speed_rpm()
2299 smu->user_dpm_profile.fan_speed_rpm = speed; in smu_set_fan_speed_rpm()
2710 static int smu_get_fan_speed_pwm(void *handle, u32 *speed) in smu_get_fan_speed_pwm() argument
2721 if (!speed) in smu_get_fan_speed_pwm()
2724 ret = smu->ppt_funcs->get_fan_speed_pwm(smu, speed); in smu_get_fan_speed_pwm()
2729 static int smu_set_fan_speed_pwm(void *handle, u32 speed) in smu_set_fan_speed_pwm() argument
2740 if (speed == U32_MAX) in smu_set_fan_speed_pwm()
2743 ret = smu->ppt_funcs->set_fan_speed_pwm(smu, speed); in smu_set_fan_speed_pwm()
2746 smu->user_dpm_profile.fan_speed_pwm = speed; in smu_set_fan_speed_pwm()
2756 static int smu_get_fan_speed_rpm(void *handle, uint32_t *speed) in smu_get_fan_speed_rpm() argument
2767 if (!speed) in smu_get_fan_speed_rpm()
2770 ret = smu->ppt_funcs->get_fan_speed_rpm(smu, speed); in smu_get_fan_speed_rpm()