Home
last modified time | relevance | path

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

123

/openbmc/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()
/openbmc/qemu/include/exec/
H A Dtswap.h46 return bswap32(s); in tswap32()
71 *s = bswap32(*s); in tswap32s()
H A Dtranslator.h218 ret = bswap32(ret); in translator_ldl_swap()
/openbmc/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 …]
/openbmc/qemu/linux-user/aarch64/
H A Dcpu_loop.c33 (x) = bswap32(x); \
49 (x) = bswap32(x); \
65 __x = bswap32(__x); \
/openbmc/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()
/openbmc/qemu/pc-bios/s390-ccw/
H A Dbswap.h14 static inline uint32_t bswap32(uint32_t x) in bswap32() function
H A Dbootmap.c813 if (virtio_read(bswap32(s->load_rba), magic_sec)) { in is_iso_bc_entry_compatible()
920 long real_size = iso_get_file_size(bswap32(s.load_rba)); in load_iso_bc_entry()
933 if (read_iso_boot_image(bswap32(s.load_rba), in load_iso_bc_entry()
957 return bswap32(et->bc_offset); in find_iso_bc()
H A Dvirtio.c282 vdev->guest_features[i] &= bswap32(feats.features); in virtio_setup_ccw()
283 feats.features = bswap32(vdev->guest_features[i]); in virtio_setup_ccw()
/openbmc/qemu/linux-user/arm/
H A Dcpu_loop.c33 (x) = bswap32(x); \
49 (x) = bswap32(x); \
65 __x = bswap32(__x); \
/openbmc/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()
/openbmc/linux/include/crypto/
H A Daria.h319 static inline u32 bswap32(u32 v) in bswap32() function
403 *t3 = bswap32(*t3); in aria_diff_byte()
/openbmc/qemu/include/qemu/
H A Dbswap.h6 #undef bswap32
7 #define bswap32(_x) __builtin_bswap32(_x) macro
/openbmc/qemu/audio/
H A Dmixeng.c127 #define ENDIAN_CONVERT(v) bswap32 (v)
150 #define ENDIAN_CONVERT(v) bswap32 (v)
/openbmc/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()
H A Dvirtio.c41 val = bswap32(val); in qvirtio_readl()
59 val = bswap32(val); in qvirtio_writel()
/openbmc/qemu/target/riscv/
H A Dvcrypto_helper.c125 RVVCALL(OPIVV1, vrev8_v_w, OP_UU_W, H4, H4, bswap32) in RVVCALL()
684 w[j] = bswap32(vs1[H4((i * 8) + j)]); in HELPER()
685 w[j + 8] = bswap32(vs2[H4((i * 8) + j)]); in HELPER()
692 vd[(i * 8) + j] = bswap32(w[H4(j + 16)]); in HELPER()
784 v2[k] = bswap32(vd[H4(i * 8 + k)]); in HELPER()
785 v3[k] = bswap32(vs2[H4(i * 8 + k)]); in HELPER()
789 vd[i * 8 + k] = bswap32(v1[H4(k)]); in HELPER()
/openbmc/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()
/openbmc/qemu/target/ppc/
H A Dmem_helper.c417 LVE(LVEWX, cpu_ldl_data_ra, bswap32, u32) in LVE()
445 STVE(STVEWX, cpu_stl_data_ra, bswap32, u32)
/openbmc/qemu/accel/tcg/
H A Duser-exec.c1016 ret = bswap32(ret); in do_ld4_mmu()
1095 val = bswap32(val); in do_st4_mmu()
1210 ret = bswap32(ret); in cpu_ldl_code_mmu()
H A Datomic_template.h38 # define BSWAP bswap32
H A Dcputlb.c2282 ret = bswap32(ret); in do_ld_4()
2288 ret = bswap32(ret); in do_ld_4()
2368 ret = bswap32(ret); in do_ld4_mmu()
2692 val = bswap32(val); in do_st_4()
2700 val = bswap32(val); in do_st_4()
2776 val = bswap32(val); in do_st4_mmu()
/openbmc/qemu/hw/pci-host/
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()

123