Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 25 of 723) sorted by relevance

12345678910>>...29

/openbmc/dbus-sensors/src/
H A DThresholds.cpp139 const thresholds::Threshold& threshold, in persistThreshold() argument
148 [&, path, threshold, thresholdInterface, in persistThreshold()
186 if ((findThresholdLevel(severity) != threshold.level) || in persistThreshold()
187 (findThresholdDirection(dir) != threshold.direction)) in persistThreshold()
192 std::variant<double> value(threshold.value); in persistThreshold()
211 for (const auto& threshold : sensor->thresholds) in updateThresholds() local
214 sensor->getThresholdInterface(threshold.level); in updateThresholds()
222 Sensor::propertyLevel(threshold.level, threshold.direction); in updateThresholds()
227 interface->set_property(property, threshold.value); in updateThresholds()
244 threshold(whichThreshold), asserted(status), assertValue(value) in ChangeParam()
[all …]
H A DThresholds.hpp78 bool hasActiveTimer(const Threshold& threshold, bool assert) in hasActiveTimer()
84 if ((timer.first.level == threshold.level) && in hasActiveTimer()
85 (timer.first.direction == threshold.direction) && in hasActiveTimer()
95 void stopTimer(const Threshold& threshold, bool assert) in stopTimer()
103 if ((timerUsed.level == threshold.level) && in stopTimer()
104 (timerUsed.direction == threshold.direction) && in stopTimer()
114 const Threshold& threshold, bool assert,
153 const thresholds::Threshold& threshold,
H A Dsensor.hpp284 for (auto& threshold : thresholds) in setInitialProperties() local
286 if (std::isnan(threshold.hysteresis)) in setInitialProperties()
288 threshold.hysteresis = hysteresisTrigger; in setInitialProperties()
292 getThresholdInterface(threshold.level); in setInitialProperties()
301 propertyLevel(threshold.level, threshold.direction); in setInitialProperties()
303 propertyAlarm(threshold.level, threshold.direction); in setInitialProperties()
312 level, threshold.value, in setInitialProperties()
315 threshold.value = request; in setInitialProperties()
317 configurationPath, configInterface, threshold, in setInitialProperties()
502 for (auto& threshold : thresholds) in updateValue() local
[all …]
/openbmc/linux/Documentation/hwmon/
H A Dmax1668.rst35 temp1_max rw local temperature maximum threshold for alarm
36 temp1_max_alarm ro local temperature maximum threshold alarm
37 temp1_min rw local temperature minimum threshold for alarm
38 temp1_min_alarm ro local temperature minimum threshold alarm
40 temp2_max rw remote temperature 1 maximum threshold for alarm
41 temp2_max_alarm ro remote temperature 1 maximum threshold alarm
42 temp2_min rw remote temperature 1 minimum threshold for alarm
43 temp2_min_alarm ro remote temperature 1 minimum threshold alarm
45 temp3_max rw remote temperature 2 maximum threshold for alarm
46 temp3_max_alarm ro remote temperature 2 maximum threshold alarm
[all …]
H A Dltc2947.rst30 active as soon as a temperature reading is higher than a defined threshold. The
42 in0_min Undervoltage threshold
43 in0_max Overvoltage threshold
52 in1_min Undervoltage threshold
53 in1_max Overvoltage threshold
62 curr1_min Undercurrent threshold
63 curr1_max Overcurrent threshold
72 power1_min Low power threshold
73 power1_max High power threshold
82 temp1_min Low temperature threshold
[all …]
H A Dltc2945.rst57 in1_min Undervoltage threshold
58 in1_max Overvoltage threshold
66 in2_min Undervoltage threshold
67 in2_max Overvoltage threshold
75 curr1_min Undercurrent threshold
76 curr1_max Overcurrent threshold
85 power1_min Low lower threshold
86 power1_max High power threshold
H A Dina238.rst36 in0_min Minimum shunt voltage threshold (mV)
38 in0_max Maximum shunt voltage threshold (mV)
42 in1_min Minimum bus voltage threshold (mV)
44 in1_max Maximum bus voltage threshold (mV)
48 power1_max Maximum power threshold (uW)
54 temp1_max Maximum die temperature threshold (mC)
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-adc-hi84356 Program sensor type for threshold detector inputs.
8 threshold detector input channel. Channels 0..7, 8..15, 16..23
16 Channel Y low voltage threshold. If sensor input voltage goes lower then
17 this value then the threshold falling event is pushed.
18 Depending on in_voltageY_sensing_mode the low voltage threshold
20 Channels 0..31 have common low threshold values, but could have different
23 The low voltage threshold range is between 2..21V.
27 If falling threshold results hysteresis to odd value then rising
28 threshold is automatically subtracted by one.
35 Channel Y high voltage threshold. If sensor input voltage goes higher then
[all …]
/openbmc/phosphor-virtual-sensor/
H A DvirtualSensor.cpp167 auto threshold = getThresholdType(direction, severity); in parseThresholds() local
168 thresholds[threshold] = value; in parseThresholds()
174 thresholds[threshold + "Hysteresis"] = hysteresis; in parseThresholds()
179 thresholds[threshold + "Direction"] = entityInterface; in parseThresholds()
228 auto threshold = sensorConfig.value("Threshold", empty); in initVirtualSensor() local
230 createThresholds(threshold, objPath); in initVirtualSensor()
479 void VirtualSensor::createThresholds(const Json& threshold, in createThresholds() argument
482 if (threshold.empty()) in createThresholds()
488 if (threshold.contains("CriticalHigh") || threshold.contains("CriticalLow")) in createThresholds()
493 if (threshold.contains("CriticalHigh")) in createThresholds()
[all …]
H A DvirtualSensor.hpp198 void createThresholds(const Json& threshold, const std::string& objPath);
206 void checkThresholds(V value, T& threshold) in checkThresholds() argument
208 if (!threshold) in checkThresholds()
213 auto alarmHigh = threshold->alarmHigh(); in checkThresholds()
214 auto highHysteresis = threshold->getHighHysteresis(); in checkThresholds()
215 if ((!alarmHigh && value >= threshold->high()) || in checkThresholds()
216 (alarmHigh && value < (threshold->high() - highHysteresis))) in checkThresholds()
223 threshold->alarmHighSignalAsserted(value); in checkThresholds()
230 threshold->alarmHighSignalDeasserted(value); in checkThresholds()
232 threshold->alarmHigh(!alarmHigh); in checkThresholds()
[all …]
/openbmc/linux/drivers/soc/tegra/fuse/
H A Dspeedo-tegra124.c51 int *threshold) in rev_sku_to_speedo_ids() argument
59 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids()
77 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids()
85 *threshold = THRESHOLD_INDEX_1; in rev_sku_to_speedo_ids()
93 *threshold = THRESHOLD_INDEX_1; in rev_sku_to_speedo_ids()
104 int i, threshold, soc_speedo_0_value; in tegra124_init_speedo_data() local
124 rev_sku_to_speedo_ids(sku_info, &threshold); in tegra124_init_speedo_data()
130 gpu_process_speedos[threshold][i]) in tegra124_init_speedo_data()
136 cpu_process_speedos[threshold][i]) in tegra124_init_speedo_data()
142 soc_process_speedos[threshold][i]) in tegra124_init_speedo_data()
H A Dspeedo-tegra114.c34 int *threshold) in rev_sku_to_speedo_ids() argument
47 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids()
54 *threshold = THRESHOLD_INDEX_1; in rev_sku_to_speedo_ids()
61 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids()
77 int threshold; in tegra114_init_speedo_data() local
85 rev_sku_to_speedo_ids(sku_info, &threshold); in tegra114_init_speedo_data()
91 if (cpu_speedo_val < cpu_process_speedos[threshold][i]) in tegra114_init_speedo_data()
96 if (soc_speedo_val < soc_process_speedos[threshold][i]) in tegra114_init_speedo_data()
/openbmc/linux/net/wireless/
H A Dwext-spy.c116 struct iw_thrspy * threshold = (struct iw_thrspy *) extra; in iw_handler_set_thrspy() local
123 spydata->spy_thr_low = threshold->low; in iw_handler_set_thrspy()
124 spydata->spy_thr_high = threshold->high; in iw_handler_set_thrspy()
143 struct iw_thrspy * threshold = (struct iw_thrspy *) extra; in iw_handler_get_thrspy() local
150 threshold->low = spydata->spy_thr_low; in iw_handler_get_thrspy()
151 threshold->high = spydata->spy_thr_high; in iw_handler_get_thrspy()
167 struct iw_thrspy threshold; in iw_send_thrspy_event() local
173 memcpy(threshold.addr.sa_data, address, ETH_ALEN); in iw_send_thrspy_event()
174 threshold.addr.sa_family = ARPHRD_ETHER; in iw_send_thrspy_event()
176 threshold.qual = *wstats; in iw_send_thrspy_event()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-write-threshold.c16 uint64_t threshold = 4 * 1024 * 1024; in test_threshold_not_trigger() local
21 bdrv_write_threshold_set(&bs, threshold); in test_threshold_not_trigger()
23 g_assert_cmpuint(bdrv_write_threshold_get(&bs), ==, threshold); in test_threshold_not_trigger()
29 uint64_t threshold = 4 * 1024 * 1024; in test_threshold_trigger() local
34 bdrv_write_threshold_set(&bs, threshold); in test_threshold_trigger()
35 bdrv_write_threshold_check_write(&bs, threshold - 1024, 2 * 1024); in test_threshold_trigger()
/openbmc/linux/drivers/cpuidle/governors/
H A Dladder.c32 } threshold; member
89 last_residency > last_state->threshold.promotion_time_ns && in ladder_select_state()
93 if (last_state->stats.promotion_count >= last_state->threshold.promotion_count) { in ladder_select_state()
114 last_residency < last_state->threshold.demotion_time_ns) { in ladder_select_state()
117 if (last_state->stats.demotion_count >= last_state->threshold.demotion_count) { in ladder_select_state()
150 lstate->threshold.promotion_count = PROMOTION_COUNT; in ladder_enable_device()
151 lstate->threshold.demotion_count = DEMOTION_COUNT; in ladder_enable_device()
154 lstate->threshold.promotion_time_ns = state->exit_latency_ns; in ladder_enable_device()
156 lstate->threshold.demotion_time_ns = state->exit_latency_ns; in ladder_enable_device()
/openbmc/linux/Documentation/misc-devices/
H A Dbh1770glc.rst26 low and high threshold interrupts.
34 Driver uses threshold interrupts to avoid need for polling the values.
36 by using a delayed work. As long as there is proximity threshold above
38 below the threshold value, there is no interrupt and the delayed work will
65 sysfs_notify called when threshold interrupt occurs
77 RW - HI level threshold value
84 RW - LO level threshold value
102 sysfs_notify called when threshold interrupt occurs
119 RW - Measurement rate (in Hz) when the level is above threshold
123 RW - Measurement rate (in Hz) when the level is below threshold
[all …]
/openbmc/linux/Documentation/admin-guide/media/
H A Dsi476x.rst42 crossed below the blend threshold
44 frequency is lower than threshold
46 frequency is lower than threshold
48 bandwidth is less than threshold
51 softmute threshold
91 0x00 mxhi 0 - FM Mixer PD high threshold is
93 1 - FM Mixer PD high threshold is
117 the Multipath high threshold
119 the Multipath high threshold
120 0x01 multlint ditto for Multipath low threshold
[all …]
/openbmc/phosphor-health-monitor/
H A Dhealth_metric.cpp116 auto threshold = thresholds.find(type); in initProperties() local
117 if (threshold == thresholds.end()) in initProperties()
125 threshold->second.emplace(bound, value.value); in initProperties()
154 auto threshold = std::make_tuple(type, bound); in checkThreshold() local
159 auto tConfig = config.thresholds.at(threshold); in checkThreshold()
166 if (!assertions.contains(threshold)) in checkThreshold()
168 assertions.insert(threshold); in checkThreshold()
182 else if (assertions.contains(threshold)) in checkThreshold()
184 assertions.erase(threshold); in checkThreshold()
187 if (config.thresholds.find(threshold)->second.log) in checkThreshold()
H A Dbmc_health_config_json.md38 - This indicates the number of samples being used for threshold value
47 - The following threshold levels (with bounds) are supported.
60 - This indicates the percentage value at which specific threshold gets
62 - For lower bound, the threshold gets asserted if metric value falls
63 below the specified threshold percentage value.
64 - For upper bound, the threshold gets asserted if metric value goes
65 beyond the specified threshold percentage value.
67 shall be logged when threshold gets asserted.
70 threshold gets asserted.
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/
H A Dia_css_anr.host.c40 to->threshold = from->threshold; in ia_css_anr_encode()
51 "anr_threshold", anr->threshold); in ia_css_anr_dump()
61 config->threshold); in ia_css_anr_debug_dtrace()
/openbmc/s2600wf-misc/callback-manager/include/
H A Dcallback_manager.hpp19 namespace threshold namespace
56 result.emplace(threshold::critical, "", path); in setLocalAssociations()
60 result.emplace(threshold::warning, "", path); in setLocalAssociations()
64 result.emplace(threshold::warning, "", path); in setLocalAssociations()
79 result.emplace(threshold::critical, "", path); in setSensorAssociations()
87 result.emplace(threshold::warning, "", path); in setSensorAssociations()
/openbmc/linux/drivers/staging/axis-fifo/
H A Daxis-fifo.txt38 - xlnx,rx-fifo-pe-threshold: RX programmable empty interrupt threshold
40 - xlnx,rx-fifo-pf-threshold: RX programmable full interrupt threshold
46 - xlnx,tx-fifo-pe-threshold: TX programmable empty interrupt threshold
48 - xlnx,tx-fifo-pf-threshold: TX programmable full interrupt threshold
80 xlnx,rx-fifo-pe-threshold = <0x2>;
81 xlnx,rx-fifo-pf-threshold = <0x1fb>;
86 xlnx,tx-fifo-pe-threshold = <0x200>;
87 xlnx,tx-fifo-pf-threshold = <0x7ffb>;
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxbb-p200.dts28 keyup-threshold-microvolt = <1800000>;
33 press-threshold-microvolt = <900000>; /* 50% */
39 press-threshold-microvolt = <684000>; /* 38% */
45 press-threshold-microvolt = <468000>; /* 26% */
51 press-threshold-microvolt = <252000>; /* 14% */
57 press-threshold-microvolt = <0>; /* 0% */
/openbmc/openbmc-test-automation/openpower/ras/
H A Dtest_host_ras.robot31 ... threshold 1.
41 ... threshold 32.
62 ... threshold 1.
83 ... threshold 5.
93 ... threshold 32.
115 ... threshold 32.
127 ... threshold 32.
139 ... threshold 1.
150 ... threshold 32.
162 ... threshold 1.
[all …]
/openbmc/linux/lib/zstd/common/
H A Dentropy_common.c67 int threshold; in FSE_readNCount_body() local
95 threshold = 1<<nbBits; in FSE_readNCount_body()
149 int const max = (2*threshold-1) - remaining; in FSE_readNCount_body()
152 if ((bitStream & (threshold-1)) < (U32)max) { in FSE_readNCount_body()
153 count = bitStream & (threshold-1); in FSE_readNCount_body()
156 count = bitStream & (2*threshold-1); in FSE_readNCount_body()
157 if (count >= threshold) count -= max; in FSE_readNCount_body()
174 assert(threshold > 1); in FSE_readNCount_body()
175 if (remaining < threshold) { in FSE_readNCount_body()
182 threshold = 1 << (nbBits - 1); in FSE_readNCount_body()

12345678910>>...29