Searched refs:last_hwmon_state (Results 1 – 2 of 2) sorted by relevance
89 unsigned long last_hwmon_state; member215 pwm->last_hwmon_state = MLXREG_FAN_PWM_DUTY2STATE(val); in mlxreg_fan_write()220 if (pwm->last_hwmon_state >= pwm->last_thermal_state) in mlxreg_fan_write()222 pwm->last_hwmon_state); in mlxreg_fan_write()358 state = max_t(unsigned long, state, pwm->last_hwmon_state); in mlxreg_fan_set_cur_state()556 pwm->last_hwmon_state = MLXREG_FAN_PWM_DUTY2STATE(MLXREG_FAN_MIN_DUTY); in mlxreg_fan_cooling_config()
84 unsigned long last_hwmon_state; member180 state = max_t(unsigned long, state, data->cdev_data[cdev_idx].last_hwmon_state); in __emc2305_set_cur_state()319 data->cdev_data[cdev_idx].last_hwmon_state = in emc2305_set_single_tz()406 data->cdev_data[cdev_idx].last_hwmon_state = in emc2305_write()413 if (data->cdev_data[cdev_idx].last_hwmon_state >= in emc2305_write()416 data->cdev_data[cdev_idx].last_hwmon_state); in emc2305_write()