/Linux-v5.15/drivers/net/ethernet/sfc/falcon/ |
D | falcon_boards.c | 125 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-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
D | base.c | 77 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-v5.15/drivers/hwmon/ |
D | max1619.c | 87 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);
|
D | adm1026.c | 281 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 …]
|
D | lm83.c | 115 u16 alarms; /* bitvector, combined */ member 134 data->alarms = in lm83_update_device() 187 return sprintf(buf, "%d\n", data->alarms); in alarms_show() 197 return sprintf(buf, "%d\n", (data->alarms >> bitnr) & 1); in alarm_show() 226 static DEVICE_ATTR_RO(alarms);
|
D | adc128d818.c | 76 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()
|
D | adm1021.c | 82 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);
|
D | max6697.c | 93 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()
|
D | smsc47m1.c | 128 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);
|
D | lm90.c | 493 u16 alarms; /* bitvector (upper 8 bits for max6695/96) */ member 795 data->alarms = val; /* lower 8 bit of alarms */ in lm90_update_device() 815 data->alarms |= val << 8; in lm90_update_device() 823 !(data->alarms & data->alert_alarms)) { in lm90_update_device() 1197 *val = (data->alarms >> lm90_min_alarm_bits[channel]) & 1; in lm90_temp_read() 1200 *val = (data->alarms >> lm90_max_alarm_bits[channel]) & 1; in lm90_temp_read() 1203 *val = (data->alarms >> lm90_crit_alarm_bits[channel]) & 1; in lm90_temp_read() 1206 *val = (data->alarms >> lm90_emergency_alarm_bits[channel]) & 1; in lm90_temp_read() 1209 *val = (data->alarms >> lm90_fault_bits[channel]) & 1; in lm90_temp_read() 1344 *val = data->alarms; in lm90_chip_read() [all …]
|
D | max1668.c | 68 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()
|
D | max6642.c | 85 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()
|
D | gl518sm.c | 123 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()
|
D | vt8231.c | 160 u16 alarms; /* Register encoding */ member 604 return sprintf(buf, "%d\n", data->alarms); in alarms_show() 606 static DEVICE_ATTR_RO(alarms); 613 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in alarm_show() 917 data->alarms = vt8231_read_value(data, VT8231_REG_ALARM1) | in vt8231_update_device() 922 data->alarms |= 0x40; in vt8231_update_device() 924 data->alarms &= ~0x40; in vt8231_update_device() 927 data->alarms |= 0x80; in vt8231_update_device() 929 data->alarms &= ~0x80; in vt8231_update_device()
|
D | adm1025.c | 109 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()
|
D | lm77.c | 61 u8 alarms; member 118 data->alarms = in lm77_update_device() 208 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in alarm_show()
|
D | lm80.c | 127 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);
|
/Linux-v5.15/Documentation/hwmon/ |
D | xdpe12284.rst | 45 and maximum and critical alarms. Critical thresholds and critical alarm are 63 and critical and low critical alarms. 79 The driver provides for power: input and alarms. Power alarm is supported only 91 and maximum and critical alarms.
|
D | bt1-pvt.rst | 27 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
|
D | gl518sm.rst | 40 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.
|
D | lm92.rst | 43 alarms for high, low, and critical thresholds. There's also an hysteresis to 44 control the thresholds for resetting alarms.
|
D | w83791d.rst | 97 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:
|
D | lm78.rst | 43 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.
|
D | sis5595.rst | 76 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-v5.15/Documentation/ABI/testing/ |
D | rtc-cdev | 14 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
|