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.c159 int nr_bits, le_bit; in s390_add_from_feat_block() local
163 nr_bits = 16384; in s390_add_from_feat_block()
168 nr_bits = 256; in s390_add_from_feat_block()
172 nr_bits = 128; in s390_add_from_feat_block()
175 le_bit = find_first_bit((unsigned long *) data, nr_bits); in s390_add_from_feat_block()
176 while (le_bit < nr_bits) { in s390_add_from_feat_block()
183 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.c853 value = extract64(value, 0, nr_bits); in __cpu_ppc_store_decr()
854 decr = extract64(decr, 0, nr_bits); in __cpu_ppc_store_decr()
855 signed_value = sextract64(value, 0, nr_bits); in __cpu_ppc_store_decr()
856 signed_decr = sextract64(decr, 0, nr_bits); in __cpu_ppc_store_decr()
858 trace_ppc_decr_store(nr_bits, decr, value); in __cpu_ppc_store_decr()
896 int nr_bits) in _cpu_ppc_store_decr() argument
911 int nr_bits = 32; in cpu_ppc_store_decr() local
919 nr_bits = pcc->lrg_decr_bits; in cpu_ppc_store_decr()
924 _cpu_ppc_store_decr(cpu, now, decr, value, nr_bits); in cpu_ppc_store_decr()
936 int nr_bits) in _cpu_ppc_store_hdecr() argument
[all …]
H A Dtrace-events120 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.c1965 int nr_bits = kvmppc_read_int_cpu_dt("ibm,dec-bits"); in kvmppc_get_dec_bits() local
1967 if (nr_bits > 0) { in kvmppc_get_dec_bits()
1968 return nr_bits; in kvmppc_get_dec_bits()