Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Dnzxt-kraken2.c34 u16 fan_input[2]; member
58 *val = priv->fan_input[channel]; in kraken2_read()
124 priv->fan_input[0] = get_unaligned_be16(data + 3); in kraken2_raw_event()
125 priv->fan_input[1] = get_unaligned_be16(data + 5); in kraken2_raw_event()
H A 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);
H A Dftsteutates.c80 u8 fan_input[FTS_NO_FAN_SENSORS]; /* in rps */ member
180 data->fan_input[i] = err; in fts_update_device()
188 data->fan_input[i] = 0; in fts_update_device()
409 *val = data->fan_input[channel] * 60; in fts_read()
H A 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);
H A Dnzxt-kraken3.c115 u16 fan_input[2]; member
313 *val = priv->fan_input[channel]; in kraken3_read()
777 priv->fan_input[0] = get_unaligned_le16(data + PUMP_SPEED_OFFSET); in kraken3_raw_event()
786 priv->fan_input[1] = get_unaligned_le16(data + Z53_FAN_SPEED_OFFSET); in kraken3_raw_event()
H A Dpc87360.c1127 static struct sensor_device_attribute fan_input[] = { variable
1128 SENSOR_ATTR_RO(fan1_input, fan_input, 0),
1129 SENSOR_ATTR_RO(fan2_input, fan_input, 1),
1130 SENSOR_ATTR_RO(fan3_input, fan_input, 2),
1217 { &fan_input[X].dev_attr.attr, \
H A Dgl518sm.c424 static SENSOR_DEVICE_ATTR_RO(fan1_input, fan_input, 0);
425 static SENSOR_DEVICE_ATTR_RO(fan2_input, fan_input, 1);
H A Dlm87.c577 static SENSOR_DEVICE_ATTR_RO(fan1_input, fan_input, 0);
580 static SENSOR_DEVICE_ATTR_RO(fan2_input, fan_input, 1);
H A Dw83627hf.c1136 static SENSOR_DEVICE_ATTR_RO(fan1_input, fan_input, 0);
1138 static SENSOR_DEVICE_ATTR_RO(fan2_input, fan_input, 1);
1140 static SENSOR_DEVICE_ATTR_RO(fan3_input, fan_input, 2);
H A 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);
H A Dnct6683.c763 SENSOR_TEMPLATE(fan_input, "fan%d_input", S_IRUGO, show_fan, NULL, 0);
H A Dnct6775-core.c2161 SENSOR_TEMPLATE(fan_input, "fan%d_input", 0444, show_fan, NULL, 0);