Home
last modified time | relevance | path

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

12345678910>>...16

/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/Documentation/hwmon/
H A Dltc4283.rst51 in1_min Undervoltage threshold
52 in1_max Overvoltage threshold
61 in2_min Undervoltage threshold
62 in2_max Overvoltage threshold
72 in3_min Undervoltage threshold
73 in3_max Overvoltage threshold
83 in4_min Undervoltage threshold
84 in4_max Overvoltage threshold
94 in5_min Undervoltage threshold
95 in5_max Overvoltage threshold
[all …]
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
/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/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 …]
/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/drivers/thermal/qcom/
H A DKconfig10 Also able to set threshold temperature for both hot and cold and update
11 when a threshold is reached.
21 Thermal client sets threshold temperature for both warm and cool and
22 gets updated when a threshold is reached.
32 interrupt when the programmed threshold is crossed.
34 Temperature is read from the associated ADC channel, and threshold
44 Thermal client sets threshold temperature for both warm and cool and
45 gets updated when a threshold is reached.
/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/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.c34 u32 threshold; /* FIFO threshold */ member
184 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold); in omap_mcpdm_open_streams()
186 mcpdm->config[SNDRV_PCM_STREAM_CAPTURE].threshold); in omap_mcpdm_open_streams()
296 u32 threshold; in omap_mcpdm_dai_hw_params() local
330 threshold = mcpdm->config[stream].threshold; in omap_mcpdm_dai_hw_params()
340 (MCPDM_DN_THRES_MAX - threshold) * channels; in omap_mcpdm_dai_hw_params()
341 latency = threshold; in omap_mcpdm_dai_hw_params()
347 dma_data->maxburst = threshold * channels; in omap_mcpdm_dai_hw_params()
348 latency = (MCPDM_DN_THRES_MAX - threshold); in omap_mcpdm_dai_hw_params()
424 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/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/sound/soc/tegra/
H A Dtegra_cif.h37 unsigned int threshold; member
54 value = (conf->threshold << TEGRA_ACIF_CTRL_FIFO_TH_SHIFT) | in tegra_set_cif()
73 value = (conf->threshold << TEGRA_ACIF_CTRL_FIFO_TH_SHIFT) | in tegra264_set_cif()
/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/networking/
H A Dipsec.rst30 Therefore, a numeric threshold should be applied before compression,
31 where IP datagrams of size smaller than the threshold are sent in the
32 original form without attempting compression. The numeric threshold
37 is smaller than the threshold or the compressed len is larger than original
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3588-ok3588-c.dts20 keyup-threshold-microvolt = <1800000>;
26 press-threshold-microvolt = <400>;
34 keyup-threshold-microvolt = <1800000>;
40 press-threshold-microvolt = <17000>;
46 press-threshold-microvolt = <417000>;
52 press-threshold-microvolt = <890000>;
58 press-threshold-microvolt = <1235000>;
/linux/include/media/i2c/
H A Dov772x.h24 unsigned char threshold; member
45 .threshold = (t & OV772X_EDGE_THRESHOLD_MASK), \

12345678910>>...16