Searched refs:enable_mode (Results 1 – 1 of 1) sorted by relevance
45 enum pwm_fan_enable_mode enable_mode; member98 static void pwm_fan_enable_mode_2_state(int enable_mode, in pwm_fan_enable_mode_2_state() argument102 switch (enable_mode) { in pwm_fan_enable_mode_2_state()179 pwm_fan_enable_mode_2_state(ctx->enable_mode, in pwm_fan_power_off()206 if (ctx->enable_mode == pwm_off_reg_off) in __set_pwm()254 if (ctx->enable_mode == val) in pwm_fan_update_enable()257 old_val = ctx->enable_mode; in pwm_fan_update_enable()258 ctx->enable_mode = val; in pwm_fan_update_enable()267 ctx->enable_mode = old_val; in pwm_fan_update_enable()335 *val = ctx->enable_mode; in pwm_fan_read()[all …]