Searched refs:temp_enabled (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/hwmon/ |
D | pc87427.c | 63 u8 temp_enabled; /* bit vector */ member 375 if (!(data->temp_enabled & (1 << i))) in pc87427_update_device() 1024 data->temp_enabled |= (1 << i); in pc87427_init_device() 1045 if (!(data->temp_enabled & (1 << i))) in pc87427_remove_files() 1096 if (!(data->temp_enabled & (1 << i))) in pc87427_probe()
|
D | adt7462.c | 603 static int temp_enabled(struct adt7462_data *data, int which) in temp_enabled() function 784 if (!temp_enabled(data, attr->index)) in temp_min_show() 799 if (kstrtol(buf, 10, &temp) || !temp_enabled(data, attr->index)) in temp_min_store() 820 if (!temp_enabled(data, attr->index)) in temp_max_show() 835 if (kstrtol(buf, 10, &temp) || !temp_enabled(data, attr->index)) in temp_max_store() 857 if (!temp_enabled(data, attr->index)) in temp_show()
|