Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Dpwm-fan.c46 enum pwm_fan_enable_mode enable_mode; member
102 static void pwm_fan_enable_mode_2_state(int enable_mode, in pwm_fan_enable_mode_2_state() argument
106 switch (enable_mode) { in pwm_fan_enable_mode_2_state()
183 pwm_fan_enable_mode_2_state(ctx->enable_mode, in pwm_fan_power_off()
212 if (ctx->enable_mode == pwm_off_reg_off) in __set_pwm()
271 if (ctx->enable_mode == val) in pwm_fan_update_enable()
274 old_val = ctx->enable_mode; in pwm_fan_update_enable()
275 ctx->enable_mode = val; in pwm_fan_update_enable()
284 ctx->enable_mode = old_val; in pwm_fan_update_enable()
352 *val = ctx->enable_mode; in pwm_fan_read()
[all …]