Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 25 of 96) sorted by relevance

1234

/xen-4.10.0-shim-comet/xen/arch/arm/
A Dcpu.c21 c->midr.bits = READ_SYSREG32(MIDR_EL1); in identify_cpu()
22 c->mpidr.bits = READ_SYSREG(MPIDR_EL1); in identify_cpu()
41 c->pfr32.bits[0] = READ_SYSREG32(ID_PFR0_EL1); in identify_cpu()
42 c->pfr32.bits[1] = READ_SYSREG32(ID_PFR1_EL1); in identify_cpu()
44 c->dbg32.bits[0] = READ_SYSREG32(ID_DFR0_EL1); in identify_cpu()
46 c->aux32.bits[0] = READ_SYSREG32(ID_AFR0_EL1); in identify_cpu()
48 c->mm32.bits[0] = READ_SYSREG32(ID_MMFR0_EL1); in identify_cpu()
49 c->mm32.bits[1] = READ_SYSREG32(ID_MMFR1_EL1); in identify_cpu()
50 c->mm32.bits[2] = READ_SYSREG32(ID_MMFR2_EL1); in identify_cpu()
51 c->mm32.bits[3] = READ_SYSREG32(ID_MMFR3_EL1); in identify_cpu()
[all …]
A Dsetup.c114 boot_cpu_data.pfr64.bits[0], boot_cpu_data.pfr64.bits[1]); in processor_id()
126 boot_cpu_data.dbg64.bits[0], boot_cpu_data.dbg64.bits[1]); in processor_id()
128 boot_cpu_data.aux64.bits[0], boot_cpu_data.aux64.bits[1]); in processor_id()
130 boot_cpu_data.mm64.bits[0], boot_cpu_data.mm64.bits[1]); in processor_id()
132 boot_cpu_data.isa64.bits[0], boot_cpu_data.isa64.bits[1]); in processor_id()
143 boot_cpu_data.pfr32.bits[0], boot_cpu_data.pfr32.bits[1]); in processor_id()
161 boot_cpu_data.mm32.bits[0], boot_cpu_data.mm32.bits[1], in processor_id()
162 boot_cpu_data.mm32.bits[2], boot_cpu_data.mm32.bits[3]); in processor_id()
164 boot_cpu_data.isa32.bits[0], boot_cpu_data.isa32.bits[1], in processor_id()
165 boot_cpu_data.isa32.bits[2], boot_cpu_data.isa32.bits[3], in processor_id()
[all …]
A Dvcpreg.c39 switch ( hsr.bits & HSR_CP32_REGS_MASK ) in do_cp15_32()
155 hsr.bits & HSR_CP32_REGS_MASK); in do_cp15_32()
170 switch ( hsr.bits & HSR_CP64_REGS_MASK ) in do_cp15_64()
221 hsr.bits & HSR_CP64_REGS_MASK); in do_cp15_64()
241 switch ( hsr.bits & HSR_CP32_REGS_MASK ) in do_cp14_32()
352 hsr.bits & HSR_CP32_REGS_MASK); in do_cp14_32()
394 hsr.bits & HSR_CP64_REGS_MASK); in do_cp14_64()
425 hsr.bits & HSR_CP64_REGS_MASK); in do_cp14_dbg()
/xen-4.10.0-shim-comet/xen/include/xen/
A Dcpumask.h158 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nr_cpumask_bits); in cpumask_and()
164 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nr_cpumask_bits); in cpumask_or()
170 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nr_cpumask_bits); in cpumask_xor()
176 bitmap_andnot(dstp->bits, src1p->bits, src2p->bits, nr_cpumask_bits); in cpumask_andnot()
181 bitmap_complement(dstp->bits, srcp->bits, nr_cpumask_bits); in cpumask_complement()
187 return bitmap_equal(src1p->bits, src2p->bits, nr_cpu_ids); in cpumask_equal()
193 return bitmap_intersects(src1p->bits, src2p->bits, nr_cpu_ids); in cpumask_intersects()
199 return bitmap_subset(src1p->bits, src2p->bits, nr_cpu_ids); in cpumask_subset()
219 bitmap_copy(dstp->bits, srcp->bits, nr_cpumask_bits); in cpumask_copy()
225 bitmap_shift_right(dstp->bits, srcp->bits, n, nr_cpumask_bits); in cpumask_shift_right()
[all …]
A Dnodemask.h87 set_bit(node, dstp->bits); in __node_set()
123 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_and()
131 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_or()
139 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_xor()
147 bitmap_andnot(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_andnot()
155 bitmap_complement(dstp->bits, srcp->bits, nbits); in __nodes_complement()
163 return bitmap_equal(src1p->bits, src2p->bits, nbits); in __nodes_equal()
171 return bitmap_intersects(src1p->bits, src2p->bits, nbits); in __nodes_intersects()
179 return bitmap_subset(src1p->bits, src2p->bits, nbits); in __nodes_subset()
205 bitmap_shift_right(dstp->bits, srcp->bits, n, nbits); in __nodes_shift_right()
[all …]
A Dbitmap.h73 extern int __bitmap_empty(const unsigned long *bitmap, int bits);
74 extern int __bitmap_full(const unsigned long *bitmap, int bits);
76 const unsigned long *bitmap2, int bits);
78 int bits);
84 const unsigned long *bitmap2, int bits);
86 const unsigned long *bitmap2, int bits);
88 const unsigned long *bitmap2, int bits);
90 const unsigned long *bitmap2, int bits);
92 const unsigned long *bitmap2, int bits);
94 const unsigned long *bitmap2, int bits);
[all …]
A Dhash.h26 static inline unsigned long hash_long(unsigned long val, unsigned int bits) in hash_long() argument
51 return hash >> (BITS_PER_LONG - bits); in hash_long()
54 static inline unsigned long hash_ptr(void *ptr, unsigned int bits) in hash_ptr() argument
56 return hash_long((unsigned long)ptr, bits); in hash_ptr()
A Dtypes.h8 #define BITS_TO_LONGS(bits) \ argument
9 (((bits)+BITS_PER_LONG-1)/BITS_PER_LONG)
10 #define DECLARE_BITMAP(name,bits) \ argument
11 unsigned long name[BITS_TO_LONGS(bits)]
/xen-4.10.0-shim-comet/xen/common/
A Dbitmap.c62 if (bits % BITS_PER_LONG) in __bitmap_empty()
77 if (bits % BITS_PER_LONG) in __bitmap_full()
93 if (bits % BITS_PER_LONG) in __bitmap_equal()
107 if (bits % BITS_PER_LONG) in __bitmap_complement()
126 int k, lim = BITS_TO_LONGS(bits), left = bits % BITS_PER_LONG; in __bitmap_shift_right()
173 int k, lim = BITS_TO_LONGS(bits), left = bits % BITS_PER_LONG; in __bitmap_shift_left()
204 int nr = BITS_TO_LONGS(bits); in __bitmap_and()
252 if (bits % BITS_PER_LONG) in __bitmap_intersects()
267 if (bits % BITS_PER_LONG) in __bitmap_subset()
282 if (bits % BITS_PER_LONG) in __bitmap_weight()
[all …]
/xen-4.10.0-shim-comet/xen/arch/arm/arm32/lib/
A Dfindbit.S31 eors r3, r3, #0xff @ invert bits
36 3: mov r0, r1 @ no free bits
53 movs r3, r3, lsr ip @ shift off unused bits
55 orr r2, r2, #7 @ if zero, then no bits here
77 3: mov r0, r1 @ no free bits
93 movs r3, r3, lsr ip @ shift off unused bits
95 orr r2, r2, #7 @ if zero, then no bits here
110 eors r3, r3, #0xff @ invert bits
115 3: mov r0, r1 @ no free bits
129 movs r3, r3, lsr ip @ shift off unused bits
[all …]
/xen-4.10.0-shim-comet/tools/xentrace/
A Danalyze.h26 #define BITS_TO_LONGS(bits) \ argument
27 (((bits)+BITS_PER_LONG-1)/BITS_PER_LONG)
28 #define DECLARE_BITMAP(name,bits) \ argument
29 unsigned long name[BITS_TO_LONGS(bits)]
30 typedef struct cpumask{ DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t;
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dvreg.h143 static inline void vreg_reg_setbits(unsigned long *reg, register_t bits, in vreg_reg_setbits() argument
150 *reg |= ((unsigned long)bits & mask) << shift; in vreg_reg_setbits()
153 static inline void vreg_reg_clearbits(unsigned long *reg, register_t bits, in vreg_reg_clearbits() argument
160 *reg &= ~(((unsigned long)bits & mask) << shift); in vreg_reg_clearbits()
185 register_t bits, \
190 vreg_reg_setbits(&tmp, bits, info->gpa & offmask, \
197 register_t bits, \
202 vreg_reg_clearbits(&tmp, bits, info->gpa & offmask, \
A Dprocessor.h343 uint32_t bits; member
353 register_t bits; member
373 uint64_t bits[2]; member
388 uint64_t bits[2]; member
392 uint64_t bits[2]; member
396 uint64_t bits[2]; member
420 uint64_t bits[2]; member
430 uint32_t bits[2]; member
448 uint32_t bits[1]; member
452 uint32_t bits[1]; member
[all …]
/xen-4.10.0-shim-comet/stubdom/vtpmmgr/
A Ddisk_crypto.c153 int carry = 0x87 * !!(src->bits[0] & 0x80); in shl_128_mod_hex87()
155 dst->bits[i] = (src->bits[i] << 1) | (src->bits[i+1] >> 7); in shl_128_mod_hex87()
156 dst->bits[15] = (src->bits[15] << 1) ^ carry; in shl_128_mod_hex87()
163 dst->bits[i] = s1->bits[i] ^ s2->bits[i]; in xor128()
A Dvtpm_disk.h13 uint8_t bits[20]; member
18 uint8_t bits[20]; member
23 uint8_t bits[32]; member
28 uint8_t bits[16]; member
32 uint8_t bits[16]; member
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dio_apic.c1127 if (reg_01.bits.version >= 0x10) in __print_IO_APIC()
1129 if (reg_01.bits.version >= 0x20) in __print_IO_APIC()
1140 if (reg_00.bits.__reserved_1 || reg_00.bits.__reserved_2) in __print_IO_APIC()
1150 (reg_01.bits.entries != 0x2E) && in __print_IO_APIC()
1151 (reg_01.bits.entries != 0x3F) in __print_IO_APIC()
1164 if (reg_01.bits.__reserved_1 || reg_01.bits.__reserved_2) in __print_IO_APIC()
1175 if (reg_02.bits.__reserved_1 || reg_02.bits.__reserved_2) in __print_IO_APIC()
2125 apic_id = reg_00.bits.ID; in io_apic_get_unique_id()
2151 reg_00.bits.ID = apic_id; in io_apic_get_unique_id()
2181 return reg_01.bits.version; in io_apic_get_version()
[all …]
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dmd5.c24 uint32_t bits[2]; member
83 ctx->bits[0] = 0; in MD5Init()
84 ctx->bits[1] = 0; in MD5Init()
97 t = ctx->bits[0]; in MD5Update()
98 if ((ctx->bits[0] = t + ((uint32_t) len << 3)) < t) in MD5Update()
99 ctx->bits[1]++; /* Carry from low to high */ in MD5Update()
100 ctx->bits[1] += len >> 29; in MD5Update()
145 count = (ctx->bits[0] >> 3) & 0x3F; in MD5Final()
171 ((uint32_t *) ctx->in)[14] = ctx->bits[0]; in MD5Final()
172 ((uint32_t *) ctx->in)[15] = ctx->bits[1]; in MD5Final()
A Daes.h15 int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
17 int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dio_apic.h42 } bits; member
53 } bits; member
62 } bits; member
70 } bits; member
/xen-4.10.0-shim-comet/xen/arch/arm/arm64/
A Dtraps.c35 union hsr hsr = { .bits = regs->hsr }; in do_bad_mode()
39 hsr.bits, hsr.ec, hsr.len, hsr.iss); in do_bad_mode()
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_tbuf.c122 int bits, cpusize; in xc_tbuf_set_cpu_mask() local
133 bits = xc_get_max_cpus(xch); in xc_tbuf_set_cpu_mask()
134 if (bits <= 0) in xc_tbuf_set_cpu_mask()
151 sysctl.u.tbuf_op.cpu_mask.nr_bits = bits; in xc_tbuf_set_cpu_mask()
/xen-4.10.0-shim-comet/xen/drivers/acpi/
A Dpmstat.c499 u32 bits[3]; in acpi_set_pdc_bits() local
502 if ( copy_from_guest(bits, pdc, 2) ) in acpi_set_pdc_bits()
504 else if ( bits[0] != ACPI_PDC_REVISION_ID || !bits[1] ) in acpi_set_pdc_bits()
506 else if ( copy_from_guest_offset(bits + 2, pdc, 2, 1) ) in acpi_set_pdc_bits()
518 bits[2] &= (ACPI_PDC_C_MASK | ACPI_PDC_P_MASK | ACPI_PDC_T_MASK | in acpi_set_pdc_bits()
520 ret = arch_acpi_set_pdc_bits(acpi_id, bits, mask); in acpi_set_pdc_bits()
522 if ( !ret && __copy_to_guest_offset(pdc, 2, bits + 2, 1) ) in acpi_set_pdc_bits()
/xen-4.10.0-shim-comet/tools/tests/vhpet/
A Demul.h34 #define BITS_TO_LONGS(bits) \ argument
35 (((bits) + BITS_PER_LONG - 1) / BITS_PER_LONG)
36 #define DECLARE_BITMAP(name, bits) \ argument
37 unsigned long name[BITS_TO_LONGS(bits)]
40 DECLARE_BITMAP(bits, NR_CPUS);
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Dvioapic.c92 .bits = { .version = VIOAPIC_VERSION_ID, in vioapic_read_indirect()
104 .bits = { .arbitration = vioapic->id } in vioapic_read_indirect()
120 redir_content = vioapic->redirtbl[redir_index].bits; in vioapic_read_indirect()
225 ent.bits = (uint32_t)ent.bits | ((uint64_t)val << 32); in vioapic_write_redirent()
231 ent.bits = ((ent.bits >> 32) << 32) | val; in vioapic_write_redirent()
288 vioapic->id = ((union IO_APIC_reg_02){ .raw = val }).bits.arbitration; in vioapic_write_indirect()
/xen-4.10.0-shim-comet/docs/misc/
A Dpvh.markdown19 * `cr0`: bit 0 (PE) must be set. All the other writeable bits are cleared.
21 * `cr4`: all bits are cleared.
32 Bit 8 (TF) must be cleared. Other bits are all unspecified.
34 All other processor registers and flag bits are unspecified. The OS is in
55 this hypercall allows starting the vCPU in several modes (16/32/64bits),

Completed in 39 milliseconds

1234