Home
last modified time | relevance | path

Searched refs:fan_input (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwmon/
Dpc87427.c453 static SENSOR_DEVICE_ATTR_RO(fan1_input, fan_input, 0);
454 static SENSOR_DEVICE_ATTR_RO(fan2_input, fan_input, 1);
455 static SENSOR_DEVICE_ATTR_RO(fan3_input, fan_input, 2);
456 static SENSOR_DEVICE_ATTR_RO(fan4_input, fan_input, 3);
457 static SENSOR_DEVICE_ATTR_RO(fan5_input, fan_input, 4);
458 static SENSOR_DEVICE_ATTR_RO(fan6_input, fan_input, 5);
459 static SENSOR_DEVICE_ATTR_RO(fan7_input, fan_input, 6);
460 static SENSOR_DEVICE_ATTR_RO(fan8_input, fan_input, 7);
Dgl520sm.c75 u8 fan_input[2]; member
135 data->fan_input[0] = (val >> 8) & 0xff; in gl520_update_device()
136 data->fan_input[1] = val & 0xff; in gl520_update_device()
344 return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan_input[n], in fan_input_show()
489 static SENSOR_DEVICE_ATTR_RO(fan1_input, fan_input, 0);
490 static SENSOR_DEVICE_ATTR_RO(fan2_input, fan_input, 1);
Dftsteutates.c81 u8 fan_input[FTS_NO_FAN_SENSORS]; /* in rps */ member
181 data->fan_input[i] = err; in fts_update_device()
189 data->fan_input[i] = 0; in fts_update_device()
445 return sprintf(buf, "%u\n", data->fan_input[index]); in fan_value_show()
Dmax6639.c346 static SENSOR_DEVICE_ATTR_RO(fan1_input, fan_input, 0);
347 static SENSOR_DEVICE_ATTR_RO(fan2_input, fan_input, 1);
Dpc87360.c314 static struct sensor_device_attribute fan_input[] = { variable
315 SENSOR_ATTR_RO(fan1_input, fan_input, 0),
316 SENSOR_ATTR_RO(fan2_input, fan_input, 1),
317 SENSOR_ATTR_RO(fan3_input, fan_input, 2),
336 { &fan_input[X].dev_attr.attr, \
Dgl518sm.c424 static SENSOR_DEVICE_ATTR_RO(fan1_input, fan_input, 0);
425 static SENSOR_DEVICE_ATTR_RO(fan2_input, fan_input, 1);
Dlm87.c577 static SENSOR_DEVICE_ATTR_RO(fan1_input, fan_input, 0);
580 static SENSOR_DEVICE_ATTR_RO(fan2_input, fan_input, 1);
Dw83627hf.c703 static SENSOR_DEVICE_ATTR_RO(fan1_input, fan_input, 0);
705 static SENSOR_DEVICE_ATTR_RO(fan2_input, fan_input, 1);
707 static SENSOR_DEVICE_ATTR_RO(fan3_input, fan_input, 2);
Dlm93.c1619 static SENSOR_DEVICE_ATTR_RO(fan1_input, fan_input, 0);
1620 static SENSOR_DEVICE_ATTR_RO(fan2_input, fan_input, 1);
1621 static SENSOR_DEVICE_ATTR_RO(fan3_input, fan_input, 2);
1622 static SENSOR_DEVICE_ATTR_RO(fan4_input, fan_input, 3);
Dnct6683.c760 SENSOR_TEMPLATE(fan_input, "fan%d_input", S_IRUGO, show_fan, NULL, 0);
Dnct6775.c2278 SENSOR_TEMPLATE(fan_input, "fan%d_input", S_IRUGO, show_fan, NULL, 0);