Home
last modified time | relevance | path

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

12345678910>>...20

/Linux-v5.10/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 …]
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-v5.10/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-v5.10/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, cpu_speedo_0_value, soc_speedo_0_value; in tegra124_init_speedo_data() local
133 rev_sku_to_speedo_ids(sku_info, &threshold); in tegra124_init_speedo_data()
139 gpu_process_speedos[threshold][i]) in tegra124_init_speedo_data()
145 cpu_process_speedos[threshold][i]) in tegra124_init_speedo_data()
151 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-v5.10/net/wireless/
Dwext-spy.c116 struct iw_thrspy * threshold = (struct iw_thrspy *) extra; in iw_handler_set_thrspy() local
123 memcpy(&(spydata->spy_thr_low), &(threshold->low), in iw_handler_set_thrspy()
143 struct iw_thrspy * threshold = (struct iw_thrspy *) extra; in iw_handler_get_thrspy() local
150 memcpy(&(threshold->low), &(spydata->spy_thr_low), 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 memcpy(&(threshold.qual), wstats, sizeof(struct iw_quality)); in iw_send_thrspy_event()
178 memcpy(&(threshold.low), &(spydata->spy_thr_low), in iw_send_thrspy_event()
182 wireless_send_event(dev, SIOCGIWTHRSPY, &wrqu, (char *) &threshold); in iw_send_thrspy_event()
/Linux-v5.10/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-v5.10/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-v5.10/Documentation/devicetree/bindings/input/
Dadc-keys.txt8 - keyup-threshold-microvolt: Voltage at which all the keys are considered up.
20 - press-threshold-microvolt: Voltage ADC input when this key is pressed.
30 keyup-threshold-microvolt = <2000000>;
35 press-threshold-microvolt = <1500000>;
41 press-threshold-microvolt = <1000000>;
47 press-threshold-microvolt = <500000>;
/Linux-v5.10/lib/zstd/
Dentropy_common.c66 int threshold; in FSE_readNCount() local
82 threshold = 1 << nbBits; in FSE_readNCount()
118 int const max = (2 * threshold - 1) - remaining; in FSE_readNCount()
121 if ((bitStream & (threshold - 1)) < (U32)max) { in FSE_readNCount()
122 count = bitStream & (threshold - 1); in FSE_readNCount()
125 count = bitStream & (2 * threshold - 1); in FSE_readNCount()
126 if (count >= threshold) in FSE_readNCount()
135 while (remaining < threshold) { in FSE_readNCount()
137 threshold >>= 1; in FSE_readNCount()
/Linux-v5.10/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-v5.10/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-v5.10/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-v5.10/Documentation/devicetree/bindings/power/supply/
Dmax17042_battery.txt16 Optional threshold properties :
18 - maxim,cold-temp : Temperature threshold to report battery
20 - maxim,over-heat-temp : Temperature threshold to report battery
22 - maxim,dead-volt : Voltage threshold to report battery
24 - maxim,over-volt : Voltage threshold to report battery
/Linux-v5.10/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-v5.10/drivers/staging/vt6656/
Dbaseband.c442 const struct vnt_threshold *threshold = NULL; in vnt_update_pre_ed_threshold() local
452 threshold = al2230_vnt_threshold; in vnt_update_pre_ed_threshold()
458 threshold = vt3226_vnt_threshold; in vnt_update_pre_ed_threshold()
463 threshold = vt3342_vnt_threshold; in vnt_update_pre_ed_threshold()
468 if (!threshold) in vnt_update_pre_ed_threshold()
472 if (priv->bb_pre_ed_rssi <= threshold[ed_inx].bb_pre_ed_rssi) in vnt_update_pre_ed_threshold()
476 cr_201 = threshold[ed_inx].cr_201; in vnt_update_pre_ed_threshold()
477 cr_206 = threshold[ed_inx].cr_206; in vnt_update_pre_ed_threshold()
/Linux-v5.10/drivers/iio/adc/
Dxilinx-xadc-events.c171 *val = xadc->threshold[offset]; in xadc_read_event_value()
203 xadc->threshold[offset] = val; in xadc_write_event_value()
227 if (xadc->threshold[offset] < xadc->temp_hysteresis) in xadc_write_event_value()
228 xadc->threshold[offset + 4] = 0; in xadc_write_event_value()
230 xadc->threshold[offset + 4] = xadc->threshold[offset] - in xadc_write_event_value()
233 xadc->threshold[offset + 4]); in xadc_write_event_value()
/Linux-v5.10/drivers/watchdog/
Dintel_scu_watchdog.c110 static int watchdog_set_ipc(int soft_threshold, int threshold) in watchdog_set_ipc() argument
118 ipc_wbuf[1] = threshold; in watchdog_set_ipc()
159 iowrite32(watchdog_device.threshold, in watchdog_timer_interrupt()
201 watchdog_device.threshold = in intel_scu_set_heartbeat()
213 watchdog_device.threshold); in intel_scu_set_heartbeat()
219 watchdog_device.threshold = in intel_scu_set_heartbeat()
220 watchdog_device.threshold / FREQ_ADJUSTMENT; in intel_scu_set_heartbeat()
229 watchdog_device.threshold); in intel_scu_set_heartbeat()
483 watchdog_device.threshold = in intel_scu_watchdog_init()
/Linux-v5.10/Documentation/devicetree/bindings/sound/
Dnau8824.txt29 - nuvoton,sar-threshold-num: Number of buttons supported
30 …- nuvoton,sar-threshold: Impedance threshold for each button. Array that contains up to 8 buttons …
33 Refer datasheet section 10.2 for more information about threshold calculation.
80 nuvoton,sar-threshold-num = <4>;
81 nuvoton,sar-threshold = <0xc 0x1e 0x38 0x60>;
/Linux-v5.10/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()
/Linux-v5.10/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-v5.10/drivers/md/persistent-data/
Ddm-space-map-metadata.c23 struct threshold { struct
26 dm_block_t threshold; member
32 static void threshold_init(struct threshold *t) in threshold_init() argument
38 static void set_threshold(struct threshold *t, dm_block_t value, in set_threshold()
42 t->threshold = value; in set_threshold()
47 static bool below_threshold(struct threshold *t, dm_block_t value) in below_threshold()
49 return t->threshold_set && value <= t->threshold; in below_threshold()
52 static bool threshold_already_triggered(struct threshold *t) in threshold_already_triggered()
57 static void check_threshold(struct threshold *t, dm_block_t value) in check_threshold()
178 struct threshold threshold; member
[all …]
/Linux-v5.10/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>;

12345678910>>...20