Home
last modified time | relevance | path

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

12345678910>>...20

/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 …]
/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()
/linux/Documentation/hwmon/
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 Dltc4282.rst47 in0_min Undervoltage threshold
48 in0_max Overvoltage threshold
60 in1_min Undervoltage threshold
61 in1_max Overvoltage threshold
74 in2_min Undervoltage threshold
75 in2_max Overvoltage threshold
84 curr1_min Undercurrent threshold
85 curr1_max Overcurrent threshold
96 power1_min Low power threshold
97 power1_max High power threshold
/linux/drivers/cpuidle/governors/
H A Dladder.c32 } threshold; member
90 last_residency > last_state->threshold.promotion_time_ns && in ladder_select_state()
94 if (last_state->stats.promotion_count >= last_state->threshold.promotion_count) { in ladder_select_state()
115 last_residency < last_state->threshold.demotion_time_ns) { in ladder_select_state()
118 if (last_state->stats.demotion_count >= last_state->threshold.demotion_count) { in ladder_select_state()
151 lstate->threshold.promotion_count = PROMOTION_COUNT; in ladder_enable_device()
152 lstate->threshold.demotion_count = DEMOTION_COUNT; in ladder_enable_device()
155 lstate->threshold.promotion_time_ns = state->exit_latency_ns; in ladder_enable_device()
157 lstate->threshold.demotion_time_ns = state->exit_latency_ns; in ladder_enable_device()
/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 …]
H A Dapds990x.rst24 (infrared + visible light) and IR only. However, threshold comparisons happen
25 using clear channel only. Lux value and the threshold level on the HW
30 channels. HW threshold level is calculated from the given lux value to match
62 sysfs_notify called when threshold interrupt occurs
88 RW - HI level threshold value.
95 RW - LO level threshold value.
103 sysfs_notify called when threshold interrupt occurs
128 RW - threshold level which trigs proximity events.
/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 …]
/linux/drivers/gpu/drm/xe/
H A Dxe_gt_sriov_pf_monitor.c44 static int pf_handle_vf_threshold_event(struct xe_gt *gt, u32 vfid, u32 threshold) in pf_handle_vf_threshold_event() argument
49 e = xe_guc_klv_threshold_key_to_index(threshold); in pf_handle_vf_threshold_event()
55 threshold, origin); in pf_handle_vf_threshold_event()
61 xe_guc_klv_key_to_string(threshold)); in pf_handle_vf_threshold_event()
82 u32 threshold; in xe_gt_sriov_pf_monitor_process_guc2pf() local
100 threshold = FIELD_GET(GUC2PF_ADVERSE_EVENT_EVENT_MSG_2_THRESHOLD, msg[2]); in xe_gt_sriov_pf_monitor_process_guc2pf()
105 return pf_handle_vf_threshold_event(gt, vfid, threshold); in xe_gt_sriov_pf_monitor_process_guc2pf()
/linux/drivers/staging/axis-fifo/
H A Daxis-fifo.txt41 - xlnx,rx-fifo-pe-threshold: RX programmable empty interrupt threshold
43 - xlnx,rx-fifo-pf-threshold: RX programmable full interrupt threshold
49 - xlnx,tx-fifo-pe-threshold: TX programmable empty interrupt threshold
51 - xlnx,tx-fifo-pf-threshold: TX programmable full interrupt threshold
83 xlnx,rx-fifo-pe-threshold = <0x2>;
84 xlnx,rx-fifo-pf-threshold = <0x1fb>;
89 xlnx,tx-fifo-pe-threshold = <0x200>;
90 xlnx,tx-fifo-pf-threshold = <0x7ffb>;
/linux/lib/zstd/common/
H A Dentropy_common.c51 int threshold; in FSE_readNCount_body() local
79 threshold = 1<<nbBits; in FSE_readNCount_body()
133 int const max = (2*threshold-1) - remaining; in FSE_readNCount_body()
136 if ((bitStream & (threshold-1)) < (U32)max) { in FSE_readNCount_body()
137 count = bitStream & (threshold-1); in FSE_readNCount_body()
140 count = bitStream & (2*threshold-1); in FSE_readNCount_body()
141 if (count >= threshold) count -= max; in FSE_readNCount_body()
158 assert(threshold > 1); in FSE_readNCount_body()
159 if (remaining < threshold) { in FSE_readNCount_body()
166 threshold = 1 << (nbBits - 1); in FSE_readNCount_body()
/linux/drivers/md/persistent-data/
H A Ddm-space-map-metadata.c24 struct threshold { struct
27 dm_block_t threshold; argument
33 static void threshold_init(struct threshold *t) in threshold_init() argument
39 static void set_threshold(struct threshold *t, dm_block_t value, in set_threshold()
43 t->threshold = value; in set_threshold()
48 static bool below_threshold(struct threshold *t, dm_block_t value) in below_threshold()
50 return t->threshold_set && value <= t->threshold; in below_threshold()
53 static bool threshold_already_triggered(struct threshold *t) in threshold_already_triggered()
58 static void check_threshold(struct threshold *t, dm_block_t value) in check_threshold()
180 struct threshold threshold; member
[all …]
/linux/Documentation/driver-api/thermal/
H A Dexynos_thermal.rst48 The maximum number of configurable threshold is five.
49 The threshold levels are defined as follows::
51 Level_0: current temperature > trigger_level_0 + threshold
52 Level_1: current temperature > trigger_level_1 + threshold
53 Level_2: current temperature > trigger_level_2 + threshold
54 Level_3: current temperature > trigger_level_3 + threshold
56 The threshold and each trigger_level are set
/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxbb-p200.dts35 keyup-threshold-microvolt = <1800000>;
40 press-threshold-microvolt = <900000>; /* 50% */
46 press-threshold-microvolt = <684000>; /* 38% */
52 press-threshold-microvolt = <468000>; /* 26% */
58 press-threshold-microvolt = <252000>; /* 14% */
64 press-threshold-microvolt = <0>; /* 0% */
/linux/drivers/nvme/host/
H A Dhwmon.c22 unsigned int threshold = sensor << NVME_TEMP_THRESH_SELECT_SHIFT; in nvme_get_temp_thresh() local
27 threshold |= NVME_TEMP_THRESH_TYPE_UNDER; in nvme_get_temp_thresh()
29 ret = nvme_get_features(ctrl, NVME_FEAT_TEMP_THRESH, threshold, NULL, 0, in nvme_get_temp_thresh()
43 unsigned int threshold = sensor << NVME_TEMP_THRESH_SELECT_SHIFT; in nvme_set_temp_thresh() local
47 threshold |= clamp_val(temp, 0, NVME_TEMP_THRESH_MASK); in nvme_set_temp_thresh()
50 threshold |= NVME_TEMP_THRESH_TYPE_UNDER; in nvme_set_temp_thresh()
52 ret = nvme_set_features(ctrl, NVME_FEAT_TEMP_THRESH, threshold, NULL, 0, in nvme_set_temp_thresh()
/linux/sound/soc/ti/
H A Domap-mcpdm.c35 u32 threshold; /* FIFO threshold */ member
185 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold); in omap_mcpdm_open_streams()
187 mcpdm->config[SNDRV_PCM_STREAM_CAPTURE].threshold); in omap_mcpdm_open_streams()
301 u32 threshold; in omap_mcpdm_dai_hw_params() local
335 threshold = mcpdm->config[stream].threshold; in omap_mcpdm_dai_hw_params()
345 (MCPDM_DN_THRES_MAX - threshold) * channels; in omap_mcpdm_dai_hw_params()
346 latency = threshold; in omap_mcpdm_dai_hw_params()
352 dma_data->maxburst = threshold * channels; in omap_mcpdm_dai_hw_params()
353 latency = (MCPDM_DN_THRES_MAX - threshold); in omap_mcpdm_dai_hw_params()
429 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold = 2; in omap_mcpdm_probe()
[all …]
/linux/drivers/gpu/host1x/hw/
H A Dopcodes.h14 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()
/linux/drivers/gpu/host1x/
H A Dfence.c37 if (host1x_syncpt_is_expired(sf->sp, sf->threshold)) in host1x_syncpt_fence_enable_signaling()
125 struct dma_fence *host1x_fence_create(struct host1x_syncpt *sp, u32 threshold, in host1x_fence_create() argument
135 fence->threshold = threshold; in host1x_fence_create()
/linux/Documentation/devicetree/bindings/sound/
H A Dcs35l36.txt73 - cirrus,classh-weak-fet-thld-millivolt : Weak-FET amplifier drive threshold.
74 Configures the signal threshold at which the PWM output stage enters
77 - cirrus,temp-warn-threshold : Amplifier overtemperature warning threshold.
78 Configures the threshold at which the overtemperature warning condition occurs.
79 When the threshold is met, the overtemperature warning attenuation is applied
110 - cirrus,vpbr-thld : Initial VPBR threshold. Configures the VP brownout
111 threshold voltage
153 cirrus,temp-warn-threshold = <0x01>;
/linux/Documentation/arch/arm64/
H A Dperf.rst175 events whose count meets a specified threshold condition. For example if
177 threshold is set to 2, then the PMU counter will now only increment by
181 To increment by 1 after passing the threshold condition instead of the
195 * - threshold
196 - Value to threshold the event by. A value of 0 means that
206 - If this is set, count by 1 after passing the threshold condition
209 The threshold, threshold_compare and threshold_count values can be
214 perf stat -e stall_slot/threshold=2,threshold_compare=2/ \
215 -e dtlb_walk/threshold=10,threshold_compare=3,threshold_count/
221 The maximum supported threshold value can be read from the caps of each
[all …]
/linux/net/devlink/
H A Dsb.c456 u32 threshold; in devlink_nl_sb_port_pool_fill() local
461 pool_index, &threshold); in devlink_nl_sb_port_pool_fill()
477 if (nla_put_u32(msg, DEVLINK_ATTR_SB_THRESHOLD, threshold)) in devlink_nl_sb_port_pool_fill()
612 u32 threshold, in devlink_sb_port_pool_set() argument
620 pool_index, threshold, extack); in devlink_sb_port_pool_set()
631 u32 threshold; in devlink_nl_sb_port_pool_set_doit() local
646 threshold = nla_get_u32(info->attrs[DEVLINK_ATTR_SB_THRESHOLD]); in devlink_nl_sb_port_pool_set_doit()
648 pool_index, threshold, info->extack); in devlink_nl_sb_port_pool_set_doit()
661 u32 threshold; in devlink_nl_sb_tc_pool_bind_fill() local
667 &pool_index, &threshold); in devlink_nl_sb_tc_pool_bind_fill()
[all …]
/linux/Documentation/iio/
H A Dadxl345.rst101 | in_accel_gesture_singletap_value | Single tap threshold value in 62.5/LSB |
105 | in_accel_mag_falling_value | Inactivity threshold value in 62.5/LSB |
111 | in_accel_mag_adaptive_falling_value | AC coupled inactivity threshold in 62.5/LSB |
113 | in_accel_mag_adaptive_rising_value | AC coupled activity threshold in 62.5/LSB |
117 | in_accel_mag_rising_value | Activity threshold value in 62.5/LSB |
141 based on the ratio of the previous range to the new one. The resulting threshold
175 the range of 12.5 Hz to 400 Hz. The recommended free-fall threshold is between
184 relative to the configured threshold.
193 threshold and duration parameters. When only single tap detection is enabled,
195 threshold (marking the start of the duration) and then falls below it, provided
[all …]
/linux/Documentation/tools/rtla/
H A Dcommon_options.txt66 **--on-threshold** *action*
68 Defines an action to be executed when tracing is stopped on a latency threshold
69 specified by |threshold|.
71 Multiple --on-threshold actions may be specified, and they will be executed in
98 $ rtla |tool| |thresharg| 20 --on-threshold trace
99 --on-threshold shell,command="grep ipi_send |tracer|\_trace.txt"
100 --on-threshold signal,num=2,pid=parent
118 See the documentation for **--on-threshold** for the list of supported actions, with

12345678910>>...20