Home
last modified time | relevance | path

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

12345678910>>...18

/Linux-v5.4/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 …]
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.4/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
22 The low voltage threshold range is between 2..21V.
25 If falling threshold results hysteresis to odd value then rising
26 threshold is automatically subtracted by one.
33 Channel Y high voltage threshold. If sensor input voltage goes higher then
[all …]
/Linux-v5.4/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.4/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.4/drivers/cpuidle/governors/
Dladder.c32 } threshold; member
89 last_residency > last_state->threshold.promotion_time && in ladder_select_state()
93 if (last_state->stats.promotion_count >= last_state->threshold.promotion_count) { in ladder_select_state()
115 last_residency < last_state->threshold.demotion_time) { 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 = state->exit_latency; in ladder_enable_device()
157 lstate->threshold.demotion_time = state->exit_latency; in ladder_enable_device()
/Linux-v5.4/Documentation/misc-devices/
Dbh1770glc.txt22 low and high threshold interrupts.
30 Driver uses threshold interrupts to avoid need for polling the values.
32 by using a delayed work. As long as there is proximity threshold above
34 below the threshold value, there is no interrupt and the delayed work will
57 sysfs_notify called when threshold interrupt occurs
69 RW - HI level threshold value. All results above the value
74 RW - LO level threshold value. All results below the value
87 sysfs_notify called when threshold interrupt occurs
101 RW - Measurement rate (in Hz) when the level is above threshold
105 RW - Measurement rate (in Hz) when the level is below threshold
[all …]
Dapds990x.txt21 (infrared + visible light) and IR only. However, threshold comparisons happen
22 using clear channel only. Lux value and the threshold level on the HW
27 channels. HW threshold level is calculated from the given lux value to match
57 sysfs_notify called when threshold interrupt occurs
79 RW - HI level threshold value. All results above the value
84 RW - LO level threshold value. All results below the value
89 sysfs_notify called when threshold interrupt occurs
111 RW - threshold level which trigs proximity events.
/Linux-v5.4/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.4/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.4/Documentation/media/v4l-drivers/
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.4/drivers/staging/axis-fifo/
Daxis-fifo.txt38 - xlnx,rx-fifo-pe-threshold: RX programmable empty interrupt threshold
39 - xlnx,rx-fifo-pf-threshold: RX programmable full interrupt threshold
44 - xlnx,tx-fifo-pe-threshold: TX programmable empty interrupt threshold
45 - xlnx,tx-fifo-pf-threshold: TX programmable full interrupt threshold
76 xlnx,rx-fifo-pe-threshold = <0x2>;
77 xlnx,rx-fifo-pf-threshold = <0x1fb>;
82 xlnx,tx-fifo-pe-threshold = <0x200>;
83 xlnx,tx-fifo-pf-threshold = <0x7ffb>;
/Linux-v5.4/Documentation/devicetree/bindings/power/supply/
Dmax17042_battery.txt12 Optional threshold properties :
14 - maxim,cold-temp : Temperature threshold to report battery
16 - maxim,over-heat-temp : Temperature threshold to report battery
18 - maxim,dead-volt : Voltage threshold to report battery
20 - maxim,over-volt : Voltage threshold to report battery
/Linux-v5.4/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.4/drivers/md/persistent-data/
Ddm-space-map-metadata.c23 struct threshold { struct
26 dm_block_t threshold; argument
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.4/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.4/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()
482 watchdog_device.threshold = in intel_scu_watchdog_init()
/Linux-v5.4/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.4/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.4/Documentation/devicetree/bindings/regulator/
Dvctrl.txt17 - ovp-threshold-percent : overvoltage protection (OVP) threshold of the
27 each step is within the OVP threshold.
31 This value is required when ovp-threshold-percent is
48 ovp-threshold-percent = <16>;
/Linux-v5.4/arch/parisc/kernel/
Dcache.c393 unsigned long threshold; in parisc_setup_cache_timing() local
407 threshold = L1_CACHE_ALIGN(size * alltime / rangetime); in parisc_setup_cache_timing()
408 if (threshold > cache_info.dc_size) in parisc_setup_cache_timing()
409 threshold = cache_info.dc_size; in parisc_setup_cache_timing()
410 if (threshold) in parisc_setup_cache_timing()
411 parisc_cache_flush_threshold = threshold; in parisc_setup_cache_timing()
420 threshold = max(cache_info.it_size, cache_info.dt_size); in parisc_setup_cache_timing()
421 threshold *= PAGE_SIZE; in parisc_setup_cache_timing()
422 threshold /= num_online_cpus(); in parisc_setup_cache_timing()
443 threshold = PAGE_ALIGN((num_online_cpus() * size * alltime) / rangetime); in parisc_setup_cache_timing()
[all …]
/Linux-v5.4/drivers/gpu/host1x/hw/
Dhost1x01_hardware.h19 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
22 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt()
26 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
29 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
Dhost1x02_hardware.h19 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
22 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt()
26 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
29 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
Dhost1x04_hardware.h19 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
22 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt()
26 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
29 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()

12345678910>>...18