Home
last modified time | relevance | path

Searched refs:nr_bits (Results 1 – 6 of 6) sorted by relevance

/qemu/tests/qtest/
H A Dnpcm7xx_rng-test.c121 static double calc_runs_p(const unsigned long *buf, unsigned int nr_bits) in calc_runs_p() argument
129 g_assert(nr_bits % BITS_PER_LONG == 0); in calc_runs_p()
131 for (j = 0; j < nr_bits / BITS_PER_LONG; j++) { in calc_runs_p()
134 pi = (double)nr_ones / nr_bits; in calc_runs_p()
136 for (k = 0; k < nr_bits - 1; k++) { in calc_runs_p()
141 return erfc(fabs(vn_obs - 2 * nr_bits * pi * (1.0 - pi)) in calc_runs_p()
142 / (2 * sqrt(2 * nr_bits) * pi * (1.0 - pi))); in calc_runs_p()
/qemu/target/s390x/
H A Dcpu_features.c160 int nr_bits, le_bit; in s390_add_from_feat_block() local
164 nr_bits = 16384; in s390_add_from_feat_block()
169 nr_bits = 256; in s390_add_from_feat_block()
173 nr_bits = 128; in s390_add_from_feat_block()
176 le_bit = find_first_bit((unsigned long *) data, nr_bits); in s390_add_from_feat_block()
177 while (le_bit < nr_bits) { in s390_add_from_feat_block()
184 le_bit = find_next_bit((unsigned long *) data, nr_bits, le_bit + 1); in s390_add_from_feat_block()
/qemu/hw/ppc/
H A Dppc.c846 target_ulong value, int nr_bits) in __cpu_ppc_store_decr() argument
855 value = extract64(value, 0, nr_bits); in __cpu_ppc_store_decr()
856 decr = extract64(decr, 0, nr_bits); in __cpu_ppc_store_decr()
857 signed_value = sextract64(value, 0, nr_bits); in __cpu_ppc_store_decr()
858 signed_decr = sextract64(decr, 0, nr_bits); in __cpu_ppc_store_decr()
860 trace_ppc_decr_store(nr_bits, decr, value); in __cpu_ppc_store_decr()
898 int nr_bits) in _cpu_ppc_store_decr() argument
904 tb_env->flags, decr, value, nr_bits); in _cpu_ppc_store_decr()
913 int nr_bits = 32; in cpu_ppc_store_decr() local
921 nr_bits = pcc->lrg_decr_bits; in cpu_ppc_store_decr()
[all …]
H A Dtrace-events124 ppc_decr_store(uint32_t nr_bits, uint64_t decr, uint64_t value) "%d-bit 0x%016" PRIx64 " => 0x%016"…
/qemu/include/hw/xen/interface/
H A Dxen.h1015 uint32_t nr_bits; member
/qemu/target/ppc/
H A Dkvm.c1973 int nr_bits = kvmppc_read_int_cpu_dt("ibm,dec-bits"); in kvmppc_get_dec_bits() local
1975 if (nr_bits > 0) { in kvmppc_get_dec_bits()
1976 return nr_bits; in kvmppc_get_dec_bits()