Home
last modified time | relevance | path

Searched refs:alarms (Results 1 – 25 of 104) sorted by relevance

12345

/linux-6.1.9/drivers/net/ethernet/sfc/falcon/
Dfalcon_boards.c125 u16 alarms; in ef4_check_lm87() local
135 alarms = reg; in ef4_check_lm87()
139 alarms |= reg << 8; in ef4_check_lm87()
140 alarms &= mask; in ef4_check_lm87()
143 if (alarms & LM87_ALARM_TEMP_INT) { in ef4_check_lm87()
150 if (alarms & LM87_ALARM_TEMP_EXT1) { in ef4_check_lm87()
157 elec_fault = alarms & ~(LM87_ALARM_TEMP_INT | LM87_ALARM_TEMP_EXT1); in ef4_check_lm87()
160 if (alarms) in ef4_check_lm87()
165 alarms & 0xff, alarms >> 8, in ef4_check_lm87()
166 (alarms & LM87_ALARM_TEMP_INT) ? in ef4_check_lm87()
[all …]
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
Dbase.c77 list_for_each_entry_safe(alarm, atemp, &tmr->alarms, head) { in nvkm_timer_alarm_trigger()
94 if (list_empty(&tmr->alarms)) in nvkm_timer_alarm_trigger()
122 list_for_each_entry(list, &tmr->alarms, head) { in nvkm_timer_alarm()
130 list = list_first_entry(&tmr->alarms, typeof(*list), head); in nvkm_timer_alarm()
195 INIT_LIST_HEAD(&tmr->alarms); in nvkm_timer_new_()
/linux-6.1.9/drivers/hwmon/
Dmax1619.c87 u8 alarms; member
119 data->alarms = i2c_smbus_read_byte_data(client, in max1619_update_device()
124 data->alarms ^= 0x02; in max1619_update_device()
172 return sprintf(buf, "%d\n", data->alarms); in alarms_show()
180 return sprintf(buf, "%d\n", (data->alarms >> bitnr) & 1); in alarm_show()
190 static DEVICE_ATTR_RO(alarms);
Dadm1026.c281 long alarms; /* Register encoding, combined */ member
324 long value, alarms, gpio; in adm1026_update_device() local
356 alarms = adm1026_read_value(client, ADM1026_REG_STATUS4); in adm1026_update_device()
357 gpio = alarms & 0x80 ? 0x0100 : 0; /* GPIO16 */ in adm1026_update_device()
358 alarms &= 0x7f; in adm1026_update_device()
359 alarms <<= 8; in adm1026_update_device()
360 alarms |= adm1026_read_value(client, ADM1026_REG_STATUS3); in adm1026_update_device()
361 alarms <<= 8; in adm1026_update_device()
362 alarms |= adm1026_read_value(client, ADM1026_REG_STATUS2); in adm1026_update_device()
363 alarms <<= 8; in adm1026_update_device()
[all …]
Dadc128d818.c76 u8 alarms; /* alarm register value */ member
132 data->alarms |= rv; in adc128_update_device()
233 u8 alarms; in adc128_alarm_show() local
242 alarms = data->alarms; in adc128_alarm_show()
243 data->alarms &= ~mask; in adc128_alarm_show()
245 return sprintf(buf, "%u\n", !!(alarms & mask)); in adc128_alarm_show()
Dadm1021.c82 u8 alarms; member
117 data->alarms = i2c_smbus_read_byte_data(client, in adm1021_update_device()
178 return sprintf(buf, "%u\n", (data->alarms >> index) & 1); in alarm_show()
186 return sprintf(buf, "%u\n", data->alarms); in alarms_show()
289 static DEVICE_ATTR_RO(alarms);
Dmax6697.c93 u32 alarms; member
189 u32 alarms; in max6697_update_device() local
234 alarms = 0; in max6697_update_device()
241 alarms = (alarms << 8) | val; in max6697_update_device()
243 data->alarms = alarms; in max6697_update_device()
297 return sprintf(buf, "%u\n", (data->alarms >> index) & 0x1); in alarm_show()
Dsmsc47m1.c128 u8 alarms; /* Register encoding */ member
172 data->alarms = smsc47m1_read_value(data, in smsc47m1_update_device()
175 if (data->alarms) in smsc47m1_update_device()
181 data->alarms |= (smsc47m1_read_value(data, in smsc47m1_update_device()
184 if (data->alarms & 0x04) in smsc47m1_update_device()
240 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in fan_alarm_show()
263 return sprintf(buf, "%d\n", data->alarms); in alarms_show()
441 static DEVICE_ATTR_RO(alarms);
Dmax1668.c68 u16 alarms; member
113 data->alarms = val << 8; in max1668_update_device()
120 data->alarms |= val; in max1668_update_device()
175 return sprintf(buf, "%u\n", (data->alarms >> index) & 0x1); in show_alarm()
188 (data->alarms & (1 << 12)) && data->temp[index] == 127); in show_fault()
Dmax6642.c85 u8 alarms; member
180 data->alarms = i2c_smbus_read_byte_data(client, in max6642_update_device()
241 return sprintf(buf, "%d\n", (data->alarms >> bitnr) & 1); in alarm_show()
Dgl518sm.c123 u8 alarms; /* Register value */ member
162 data->alarms = gl518_read_value(client, GL518_REG_INT); in gl518_update_device()
197 data->alarms &= data->alarm_mask; in gl518_update_device()
250 show(RAW, alarms, alarms);
442 static DEVICE_ATTR(alarms, 0444, show_alarms, NULL);
453 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in alarm_show()
Dvt8231.c162 u16 alarms; /* Register encoding */ member
224 data->alarms = vt8231_read_value(data, VT8231_REG_ALARM1) | in vt8231_update_device()
229 data->alarms |= 0x40; in vt8231_update_device()
231 data->alarms &= ~0x40; in vt8231_update_device()
234 data->alarms |= 0x80; in vt8231_update_device()
236 data->alarms &= ~0x80; in vt8231_update_device()
670 return sprintf(buf, "%d\n", data->alarms); in alarms_show()
672 static DEVICE_ATTR_RO(alarms);
679 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in alarm_show()
Dadm1025.c109 u16 alarms; /* register values, combined */ member
141 data->alarms = i2c_smbus_read_byte_data(client, in adm1025_update_device()
330 return sprintf(buf, "%u\n", data->alarms); in alarms_show()
332 static DEVICE_ATTR_RO(alarms);
339 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in alarm_show()
Dlm77.c61 u8 alarms; member
118 data->alarms = in lm77_update_device()
208 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in alarm_show()
Dlm80.c127 u16 alarms; /* Register encoding, combined */ member
236 data->alarms = prev_rv + (rv << 8); in lm80_update_device()
437 return sprintf(buf, "%u\n", data->alarms); in alarms_show()
447 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in alarm_show()
482 static DEVICE_ATTR_RO(alarms);
Dltc2947-core.c292 char alarms[LTC2947_ALERTS_SIZE + 1]; in ltc2947_alarm_read() local
295 memset(alarms, 0, sizeof(alarms)); in ltc2947_alarm_read()
309 ret = regmap_bulk_read(st->map, LTC2947_REG_STATUS, alarms, in ltc2947_alarm_read()
310 sizeof(alarms)); in ltc2947_alarm_read()
315 *val = !!(alarms[offset] & mask); in ltc2947_alarm_read()
/linux-6.1.9/Documentation/hwmon/
Dxdpe152c4.rst38 and maximum and critical alarms. Low Critical thresholds and Low critical alarm are
62 and critical and low critical alarms.
92 The driver provides for power: input and alarms.
107 and maximum and critical alarms.
Dbt1-pvt.rst27 transistors performance. The driver can optionally provide the hwmon alarms
28 for each sensor the PVT controller supports. The alarms functionality is made
33 these in order to have the hwmon alarms automatically detected the driver code
37 the system performance. So in case if alarms are unnecessary in your system
39 periodically raised to get the data cache/alarms status up to date. By default
56 In case if the alarms kernel config is enabled in the driver the temperature input
73 In case if the alarms config is enabled in the driver the voltage inputs
Dxdpe12284.rst49 and maximum and critical alarms. Critical thresholds and critical alarm are
67 and critical and low critical alarms.
83 The driver provides for power: input and alarms. Power alarm is supported only
95 and maximum and critical alarms.
Dgl518sm.rst40 sensors, and four voltage sensors. It can report alarms through the
66 alarms work fine, though.
70 beeping for some alarms.
73 is read at least once (except for temperature alarms). This means that the
77 you can easily miss once-only alarms.
Dlm92.rst43 alarms for high, low, and critical thresholds. There's also an hysteresis to
44 control the thresholds for resetting alarms.
Dw83791d.rst97 specific alarms. You need both the global beep enable bit and the
107 A similar change has occurred for the bitmap corresponding to the alarms. The
108 original legacy method used a single sysfs alarms file containing a bitmap
109 of triggered alarms. The newer method uses multiple sysfs `*_alarm` files
115 responsible for handling the fact that the alarms and beep_mask bitmaps
152 For legacy code using the alarms and beep_mask files:
Dlm78.rst43 seven voltage sensors, VID lines, alarms, and some miscellaneous stuff.
49 this case, alarms are issued during all the time when the actual temperature
77 miss once-only alarms.
Dsis5595.rst76 sensors, four or five voltage sensors, and alarms.
105 In addition to the alarms described above, there is a BTI alarm, which gets
115 once-only alarms.
/linux-6.1.9/Documentation/ABI/testing/
Drtc-cdev14 for RTCs that support alarms
17 RTCs that support alarms. Can be set upto 24 hours in the
22 powerful interface, which can issue alarms beyond 24 hours and

12345