/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-iio-adc-hi8435 | 6 Program sensor type for threshold detector inputs. 7 Could be either "GND-Open" or "Supply-Open" mode. Y is a 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 19 is separately set for "GND-Open" and "Supply-Open" modes. 20 Channels 0..31 have common low threshold values, but could have different 23 The low voltage threshold range is between 2..21V. 24 Hysteresis between low and high thresholds can not be lower then 2 and [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | ltc2947.rst | 1 Kernel drivers ltc2947-i2c and ltc2947-spi 10 Addresses scanned: - 14 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2947.pdf 21 The LTC2947 is a high precision power and energy monitor that measures current, 30 active as soon as a temperature reading is higher than a defined threshold. The 37 The following attributes are supported. Limits are read-write, reset_history 38 is write-only and all the other attributes are read-only. 41 in0_input VP-VM voltage (mV). 42 in0_min Undervoltage threshold 43 in0_max Overvoltage threshold [all …]
|
H A D | ltc2945.rst | 10 Addresses scanned: - 14 https://www.analog.com/media/en/technical-documentation/data-sheets/2945fb.pdf 16 Author: Guenter Roeck <linux@roeck-us.net> 20 ----------- 22 The LTC2945 is a rail-to-rail system monitor that measures current, voltage, 27 ----------- 37 $ echo ltc2945 0x10 > /sys/bus/i2c/devices/i2c-1/new_device 41 ------------- 57 in1_min Undervoltage threshold 58 in1_max Overvoltage threshold [all …]
|
H A D | bt1-pvt.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 3 Kernel driver bt1-pvt 8 * Baikal-T1 PVT sensor (in SoC) 10 Prefix: 'bt1-pvt' 12 Addresses scanned: - 21 ----------- 24 embedded into Baikal-T1 process, voltage and temperature sensors. PVT IP-core 29 compile-time configurable due to the hardware interface implementation 35 the threshold status bits. Depending on the measurements timeout settings 40 in alarm-less configuration the data conversion is performed by the driver [all …]
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | si476x.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 ------------------- 14 - According to the SiLabs' datasheet it is possible to update the 15 firmware of the radio chip in the run-time, thus bringing it to the 23 ------------------------------- 31 * /sys/kernel/debug/<device-name>/acf 42 crossed below the blend threshold 44 frequency is lower than threshold 46 frequency is lower than threshold 48 bandwidth is less than threshold [all …]
|
/openbmc/dbus-sensors/src/ |
H A D | Thresholds.cpp | 48 return Direction::HIGH; in findThresholdDirection() 59 std::vector<thresholds::Threshold>& thresholdVector, in parseThresholdsFromConfig() 75 if (std::visit(VariantToStringVisitor(), labelFind->second) != in parseThresholdsFromConfig() 93 (std::visit(VariantToIntVisitor(), indexFind->second) != in parseThresholdsFromConfig() 105 std::visit(VariantToDoubleVisitor(), hysteresisFind->second); in parseThresholdsFromConfig() 114 std::cerr << "Malformed threshold on configuration interface " in parseThresholdsFromConfig() 119 std::visit(VariantToUnsignedIntVisitor(), severityFind->second); in parseThresholdsFromConfig() 122 std::visit(VariantToStringVisitor(), directionFind->second); in parseThresholdsFromConfig() 131 double val = std::visit(VariantToDoubleVisitor(), valueFind->second); in parseThresholdsFromConfig() 139 const thresholds::Threshold& threshold, in persistThreshold() argument [all …]
|
H A D | sensor.hpp | 3 #include "dbus-sensor_config.h" 71 std::vector<thresholds::Threshold>&& thresholdData, in Sensor() 81 hysteresisTrigger((max - min) * 0.01), in Sensor() 82 hysteresisPublish((max - min) * 0.0001), dbusConnection(conn), in Sensor() 103 std::vector<thresholds::Threshold> thresholds; 121 // notification whenever this Sensor's value is externally set via D-Bus. 139 std::cout << "Unknown threshold level \n"; in getThresholdInterface() 274 sensorInterface->register_property("Unit", unit); in setInitialProperties() 275 sensorInterface->register_property("MaxValue", maxValue); in setInitialProperties() 276 sensorInterface->register_property("MinValue", minValue); in setInitialProperties() [all …]
|
/openbmc/linux/sound/soc/amd/acp/ |
H A D | amd.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 16 #include <sound/soc-acpi.h> 17 #include <sound/soc-dai.h> 38 #define THRESHOLD(bit, base) ((bit) + (base)) macro 39 #define I2S_RX_THRESHOLD(base) THRESHOLD(7, base) 40 #define I2S_TX_THRESHOLD(base) THRESHOLD(8, base) 41 #define BT_TX_THRESHOLD(base) THRESHOLD(6, base) 42 #define BT_RX_THRESHOLD(base) THRESHOLD(5, base) 43 #define HS_TX_THRESHOLD(base) THRESHOLD(4, base) 44 #define HS_RX_THRESHOLD(base) THRESHOLD(3, base) [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | tau_6xx.c | 1 // SPDX-License-Identifier: GPL-2.0 39 unsigned char high; member 59 /* setup THRM1, threshold, valid bit, interrupt when below threshold */ in set_thresholds() 62 /* setup THRM2, threshold, valid bit, interrupt when above threshold */ in set_thresholds() 63 mtspr(SPRN_THRM2, THRM1_THRES(tau[cpu].high) | THRM1_V | maybe_tie); in set_thresholds() 78 tau[cpu].low -= step_size; in TAUupdate() 79 tau[cpu].high -= (step_size - window_expand); in TAUupdate() 82 pr_debug("%s: low threshold crossed\n", __func__); in TAUupdate() 88 if (tau[cpu].high <= 127 - step_size) { in TAUupdate() 89 tau[cpu].low += (step_size - window_expand); in TAUupdate() [all …]
|
/openbmc/phosphor-logging/extensions/openpower-pels/registry/ |
H A D | message_registry.json | 240 { "Priority": "high", "Procedure": "BMC0001" } 269 "Priority": "high", 294 { "Priority": "high", "Procedure": "BMC0001" } 318 { "Priority": "high", "Procedure": "BMC0001" } 342 { "Priority": "high", "Procedure": "BMC0001" } 378 "SyslogID": "phosphor-log-manager", 415 { "Priority": "high", "Procedure": "BMC0001" } 429 "SyslogID": "phosphor-log-manager", 457 { "Priority": "high", "Procedure": "BMC0001" }, 481 { "Priority": "high", "Procedure": "BMC0001" } [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Sensor/Threshold/ |
H A D | HardShutdown.interface.yaml | 4 implementing Sensor.Threshold.HardShutdown must be instantiated in the 20 Additionally, any object implementing Sensor.Threshold.HardShutdown must 24 - name: HardShutdownHigh 28 The upper bound of the shutdown threshold. A value of 'NaN' is used 29 to indicate there is no threshold of this type. 30 - name: HardShutdownLow 34 The lower bound of the shutdown threshold. A value of 'NaN' is used 35 to indicate there is no threshold of this type. 36 - name: HardShutdownAlarmHigh 44 - name: HardShutdownAlarmLow [all …]
|
H A D | Warning.interface.yaml | 3 Sensor.Threshold.Warning must be instantiated in the correct hierarchy 19 Additionally, any object implementing Sensor.Threshold.Warning must also 23 - name: WarningHigh 27 The upper bound of the warning threshold. A value of 'NaN' is used to 28 indicate there is no threshold of this type. 29 - name: WarningLow 33 The lower bound of the warning threshold. A value of 'NaN' is used to 34 indicate there is no threshold of this type. 35 - name: WarningAlarmHigh 43 - name: WarningAlarmLow [all …]
|
H A D | SoftShutdown.interface.yaml | 3 implementing Sensor.Threshold.Shutdown must be instantiated in the correct 19 Additionally, any object implementing Sensor.Threshold.SoftShutdown must 23 - name: SoftShutdownHigh 27 The upper bound of the soft shutdown threshold. A value of 'NaN' is 28 used to indicate there is no threshold of this type. 29 - name: SoftShutdownLow 33 The lower bound of the soft shutdown threshold. A value of 'NaN' is 34 used to indicate there is no threshold of this type. 35 - name: SoftShutdownAlarmHigh 43 - name: SoftShutdownAlarmLow [all …]
|
H A D | Critical.interface.yaml | 3 Sensor.Threshold.Critical must be instantiated in the correct hierarchy 19 Additionally, any object implementing Sensor.Threshold.Critical must also 23 - name: CriticalHigh 27 The upper bound of the critical threshold. A value of 'NaN' is used 28 to indicate there is no threshold of this type. 29 - name: CriticalLow 33 The lower bound of the critical threshold. A value of 'NaN' is used 34 to indicate there is no threshold of this type. 35 - name: CriticalAlarmHigh 43 - name: CriticalAlarmLow [all …]
|
H A D | PerformanceLoss.interface.yaml | 3 implementing Sensor.Threshold.PerformanceLoss must be instantiated in the 19 Additionally, any object implementing Sensor.Threshold.PerformanceLoss must 23 - name: PerformanceLossHigh 27 The upper bound of the warning threshold. A value of 'NaN' is used to 28 indicate there is no threshold of this type. 29 - name: PerformanceLossLow 33 The lower bound of the warning threshold. A value of 'NaN' is used to 34 indicate there is no threshold of this type. 35 - name: PerformanceLossAlarmHigh 44 - name: PerformanceLossAlarmLow [all …]
|
/openbmc/linux/net/wireless/ |
H A D | wext-spy.c | 4 * Authors : Jean Tourrilhes - HPL - <jt@hpl.hp.com> 5 * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved. 21 if (dev->wireless_data) in get_spydata() 22 return dev->wireless_data->spy_data; in get_spydata() 36 return -EOPNOTSUPP; in iw_handler_set_spy() 41 spydata->spy_number = 0; in iw_handler_set_spy() 52 if (wrqu->data.length > 0) { in iw_handler_set_spy() 56 for (i = 0; i < wrqu->data.length; i++) in iw_handler_set_spy() 57 memcpy(spydata->spy_address[i], address[i].sa_data, in iw_handler_set_spy() 60 memset(spydata->spy_stat, 0, in iw_handler_set_spy() [all …]
|
/openbmc/linux/include/linux/ |
H A D | bma150.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 25 bool any_motion_int; /* Set to enable any-motion interrupt */ 26 bool hg_int; /* Set to enable high-G interrupt */ 27 bool lg_int; /* Set to enable low-G interrupt */ 28 unsigned char any_motion_dur; /* Any-motion duration */ 29 unsigned char any_motion_thres; /* Any-motion threshold */ 30 unsigned char hg_hyst; /* High-G hysterisis */ 31 unsigned char hg_dur; /* High-G duration */ 32 unsigned char hg_thres; /* High-G threshold */ 33 unsigned char lg_hyst; /* Low-G hysterisis */ [all …]
|
/openbmc/phosphor-fan-presence/sensor-monitor/ |
H A D | shutdown_alarm_monitor.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 22 #include <phosphor-logging/log.hpp> 35 {ShutdownType::hard, "xyz.openbmc_project.Sensor.Threshold.HardShutdown"}, 36 {ShutdownType::soft, "xyz.openbmc_project.Sensor.Threshold.SoftShutdown"}}; 41 {AlarmType::high, "HardShutdownAlarmHigh"}}}, 44 {AlarmType::high, "SoftShutdownAlarmHigh"}}}}; 54 {{AlarmType::high, 55 "xyz.openbmc_project.Sensor.Threshold.Error.HardShutdownAlarmHigh"}, 56 {AlarmType::low, "xyz.openbmc_project.Sensor.Threshold.Error." 59 {{AlarmType::high, [all …]
|
/openbmc/phosphor-virtual-sensor/ |
H A D | thresholds.hpp | 5 #include <xyz/openbmc_project/Sensor/Threshold/Critical/server.hpp> 6 #include <xyz/openbmc_project/Sensor/Threshold/HardShutdown/server.hpp> 7 #include <xyz/openbmc_project/Sensor/Threshold/PerformanceLoss/server.hpp> 8 #include <xyz/openbmc_project/Sensor/Threshold/SoftShutdown/server.hpp> 9 #include <xyz/openbmc_project/Sensor/Threshold/Warning/server.hpp> 20 sdbusplus::xyz::openbmc_project::Sensor::Threshold::server; 28 struct Threshold; 36 return this->highHysteresis; in getHighHysteresis() 41 return this->lowHysteresis; in getLowHysteresis() 46 this->highHysteresis = value; in setHighHysteresis() [all …]
|
/openbmc/linux/drivers/thermal/broadcom/ |
H A D | brcmstb_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2015-2017 Broadcom 57 #define AVS_TMON_TEMP_MIN -88161 79 /* Trips when temperature is below threshold */ 87 /* Trips when temperature is above threshold */ 95 /* Automatically resets chip when above threshold */ 123 int offset = priv->temp_params->offset; in avs_tmon_code_to_temp() 124 int mult = priv->temp_params->mult; in avs_tmon_code_to_temp() 126 return (offset - (int)((code & AVS_TMON_TEMP_MASK) * mult)); in avs_tmon_code_to_temp() 138 int offset = priv->temp_params->offset; in avs_tmon_temp_to_code() [all …]
|
/openbmc/linux/include/linux/mfd/ |
H A D | ac100.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2016 Chen-Yu Tsai 7 * Chen-Yu Tsai <wens@csie.org> 84 /* ADC digital audio processing (high pass filter & auto gain control */ 91 #define AC100_ADC_DAP_L_H_A_C 0x86 /* Left High Avg. Coef */ 93 #define AC100_ADC_DAP_R_H_A_C 0x88 /* Right High Avg. Coef */ 99 #define AC100_ADC_DAP_N_TH 0x8e /* Noise Threshold */ 100 #define AC100_ADC_DAP_L_H_N_A_C 0x8f /* Left High Noise Avg. Coef */ 102 #define AC100_ADC_DAP_R_H_N_A_C 0x91 /* Right High Noise Avg. Coef */ 104 #define AC100_ADC_DAP_H_HPF_C 0x93 /* High High-Pass-Filter Coef */ [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | ab8500-bm.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 157 /* BTEMP High thermal limits */ 267 * struct ab8500_fg_parameters - Fuel gauge algorithm parameters, in seconds 274 * @high_curr_time: Time current has to be high to go to recovery 276 * @accu_high_curr_ua: FG accumulation time in high current mode 277 * @high_curr_threshold_ua: High current threshold, in uA 278 * @lowbat_threshold_uv: Low battery threshold, in uV 279 * @battok_falling_th_sel0 Threshold in mV for battOk signal sel0 281 * @battok_raising_th_sel1 Threshold in mV for battOk signal sel1 286 * @maint_thres This is the threshold where we stop reporting [all …]
|
/openbmc/bmcweb/redfish-core/include/registries/ |
H A D | openbmc_message_registry.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 6 * This is an auto-generated header which contains definitions 18 // clang-format off 35 …"https://raw.githubusercontent.com/openbmc/bmcweb/refs/heads/master/redfish-core/include/registrie… 57 "Indicates At-Scale Debug connection has been established", 58 "At-Scale Debug service is now connected %1", 69 "Indicates At-Scale Debug connection aborted/failed", 70 "At-Scale Debug connection aborted/failed", 79 "Indicates At-Scale Debug connection has ended", [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/thermal/ |
H A D | qcom-lmh.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/thermal/qcom-lmh.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Thara Gopinath <thara.gopinath@gmail.com> 21 - qcom,sc8180x-lmh 22 - qcom,sdm845-lmh 23 - qcom,sm8150-lmh 27 - description: core registers 32 '#interrupt-cells': [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | bt1-pvt.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Baikal-T1 Process, Voltage, Temperature sensor driver 17 /* Baikal-T1 PVT registers and their bitfields */ 61 * PVT sensors-related limits and default values 73 * when one is determined for Baikal-T1 SoC). 84 #define PVT_TEMP_MIN -48380L 105 * enum pvt_sensor_type - Baikal-T1 PVT sensor types (correspond to each PVT 110 * @PVT_LVT: PVT Low-Voltage threshold sensor. 111 * @PVT_HVT: PVT High-Voltage threshold sensor. 112 * @PVT_SVT: PVT Standard-Voltage threshold sensor. [all …]
|