Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dmlxreg-fan.c89 unsigned long last_hwmon_state; member
221 pwm->last_hwmon_state = MLXREG_FAN_PWM_DUTY2STATE(val); in mlxreg_fan_write()
226 if (pwm->last_hwmon_state >= pwm->last_thermal_state) in mlxreg_fan_write()
228 pwm->last_hwmon_state); in mlxreg_fan_write()
374 state = max_t(unsigned long, state, pwm->last_hwmon_state); in mlxreg_fan_set_cur_state()
572 pwm->last_hwmon_state = MLXREG_FAN_PWM_DUTY2STATE(MLXREG_FAN_MIN_DUTY); in mlxreg_fan_cooling_config()
H A Demc2305.c85 unsigned long last_hwmon_state; member
182 state = max_t(unsigned long, state, data->cdev_data[cdev_idx].last_hwmon_state); in __emc2305_set_cur_state()
321 data->cdev_data[cdev_idx].last_hwmon_state = in emc2305_set_single_tz()
408 data->cdev_data[cdev_idx].last_hwmon_state = in emc2305_write()
415 if (data->cdev_data[cdev_idx].last_hwmon_state >= in emc2305_write()
418 data->cdev_data[cdev_idx].last_hwmon_state); in emc2305_write()