Home
last modified time | relevance | path

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

12345678910>>...26

/linux-6.6.21/Documentation/hwmon/
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 …]
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 …]
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)
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
/linux-6.6.21/Documentation/ABI/testing/
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-6.6.21/drivers/soc/tegra/fuse/
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()
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-6.6.21/net/wireless/
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 …]
/linux-6.6.21/Documentation/devicetree/bindings/input/
Dadc-keys.yaml25 keyup-threshold-microvolt:
45 press-threshold-microvolt:
48 two values of press-threshold-microvolt may be the same. All values
49 of press-threshold-microvolt must be less than
50 keyup-threshold-microvolt.
54 - press-threshold-microvolt
60 - keyup-threshold-microvolt
83 keyup-threshold-microvolt = <2000000>;
88 press-threshold-microvolt = <1500000>;
94 press-threshold-microvolt = <1000000>;
[all …]
/linux-6.6.21/drivers/cpuidle/governors/
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()
/linux-6.6.21/Documentation/misc-devices/
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 …]
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-6.6.21/Documentation/admin-guide/media/
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-6.6.21/Documentation/devicetree/bindings/serial/
Dst,stm32-uart.yaml61 rx-threshold:
63 If value is set to 1, RX FIFO threshold is disabled.
67 tx-threshold:
69 If value is set to 1, TX FIFO threshold is disabled.
99 rx-threshold: false
100 tx-threshold: false
121 rx-threshold = <4>;
122 tx-threshold = <4>;
/linux-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/
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()
/linux-6.6.21/arch/arm64/boot/dts/amlogic/
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% */
/linux-6.6.21/drivers/staging/axis-fifo/
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>;
/linux-6.6.21/lib/zstd/common/
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()
/linux-6.6.21/drivers/gpu/host1x/hw/
Dchannel_hw.c50 static void submit_wait(struct host1x_job *job, u32 id, u32 threshold, in submit_wait() argument
75 threshold, in submit_wait()
92 threshold, in submit_wait()
104 host1x_class_host_wait_syncpt(id, threshold) in submit_wait()
120 u32 threshold; in submit_gathers() local
127 threshold = job_syncpt_base + cmd->wait.threshold; in submit_gathers()
129 threshold = cmd->wait.threshold; in submit_gathers()
131 submit_wait(job, cmd->wait.id, threshold, cmd->wait.next_class); in submit_gathers()
/linux-6.6.21/drivers/iio/adc/
Dxilinx-xadc-events.c168 *val = xadc->threshold[offset]; in xadc_read_event_value()
202 xadc->threshold[offset] = val; in xadc_write_event_value()
226 if (xadc->threshold[offset] < xadc->temp_hysteresis) in xadc_write_event_value()
227 xadc->threshold[offset + 4] = 0; in xadc_write_event_value()
229 xadc->threshold[offset + 4] = xadc->threshold[offset] - in xadc_write_event_value()
232 xadc->threshold[offset + 4]); in xadc_write_event_value()
/linux-6.6.21/Documentation/driver-api/thermal/
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-6.6.21/drivers/staging/vt6656/
Dbaseband.c410 const struct vnt_threshold *threshold = NULL; in vnt_update_pre_ed_threshold() local
419 threshold = al2230_vnt_threshold; in vnt_update_pre_ed_threshold()
425 threshold = vt3226_vnt_threshold; in vnt_update_pre_ed_threshold()
430 if (!threshold) in vnt_update_pre_ed_threshold()
434 if (priv->bb_pre_ed_rssi <= threshold[ed_inx].bb_pre_ed_rssi) in vnt_update_pre_ed_threshold()
438 cr_201 = threshold[ed_inx].cr_201; in vnt_update_pre_ed_threshold()
439 cr_206 = threshold[ed_inx].cr_206; in vnt_update_pre_ed_threshold()
/linux-6.6.21/drivers/md/persistent-data/
Ddm-space-map-metadata.c24 struct threshold { struct
27 dm_block_t threshold; member
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-6.6.21/arch/arm64/boot/dts/rockchip/
Drk3308-evb.dts24 keyup-threshold-microvolt = <1800000>;
29 press-threshold-microvolt = <18000>;
38 keyup-threshold-microvolt = <1800000>;
43 press-threshold-microvolt = <1130000>;
49 press-threshold-microvolt = <901000>;
55 press-threshold-microvolt = <624000>;
61 press-threshold-microvolt = <300000>;
67 press-threshold-microvolt = <18000>;
/linux-6.6.21/drivers/nvme/host/
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()

12345678910>>...26