Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/hwmon/
Dpc87427.c61 u8 fan_enabled; /* bit vector */ member
361 if (!(data->fan_enabled & (1 << i))) in pc87427_update_device()
1018 data->fan_enabled |= (1 << i); in pc87427_init_device()
1021 if (!data->fan_enabled) { in pc87427_init_device()
1030 data->fan_enabled = sio_data->has_fanin; in pc87427_init_device()
1075 if (!(data->fan_enabled & (1 << i))) in pc87427_remove_files()
1122 if (!(data->fan_enabled & (1 << i))) in pc87427_probe()
Dadt7462.c220 u8 fan_enabled; member
735 data->fan_enabled = i2c_smbus_read_byte_data(client, in adt7462_update_device()
1036 static int fan_enabled(struct adt7462_data *data, int fan) in fan_enabled() function
1038 return data->fan_enabled & (1 << fan); in fan_enabled()
1053 if (!fan_enabled(data, attr->index) || in show_fan_min()
1070 !fan_enabled(data, attr->index)) in set_fan_min()
1092 if (!fan_enabled(data, attr->index) || in show_fan()