Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Demc2305.c82 unsigned long last_hwmon_state; member
179 state = max_t(unsigned long, state, data->cdev_data[cdev_idx].last_hwmon_state); in __emc2305_set_cur_state()
318 data->cdev_data[cdev_idx].last_hwmon_state = in emc2305_set_single_tz()
405 data->cdev_data[cdev_idx].last_hwmon_state = in emc2305_write()
412 if (data->cdev_data[cdev_idx].last_hwmon_state >= in emc2305_write()
415 data->cdev_data[cdev_idx].last_hwmon_state); in emc2305_write()
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()