Searched refs:fan_enabled (Results 1 – 2 of 2) sorted by relevance
53 u8 fan_enabled; /* bit vector */ member361 if (!(data->fan_enabled & (1 << i))) in pc87427_update_device()978 data->fan_enabled |= (1 << i); in pc87427_init_device()981 if (!data->fan_enabled) { in pc87427_init_device()990 data->fan_enabled = sio_data->has_fanin; in pc87427_init_device()1035 if (!(data->fan_enabled & (1 << i))) in pc87427_remove_files()1080 if (!(data->fan_enabled & (1 << i))) in pc87427_probe()
205 u8 fan_enabled; member700 data->fan_enabled = i2c_smbus_read_byte_data(client, in adt7462_update_device()989 static int fan_enabled(struct adt7462_data *data, int fan) in fan_enabled() function991 return data->fan_enabled & (1 << fan); in fan_enabled()1005 if (!fan_enabled(data, attr->index) || in fan_min_show()1022 !fan_enabled(data, attr->index)) in fan_min_store()1044 if (!fan_enabled(data, attr->index) || in fan_show()