Searched refs:MLXREG_FAN_PWM_DUTY2STATE (Results 1 – 1 of 1) sorted by relevance
50 #define MLXREG_FAN_PWM_DUTY2STATE(duty) (DIV_ROUND_CLOSEST((duty) * \ macro221 pwm->last_hwmon_state = MLXREG_FAN_PWM_DUTY2STATE(val); in mlxreg_fan_write()355 *state = MLXREG_FAN_PWM_DUTY2STATE(regval); in mlxreg_fan_get_cur_state()572 pwm->last_hwmon_state = MLXREG_FAN_PWM_DUTY2STATE(MLXREG_FAN_MIN_DUTY); in mlxreg_fan_cooling_config()