Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/hwmon/
Dmlxreg-fan.c89 unsigned long last_hwmon_state; member
215 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()
Demc2305.c84 unsigned long last_hwmon_state; member
180 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()