/qemu/host/include/i386/host/crypto/ |
H A D | aes-round.h | 34 t = aes_accel_bswap(t); in aesenc_MC_accel() 36 t = _mm_aesenc_si128(t, z); in aesenc_MC_accel() 37 t = aes_accel_bswap(t); in aesenc_MC_accel() 53 t = aes_accel_bswap(t); in aesenc_SB_SR_AK_accel() 56 t = aes_accel_bswap(t); in aesenc_SB_SR_AK_accel() 71 t = aes_accel_bswap(t); in aesenc_SB_SR_MC_AK_accel() 74 t = aes_accel_bswap(t); in aesenc_SB_SR_MC_AK_accel() 87 t = aes_accel_bswap(t); in aesdec_IMC_accel() 89 t = aes_accel_bswap(t); in aesdec_IMC_accel() 104 t = aes_accel_bswap(t); in aesdec_ISB_ISR_AK_accel() [all …]
|
/qemu/host/include/aarch64/host/crypto/ |
H A D | aes-round.h | 90 t = aes_accel_bswap(t); in aesenc_MC_accel() 91 t = aes_accel_aesmc(t); in aesenc_MC_accel() 92 t = aes_accel_bswap(t); in aesenc_MC_accel() 94 t = aes_accel_aesmc(t); in aesenc_MC_accel() 107 t = aes_accel_bswap(t); in aesenc_SB_SR_AK_accel() 109 t = aes_accel_bswap(t); in aesenc_SB_SR_AK_accel() 124 t = aes_accel_bswap(t); in aesenc_SB_SR_MC_AK_accel() 126 t = aes_accel_bswap(t); in aesenc_SB_SR_MC_AK_accel() 139 t = aes_accel_bswap(t); in aesdec_IMC_accel() 141 t = aes_accel_bswap(t); in aesdec_IMC_accel() [all …]
|
/qemu/hw/timer/ |
H A D | etraxfs_timer.c | 137 r = t->r_intr & t->rw_intr_mask; in timer_read() 214 t->r_intr &= ~(t->rw_ack_intr); in timer_update_irq() 215 t->r_masked_intr = t->r_intr & t->rw_intr_mask; in timer_update_irq() 218 qemu_set_irq(t->irq, !!t->r_masked_intr); in timer_update_irq() 224 t->r_intr |= 1; in timer0_hit() 231 t->r_intr |= 2; in timer1_hit() 248 t->wd_hits++; in watchdog_hit() 269 if (t->wd_hits) in timer_watchdog_update() 272 t->wd_hits = 0; in timer_watchdog_update() 356 t->r_intr = 0; in etraxfs_timer_reset_enter() [all …]
|
H A D | aspeed_timer.c | 64 const AspeedTimer (*timers)[] = (void *)t - (t->id * sizeof(*t)); in timer_to_ctrl() 107 return t->reload - MIN(t->reload, ticks); in calculate_ticks() 123 delta_ticks = t->reload - MIN(t->reload, ticks); in calculate_time() 131 return t->match[i] < t->reload ? t->match[i] : 0; in calculate_match() 145 next = calculate_time(t, MAX(calculate_match(t, 0), calculate_match(t, 1))); in calculate_next() 150 next = calculate_time(t, MIN(calculate_match(t, 0), calculate_match(t, 1))); in calculate_next() 165 t->level = !t->level; in calculate_next() 167 qemu_set_irq(t->irq, t->level); in calculate_next() 197 interrupt = timer_overflow_interrupt(t) || !t->match[0] || !t->match[1]; in aspeed_timer_expire() 206 t->level = !t->level; in aspeed_timer_expire() [all …]
|
H A D | npcm7xx_timer.c | 86 t->expires_ns = now + t->remaining_ns; in npcm7xx_timer_start() 87 timer_mod(&t->qtimer, t->expires_ns); in npcm7xx_timer_start() 97 t->remaining_ns = t->expires_ns - now; in npcm7xx_timer_pause() 104 t->expires_ns = 0; in npcm7xx_timer_clear() 219 t->base_timer.remaining_ns = npcm7xx_timer_count_to_ns(t, t->ticr); in npcm7xx_timer_reached_zero() 239 t->base_timer.remaining_ns = npcm7xx_timer_count_to_ns(t, t->ticr); in npcm7xx_timer_restart() 256 return npcm7xx_timer_ns_to_count(t, t->base_timer.remaining_ns); in npcm7xx_timer_read_tdr() 284 t->tcsr = (t->tcsr & NPCM7XX_TCSR_CACT) | new_tcsr; in npcm7xx_timer_write_tcsr() 288 t->base_timer.remaining_ns = npcm7xx_timer_count_to_ns(t, tdr); in npcm7xx_timer_write_tcsr() 319 npcm7xx_timer_restart(t, t->tcsr); in npcm7xx_timer_write_ticr() [all …]
|
H A D | slavio_timer.c | 114 limit = t->limit; in slavio_timer_get_out() 118 trace_slavio_timer_get_out(t->limit, t->counthigh, t->count); in slavio_timer_get_out() 131 trace_slavio_timer_irq(t->counthigh, t->count); in slavio_timer_irq() 133 if (t->limit != 0) { in slavio_timer_irq() 159 ret = t->counthigh | t->reached; in slavio_timer_mem_readl() 223 count = ((uint64_t)t->counthigh << 32) | t->count; in slavio_timer_mem_writel() 225 ptimer_set_count(t->timer, LIMIT_TO_PERIODS(t->limit - count)); in slavio_timer_mem_writel() 234 ptimer_set_limit(t->timer, LIMIT_TO_PERIODS(t->limit), 1); in slavio_timer_mem_writel() 247 count = ((uint64_t)t->counthigh) << 32 | t->count; in slavio_timer_mem_writel() 250 ptimer_set_count(t->timer, LIMIT_TO_PERIODS(t->limit - count)); in slavio_timer_mem_writel() [all …]
|
/qemu/hw/char/ |
H A D | terminal3270.c | 55 if (t->timer_tag) { in terminal_timer_cancel() 107 t->timer_tag = g_timeout_add_seconds(600, send_timing_mark_cb, t); in terminal_read() 108 memcpy(&t->inv[t->in_len], buf, size); in terminal_read() 121 if (t->in_len > 6 && t->inv[2] == 0x18 && t->inv[3] == 0x0 && in terminal_read() 122 t->inv[t->in_len - 2] == IAC && t->inv[t->in_len - 1] == IAC_SE) { in terminal_read() 130 if (t->inv[end] == IAC && t->inv[end + 1] == IAC_EOR) { in terminal_read() 155 t->in_len = 0; in chr_event() 205 len = MIN(ccw_dstream_avail(get_cds(t)), t->in_len); in read_payload_3270() 206 ret = ccw_dstream_write_buf(get_cds(t), t->inv, len); in read_payload_3270() 252 if (!(t->outv[0] == IAC && t->outv[1] != IAC)) { in write_payload_3270() [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 153.out | 26 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get "write" lock 34 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get "write" lock 51 _qemu_img_wrapper compare TEST_DIR/t.qcow2 TEST_DIR/t.qcow2 79 _qemu_img_wrapper convert TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert 118 _qemu_img_wrapper compare -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2 187 _qemu_img_wrapper compare TEST_DIR/t.qcow2 TEST_DIR/t.qcow2 209 _qemu_img_wrapper convert TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert 242 _qemu_img_wrapper compare -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2 304 _qemu_img_wrapper compare TEST_DIR/t.qcow2 TEST_DIR/t.qcow2 347 _qemu_img_wrapper compare -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2 [all …]
|
H A D | 232.out | 10 NODE_NAME: TEST_DIR/t.IMGFMT (file) 11 NODE_NAME: TEST_DIR/t.IMGFMT (file) 12 NODE_NAME: TEST_DIR/t.IMGFMT (file) 14 NODE_NAME: TEST_DIR/t.IMGFMT (file) 38 node0: TEST_DIR/t.IMGFMT (file) 39 node0: TEST_DIR/t.IMGFMT (file) 40 node0: TEST_DIR/t.IMGFMT (file) 42 node0: TEST_DIR/t.IMGFMT (file) 43 node0: TEST_DIR/t.IMGFMT (file) 44 node0: TEST_DIR/t.IMGFMT (file) [all …]
|
H A D | 059.out | 5 qemu-io: can't open device TEST_DIR/t.vmdk: Invalid granularity, image may be corrupt 9 qemu-io: can't open device TEST_DIR/t.vmdk: L2 table size too big 13 qemu-io: can't open device TEST_DIR/t.vmdk: L1 size too big 17 image: TEST_DIR/t.IMGFMT 23 qemu-img: TEST_DIR/t.IMGFMT: Flat image can't enable zeroed grain 27 image: TEST_DIR/t.IMGFMT 37 filename: TEST_DIR/t-f001.IMGFMT 41 filename: TEST_DIR/t-f002.IMGFMT 45 filename: TEST_DIR/t-f003.IMGFMT 49 filename: TEST_DIR/t-f004.IMGFMT [all …]
|
H A D | 049.out | 6 qemu-img create -f qcow2 TEST_DIR/t.qcow2 1024 9 qemu-img create -f qcow2 TEST_DIR/t.qcow2 1024b 12 qemu-img create -f qcow2 TEST_DIR/t.qcow2 1k 15 qemu-img create -f qcow2 TEST_DIR/t.qcow2 1K 18 qemu-img create -f qcow2 TEST_DIR/t.qcow2 1M 21 qemu-img create -f qcow2 TEST_DIR/t.qcow2 1G 24 qemu-img create -f qcow2 TEST_DIR/t.qcow2 1T 33 qemu-img create -f qcow2 TEST_DIR/t.qcow2 1.5k 36 qemu-img create -f qcow2 TEST_DIR/t.qcow2 1.5K 39 qemu-img create -f qcow2 TEST_DIR/t.qcow2 1.5M [all …]
|
H A D | 092.out | 5 qemu-io: can't open device TEST_DIR/t.qcow: Cluster size must be between 512 and 64k 6 qemu-io: can't open device TEST_DIR/t.qcow: Cluster size must be between 512 and 64k 7 qemu-io: can't open device TEST_DIR/t.qcow: Cluster size must be between 512 and 64k 8 qemu-io: can't open device TEST_DIR/t.qcow: Cluster size must be between 512 and 64k 12 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k 13 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k 14 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k 19 qemu-io: can't open device TEST_DIR/t.qcow: Image too large 20 qemu-io: can't open device TEST_DIR/t.qcow: Image too large 24 qemu-io: can't open device TEST_DIR/t.qcow: Backing file name too long [all …]
|
H A D | 043.out | 7 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base backi… 12 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.1.base bac… 13 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.2.base bac… 14 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.3.base bac… 19 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.1.base bac… 23 image: TEST_DIR/t.IMGFMT 27 backing file: TEST_DIR/t.IMGFMT.2.base 29 image: TEST_DIR/t.IMGFMT.2.base 33 backing file: TEST_DIR/t.IMGFMT.1.base 35 image: TEST_DIR/t.IMGFMT.1.base [all …]
|
H A D | 051.out | 3 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base backi… 91 Testing: -drive file=TEST_DIR/t.qcow2,driver=raw,backing.file.filename=TEST_DIR/t.qcow2.orig 92 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,driver=raw,backing.file.filename=TEST_DIR/t.qcow2.orig: Dri… 94 Testing: -drive file=TEST_DIR/t.qcow2,file.backing.driver=file,file.backing.filename=TEST_DIR/t.qco… 95 …MU_PROG: -drive file=TEST_DIR/t.qcow2,file.backing.driver=file,file.backing.filename=TEST_DIR/t.qc… 97 Testing: -drive file=TEST_DIR/t.qcow2,file.backing.driver=qcow2,file.backing.file.filename=TEST_DIR… 98 …PROG: -drive file=TEST_DIR/t.qcow2,file.backing.driver=qcow2,file.backing.file.filename=TEST_DIR/t… 184 file: TEST_DIR/t.qcow2 (file) 204 file: TEST_DIR/t.qcow2 (file) 224 file: TEST_DIR/t.qcow2 (file) [all …]
|
H A D | 116.out | 4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 5 qemu-io: can't open device TEST_DIR/t.qed: QED table offset is invalid 8 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 9 qemu-io: can't open device TEST_DIR/t.qed: Image not in QED format 12 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 13 qemu-io: can't open device TEST_DIR/t.qed: QED cluster size is invalid 16 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 17 qemu-io: can't open device TEST_DIR/t.qed: QED table size is invalid 21 qemu-io: can't open device TEST_DIR/t.qed: QED table offset is invalid 25 qemu-io: can't open device TEST_DIR/t.qed: QED table offset is invalid [all …]
|
H A D | 301.out | 6 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT.base backin… 7 image: TEST_DIR/t.IMGFMT 11 backing file: TEST_DIR/t.IMGFMT.base 20 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT.base backin… 24 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT.base backin… 26 image: TEST_DIR/t.IMGFMT 30 backing file: TEST_DIR/t.IMGFMT.base 34 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT.base backin… 35 image: TEST_DIR/t.IMGFMT 39 backing file: TEST_DIR/t.IMGFMT.base [all …]
|
H A D | 191.out | 6 Formatting 'TEST_DIR/t.IMGFMT.mid', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base ba… 7 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid backing… 8 Formatting 'TEST_DIR/t.IMGFMT.ovl2', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid ba… 396 image: TEST_DIR/t.IMGFMT 400 backing file: TEST_DIR/t.IMGFMT.base 402 image: TEST_DIR/t.IMGFMT.ovl2 406 backing file: TEST_DIR/t.IMGFMT.base 814 image: TEST_DIR/t.IMGFMT 818 backing file: TEST_DIR/t.IMGFMT.base 820 image: TEST_DIR/t.IMGFMT.ovl2 [all …]
|
H A D | 080.out | 5 qemu-io: can't open device TEST_DIR/t.qcow2: qcow2 header exceeds cluster size 6 qemu-io: can't open device TEST_DIR/t.qcow2: qcow2 header exceeds cluster size 10 qemu-io: can't open device TEST_DIR/t.qcow2: Invalid backing file offset 11 qemu-io: can't open device TEST_DIR/t.qcow2: Header extension too large 12 qemu-io: can't open device TEST_DIR/t.qcow2: Header extension too large 16 qemu-io: can't open device TEST_DIR/t.qcow2: Reference count table too large 17 qemu-io: can't open device TEST_DIR/t.qcow2: Reference count table too large 29 qemu-io: can't open device TEST_DIR/t.qcow2: Snapshot table too large 30 qemu-io: can't open device TEST_DIR/t.qcow2: Snapshot table too large 42 qemu-io: can't open device TEST_DIR/t.qcow2: Active L1 table too large [all …]
|
/qemu/host/include/ppc/host/crypto/ |
H A D | aes-round.h | 102 t = aes_accel_vncipherlast(t, z); in aesenc_MC_accel() 103 t = aes_accel_vcipher(t, z); in aesenc_MC_accel() 111 AESStateVec t, k; in aesenc_SB_SR_AK_accel() local 115 t = aes_accel_vcipherlast(t, k); in aesenc_SB_SR_AK_accel() 123 AESStateVec t, k; in aesenc_SB_SR_MC_AK_accel() local 127 t = aes_accel_vcipher(t, k); in aesenc_SB_SR_MC_AK_accel() 137 t = aes_accel_vcipherlast(t, z); in aesdec_IMC_accel() 138 t = aes_accel_vncipher(t, z); in aesdec_IMC_accel() 150 t = aes_accel_vncipherlast(t, k); in aesdec_ISB_ISR_AK_accel() 162 t = aes_accel_vncipher(t, k); in aesdec_ISB_ISR_AK_IMC_accel() [all …]
|
/qemu/target/arm/tcg/ |
H A D | cpu64.c | 183 uint64_t t; in cpu_arm_set_rme() local 186 t = FIELD_DP64(t, ID_AA64PFR0, RME, value); in cpu_arm_set_rme() 1111 t = FIELD_DP64(t, MIDR_EL1, ARCHITECTURE, 0xf); in aarch64_max_tcg_initfn() 1112 t = FIELD_DP64(t, MIDR_EL1, PARTNUM, 'Q'); in aarch64_max_tcg_initfn() 1113 t = FIELD_DP64(t, MIDR_EL1, VARIANT, 0); in aarch64_max_tcg_initfn() 1114 t = FIELD_DP64(t, MIDR_EL1, REVISION, 0); in aarch64_max_tcg_initfn() 1132 t = FIELD_DP64(t, CTR_EL0, IDC, 1); in aarch64_max_tcg_initfn() 1133 t = FIELD_DP64(t, CTR_EL0, DIC, 1); in aarch64_max_tcg_initfn() 1156 t = FIELD_DP64(t, ID_AA64ISAR1, API, 1); in aarch64_max_tcg_initfn() 1177 t = FIELD_DP64(t, ID_AA64PFR0, SVE, 1); in aarch64_max_tcg_initfn() [all …]
|
H A D | crypto_helper.c | 117 aesenc_MC(&t, &t, false); in HELPER() 504 CR_ST_WORD(d, 0) = t ^ ror32(t, 17) ^ ror32(t, 9); in HELPER() 507 CR_ST_WORD(d, 1) = t ^ ror32(t, 17) ^ ror32(t, 9); in HELPER() 510 CR_ST_WORD(d, 2) = t ^ ror32(t, 17) ^ ror32(t, 9); in HELPER() 513 CR_ST_WORD(d, 3) = t ^ ror32(t, 17) ^ ror32(t, 9); in HELPER() 535 ror32(t, 17) ^ ror32(t, 2) ^ ror32(t, 26); in HELPER() 580 t ^= rol32(t, 9) ^ rol32(t, 17); in crypto_sm3tt() 617 t = sm4_subword(t); in do_crypto_sm4e() 619 CR_ST_WORD(d, i) ^= t ^ rol32(t, 2) ^ rol32(t, 10) ^ rol32(t, 18) ^ in do_crypto_sm4e() 651 t = sm4_subword(t); in do_crypto_sm4ekey() [all …]
|
/qemu/target/riscv/ |
H A D | crypto_helper.c | 85 AESState t; in HELPER() local 89 aesenc_SB_SR_MC_AK(&t, &t, &aes_zero, false); in HELPER() 95 AESState t; in HELPER() local 99 aesenc_SB_SR_AK(&t, &t, &aes_zero, false); in HELPER() 105 AESState t; in HELPER() local 109 aesdec_ISB_ISR_AK(&t, &t, &aes_zero, false); in HELPER() 123 aesdec_ISB_ISR_IMC_AK(&t, &t, &z, false); in HELPER() 158 t.w[0] = t.w[1] = t.w[2] = t.w[3] = temp; in HELPER() 159 aesenc_SB_SR_AK(&t, &t, &rc, false); in HELPER() 166 AESState t; in HELPER() local [all …]
|
/qemu/hw/smbios/ |
H A D | smbios.c | 662 t->height = 0; in smbios_build_type_3_table() 700 t->voltage = 0; in smbios_build_type_4_table() 717 t->core_enabled = t->core_count; in smbios_build_type_4_table() 725 t->core_count2 = t->core_enabled2 = cpu_to_le16(cores_per_socket); in smbios_build_type_4_table() 727 } else if (t->core_count == 0xFF || t->thread_count == 0xFF) { in smbios_build_type_4_table() 830 t->count = type11.nvalues; in smbios_build_type_11_table() 902 t->configured_clock_speed = t->speed; /* reuse value for max speed */ in smbios_build_type_17_table() 928 t->starting_address = t->ending_address = cpu_to_le32(UINT32_MAX); in smbios_build_type_19_table() 942 memset(t->reserved, 0, 6); in smbios_build_type_32_table() 960 t->bus_number = 0; in smbios_build_type_41_table() [all …]
|
/qemu/scripts/tracetool/format/ |
H A D | ust_events_h.py | 73 for t,n,f in zip(types, names, fmts): 74 if ('char *' in t) or ('char*' in t): 77 out(' ctf_integer_hex('+ t + ', ' + n + ', ' + n + ')') 78 elif ("ptr" in t) or ("*" in t): 79 out(' ctf_integer_hex('+ t + ', ' + n + ', ' + n + ')') 80 elif ('int' in t) or ('long' in t) or ('unsigned' in t) \ 81 or ('size_t' in t) or ('bool' in t): 82 out(' ctf_integer(' + t + ', ' + n + ', ' + n + ')') 83 elif ('double' in t) or ('float' in t): 84 out(' ctf_float(' + t + ', ' + n + ', ' + n + ')') [all …]
|
/qemu/target/hppa/ |
H A D | insns.decode | 73 &rr_cf_d t r cf d 74 &rrr t r1 r2 75 &rrr_cf t r1 r2 cf 76 &rrr_cf_d t r1 r2 cf d 77 &rrr_sh t r1 r2 sh 78 &rrr_cf_d_sh t r1 r2 cf d sh 79 &rri t r i 80 &rri_cf t r i cf 81 &rri_cf_d t r i cf d 470 &fclass01 r t [all …]
|