/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/hwmon/ |
H A 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),
|
H A D | ftsteutates.c | 83 u8 fan_alarm; member 174 data->fan_alarm = err; in fts_update_device() 473 return sprintf(buf, "%d\n", !!(data->fan_alarm & BIT(index))); in fan_alarm_show() 637 static SENSOR_DEVICE_ATTR_RW(fan1_alarm, fan_alarm, 0); 638 static SENSOR_DEVICE_ATTR_RW(fan2_alarm, fan_alarm, 1); 639 static SENSOR_DEVICE_ATTR_RW(fan3_alarm, fan_alarm, 2); 640 static SENSOR_DEVICE_ATTR_RW(fan4_alarm, fan_alarm, 3); 641 static SENSOR_DEVICE_ATTR_RW(fan5_alarm, fan_alarm, 4); 642 static SENSOR_DEVICE_ATTR_RW(fan6_alarm, fan_alarm, 5); 643 static SENSOR_DEVICE_ATTR_RW(fan7_alarm, fan_alarm, 6); [all …]
|
H A 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()
|
H A 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);
|
H A 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),
|
H A 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()
|
H A D | tc654.c | 421 static SENSOR_DEVICE_ATTR_RO(fan1_alarm, fan_alarm, 0); 422 static SENSOR_DEVICE_ATTR_RO(fan2_alarm, fan_alarm, 1);
|
H A 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);
|
H A D | nct6775.c | 2279 SENSOR_TEMPLATE(fan_alarm, "fan%d_alarm", S_IRUGO, show_alarm, NULL,
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/hwmon/ |
H A 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),
|
H A D | ftsteutates.c | 83 u8 fan_alarm; member 174 data->fan_alarm = err; in fts_update_device() 473 return sprintf(buf, "%d\n", !!(data->fan_alarm & BIT(index))); in fan_alarm_show() 637 static SENSOR_DEVICE_ATTR_RW(fan1_alarm, fan_alarm, 0); 638 static SENSOR_DEVICE_ATTR_RW(fan2_alarm, fan_alarm, 1); 639 static SENSOR_DEVICE_ATTR_RW(fan3_alarm, fan_alarm, 2); 640 static SENSOR_DEVICE_ATTR_RW(fan4_alarm, fan_alarm, 3); 641 static SENSOR_DEVICE_ATTR_RW(fan5_alarm, fan_alarm, 4); 642 static SENSOR_DEVICE_ATTR_RW(fan6_alarm, fan_alarm, 5); 643 static SENSOR_DEVICE_ATTR_RW(fan7_alarm, fan_alarm, 6); [all …]
|
H A 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()
|
H A 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);
|
H A 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),
|
H A 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()
|
H A D | tc654.c | 421 static SENSOR_DEVICE_ATTR_RO(fan1_alarm, fan_alarm, 0); 422 static SENSOR_DEVICE_ATTR_RO(fan2_alarm, fan_alarm, 1);
|
H A 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);
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/hwmon/ |
H A 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),
|
H A D | ftsteutates.c | 83 u8 fan_alarm; member 174 data->fan_alarm = err; in fts_update_device() 473 return sprintf(buf, "%d\n", !!(data->fan_alarm & BIT(index))); in fan_alarm_show() 637 static SENSOR_DEVICE_ATTR_RW(fan1_alarm, fan_alarm, 0); 638 static SENSOR_DEVICE_ATTR_RW(fan2_alarm, fan_alarm, 1); 639 static SENSOR_DEVICE_ATTR_RW(fan3_alarm, fan_alarm, 2); 640 static SENSOR_DEVICE_ATTR_RW(fan4_alarm, fan_alarm, 3); 641 static SENSOR_DEVICE_ATTR_RW(fan5_alarm, fan_alarm, 4); 642 static SENSOR_DEVICE_ATTR_RW(fan6_alarm, fan_alarm, 5); 643 static SENSOR_DEVICE_ATTR_RW(fan7_alarm, fan_alarm, 6); [all …]
|
H A 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()
|
H A 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);
|
H A 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),
|
H A 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()
|
H A D | tc654.c | 421 static SENSOR_DEVICE_ATTR_RO(fan1_alarm, fan_alarm, 0); 422 static SENSOR_DEVICE_ATTR_RO(fan2_alarm, fan_alarm, 1);
|
H A 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);
|