Home
last modified time | relevance | path

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

12345678910>>...13

/freebsd/tools/test/arc4random/
H A Dbiastest.c48 uint32_t threshold = 3UL << 30; in main() local
59 threshold = (uint32_t)atoll(optarg); in main()
69 if (threshold == 0) { in main()
74 sample = calloc(threshold, 1); in main()
80 collect_sample(sample, tries, threshold); in main()
81 analyze_sample(sample, tries, threshold); in main()
99 collect_sample(unsigned char *sample, long long tries, uint32_t threshold) in collect_sample() argument
108 x = arc4random_uniform(threshold); in collect_sample()
110 assert(x < threshold); in collect_sample()
127 analyze_sample(const unsigned char *sample, long long tries, uint32_t threshold) in analyze_sample() argument
[all …]
/freebsd/sys/contrib/pcg-c/include/
H A Dpcg_variants.h876 uint8_t threshold = ((uint8_t)(-bound)) % bound; in pcg_oneseq_16_xsh_rs_8_boundedrand_r() local
879 if (r >= threshold) in pcg_oneseq_16_xsh_rs_8_boundedrand_r()
894 uint16_t threshold = ((uint16_t)(-bound)) % bound; in pcg_oneseq_32_xsh_rs_16_boundedrand_r() local
897 if (r >= threshold) in pcg_oneseq_32_xsh_rs_16_boundedrand_r()
912 uint32_t threshold = -bound % bound; in pcg_oneseq_64_xsh_rs_32_boundedrand_r() local
915 if (r >= threshold) in pcg_oneseq_64_xsh_rs_32_boundedrand_r()
933 uint64_t threshold = -bound % bound; in pcg_oneseq_128_xsh_rs_64_boundedrand_r() local
936 if (r >= threshold) in pcg_oneseq_128_xsh_rs_64_boundedrand_r()
952 uint8_t threshold = ((uint8_t)(-bound)) % bound; in pcg_unique_16_xsh_rs_8_boundedrand_r() local
955 if (r >= threshold) in pcg_unique_16_xsh_rs_8_boundedrand_r()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/input/
H A Dadc-keys.txt8 - keyup-threshold-microvolt: Voltage above or equal to which all the keys are
21 - press-threshold-microvolt: voltage above or equal to which this key is
24 No two values of press-threshold-microvolt may be the same.
25 All values of press-threshold-microvolt must be less than
26 keyup-threshold-microvolt.
36 keyup-threshold-microvolt = <2000000>;
41 press-threshold-microvolt = <1500000>;
47 press-threshold-microvolt = <1000000>;
53 press-threshold-microvolt = <500000>;
/freebsd/sys/arm/nvidia/
H A Dtegra_efuse.c140 struct tegra_sku_info *sku, int *threshold) in tegra124_rev_sku_to_speedo_ids() argument
147 *threshold = TEGRA124_THRESHOLD_INDEX_0; in tegra124_rev_sku_to_speedo_ids()
165 *threshold = TEGRA124_THRESHOLD_INDEX_0; in tegra124_rev_sku_to_speedo_ids()
173 *threshold = TEGRA124_THRESHOLD_INDEX_1; in tegra124_rev_sku_to_speedo_ids()
181 *threshold = TEGRA124_THRESHOLD_INDEX_1; in tegra124_rev_sku_to_speedo_ids()
192 int i, threshold; in tegra124_init() local
207 tegra124_rev_sku_to_speedo_ids(sc, sku, &threshold); in tegra124_init()
211 tegra124_soc_process_speedos[threshold][i]) in tegra124_init()
218 tegra124_cpu_process_speedos[threshold][i]) in tegra124_init()
225 tegra124_gpu_process_speedos[threshold][i]) in tegra124_init()
[all …]
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dentropy_common.c49 int threshold; in FSE_readNCount() local
77 threshold = 1<<nbBits; in FSE_readNCount()
109 { int const max = (2*threshold-1) - remaining; in FSE_readNCount()
112 if ((bitStream & (threshold-1)) < (U32)max) { in FSE_readNCount()
113 count = bitStream & (threshold-1); in FSE_readNCount()
116 count = bitStream & (2*threshold-1); in FSE_readNCount()
117 if (count >= threshold) count -= max; in FSE_readNCount()
125 while (remaining < threshold) { in FSE_readNCount()
127 threshold >>= 1; in FSE_readNCount()
/freebsd/sys/contrib/device-tree/Bindings/power/supply/
H A 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
H A Dact8945a-charger.txt14 - active-semi,input-voltage-threshold-microvolt: unit: mV;
15 Specifies the charger's input over-voltage threshold value;
40 active-semi,input-voltage-threshold-microvolt = <6600>;
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A 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>;
H A Dnau8825.txt33 - nuvoton,sar-threshold-num: Number of buttons supported
34 …- nuvoton,sar-threshold: Impedance threshold for each button. Array that contains up to 8 buttons …
37 Refer datasheet section 10.2 for more information about threshold calculation.
98 nuvoton,sar-threshold-num = <4>;
99 nuvoton,sar-threshold = <0xc 0x1e 0x38 0x60>;
H A Dcs35l36.txt73 - cirrus,classh-weak-fet-thld-millivolt : Weak-FET amplifier drive threshold.
74 Configures the signal threshold at which the PWM output stage enters
77 - cirrus,temp-warn-threshold : Amplifier overtemperature warning threshold.
78 Configures the threshold at which the overtemperature warning condition occurs.
79 When the threshold is met, the overtemperature warning attenuation is applied
110 - cirrus,vpbr-thld : Initial VPBR threshold. Configures the VP brownout
111 threshold voltage
153 cirrus,temp-warn-threshold = <0x01>;
H A Dda7219.txt51 - dlg,mic-det-thr : Impedance threshold for mic detection measurement (Ohms)
59 - dlg,a-d-btn-thr : Impedance threshold between buttons A and D
61 - dlg,d-b-btn-thr : Impedance threshold between buttons D and B
63 - dlg,b-c-btn-thr : Impedance threshold between buttons B and C
65 - dlg,c-mic-btn-thr : Impedance threshold between button C and Mic
H A Dnau8821.txt36 - nuvoton,dmic-clk-threshold: the ADC threshold of DMIC clock.
54 nuvoton,dmic-clk-threshold = 3072000;
/freebsd/sys/contrib/zstd/lib/common/
H A Dentropy_common.c78 int threshold; in FSE_readNCount_body() local
106 threshold = 1<<nbBits; in FSE_readNCount_body()
160 int const max = (2*threshold-1) - remaining; in FSE_readNCount_body()
163 if ((bitStream & (threshold-1)) < (U32)max) { in FSE_readNCount_body()
164 count = bitStream & (threshold-1); in FSE_readNCount_body()
167 count = bitStream & (2*threshold-1); in FSE_readNCount_body()
168 if (count >= threshold) count -= max; in FSE_readNCount_body()
185 assert(threshold > 1); in FSE_readNCount_body()
186 if (remaining < threshold) { in FSE_readNCount_body()
193 threshold = 1 << (nbBits - 1); in FSE_readNCount_body()
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/
H A 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>;
H A Drk3399-sapphire-excavator.dts21 keyup-threshold-microvolt = <1800000>;
27 press-threshold-microvolt = <100000>;
33 press-threshold-microvolt = <300000>;
39 press-threshold-microvolt = <985000>;
45 press-threshold-microvolt = <1314000>;
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>;
/freebsd/sys/contrib/device-tree/src/arm64/amlogic/
H A Dmeson-gxbb-p200.dts35 keyup-threshold-microvolt = <1800000>;
40 press-threshold-microvolt = <900000>; /* 50% */
46 press-threshold-microvolt = <684000>; /* 38% */
52 press-threshold-microvolt = <468000>; /* 26% */
58 press-threshold-microvolt = <252000>; /* 14% */
64 press-threshold-microvolt = <0>; /* 0% */
/freebsd/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/sys/contrib/device-tree/Bindings/regulator/
H A 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>;
/freebsd/lib/libc/gen/
H A Darc4random_uniform.c38 uint32_t threshold; in arc4random_uniform() local
41 threshold = -upper_bound % upper_bound; in arc4random_uniform()
42 while ((uint32_t)product < threshold) in arc4random_uniform()
/freebsd/usr.bin/du/
H A Ddu.c91 off_t threshold, threshold_sign; in main() local
106 threshold = 0; in main()
189 if (expand_number(optarg, &threshold) != 0 || in main()
190 threshold == 0) { in main()
193 } else if (threshold < 0) in main()
253 if (threshold != 0) in main()
254 threshold = howmany(threshold / DEV_BSIZE * cblocksize, in main()
284 if (p->fts_level <= depth && threshold <= in main()
/freebsd/sys/contrib/device-tree/Bindings/usb/
H A Ddwc3.txt47 - snps,lpm-nyet-threshold: LPM NYET threshold
86 - snps,hird-threshold: HIRD threshold
92 - snps,rx-thr-num-pkt-prd: periodic ESS RX packet threshold count - host mode
95 section 1.2.4) to enable periodic ESS RX threshold.
99 enable periodic ESS RX threshold.
100 - snps,tx-thr-num-pkt-prd: periodic ESS TX packet threshold count - host mode
103 section 1.2.3) to enable periodic ESS TX threshold.
107 enable periodic ESS TX threshold.
/freebsd/sys/dev/nvme/
H A Dnvme_ctrlr_cmd.c231 uint32_t microseconds, uint32_t threshold, nvme_cb_fn_t cb_fn, void *cb_arg) in nvme_ctrlr_cmd_set_interrupt_coalescing() argument
239 threshold = 0; in nvme_ctrlr_cmd_set_interrupt_coalescing()
242 if (threshold >= 0x100) { in nvme_ctrlr_cmd_set_interrupt_coalescing()
244 threshold); in nvme_ctrlr_cmd_set_interrupt_coalescing()
245 threshold = 0; in nvme_ctrlr_cmd_set_interrupt_coalescing()
249 cdw11 = ((microseconds/100) << 8) | threshold; in nvme_ctrlr_cmd_set_interrupt_coalescing()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTProperties.td5 Property<"infinite-decoding-loop-verification-threshold", "UInt64">,
11 "threshold T, another attempt will be done after 2T instructions, then "
17 Property<"extremely-large-decoding-threshold", "UInt64">,
/freebsd/sys/contrib/device-tree/src/arm/rockchip/
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>;

12345678910>>...13