Home
last modified time | relevance | path

Searched refs:bswap32 (Results 1 – 25 of 55) sorted by relevance

123

/qemu/pc-bios/optionrom/
H A Doptrom.h83 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 Daes.c969 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 Dtswap.h47 return bswap32(s); in tswap32()
72 *s = bswap32(*s); in tswap32s()
/qemu/audio/
H A Dmixeng.c127 #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 Dpl110_template.h153 data = bswap32(data); in glue()
230 data = bswap32(data); in glue()
268 data = bswap32(data); in glue()
/qemu/pc-bios/s390-ccw/
H A Dbswap.h14 static inline uint32_t bswap32(uint32_t x) in bswap32() function
H A Dbootmap.c816 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 Dvirtio.c287 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 Dvirtio-access.h219 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 Dbswap.h6 #undef bswap32
7 #define bswap32(_x) __builtin_bswap32(_x) macro
/qemu/tests/qtest/libqos/
H A Dpci-spapr.c52 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 Dvirtio-blk-test.c65 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 Dendianness-test.c80 return test->bswap ? bswap32(value) : value; in isa_inl()
107 value = test->bswap ? bswap32(value) : value; in isa_outl()
H A Dvhost-user-blk-test.c49 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 Dvcrypto_helper.c124 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 Dgt64120.c418 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 Dpnv_phb4.c83 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 Dpnv_phb3.c75 val = bswap32(val); in pnv_phb3_config_write()
111 return bswap32(val); in pnv_phb3_config_read()
/qemu/target/ppc/
H A Dmem_helper.c419 LVE(LVEWX, cpu_ldl_data_ra, bswap32, u32) in LVE()
447 STVE(STVEWX, cpu_stl_data_ra, bswap32, u32)
/qemu/include/tcg/
H A Dtcg-opc.h47 DEF(bswap32, 1, 1, 1, TCG_OPF_INT)
/qemu/linux-user/arm/
H A Dcpu_loop.c35 (x) = bswap32(x); \
/qemu/target/mips/tcg/system/
H A Dmips-semi.c200 dst->uhi_st_mode = bswap32(dst->uhi_st_mode); in uhi_fstat_cb()
/qemu/accel/tcg/
H A Datomic_template.h38 # define BSWAP bswap32
H A Dcputlb.c2296 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 Dbitmap.c431 dst[index] = bswap32(src[index]); in bitmap_to_from_le()

123