Searched refs:fan_alarm (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/drivers/hwmon/ |
D | sch5636.c | 346 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),
|
D | g760a.c | 125 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()
|
D | pc87427.c | 471 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);
|
D | fschmd.c | 656 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),
|
D | nct7904.c | 140 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()
|
D | ftsteutates.c | 82 u8 fan_alarm; member 173 data->fan_alarm = err; in fts_update_device() 413 *val = !!(data->fan_alarm & BIT(channel)); in fts_read()
|
D | tc654.c | 432 static SENSOR_DEVICE_ATTR_RO(fan1_alarm, fan_alarm, 0); 433 static SENSOR_DEVICE_ATTR_RO(fan2_alarm, fan_alarm, 1);
|
D | smsc47m1.c | 425 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);
|
D | nct6775-core.c | 2158 SENSOR_TEMPLATE(fan_alarm, "fan%d_alarm", 0444, nct6775_show_alarm, NULL, FAN_ALARM_BASE);
|