/qemu/target/mips/tcg/system/ |
H A D | mips-semi.c | 198 dst->uhi_st_dev = bswap16(dst->uhi_st_dev); in uhi_fstat_cb() 199 dst->uhi_st_ino = bswap16(dst->uhi_st_ino); in uhi_fstat_cb() 201 dst->uhi_st_nlink = bswap16(dst->uhi_st_nlink); in uhi_fstat_cb() 202 dst->uhi_st_uid = bswap16(dst->uhi_st_uid); in uhi_fstat_cb() 203 dst->uhi_st_gid = bswap16(dst->uhi_st_gid); in uhi_fstat_cb() 204 dst->uhi_st_rdev = bswap16(dst->uhi_st_rdev); in uhi_fstat_cb()
|
/qemu/include/exec/ |
H A D | tswap.h | 38 return bswap16(s); in tswap16() 65 *s = bswap16(*s); in tswap16s()
|
/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 | 922 uint32_t blks_to_load = bswap16(s.sector_count) >> ET_SECTOR_SHIFT; in load_iso_bc_entry() 937 (void *)((uint64_t)bswap16(s.load_segment)), in load_iso_bc_entry()
|
/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()
|
/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()
|
/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-pci.c | 62 value = bswap16(value); in qvirtio_pci_config_readw()
|
/qemu/audio/ |
H A D | mixeng.c | 81 #define ENDIAN_CONVERT(v) bswap16 (v) 104 #define ENDIAN_CONVERT(v) bswap16 (v)
|
/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()
|
/qemu/target/ppc/ |
H A D | mem_helper.c | 418 LVE(LVEHX, cpu_lduw_data_ra, bswap16, u16) in LVE() 446 STVE(STVEHX, cpu_stw_data_ra, bswap16, u16)
|
/qemu/include/tcg/ |
H A D | tcg-opc.h | 46 DEF(bswap16, 1, 1, 1, TCG_OPF_INT)
|
/qemu/accel/tcg/ |
H A D | atomic_template.h | 44 # define BSWAP bswap16
|
H A D | translator.c | 481 val = bswap16(val); in translator_lduw_end()
|
H A D | user-exec.c | 1106 ret = bswap16(ret); in do_ld2_mmu() 1187 val = bswap16(val); in do_st2_mmu()
|
H A D | cputlb.c | 2276 ret = bswap16(ret); in do_ld_2() 2282 ret = bswap16(ret); in do_ld_2() 2687 val = bswap16(val); in do_st_2() 2695 val = bswap16(val); in do_st_2()
|
/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()
|
H A D | pnv_phb4.c | 80 val = bswap16(val); in pnv_phb4_config_write() 117 return bswap16(val); in pnv_phb4_config_read()
|
/qemu/hw/dma/ |
H A D | sparc32_dma.c | 116 tmp_buf[i >> 1] = bswap16(*(uint16_t *)(buf + i)); in ledma_memory_write()
|
/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()
|
/qemu/hw/ipack/ |
H A D | tpci200.c | 102 *val = bswap16(*val); in adjust_value()
|
/qemu/target/sparc/ |
H A D | ldst_helper.c | 1173 ret = bswap16(ret); in helper_ld_code() 1262 ret = bswap16(ret); in helper_ld_asi()
|
/qemu/hw/tpm/ |
H A D | tpm_tis_common.c | 466 return bswap16(crc_ccitt(0, s->buffer, s->rw_offset)); in tpm_tis_get_checksum()
|
/qemu/include/hw/ |
H A D | elf_ops.h.inc | 508 *(uint16_t *)dp = bswap16(*(uint16_t *)dp);
|