/openbmc/phosphor-fan-presence/sensor-monitor/ |
H A D | shutdown_alarm_monitor.cpp | 118 timestamps.prune(alarms); in ShutdownAlarmMonitor() 138 alarms.emplace(AlarmKey{path, shutdownType2, AlarmType::high}, in findAlarms() 140 alarms.emplace(AlarmKey{path, shutdownType2, AlarmType::low}, in findAlarms() 148 for (auto& [alarmKey, timer] : alarms) in checkAlarms() 197 auto alarm = alarms.find(alarmKey); in propertiesChanged() 198 if (alarm == alarms.end()) in propertiesChanged() 200 alarms.emplace(alarmKey, nullptr); in propertiesChanged() 209 auto alarm = alarms.find(alarmKey); in propertiesChanged() 210 if (alarm == alarms.end()) in propertiesChanged() 212 alarms.emplace(alarmKey, nullptr); in propertiesChanged() [all …]
|
H A D | threshold_alarm_logger.cpp | 171 alarms.erase(InterfaceKey{path, interface}); in interfacesRemoved() 213 if (alarms.find(key) == alarms.end()) in checkProperties() 215 alarms[key][propertyName] = false; in checkProperties() 220 if (alarmValue != alarms[key][propertyName]) in checkProperties() 222 alarms[key][propertyName] = alarmValue; in checkProperties() 251 alarms[InterfaceKey(sensorPath, interface)][property] = alarmValue; in checkThresholds() 435 for (const auto& [interfaceKey, alarmMap] : alarms) in checkThresholds() 471 alarms.erase(e); in checkThresholds()
|
H A D | alarm_timestamps.hpp | 128 sdeventplus::ClockId::Monotonic>>>& alarms) in prune() 132 auto isTimerStopped = [&alarms](const AlarmKey& key) { in prune() 133 auto alarm = alarms.find(key); in prune() 134 if (alarm != alarms.end()) in prune()
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
H A 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_()
|
/openbmc/linux/drivers/hwmon/ |
H A 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);
|
H A 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 …]
|
H A 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()
|
H A 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);
|
H A D | max6697.c | 92 u32 alarms; member 188 u32 alarms; in max6697_update_device() local 233 alarms = 0; in max6697_update_device() 240 alarms = (alarms << 8) | val; in max6697_update_device() 242 data->alarms = alarms; in max6697_update_device() 296 return sprintf(buf, "%u\n", (data->alarms >> index) & 0x1); in alarm_show()
|
H A 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);
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | vt8231.c | 161 u16 alarms; /* Register encoding */ member 223 data->alarms = vt8231_read_value(data, VT8231_REG_ALARM1) | in vt8231_update_device() 228 data->alarms |= 0x40; in vt8231_update_device() 230 data->alarms &= ~0x40; in vt8231_update_device() 233 data->alarms |= 0x80; in vt8231_update_device() 235 data->alarms &= ~0x80; in vt8231_update_device() 669 return sprintf(buf, "%d\n", data->alarms); in alarms_show() 671 static DEVICE_ATTR_RO(alarms); 678 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in alarm_show()
|
H A 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()
|
/openbmc/linux/Documentation/hwmon/ |
H A 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
|
H A D | xdpe152c4.rst | 38 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.
|
H A D | xdpe12284.rst | 49 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.
|
H A 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.
|
H A D | mc34vr500.rst | 21 corresponding alarms. For the temperature, the chip can send interrupts if 27 alarms. The interrupts are mapped as follows:
|
H A 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:
|
H A D | lm92.rst | 43 alarms for high, low, and critical thresholds. There's also an hysteresis to 44 control the thresholds for resetting alarms.
|
H A 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.
|
/openbmc/linux/Documentation/ABI/testing/ |
H A 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
|