Home
last modified time | relevance | path

Searched refs:bswap64 (Results 1 – 25 of 35) sorted by relevance

12

/qemu/target/mips/tcg/system/
H A Dmips-semi.c205 dst->uhi_st_size = bswap64(dst->uhi_st_size); in uhi_fstat_cb()
206 dst->uhi_st_atime = bswap64(dst->uhi_st_atime); in uhi_fstat_cb()
207 dst->uhi_st_mtime = bswap64(dst->uhi_st_mtime); in uhi_fstat_cb()
208 dst->uhi_st_ctime = bswap64(dst->uhi_st_ctime); in uhi_fstat_cb()
209 dst->uhi_st_blksize = bswap64(dst->uhi_st_blksize); in uhi_fstat_cb()
210 dst->uhi_st_blocks = bswap64(dst->uhi_st_blocks); in uhi_fstat_cb()
/qemu/pc-bios/optionrom/
H A Doptrom.h89 static inline uint64_t bswap64(uint64_t x) in bswap64() function
97 return bswap64(x); in cpu_to_be64()
/qemu/include/exec/
H A Dtswap.h56 return bswap64(s); in tswap64()
79 *s = bswap64(*s); in tswap64s()
/qemu/include/qemu/
H A Dint128.h192 return int128_make128(bswap64(int128_gethi(a)), bswap64(int128_getlo(a))); in bswap128()
454 return int128_make128(bswap64(a.hi), bswap64(a.lo)); in bswap128()
H A Dbswap.h8 #undef bswap64
9 #define bswap64(_x) __builtin_bswap64(_x) macro
H A Dhost-utils.h429 x = bswap64(x); in revbit64()
/qemu/pc-bios/s390-ccw/
H A Dbswap.h20 static inline uint64_t bswap64(uint64_t x) in bswap64() function
/qemu/include/hw/virtio/
H A Dvirtio-access.h233 return virtio_access_is_big_endian(vdev) ? s : bswap64(s); in virtio_tswap64()
235 return virtio_access_is_big_endian(vdev) ? bswap64(s) : s; in virtio_tswap64()
/qemu/tests/qtest/libqos/
H A Dpci-spapr.c64 return bswap64(qtest_readq(bus->qts, s->pio_cpu_base + addr)); in qpci_spapr_pio_readq()
70 qtest_writeq(bus->qts, s->pio_cpu_base + addr, bswap64(val)); in qpci_spapr_pio_writeq()
H A Dvirtio-pci.c86 val = bswap64(val); in qvirtio_pci_config_readq()
/qemu/target/ppc/
H A Darch_dump.c177 vmxregset->avr[i].u64[0] = bswap64(avr->u64[1]); in ppc_write_elf_vmxregset()
178 vmxregset->avr[i].u64[1] = bswap64(avr->u64[0]); in ppc_write_elf_vmxregset()
/qemu/include/tcg/
H A Dtcg-opc.h48 DEF(bswap64, 1, 1, 1, TCG_OPF_INT)
/qemu/tests/qtest/
H A Dvirtio-blk-test.c67 req->sector = bswap64(req->sector); in virtio_blk_fix_request()
76 dwz_hdr->sector = bswap64(dwz_hdr->sector); in virtio_blk_fix_dwz_hdr()
H A Dvhost-user-blk-test.c51 req->sector = bswap64(req->sector); in virtio_blk_fix_request()
59 dwz_hdr->sector = bswap64(dwz_hdr->sector); in virtio_blk_fix_dwz_hdr()
/qemu/accel/tcg/
H A Datomic_template.h32 # define BSWAP bswap64
H A Dcputlb.c2316 ret = bswap64(ret); in do_ld_8()
2322 ret = bswap64(ret); in do_ld_8()
2403 ret = bswap64(ret); in do_ld8_mmu()
2725 val = bswap64(val); in do_st_8()
2733 val = bswap64(val); in do_st_8()
2811 val = bswap64(val); in do_st8_mmu()
H A Dtranslator.c513 val = bswap64(val); in translator_ldq_end()
H A Duser-exec.c1142 ret = bswap64(ret); in do_ld8_mmu()
1219 val = bswap64(val); in do_st8_mmu()
H A Dldst_atomicity.c.inc807 v = bswap64(val_le) >> sh;
808 m = bswap64(m) >> sh;
/qemu/util/
H A Dbitmap.c429 dst[index] = bswap64(src[index]); in bitmap_to_from_le()
/qemu/target/sparc/
H A Dldst_helper.c1191 ret = bswap64(ret); in helper_ld_code()
1268 ret = bswap64(ret); in helper_ld_asi()
/qemu/include/hw/
H A Delf_ops.h.inc514 *(uint64_t *)dp = bswap64(*(uint64_t *)dp);
/qemu/tcg/
H A Dtci.c768 regs[r0] = bswap64(regs[r1]); in tcg_qemu_tb_exec()
H A Doptimize.c523 return bswap64(x); in do_constant_folding_2()
1673 z_mask = bswap64(z_mask); in fold_bswap()
/qemu/hw/s390x/
H A Ds390-pci-inst.c382 data = bswap64(data); in zpci_endian_swap()

12