/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 | 131 // check for any currently asserted threshold alarms in ThresholdAlarmLogger() 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() 253 // This is just for checking alarms on startup, in checkThresholds() 254 // so only look for active alarms. in checkThresholds() 296 std::format("Could not find {} in threshold alarms map", in createEventLog() [all …]
|
H A D | threshold_alarm_logger.hpp | 64 * Looks for existing active threshold alarms. 88 * Removes that threshold from the alarms map 105 * @brief Checks for alarms in the D-Bus data passed in, 117 * @brief Checks for active alarms on the path and threshold interface 129 * @brief Checks for all active alarms on all existing 186 * Checks alarms when power is turned on. 235 std::map<InterfaceKey, std::map<PropertyName, bool>> alarms; member in sensor::monitor::ThresholdAlarmLogger
|
H A D | alarm_timestamps.hpp | 124 * @param[in] alarms - The current alarms map. 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()
|
H A D | shutdown_alarm_monitor.hpp | 46 * Event logs are also created when the alarms trip and clear. 106 * D-Bus and adds them to the alarms map. 134 * Checks alarms when power is turned on, and clears 197 * @brief The map of alarms. 201 alarms; member in sensor::monitor::ShutdownAlarmMonitor
|
/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 | 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 | 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 149 Alarms bitmap vs. beep_mask bitmask 152 For legacy code using the alarms and beep_mask files: 155 Signal Alarms beep_mask Obs
|
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 | 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 | sysfs-interface.rst | 57 Alarms are direct indications read from the chips. The drivers do NOT 162 Also see the Alarms section for status flags associated with voltages. 193 Also see the Alarms section for status flags associated with fans. 312 Also see the Alarms section for status flags associated with temperatures. 360 Also see the Alarms section for status flags associated with currents. 461 Also see the Alarms section for status flags associated with power readings. 502 Alarms section in Attribute access 508 Usually a given chip will either use channel-related alarms, or 509 limit-related alarms, not both. The driver should just reflect the hardware 563 Old drivers provided a different, non-standard interface to alarms and [all …]
|
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.
|
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 | 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 | 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.
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
H A D | base.c | 75 /* Process pending alarms. */ in nvkm_timer_alarm_trigger() 77 list_for_each_entry_safe(alarm, atemp, &tmr->alarms, head) { in nvkm_timer_alarm_trigger() 93 /* Shut down interrupt if no more pending alarms. */ 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/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
|
/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 355 /* GPIO16 is MSbit of alarms, move it to gpio */ in adm1026_update_device() 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() [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 | bt1-pvt.c | 173 * This driver can optionally provide the hwmon alarms for each sensor the PVT 174 * controller supports. The alarms functionality is made compile-time 176 * described further in this comment. So in case if alarms are unnecessary in 178 * IRQs being periodically raised to get the data cache/alarms status up to 185 * threshold value alarms. Alas the wrapper interface hasn't been fully thought 188 * completed. Due to this if alarms need to be implemented for all available 191 * the alarms by itself at each conversion. This also makes pointless to handle 192 * the alarms interrupts, since in occasion they happen synchronously with 195 * driver data cache. This solution is implemented if hwmon alarms are enabled 196 * in this driver. In case if the alarms are disabled, the conversion is [all …]
|
/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/rtc/ |
H A D | sysfs.c | 134 /* Don't show disabled alarms. For uniformity, RTC alarms are in wakealarm_show() 140 * alarms after they trigger, to ensure one-shot semantics. in wakealarm_show() 163 /* Only request alarms that trigger in the future. Disable them in wakealarm_store() 187 /* Avoid accidentally clobbering active alarms; we can't in wakealarm_store()
|
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965-calib.c | 86 /* "false alarms" are signals that our DSP tries to lock onto, 108 * numbers of false alarms within the measured period of actual Rx in il4965_sens_energy_cck() 109 * (Rx is off when we're txing), vs the min/max expected false alarms in il4965_sens_energy_cck() 178 * false alarms. */ in il4965_sens_energy_cck() 183 D_CALIB("consecutive bcns with few false alarms = %u\n", in il4965_sens_energy_cck() 186 /* If we got too many false alarms this time, reduce sensitivity */ in il4965_sens_energy_cck() 204 * healthy number or too many false alarms */ in il4965_sens_energy_cck() 213 * 1a) previous beacon did *not* have *too many* false alarms in il4965_sens_energy_cck() 217 * false alarms */ in il4965_sens_energy_cck() 230 /* Else we got a healthy number of false alarms, keep status quo */ in il4965_sens_energy_cck() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | calib.c | 101 /* "false alarms" are signals that our DSP tries to lock onto, 124 * numbers of false alarms within the measured period of actual Rx in iwl_sens_energy_cck() 125 * (Rx is off when we're txing), vs the min/max expected false alarms in iwl_sens_energy_cck() 195 * false alarms. */ in iwl_sens_energy_cck() 200 IWL_DEBUG_CALIB(priv, "consecutive bcns with few false alarms = %u\n", in iwl_sens_energy_cck() 203 /* If we got too many false alarms this time, reduce sensitivity */ in iwl_sens_energy_cck() 221 * healthy number or too many false alarms */ in iwl_sens_energy_cck() 230 * 1a) previous beacon did *not* have *too many* false alarms in iwl_sens_energy_cck() 234 * false alarms */ in iwl_sens_energy_cck() 247 /* Else we got a healthy number of false alarms, keep status quo */ in iwl_sens_energy_cck() [all …]
|