Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/hwmon/
Dpc87427.c61 u8 fan_enabled; /* bit vector */ member
361 if (!(data->fan_enabled & (1 << i))) in pc87427_update_device()
1003 data->fan_enabled |= (1 << i); in pc87427_init_device()
1006 if (!data->fan_enabled) { in pc87427_init_device()
1015 data->fan_enabled = sio_data->has_fanin; in pc87427_init_device()
1060 if (!(data->fan_enabled & (1 << i))) in pc87427_remove_files()
1105 if (!(data->fan_enabled & (1 << i))) in pc87427_probe()
Dadt7462.c218 u8 fan_enabled; member
709 data->fan_enabled = i2c_smbus_read_byte_data(client, in adt7462_update_device()
1010 static int fan_enabled(struct adt7462_data *data, int fan) in fan_enabled() function
1012 return data->fan_enabled & (1 << fan); in fan_enabled()
1027 if (!fan_enabled(data, attr->index) || in show_fan_min()
1044 !fan_enabled(data, attr->index)) in set_fan_min()
1066 if (!fan_enabled(data, attr->index) || in show_fan()