/openbmc/qemu/include/exec/ |
H A D | tswap.h | 37 return bswap16(s); in tswap16() 64 *s = bswap16(*s); in tswap16s()
|
H A D | translator.h | 207 ret = bswap16(ret); in translator_lduw_swap()
|
/openbmc/qemu/linux-user/aarch64/ |
H A D | cpu_loop.c | 41 (x) = bswap16(x); \ 57 (x) = bswap16(x); \ 73 __x = bswap16(__x); \
|
/openbmc/qemu/pc-bios/s390-ccw/ |
H A D | bswap.h | 9 static inline uint16_t bswap16(uint16_t x) in bswap16() function
|
H A D | bootmap.c | 919 uint32_t blks_to_load = bswap16(s.sector_count) >> ET_SECTOR_SHIFT; in load_iso_bc_entry() 934 (void *)((uint64_t)bswap16(s.load_segment)), in load_iso_bc_entry()
|
/openbmc/qemu/linux-user/arm/ |
H A D | cpu_loop.c | 41 (x) = bswap16(x); \ 57 (x) = bswap16(x); \ 73 __x = bswap16(__x); \
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-access.h | 153 return virtio_access_is_big_endian(vdev) ? s : bswap16(s); in virtio_tswap16() 155 return virtio_access_is_big_endian(vdev) ? bswap16(s) : s; in virtio_tswap16()
|
/openbmc/qemu/include/qemu/ |
H A D | bswap.h | 4 #undef bswap16 5 #define bswap16(_x) __builtin_bswap16(_x) macro
|
H A D | host-utils.h | 383 x = bswap16(x); in revbit16()
|
/openbmc/qemu/audio/ |
H A D | mixeng.c | 81 #define ENDIAN_CONVERT(v) bswap16 (v) 104 #define ENDIAN_CONVERT(v) bswap16 (v)
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | pci-spapr.c | 40 return bswap16(qtest_readw(bus->qts, s->pio_cpu_base + addr)); in qpci_spapr_pio_readw() 46 qtest_writew(bus->qts, s->pio_cpu_base + addr, bswap16(val)); in qpci_spapr_pio_writew()
|
H A D | virtio.c | 31 val = bswap16(val); in qvirtio_readw() 50 val = bswap16(val); in qvirtio_writew()
|
H A D | virtio-pci.c | 62 value = bswap16(value); in qvirtio_pci_config_readw()
|
/openbmc/qemu/tests/qtest/ |
H A D | endianness-test.c | 69 return test->bswap ? bswap16(value) : value; in isa_inw() 96 value = test->bswap ? bswap16(value) : value; in isa_outw()
|
/openbmc/qemu/target/ppc/ |
H A D | mem_helper.c | 416 LVE(LVEHX, cpu_lduw_data_ra, bswap16, u16) in LVE() 444 STVE(STVEHX, cpu_stw_data_ra, bswap16, u16)
|
/openbmc/qemu/accel/tcg/ |
H A D | user-exec.c | 998 ret = bswap16(ret); in do_ld2_mmu() 1079 val = bswap16(val); in do_st2_mmu() 1195 ret = bswap16(ret); in cpu_ldw_code_mmu()
|
H A D | atomic_template.h | 44 # define BSWAP bswap16
|
H A D | cputlb.c | 2262 ret = bswap16(ret); in do_ld_2() 2268 ret = bswap16(ret); in do_ld_2() 2673 val = bswap16(val); in do_st_2() 2681 val = bswap16(val); in do_st_2()
|
/openbmc/qemu/hw/pci-host/ |
H A D | pnv_phb3.c | 72 val = bswap16(val); in pnv_phb3_config_write() 109 return bswap16(val); in pnv_phb3_config_read()
|
/openbmc/qemu/hw/dma/ |
H A D | sparc32_dma.c | 116 tmp_buf[i >> 1] = bswap16(*(uint16_t *)(buf + i)); in ledma_memory_write()
|
/openbmc/qemu/hw/smbios/ |
H A D | smbios.c | 603 uuid->time_mid = bswap16(uuid->time_mid); in smbios_encode_uuid() 604 uuid->time_hi_and_version = bswap16(uuid->time_hi_and_version); in smbios_encode_uuid()
|
/openbmc/qemu/hw/ipack/ |
H A D | tpci200.c | 102 *val = bswap16(*val); in adjust_value()
|
/openbmc/qemu/target/sparc/ |
H A D | ldst_helper.c | 1162 ret = bswap16(ret); in helper_ld_code() 1251 ret = bswap16(ret); in helper_ld_asi()
|
/openbmc/qemu/tcg/ |
H A D | optimize.c | 543 CASE_OP_32_64(bswap16): in do_constant_folding_2() 544 x = bswap16(x); in do_constant_folding_2() 1467 z_mask = bswap16(z_mask); in fold_bswap() 2869 CASE_OP_32_64(bswap16): in tcg_optimize()
|
H A D | tci.c | 732 CASE_32_64(bswap16) in tcg_qemu_tb_exec() 734 regs[r0] = bswap16(regs[r1]); in tcg_qemu_tb_exec()
|