Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dpc87427.c63 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()
H A Dadt7462.c603 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()