/openbmc/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()
|
/openbmc/qemu/include/exec/ |
H A D | tswap.h | 46 return bswap32(s); in tswap32() 71 *s = bswap32(*s); in tswap32s()
|
H A D | translator.h | 220 ret = bswap32(ret); in translator_ldl_swap()
|
/openbmc/qemu/linux-user/aarch64/ |
H A D | cpu_loop.c | 33 (x) = bswap32(x); \ 49 (x) = bswap32(x); \ 65 __x = bswap32(__x); \
|
/openbmc/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() 1131 t = bswap32(t); in aesdec_IMC_swap() 1140 t = bswap32(t); in aesdec_IMC_swap() 1149 t = bswap32(t); in aesdec_IMC_swap() [all …]
|
/openbmc/qemu/hw/display/ |
H A D | pxa2xx_lcd.c | 292 data = bswap32(data); in pxa2xx_draw_line16() 320 data = bswap32(data); in pxa2xx_draw_line16t() 358 data = bswap32(data); in pxa2xx_draw_line18() 385 data[0] = bswap32(data[0]); in pxa2xx_draw_line18p() 386 data[1] = bswap32(data[1]); in pxa2xx_draw_line18p() 387 data[2] = bswap32(data[2]); in pxa2xx_draw_line18p() 428 data = bswap32(data); in pxa2xx_draw_line19() 460 data[0] = bswap32(data[0]); in pxa2xx_draw_line19p() 523 data = bswap32(data); in pxa2xx_draw_line24() 544 data = bswap32(data); in pxa2xx_draw_line24t() [all …]
|
H A D | pl110_template.h | 153 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 D | bswap.h | 14 static inline uint32_t bswap32(uint32_t x) in bswap32() function
|
H A D | bootmap.c | 680 read_iso_sector(bswap32(s->load_rba), magic_sec, in is_iso_bc_entry_compatible() 776 uint32_t real_size = iso_get_file_size(bswap32(s.load_rba)); in load_iso_bc_entry() 786 read_iso_boot_image(bswap32(s.load_rba), in load_iso_bc_entry() 808 return bswap32(et->bc_offset); in find_iso_bc()
|
H A D | virtio.c | 271 vdev->guest_features[i] &= bswap32(feats.features); in virtio_setup_ccw() 272 feats.features = bswap32(vdev->guest_features[i]); in virtio_setup_ccw()
|
/openbmc/qemu/linux-user/arm/ |
H A D | cpu_loop.c | 33 (x) = bswap32(x); \ 49 (x) = bswap32(x); \ 65 __x = bswap32(__x); \
|
/openbmc/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()
|
/openbmc/linux/include/crypto/ |
H A D | aria.h | 319 static inline u32 bswap32(u32 v) in bswap32() function 403 *t3 = bswap32(*t3); in aria_diff_byte()
|
/openbmc/qemu/include/qemu/ |
H A D | bswap.h | 6 #undef bswap32 7 #define bswap32(_x) __builtin_bswap32(_x) macro
|
/openbmc/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()
|
H A D | virtio.c | 41 val = bswap32(val); in qvirtio_readl() 59 val = bswap32(val); in qvirtio_writel()
|
/openbmc/qemu/audio/ |
H A D | mixeng.c | 127 #define ENDIAN_CONVERT(v) bswap32 (v) 150 #define ENDIAN_CONVERT(v) bswap32 (v)
|
/openbmc/qemu/target/riscv/ |
H A D | vcrypto_helper.c | 125 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 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()
|
/openbmc/qemu/target/ppc/ |
H A D | mem_helper.c | 417 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 D | user-exec.c | 1021 ret = bswap32(ret); in do_ld4_mmu() 1100 val = bswap32(val); in do_st4_mmu() 1215 ret = bswap32(ret); in cpu_ldl_code_mmu()
|
H A D | atomic_template.h | 38 # define BSWAP bswap32
|
/openbmc/qemu/hw/pci-host/ |
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()
|