Home
last modified time | relevance | path

Searched refs:fan_alarm (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/drivers/hwmon/
Dsch5636.c346 SENSOR_ATTR_RO(fan1_alarm, fan_alarm, 0),
349 SENSOR_ATTR_RO(fan2_alarm, fan_alarm, 1),
352 SENSOR_ATTR_RO(fan3_alarm, fan_alarm, 2),
355 SENSOR_ATTR_RO(fan4_alarm, fan_alarm, 3),
358 SENSOR_ATTR_RO(fan5_alarm, fan_alarm, 4),
361 SENSOR_ATTR_RO(fan6_alarm, fan_alarm, 5),
364 SENSOR_ATTR_RO(fan7_alarm, fan_alarm, 6),
367 SENSOR_ATTR_RO(fan8_alarm, fan_alarm, 7),
Dg760a.c125 int fan_alarm = (data->fan_sta & G760A_REG_FAN_STA_RPM_OFF) ? 1 : 0; in fan1_alarm_show() local
127 return sprintf(buf, "%d\n", fan_alarm); in fan1_alarm_show()
Dpc87427.c471 static SENSOR_DEVICE_ATTR_RO(fan1_alarm, fan_alarm, 0);
472 static SENSOR_DEVICE_ATTR_RO(fan2_alarm, fan_alarm, 1);
473 static SENSOR_DEVICE_ATTR_RO(fan3_alarm, fan_alarm, 2);
474 static SENSOR_DEVICE_ATTR_RO(fan4_alarm, fan_alarm, 3);
475 static SENSOR_DEVICE_ATTR_RO(fan5_alarm, fan_alarm, 4);
476 static SENSOR_DEVICE_ATTR_RO(fan6_alarm, fan_alarm, 5);
477 static SENSOR_DEVICE_ATTR_RO(fan7_alarm, fan_alarm, 6);
478 static SENSOR_DEVICE_ATTR_RO(fan8_alarm, fan_alarm, 7);
Dfschmd.c656 SENSOR_ATTR_RO(fan1_alarm, fan_alarm, 0),
661 SENSOR_ATTR_RO(fan2_alarm, fan_alarm, 1),
666 SENSOR_ATTR_RO(fan3_alarm, fan_alarm, 2),
671 SENSOR_ATTR_RO(fan4_alarm, fan_alarm, 3),
676 SENSOR_ATTR_RO(fan5_alarm, fan_alarm, 4),
681 SENSOR_ATTR_RO(fan6_alarm, fan_alarm, 5),
686 SENSOR_ATTR_RO(fan7_alarm, fan_alarm, 6),
Dnct7904.c140 u8 fan_alarm[2]; member
257 if (!data->fan_alarm[channel >> 3]) in nct7904_read_fan()
258 data->fan_alarm[channel >> 3] = ret & 0xff; in nct7904_read_fan()
261 data->fan_alarm[channel >> 3] |= (ret & 0xff); in nct7904_read_fan()
262 *val = (data->fan_alarm[channel >> 3] >> (channel & 0x07)) & 1; in nct7904_read_fan()
265 data->fan_alarm[channel >> 3] ^= 1 << (channel & 0x07); in nct7904_read_fan()
Dftsteutates.c82 u8 fan_alarm; member
173 data->fan_alarm = err; in fts_update_device()
413 *val = !!(data->fan_alarm & BIT(channel)); in fts_read()
Dtc654.c432 static SENSOR_DEVICE_ATTR_RO(fan1_alarm, fan_alarm, 0);
433 static SENSOR_DEVICE_ATTR_RO(fan2_alarm, fan_alarm, 1);
Dsmsc47m1.c425 static SENSOR_DEVICE_ATTR_RO(fan1_alarm, fan_alarm, 0);
431 static SENSOR_DEVICE_ATTR_RO(fan2_alarm, fan_alarm, 1);
437 static SENSOR_DEVICE_ATTR_RO(fan3_alarm, fan_alarm, 2);
Dnct6775-core.c2158 SENSOR_TEMPLATE(fan_alarm, "fan%d_alarm", 0444, nct6775_show_alarm, NULL, FAN_ALARM_BASE);