Home
last modified time | relevance | path

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

1234567

/freebsd-12.1/sys/contrib/zstd/lib/common/
H A Dentropy_common.c69 int threshold; in FSE_readNCount() local
83 threshold = 1<<nbBits; in FSE_readNCount()
114 { int const max = (2*threshold-1) - remaining; in FSE_readNCount()
117 if ((bitStream & (threshold-1)) < (U32)max) { in FSE_readNCount()
118 count = bitStream & (threshold-1); in FSE_readNCount()
121 count = bitStream & (2*threshold-1); in FSE_readNCount()
122 if (count >= threshold) count -= max; in FSE_readNCount()
130 while (remaining < threshold) { in FSE_readNCount()
132 threshold >>= 1; in FSE_readNCount()
/freebsd-12.1/sys/arm/nvidia/
H A Dtegra_efuse.c134 struct tegra_sku_info *sku, int *threshold) in tegra124_rev_sku_to_speedo_ids() argument
141 *threshold = TEGRA124_THRESHOLD_INDEX_0; in tegra124_rev_sku_to_speedo_ids()
159 *threshold = TEGRA124_THRESHOLD_INDEX_0; in tegra124_rev_sku_to_speedo_ids()
167 *threshold = TEGRA124_THRESHOLD_INDEX_1; in tegra124_rev_sku_to_speedo_ids()
175 *threshold = TEGRA124_THRESHOLD_INDEX_1; in tegra124_rev_sku_to_speedo_ids()
187 int i, threshold; in tegra124_init_speedo() local
202 tegra124_rev_sku_to_speedo_ids(sc, sku, &threshold); in tegra124_init_speedo()
206 tegra124_soc_process_speedos[threshold][i]) in tegra124_init_speedo()
213 tegra124_cpu_process_speedos[threshold][i]) in tegra124_init_speedo()
220 tegra124_gpu_process_speedos[threshold][i]) in tegra124_init_speedo()
/freebsd-12.1/sys/gnu/dts/arm64/amlogic/
H A 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% */
H A Dmeson-axg-s400.dts19 keyup-threshold-microvolt = <1800000>;
24 press-threshold-microvolt = <1116000>; /* 62% */
30 press-threshold-microvolt = <900000>; /* 50% */
36 press-threshold-microvolt = <684000>; /* 38% */
42 press-threshold-microvolt = <468000>; /* 26% */
48 press-threshold-microvolt = <252000>; /* 14% */
54 press-threshold-microvolt = <0>; /* 0% */
H A Dmeson-gxm-q200.dts22 keyup-threshold-microvolt = <1710000>;
27 press-threshold-microvolt = <10000>;
H A Dmeson-gxl-s905d-p230.dts22 keyup-threshold-microvolt = <1710000>;
27 press-threshold-microvolt = <10000>;
/freebsd-12.1/sys/contrib/ck/src/
H A Dck_hp.c70 unsigned int threshold, in CK_STACK_CONTAINER()
74 state->threshold = threshold; in CK_STACK_CONTAINER()
86 ck_hp_set_threshold(struct ck_hp *state, unsigned int threshold) in ck_hp_set_threshold() argument
89 ck_pr_store_uint(&state->threshold, threshold); in ck_hp_set_threshold()
305 if (thread->n_pending >= global->threshold) in ck_hp_free()
/freebsd-12.1/usr.bin/du/
H A Ddu.c102 off_t threshold, threshold_sign; in main() local
117 threshold = 0; in main()
196 if (expand_number(optarg, &threshold) != 0 || in main()
197 threshold == 0) { in main()
200 } else if (threshold < 0) in main()
260 if (threshold != 0) in main()
261 threshold = howmany(threshold / DEV_BSIZE * cblocksize, in main()
287 if (p->fts_level <= depth && threshold <= in main()
/freebsd-12.1/sys/gnu/dts/arm64/rockchip/
H A Dpx30-evb.dts24 keyup-threshold-microvolt = <1800000>;
30 press-threshold-microvolt = <1310000>;
36 press-threshold-microvolt = <624000>;
42 press-threshold-microvolt = <987000>;
48 press-threshold-microvolt = <300000>;
54 press-threshold-microvolt = <17000>;
H A Drk3399-sapphire-excavator.dts17 keyup-threshold-microvolt = <1800000>;
23 press-threshold-microvolt = <100000>;
29 press-threshold-microvolt = <300000>;
35 press-threshold-microvolt = <985000>;
41 press-threshold-microvolt = <1314000>;
H A Drk3399-nanopc-t4.dts39 keyup-threshold-microvolt = <1800000>;
45 press-threshold-microvolt = <18000>;
H A Drk3399-gru-chromebook.dtsi77 ovp-threshold-percent = <16>;
220 ovp-threshold-percent = <16>;
225 ovp-threshold-percent = <16>;
230 ovp-threshold-percent = <16>;
/freebsd-12.1/contrib/gcc/
H A Dtree-ssa-math-opts.c293 tree def, tree recip_def, int threshold) in insert_reciprocals() argument
301 && occ->num_divisions >= threshold) in insert_reciprocals()
340 insert_reciprocals (def_bsi, occ_child, def, recip_def, threshold); in insert_reciprocals()
402 int count = 0, threshold; in execute_cse_reciprocals_1() local
417 threshold = targetm.min_divisions_for_recip_mul (TYPE_MODE (TREE_TYPE (def))); in execute_cse_reciprocals_1()
418 if (count >= threshold) in execute_cse_reciprocals_1()
424 insert_reciprocals (def_bsi, occ, def, NULL, threshold); in execute_cse_reciprocals_1()
H A Dparams.def85 "The threshold ratio between instantiated fields and the total structure size",
213 /* This is the threshold ratio when to perform partial redundancy
221 "The threshold ratio for performing partial redundancy elimination after reload",
223 /* This is the threshold ratio of the critical edges execution count compared to
228 …"The threshold ratio of critical edges execution count that permit performing redundancy eliminati…
317 "sms-loop-average-count-threshold",
318 "A threshold on the average loop count considered by the swing modulo scheduler",
359 …"Stop reverse growth if the reverse probability of best edge is less than this threshold (in perce…
363 …"Stop forward growth if the probability of best edge is less than this threshold (in percent). Use…
367 …"Stop forward growth if the probability of best edge is less than this threshold (in percent). Use…
[all …]
/freebsd-12.1/contrib/gdb/gdb/tui/
H A Dtui-source.c90 int offset, cur_line_no, cur_line, cur_len, threshold; in tui_set_source_content() local
105 threshold = (line_width - 1) + offset; in tui_set_source_content()
112 (threshold + 1) * sizeof (char)); in tui_set_source_content()
154 (c != '\r') && (++i < threshold)) in tui_set_source_content()
179 i < threshold); in tui_set_source_content()
197 i < threshold && (c = fgetc (stream))); in tui_set_source_content()
H A Dtui-winsource.c607 int i, threshold; in tui_line_is_displayed() local
610 threshold = SCROLL_THRESHOLD; in tui_line_is_displayed()
612 threshold = 0; in tui_line_is_displayed()
614 while (i < win_info->generic.content_size - threshold && !is_displayed) in tui_line_is_displayed()
633 int i, threshold; in tui_addr_is_displayed() local
636 threshold = SCROLL_THRESHOLD; in tui_addr_is_displayed()
638 threshold = 0; in tui_addr_is_displayed()
640 while (i < win_info->generic.content_size - threshold && !is_displayed) in tui_addr_is_displayed()
/freebsd-12.1/sys/dev/nvme/
H A Dnvme_ctrlr_cmd.c229 uint32_t microseconds, uint32_t threshold, nvme_cb_fn_t cb_fn, void *cb_arg) in nvme_ctrlr_cmd_set_interrupt_coalescing() argument
237 threshold = 0; in nvme_ctrlr_cmd_set_interrupt_coalescing()
240 if (threshold >= 0x100) { in nvme_ctrlr_cmd_set_interrupt_coalescing()
242 threshold); in nvme_ctrlr_cmd_set_interrupt_coalescing()
243 threshold = 0; in nvme_ctrlr_cmd_set_interrupt_coalescing()
247 cdw11 = ((microseconds/100) << 8) | threshold; in nvme_ctrlr_cmd_set_interrupt_coalescing()
/freebsd-12.1/sys/gnu/dts/arm/
H A Drk3288-evb.dtsi17 keyup-threshold-microvolt = <1800000>;
22 press-threshold-microvolt = <100000>;
28 press-threshold-microvolt = <300000>;
34 press-threshold-microvolt = <640000>;
40 press-threshold-microvolt = <1000000>;
46 press-threshold-microvolt = <1300000>;
H A Domap3-n950-n9.dtsi309 st,click-threshold-x = <8>;
310 st,click-threshold-y = <8>;
311 st,click-threshold-z = <10>;
321 st,wakeup-threshold = <(800/18)>; /* millig-value / 18 to get HW values */
324 st,wakeup2-threshold = <(1000/18)>; /* millig-value / 18 to get HW values */
H A Dqcom-msm8974-sony-xperia-amami.dts401 qcom,fast-charge-high-threshold-voltage = <4350000>;
402 qcom,fast-charge-low-threshold-voltage = <3400000>;
403 qcom,auto-recharge-threshold-voltage = <4200000>;
/freebsd-12.1/contrib/ofed/infiniband-diags/src/
H A Dibccconfig.c260 uint32_t threshold; in switch_congestion_setting() local
281 if ((errstr = parseint(argv[3], &threshold, 0))) in switch_congestion_setting()
315 &threshold); in switch_congestion_setting()
348 uint32_t threshold; in switch_port_congestion_setting() local
368 if ((errstr = parseint(argv[3], &threshold, 0))) in switch_port_congestion_setting()
407 &threshold); in switch_port_congestion_setting()
/freebsd-12.1/sys/contrib/ncsw/inc/Peripherals/
H A Dqm_ext.h354 t_Error QM_ConfigPfdrThreshold(t_Handle h_Qm, uint32_t threshold);
369 t_Error QM_ConfigSfdrReservationThreshold(t_Handle h_Qm, uint32_t threshold);
1143 … uint32_t threshold; /**< If Tail drop - used as Tail drop threshold, otherwise member
1262 t_Error QM_CG_ModifyTailDropThreshold(t_Handle h_QmCg, uint32_t threshold);
/freebsd-12.1/sys/dev/sound/pci/
H A Dhdspe-pcm.c492 int threshold; in hdspechan_setspeed() local
517 threshold = hr->speed + ((rate_map[i + 1].speed != 0) ? in hdspechan_setspeed()
519 if (speed < threshold) in hdspechan_setspeed()
562 int threshold; in hdspechan_setblocksize() local
595 threshold = hl->period + ((latency_map[i + 1].period != 0) ? in hdspechan_setblocksize()
597 if (blocksize < threshold) in hdspechan_setblocksize()
/freebsd-12.1/sys/contrib/zstd/lib/compress/
H A Dfse_compress.c196 int threshold; in FSE_writeNCount_generic() local
210 threshold = tableSize; in FSE_writeNCount_generic()
242 int const max = (2*threshold-1)-remaining; in FSE_writeNCount_generic()
245 …if (count>=threshold) count += max; /* [0..max[ [max..threshold[ (...) [threshold+max 2*threshol… in FSE_writeNCount_generic()
251 while (remaining<threshold) { nbBits--; threshold>>=1; } in FSE_writeNCount_generic()
/freebsd-12.1/contrib/apr-util/misc/
H A Dapr_thread_pool.c65 volatile apr_size_t threshold; member
91 me->threshold = init_threads / 2; in thread_pool_construct()
568 me->task_cnt > me->threshold)) { in add_task()
919 return me->threshold; in apr_thread_pool_threshold_get()
927 ov = me->threshold; in apr_thread_pool_threshold_set()
928 me->threshold = val; in apr_thread_pool_threshold_set()

1234567