/openbmc/phosphor-fan-presence/docs/monitor/ |
H A D | method.md | 13 - ["timebased"](#timebased) - Default 14 - ["count"](#count) 24 - `allowed_out_of_range_time` - Time(in seconds) that each fan sensor is allowed 27 - `functional_delay` - Optional, default = 0 28 - Time(in seconds) that each fan sensor must be calculated within range of a 41 - This is equivalent to above: 48 ### "count" 51 nonfunctional based on a `threshold` or functional when the counter = 0. Each 54 `threshold`, the fan is marked nonfunctional. However, at any point the sensor's 58 `threshold` number of times deemed out of range. The same is true for a [all …]
|
/openbmc/linux/lib/zstd/common/ |
H A D | entropy_common.c | 6 * - FSE+HUF source repository : https://github.com/Cyan4973/FiniteStateEntropy 7 * - Public forum : https://groups.google.com/forum/#!forum/lz4c 9 * This source code is licensed under both the BSD-style license (found in the 12 * You may select, at your option, one of the above-listed licenses. 38 /*-************************************************************** 39 * FSE NCount encoding-decoding 48 U32 count = 0; in FSE_ctz() 51 ++count; in FSE_ctz() 53 return count; in FSE_ctz() 67 int threshold; in FSE_readNCount_body() local [all …]
|
/openbmc/linux/drivers/gpu/host1x/hw/ |
H A D | opcodes.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument 17 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt() 21 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument 24 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base() 77 static inline u32 host1x_opcode_incr(unsigned offset, unsigned count) in host1x_opcode_incr() argument 79 return (1 << 28) | (offset << 16) | count; in host1x_opcode_incr() 82 static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count) in host1x_opcode_nonincr() argument 84 return (2 << 28) | (offset << 16) | count; in host1x_opcode_nonincr() 108 static inline u32 host1x_opcode_gather(unsigned count) in host1x_opcode_gather() argument [all …]
|
/openbmc/linux/drivers/md/persistent-data/ |
H A D | dm-space-map-metadata.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include "dm-space-map.h" 9 #include "dm-space-map-common.h" 10 #include "dm-space-map-metadata.h" 14 #include <linux/device-mapper.h> 19 /*----------------------------------------------------------------*/ 22 * An edge triggered threshold. 24 struct threshold { struct 27 dm_block_t threshold; argument 33 static void threshold_init(struct threshold *t) in threshold_init() argument [all …]
|
H A D | dm-space-map.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include "dm-block-manager.h" 28 * Extensions do not appear in this count until after commit has 31 int (*get_nr_blocks)(struct dm_space_map *sm, dm_block_t *count); 38 * have blocks with a zero reference count that will not be 41 int (*get_nr_free)(struct dm_space_map *sm, dm_block_t *count); 46 int (*set_count)(struct dm_space_map *sm, dm_block_t b, uint32_t count); 67 * You can register one threshold callback which is edge-triggered 68 * when the free space in the space map drops below the threshold. 71 dm_block_t threshold, [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/powerpc/power8/ |
H A D | pmc.json | 83 "BriefDescription": "Threshold counter exceeded a value of 1024", 89 "BriefDescription": "Threshold counter exceeded a value of 128", 95 "BriefDescription": "Threshold counter exceeded a value of 2048", 101 "BriefDescription": "Threshold counter exceed a count of 256", 107 "BriefDescription": "Threshold counter exceeded a value of 32", 113 "BriefDescription": "Threshold counter exceed a count of 4096", 119 "BriefDescription": "Threshold counter exceeded a value of 512", 125 "BriefDescription": "IFU non-branch finished", 126 "PublicDescription": "Threshold counter exceeded a value of 64" 131 "BriefDescription": "threshold exceeded", [all …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | bp_signal_overflow.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * 'int-ll64.h' and avoid compile warnings when printing __u64 with %llu. 28 #include "../perf-sys.h" 47 long long count; in bp_count() local 50 ret = read(fd, &count, sizeof(long long)); in bp_count() 56 return count; in bp_count() 60 #define THRESHOLD 100 macro 66 long long count; in test__bp_signal_overflow() local 93 pe.sample_period = THRESHOLD; in test__bp_signal_overflow() 101 fd = sys_perf_event_open(&pe, 0, -1, -1, in test__bp_signal_overflow() [all …]
|
/openbmc/linux/drivers/thermal/intel/ |
H A D | therm_throt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 45 * struct _thermal_state - Represent the current thermal event state 48 * @last_interrupt_time: Stores the timestamp for the last threshold 51 * @count: Stores the current running count for thermal 52 * or power threshold interrupts. 53 * @last_count: Stores the previous running count for thermal 54 * or power threshold interrupts. 57 * threshold high to low state. 61 * This is used for the purpose of rate-control. 72 * @baseline_temp: Temperature at which thermal threshold high [all …]
|
/openbmc/linux/drivers/iio/proximity/ |
H A D | irsd200.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for Murata IRS-D200 PIR sensor. 30 #define IRS_REG_COUNT 0x05 /* Count of exceeding threshold. */ 32 #define IRS_REG_FILTER 0x07 /* High-pass and low-pass filter. */ 35 #define IRS_REG_THR_HI 0x0b /* Upper threshold. */ 36 #define IRS_REG_THR_LO 0x0c /* Lower threshold. */ 43 #define IRS_INTR_COUNT_THR_AND 2 /* Count "AND" threshold. */ 44 #define IRS_INTR_COUNT_THR_OR 3 /* Count "OR" threshold. */ 51 * Quantization scale value for threshold. Used for conversion from/to register 56 #define IRS_UPPER_COUNT(count) FIELD_GET(GENMASK(7, 4), count) argument [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_sol.robot | 20 @{setinprogress} set-complete set-in-progress commit-write 67 Set SOL Setting privilege-level ${item} 74 [Documentation] Verify invalid SOL's retry count via IPMI. 79 ... sol set privilege-level ${value} 83 Set Invalid SOL Retry Count 84 [Documentation] Verify invalid SOL's retry count via IPMI. 87 # Any integer above 7 is invalid for SOL retry count. 91 ... sol set retry-count ${value} 103 ... sol set retry-interval ${value} 115 ... sol set character-accumulate-level ${value} [all …]
|
/openbmc/qemu/block/ |
H A D | quorum.c | 4 * Copyright (C) 2012-2014 Nodalink, EURL. 13 * See the COPYING file in the top-level directory. 25 #include "qapi/qapi-events-block.h" 36 #define QUORUM_OPT_VOTE_THRESHOLD "vote-threshold" 38 #define QUORUM_OPT_REWRITE "rewrite-corrupted" 39 #define QUORUM_OPT_READ_PATTERN "read-pattern" 43 uint8_t h[HASH_LENGTH]; /* SHA-256 hash */ 75 int num_children; /* children count */ 79 int threshold; /* if less than threshold children reads gave the member 90 bool rewrite_corrupted;/* true if the driver must rewrite-on-read corrupted [all …]
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/dbus/fan-fault-led/ |
H A D | board-0-fan-1.yaml | 1 - name: board 0 fan 1 current critical alarm path group 5 - meta: PATH 7 - meta: PATH 10 - name: current fan critical alarm property 15 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 18 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 22 - name: board 0 fan 1 critical alarm assert 27 callback: check if fan critical threshold assert 29 - name: board 0 fan 1 critical alarm deassert 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-0-fan-5.yaml | 1 - name: board 0 fan 5 current critical alarm path group 5 - meta: PATH 7 - meta: PATH 10 - name: current fan critical alarm property 15 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 18 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 22 - name: board 0 fan 5 critical alarm assert 27 callback: check if fan critical threshold assert 29 - name: board 0 fan 5 critical alarm deassert 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-0-fan-9.yaml | 1 - name: board 0 fan 9 current critical alarm path group 5 - meta: PATH 7 - meta: PATH 10 - name: current fan critical alarm property 15 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 18 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 22 - name: board 0 fan 9 critical alarm assert 27 callback: check if fan critical threshold assert 29 - name: board 0 fan 9 critical alarm deassert 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-1-fan-3.yaml | 1 - name: board 1 fan 3 current critical alarm path group 5 - meta: PATH 7 - meta: PATH 10 - name: current fan critical alarm property 15 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 18 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 22 - name: board 1 fan 3 critical alarm assert 27 callback: check if fan critical threshold assert 29 - name: board 1 fan 3 critical alarm deassert 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-0-fan-8.yaml | 1 - name: board 0 fan 8 current critical alarm path group 5 - meta: PATH 7 - meta: PATH 10 - name: current fan critical alarm property 15 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 18 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 22 - name: board 0 fan 8 critical alarm assert 27 callback: check if fan critical threshold assert 29 - name: board 0 fan 8 critical alarm deassert 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-1-fan-6.yaml | 1 - name: board 1 fan 6 current critical alarm path group 5 - meta: PATH 7 - meta: PATH 10 - name: current fan critical alarm property 15 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 18 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 22 - name: board 1 fan 6 critical alarm assert 27 callback: check if fan critical threshold assert 29 - name: board 1 fan 6 critical alarm deassert 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-1-fan-11.yaml | 1 - name: board 1 fan 11 current critical alarm path group 5 - meta: PATH 7 - meta: PATH 10 - name: current fan critical alarm property 15 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 18 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 22 - name: board 1 fan 11 critical alarm assert 27 callback: check if fan critical threshold assert 29 - name: board 1 fan 11 critical alarm deassert 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-1-fan-2.yaml | 1 - name: board 1 fan 2 current critical alarm path group 5 - meta: PATH 7 - meta: PATH 10 - name: current fan critical alarm property 15 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 18 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 22 - name: board 1 fan 2 critical alarm assert 27 callback: check if fan critical threshold assert 29 - name: board 1 fan 2 critical alarm deassert 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-0-fan-4.yaml | 1 - name: board 0 fan 4 current critical alarm path group 5 - meta: PATH 7 - meta: PATH 10 - name: current fan critical alarm property 15 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 18 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 22 - name: board 0 fan 4 critical alarm assert 27 callback: check if fan critical threshold assert 29 - name: board 0 fan 4 critical alarm deassert 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-1-fan-10.yaml | 1 - name: board 1 fan 10 current critical alarm path group 5 - meta: PATH 7 - meta: PATH 10 - name: current fan critical alarm property 15 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 18 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 22 - name: board 1 fan 10 critical alarm assert 27 callback: check if fan critical threshold assert 29 - name: board 1 fan 10 critical alarm deassert 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-1-fan-7.yaml | 1 - name: board 1 fan 7 current critical alarm path group 5 - meta: PATH 7 - meta: PATH 10 - name: current fan critical alarm property 15 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 18 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 22 - name: board 1 fan 7 critical alarm assert 27 callback: check if fan critical threshold assert 29 - name: board 1 fan 7 critical alarm deassert 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-0-fan-0.yaml | 1 - name: board 0 fan 0 current critical alarm path group 5 - meta: PATH 7 - meta: PATH 10 - name: current fan critical alarm property 15 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 18 - interface: xyz.openbmc_project.Sensor.Threshold.Critical 22 - name: board 0 fan 0 critical alarm assert 27 callback: check if fan critical threshold assert 29 - name: board 0 fan 0 critical alarm deassert 34 callback: check if fan critical threshold deassert [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 7 #define E1000_CTRL 0x00000 /* Device Control - RW */ 8 #define E1000_STATUS 0x00008 /* Device Status - RO */ 9 #define E1000_EECD 0x00010 /* EEPROM/Flash Control - RW */ 10 #define E1000_EERD 0x00014 /* EEPROM Read - RW */ 11 #define E1000_CTRL_EXT 0x00018 /* Extended Device Control - RW */ 12 #define E1000_MDIC 0x00020 /* MDI Control - RW */ 13 #define E1000_MDICNFG 0x00E04 /* MDI Config - RW */ 14 #define E1000_SCTL 0x00024 /* SerDes Control - RW */ [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"}}; 55 "xyz.openbmc_project.Sensor.Threshold.Error.HardShutdownAlarmHigh"}, 56 {AlarmType::low, "xyz.openbmc_project.Sensor.Threshold.Error." 60 "xyz.openbmc_project.Sensor.Threshold.Error.SoftShutdownAlarmHigh"}, 61 {AlarmType::low, "xyz.openbmc_project.Sensor.Threshold.Error." 67 {{AlarmType::high, "xyz.openbmc_project.Sensor.Threshold.Error." 69 {AlarmType::low, "xyz.openbmc_project.Sensor.Threshold.Error." [all …]
|