Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/hwmon/
Demc2305.c105 struct emc2305_cdev_data cdev_data[EMC2305_PWM_MAX]; member
164 *state = data->cdev_data[cdev_idx].cur_state; in emc2305_get_cur_state()
190 data->cdev_data[cdev_idx].last_thermal_state = state; in emc2305_set_cur_state()
191 state = max_t(unsigned long, state, data->cdev_data[cdev_idx].last_hwmon_state); in emc2305_set_cur_state()
195 data->cdev_data[cdev_idx].cur_state = state; in emc2305_set_cur_state()
272 data->cdev_data[channel].cur_state = EMC2305_PWM_DUTY2STATE(val, data->max_state, in emc2305_set_pwm()
286 data->cdev_data[cdev_idx].cdev = in emc2305_set_single_tz()
290 if (IS_ERR(data->cdev_data[cdev_idx].cdev)) { in emc2305_set_single_tz()
292 return PTR_ERR(data->cdev_data[cdev_idx].cdev); in emc2305_set_single_tz()
306 data->cdev_data[cdev_idx].cur_state = in emc2305_set_single_tz()
[all …]