Home
last modified time | relevance | path

Searched refs:pwm_fan_max_state (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwmon/
H A Dpwm-fan.c39 unsigned int pwm_fan_max_state; member
99 for (i = 0; i < ctx->pwm_fan_max_state; ++i) in pwm_fan_update_state()
181 *state = ctx->pwm_fan_max_state; in pwm_fan_get_max_state()
205 if (!ctx || (state > ctx->pwm_fan_max_state)) in pwm_fan_set_cur_state()
264 ctx->pwm_fan_max_state = num - 1; in pwm_fan_of_get_cooling_data()
381 ctx->pwm_fan_state = ctx->pwm_fan_max_state; in pwm_fan_probe()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dpwm-fan.c56 unsigned int pwm_fan_max_state; member
238 for (i = 0; i < ctx->pwm_fan_max_state; ++i) in pwm_fan_update_state()
377 *state = ctx->pwm_fan_max_state; in pwm_fan_get_max_state()
401 if (!ctx || (state > ctx->pwm_fan_max_state)) in pwm_fan_set_cur_state()
460 ctx->pwm_fan_max_state = num - 1; in pwm_fan_of_get_cooling_data()
629 ctx->pwm_fan_state = ctx->pwm_fan_max_state; in pwm_fan_probe()

Completed in 2 milliseconds