Home
last modified time | relevance | path

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

12

/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/hwmon/
H A 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),
H A Dftsteutates.c83 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 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()
H A 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);
H A 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),
H A 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()
H A Dtc654.c421 static SENSOR_DEVICE_ATTR_RO(fan1_alarm, fan_alarm, 0);
422 static SENSOR_DEVICE_ATTR_RO(fan2_alarm, fan_alarm, 1);
H A 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);
H A Dnct6775.c2279 SENSOR_TEMPLATE(fan_alarm, "fan%d_alarm", S_IRUGO, show_alarm, NULL,
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/hwmon/
H A 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),
H A Dftsteutates.c83 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 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()
H A 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);
H A 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),
H A 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()
H A Dtc654.c421 static SENSOR_DEVICE_ATTR_RO(fan1_alarm, fan_alarm, 0);
422 static SENSOR_DEVICE_ATTR_RO(fan2_alarm, fan_alarm, 1);
H A 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);
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/hwmon/
H A 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),
H A Dftsteutates.c83 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 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()
H A 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);
H A 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),
H A 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()
H A Dtc654.c421 static SENSOR_DEVICE_ATTR_RO(fan1_alarm, fan_alarm, 0);
422 static SENSOR_DEVICE_ATTR_RO(fan2_alarm, fan_alarm, 1);
H A 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);

12