Home
last modified time | relevance | path

Searched refs:word (Results 1 – 25 of 107) sorted by relevance

12345

/qemu/hw/arm/
H A Dsmmuv3-internal.h183 uint32_t word[4]; member
188 uint32_t word[8]; member
498 #define EVT_SET_TYPE(x, v) ((x)->word[0] = deposit32((x)->word[0], 0 , 8 , v))
499 #define EVT_SET_SSV(x, v) ((x)->word[0] = deposit32((x)->word[0], 11, 1 , v))
500 #define EVT_SET_SSID(x, v) ((x)->word[0] = deposit32((x)->word[0], 12, 20, v))
502 #define EVT_SET_STAG(x, v) ((x)->word[2] = deposit32((x)->word[2], 0 , 16, v))
526 uint32_t word[2]; member
531 uint32_t word[2]; member
536 uint32_t word[16]; member
541 uint32_t word[16]; member
[all …]
/qemu/include/hw/net/
H A Dnpcm_gmac.h46 #define RX_DESC_RDES0_FRAME_LEN_MASK(word) extract32(word, 16, 14) argument
90 #define RX_DESC_RDES1_BFFR2_SZ_MASK(word) extract32(word, \ argument
93 #define RX_DESC_RDES1_BFFR1_SZ_MASK(word) extract32(word, 0, 11) argument
130 #define TX_DESC_TDES0_COLL_CNT_MASK(word) extract32(word, 3, 4) argument
145 #define TX_DESC_TDES1_CHKSM_INS_CTRL_MASK(word) extract32(word, 27, 2) argument
153 #define TX_DESC_TDES1_BFFR2_SZ_MASK(word) extract32(word, 11, 11) argument
155 #define TX_DESC_TDES1_BFFR1_SZ_MASK(word) extract32(word, 0, 11) argument
174 #define NPCM_DMA_STATUS_RO_MASK(word) (word & 0xfffe0000) argument
176 #define NPCM_DMA_STATUS_W1C_MASK(word) (word & 0x1e7ff) argument
311 #define NPCM_DMA_HOST_RX_DESC_MASK(word) ((uint32_t) (word) & ~3u) argument
[all …]
H A Dnpcm7xx_emc.h153 #define REG_DMARFC_RXMS(word) extract32((word), 0, 16) argument
212 #define TX_DESC_PKT_LEN(word) extract32((word), 0, 16) argument
215 #define TX_DESC_TXBSA(word) ((uint32_t) (word) & ~3u) argument
218 #define TX_DESC_NTXDSA(word) ((uint32_t) (word) & ~3u) argument
238 #define RX_DESC_PKT_LEN(word) extract32((word), 0, 16) argument
241 #define RX_DESC_RXBSA(word) ((uint32_t) (word) & ~3u) argument
244 #define RX_DESC_NRXDSA(word) ((uint32_t) (word) & ~3u) argument
/qemu/tests/tcg/multiarch/system/
H A Dmemory.c127 *ptr++ = word; in init_test_data_u16()
149 *ptr++ = word; in init_test_data_u32()
174 *ptr++ = word; in init_test_data_u64()
190 word = *ptr++; in read_test_data_u16()
192 low = word & 0xff; in read_test_data_u16()
216 word = *ptr++; in read_test_data_u32()
218 b1 = word >> 24 & 0xff; in read_test_data_u32()
219 b2 = word >> 16 & 0xff; in read_test_data_u32()
220 b3 = word >> 8 & 0xff; in read_test_data_u32()
221 b4 = word & 0xff; in read_test_data_u32()
[all …]
/qemu/include/qemu/
H A Dbitops.h232 static inline uint8_t rol8(uint8_t word, unsigned int shift) in rol8() argument
234 return (word << (shift & 7)) | (word >> (-shift & 7)); in rol8()
242 static inline uint8_t ror8(uint8_t word, unsigned int shift) in ror8() argument
244 return (word >> (shift & 7)) | (word << (-shift & 7)); in ror8()
252 static inline uint16_t rol16(uint16_t word, unsigned int shift) in rol16() argument
254 return (word << (shift & 15)) | (word >> (-shift & 15)); in rol16()
264 return (word >> (shift & 15)) | (word << (-shift & 15)); in ror16()
274 return (word << (shift & 31)) | (word >> (-shift & 31)); in rol32()
284 return (word >> (shift & 31)) | (word << (-shift & 31)); in ror32()
294 return (word << (shift & 63)) | (word >> (-shift & 63)); in rol64()
[all …]
/qemu/tests/tcg/arm/system/
H A Dtest-armv6m-undef.S41 .word SRAM_BASE + SRAM_SIZE /* 0. SP_main */
42 .word exc_reset_thumb /* 1. Reset */
43 .word 0 /* 2. NMI */
44 .word exc_hard_fault_thumb /* 3. HardFault */
46 .word 0 /* 4-10. Reserved */
48 .word 0 /* 11. SVCall */
49 .word 0 /* 12. Reserved */
50 .word 0 /* 13. Reserved */
51 .word 0 /* 14. PendSV */
52 .word 0 /* 15. SysTick */
[all …]
/qemu/tests/qtest/
H A Dbcm2835-dma-test.c71 for (int word = S_ADDR + 4; word < S_ADDR + TXFR_LEN; word += 4) { in bcm2835_dma_test_interrupt() local
72 writel(word, ~check_data); in bcm2835_dma_test_interrupt()
80 for (int word = D_ADDR + 4; word < D_ADDR + TXFR_LEN; word += 4) { in bcm2835_dma_test_interrupt() local
81 data = readl(word); in bcm2835_dma_test_interrupt()
/qemu/include/crypto/
H A Dsm4.h7 static inline uint32_t sm4_subword(uint32_t word) in sm4_subword() argument
9 return sm4_sbox[word & 0xff] | in sm4_subword()
10 sm4_sbox[(word >> 8) & 0xff] << 8 | in sm4_subword()
11 sm4_sbox[(word >> 16) & 0xff] << 16 | in sm4_subword()
12 sm4_sbox[(word >> 24) & 0xff] << 24; in sm4_subword()
/qemu/disas/
H A Dhppa.c1820 extract_3 (unsigned word) in extract_3() argument
1822 return GET_FIELD (word, 18, 18) << 2 | GET_FIELD (word, 16, 17); in extract_3()
1844 return (word & MASK_5); in extract_5r_store()
1874 extract_11 (unsigned word) in extract_11() argument
1882 extract_14 (unsigned word) in extract_14() argument
1890 extract_16 (unsigned word) in extract_16() argument
1894 m0 = GET_BIT (word, 16); in extract_16()
1897 word = (word >> 1) & 0x1fff; in extract_16()
1898 word = word | (m15 << 15) | ((m15 ^ m0) << 14) | ((m15 ^ m1) << 13); in extract_16()
1909 word &= MASK_21; in extract_21()
[all …]
/qemu/replay/
H A Dreplay-internal.c63 void replay_put_word(uint16_t word) in replay_put_word() argument
65 replay_put_byte(word >> 8); in replay_put_word()
66 replay_put_byte(word); in replay_put_word()
106 uint16_t word = 0; in replay_get_word() local
108 word = replay_get_byte(); in replay_get_word()
109 word = (word << 8) + replay_get_byte(); in replay_get_word()
112 return word; in replay_get_word()
/qemu/tests/tcg/hexagon/
H A Ddual_stores.c41 int32_t word; member
49 d.word = ~0; in main()
50 dual_stores(&d.word, &d.byte, 0x12345678, 0xff); in main()
51 check32(d.word, 0x123456ff); in main()
/qemu/tests/tcg/cris/bare/
H A Dcheck_cmpxm.s8 .word 0xffff
9 .word 0xff
10 .word 0xffff
12 .word 0xf789
13 .word 0x8002
14 .word 0x764
H A Dcheck_addxm.s8 .word 0xffff
9 .word 0xff
10 .word 0xffff
12 .word 0xf789
14 .word 0xffff
H A Dcheck_movum.s12 .word 5,-11
13 .word 0
/qemu/hw/intc/
H A Driscv_aplic.c168 irq = word * 32 + i; in riscv_aplic_read_input_word()
198 irq = word * 32 + i; in riscv_aplic_read_pending_word()
263 irq = word * 32 + i; in riscv_aplic_set_pending_word()
280 irq = word * 32 + i; in riscv_aplic_read_enabled_word()
330 irq = word * 32 + i; in riscv_aplic_set_enabled_word()
579 uint32_t irq, word, idc; in riscv_aplic_read() local
617 word = (addr - APLIC_SETIP_BASE) >> 2; in riscv_aplic_read()
623 word = (addr - APLIC_CLRIP_BASE) >> 2; in riscv_aplic_read()
629 word = (addr - APLIC_SETIE_BASE) >> 2; in riscv_aplic_read()
678 uint32_t irq, word, idc = UINT32_MAX; in riscv_aplic_write() local
[all …]
/qemu/tests/tcg/xtensa/
H A Dtest_load_store.S174 load_ok_test l32i, .word, 0x12345678, 0x12345678
176 load_ok_test l32ai, .word, 0x12345678, 0x12345678
192 load_unaligned_test WILL_TRAP, l32i, .word, 0x12345678, 0x12345678
194 load_unaligned_test 1, l32ai, .word, 0x12345678, 0x12345678
200 store_ok_test s32i, .word, 0x12345678
202 store_ok_test s32ri, .word, 0x12345678
215 store_unaligned_test WILL_TRAP, s32i, l32i, .word, 0x12345678
217 store_unaligned_test 1, s32ri, l32i, .word, 0x12345678
H A Dtest_mac16.S141 1: .word 0x55aa137f, 0x12345678, 0x137fa5a5
160 .word 0x55aa137f, 0x12345678
197 1: .word 0xf7315a5a, 0xf7315a5a, 0xf7315a5a, 0x12345678
211 1: .word 0xa5a5137f, 0xa5a5137f, 0xa5a5137f, 0x12345678
225 .word 0x12345678, 0xf7315a5a, 0xf7315a5a, 0xf7315a5a
240 .word 0x12345678, 0xa5a5137f, 0xa5a5137f, 0xa5a5137f
H A Dtest_exclusive.S22 .word 3
42 .word 3
/qemu/include/hw/ppc/
H A Dxive_regs.h172 static inline uint64_t xive_get_field64(uint64_t mask, uint64_t word) in xive_get_field64() argument
174 return (be64_to_cpu(word) & mask) >> ctz64(mask); in xive_get_field64()
177 static inline uint64_t xive_set_field64(uint64_t mask, uint64_t word, in xive_set_field64() argument
181 (be64_to_cpu(word) & ~mask) | ((value << ctz64(mask)) & mask); in xive_set_field64()
185 static inline uint32_t xive_get_field32(uint32_t mask, uint32_t word) in xive_get_field32() argument
187 return (be32_to_cpu(word) & mask) >> ctz32(mask); in xive_get_field32()
190 static inline uint32_t xive_set_field32(uint32_t mask, uint32_t word, in xive_set_field32() argument
194 (be32_to_cpu(word) & ~mask) | ((value << ctz32(mask)) & mask); in xive_set_field32()
/qemu/tests/tcg/tricore/c/
H A Dcrt0-tc2x.S39 .word 0x00000000
40 .word 0xb3590070
41 .word 0x00000000
42 .word 0x00000000
43 .word 0x00000000
44 .word 0x00000000
45 .word 0x791eb864
46 .word 0x86e1479b
233 st.w [%a15+]4,%d15 # clear one word
267 jz %d0,__copy_word # block size < 8 => copy word
[all …]
/qemu/target/sparc/
H A Dvis_helper.c416 int word; in helper_fpack32() local
419 for (word = 0; word < 2; word++) { in helper_fpack32()
421 int32_t src = rs2 >> (word * 32); in helper_fpack32()
428 ret |= val << (32 * word); in helper_fpack32()
438 int word; in helper_fpackfix() local
440 for (word = 0; word < 2; word++) { in helper_fpackfix()
442 int32_t src = rs2 >> (word * 32); in helper_fpackfix()
449 ret |= (val & 0xffff) << (word * 16); in helper_fpackfix()
/qemu/tests/migration/i386/
H A Da-b-bootblock.S117 .word 0, 0
124 .word 0xFFFF, 0
131 .word 0xFFFF, 0
135 .word 0x27 /* limit */
/qemu/tests/tcg/tricore/asm/
H A Dtest_ld_h.S4 .word 0xaffedead
5 .word 0x001122ff
H A Dtest_ld_bu.S4 .word 0xaffedead
5 .word 0x001122ff
/qemu/target/s390x/tcg/
H A Dvec.h19 uint32_t word[4]; member
66 return v->word[H4(enr)]; in s390_vec_read_element32()
110 v->word[H4(enr)] = data; in s390_vec_write_element32()

12345