Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Demc2305.c106 struct emc2305_cdev_data cdev_data[EMC2305_PWM_MAX]; member
165 *state = data->cdev_data[cdev_idx].cur_state; in emc2305_get_cur_state()
186 data->cdev_data[cdev_idx].cur_state = state; in __emc2305_set_cur_state()
298 data->cdev_data[cdev_idx].cdev = in emc2305_set_single_tz()
302 if (IS_ERR(data->cdev_data[cdev_idx].cdev)) { in emc2305_set_single_tz()
304 return PTR_ERR(data->cdev_data[cdev_idx].cdev); in emc2305_set_single_tz()
318 data->cdev_data[cdev_idx].cur_state = in emc2305_set_single_tz()
321 data->cdev_data[cdev_idx].last_hwmon_state = in emc2305_set_single_tz()
354 if (data->cdev_data[i].cdev) in emc2305_unset_tz()
408 data->cdev_data[cdev_idx].last_hwmon_state = in emc2305_write()
[all …]