Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hwmon/
Dpc87427.c53 u8 fan_enabled; /* bit vector */ member
361 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()
Dadt7462.c205 u8 fan_enabled; member
700 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() function
991 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()