/qemu/pc-bios/optionrom/ |
H A D | optrom.h | 83 static inline uint32_t bswap32(uint32_t x) in bswap32() function 102 return bswap32(x); in cpu_to_be32() 107 return bswap32(x); in be32_to_cpu()
|
/qemu/crypto/ |
H A D | aes.c | 969 t = bswap32(t); in aesenc_MC_swap() 978 t = bswap32(t); in aesenc_MC_swap() 987 t = bswap32(t); in aesenc_MC_swap() 996 t = bswap32(t); in aesenc_MC_swap() 1090 w0 = bswap32(w0); in aesenc_SB_SR_MC_AK_swap() 1091 w1 = bswap32(w1); in aesenc_SB_SR_MC_AK_swap() 1092 w2 = bswap32(w2); in aesenc_SB_SR_MC_AK_swap() 1093 w3 = bswap32(w3); in aesenc_SB_SR_MC_AK_swap() 1131 t = bswap32(t); in aesdec_IMC_swap() 1140 t = bswap32(t); in aesdec_IMC_swap() [all …]
|
/qemu/include/exec/ |
H A D | tswap.h | 47 return bswap32(s); in tswap32() 72 *s = bswap32(*s); in tswap32s()
|
/qemu/audio/ |
H A D | mixeng.c | 127 #define ENDIAN_CONVERT(v) bswap32 (v) 150 #define ENDIAN_CONVERT(v) bswap32 (v) 287 bswap32((union { uint32_t i; float f; }){ .f = (v) }.i) 289 ((union { uint32_t i; float f; }){ .i = bswap32(v) }.f)
|
/qemu/hw/display/ |
H A D | pl110_template.h | 153 data = bswap32(data); in glue() 230 data = bswap32(data); in glue() 268 data = bswap32(data); in glue()
|
/qemu/pc-bios/s390-ccw/ |
H A D | bswap.h | 14 static inline uint32_t bswap32(uint32_t x) in bswap32() function
|
H A D | bootmap.c | 816 if (virtio_read(bswap32(s->load_rba), magic_sec)) { in is_iso_bc_entry_compatible() 923 long real_size = iso_get_file_size(bswap32(s.load_rba)); in load_iso_bc_entry() 936 if (read_iso_boot_image(bswap32(s.load_rba), in load_iso_bc_entry() 960 return bswap32(et->bc_offset); in find_iso_bc()
|
H A D | virtio.c | 287 vdev->guest_features[i] &= bswap32(feats.features); in virtio_setup_ccw() 288 feats.features = bswap32(vdev->guest_features[i]); in virtio_setup_ccw()
|
/qemu/include/hw/virtio/ |
H A D | virtio-access.h | 219 return virtio_access_is_big_endian(vdev) ? s : bswap32(s); in virtio_tswap32() 221 return virtio_access_is_big_endian(vdev) ? bswap32(s) : s; in virtio_tswap32()
|
/qemu/include/qemu/ |
H A D | bswap.h | 6 #undef bswap32 7 #define bswap32(_x) __builtin_bswap32(_x) macro
|
/qemu/tests/qtest/libqos/ |
H A D | pci-spapr.c | 52 return bswap32(qtest_readl(bus->qts, s->pio_cpu_base + addr)); in qpci_spapr_pio_readl() 58 qtest_writel(bus->qts, s->pio_cpu_base + addr, bswap32(val)); in qpci_spapr_pio_writel()
|
/qemu/tests/qtest/ |
H A D | virtio-blk-test.c | 65 req->type = bswap32(req->type); in virtio_blk_fix_request() 66 req->ioprio = bswap32(req->ioprio); in virtio_blk_fix_request() 77 dwz_hdr->num_sectors = bswap32(dwz_hdr->num_sectors); in virtio_blk_fix_dwz_hdr() 78 dwz_hdr->flags = bswap32(dwz_hdr->flags); in virtio_blk_fix_dwz_hdr()
|
H A D | endianness-test.c | 80 return test->bswap ? bswap32(value) : value; in isa_inl() 107 value = test->bswap ? bswap32(value) : value; in isa_outl()
|
H A D | vhost-user-blk-test.c | 49 req->type = bswap32(req->type); in virtio_blk_fix_request() 50 req->ioprio = bswap32(req->ioprio); in virtio_blk_fix_request() 60 dwz_hdr->num_sectors = bswap32(dwz_hdr->num_sectors); in virtio_blk_fix_dwz_hdr() 61 dwz_hdr->flags = bswap32(dwz_hdr->flags); in virtio_blk_fix_dwz_hdr()
|
/qemu/target/riscv/ |
H A D | vcrypto_helper.c | 124 RVVCALL(OPIVV1, vrev8_v_w, OP_UU_W, H4, H4, bswap32) in RVVCALL() 683 w[j] = bswap32(vs1[H4((i * 8) + j)]); in HELPER() 684 w[j + 8] = bswap32(vs2[H4((i * 8) + j)]); in HELPER() 691 vd[(i * 8) + j] = bswap32(w[H4(j + 16)]); in HELPER() 783 v2[k] = bswap32(vd[H4(i * 8 + k)]); in HELPER() 784 v3[k] = bswap32(vs2[H4(i * 8 + k)]); in HELPER() 788 vd[i * 8 + k] = bswap32(v1[H4(k)]); in HELPER()
|
/qemu/hw/pci-host/ |
H A D | gt64120.c | 418 val = bswap32(val); in gt64120_writel() 977 val = bswap32(val); in gt64120_readl() 1010 val = bswap32(val); in gt64120_pci_data_read() 1021 val = bswap32(val); in gt64120_pci_data_write()
|
H A D | pnv_phb4.c | 83 val = bswap32(val); in pnv_phb4_config_write() 119 return bswap32(val); in pnv_phb4_config_read() 146 bswap32(val), 4); in pnv_phb4_rc_config_write() 168 return bswap32(val); in pnv_phb4_rc_config_read()
|
H A D | pnv_phb3.c | 75 val = bswap32(val); in pnv_phb3_config_write() 111 return bswap32(val); in pnv_phb3_config_read()
|
/qemu/target/ppc/ |
H A D | mem_helper.c | 419 LVE(LVEWX, cpu_ldl_data_ra, bswap32, u32) in LVE() 447 STVE(STVEWX, cpu_stl_data_ra, bswap32, u32)
|
/qemu/include/tcg/ |
H A D | tcg-opc.h | 47 DEF(bswap32, 1, 1, 1, TCG_OPF_INT)
|
/qemu/linux-user/arm/ |
H A D | cpu_loop.c | 35 (x) = bswap32(x); \
|
/qemu/target/mips/tcg/system/ |
H A D | mips-semi.c | 200 dst->uhi_st_mode = bswap32(dst->uhi_st_mode); in uhi_fstat_cb()
|
/qemu/accel/tcg/ |
H A D | atomic_template.h | 38 # define BSWAP bswap32
|
H A D | cputlb.c | 2296 ret = bswap32(ret); in do_ld_4() 2302 ret = bswap32(ret); in do_ld_4() 2382 ret = bswap32(ret); in do_ld4_mmu() 2706 val = bswap32(val); in do_st_4() 2714 val = bswap32(val); in do_st_4() 2790 val = bswap32(val); in do_st4_mmu()
|
/qemu/util/ |
H A D | bitmap.c | 431 dst[index] = bswap32(src[index]); in bitmap_to_from_le()
|