Home
last modified time | relevance | path

Searched refs:bswap16 (Results 1 – 25 of 38) sorted by relevance

12

/qemu/target/mips/tcg/system/
H A Dmips-semi.c198 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 Dtswap.h38 return bswap16(s); in tswap16()
65 *s = bswap16(*s); in tswap16s()
/qemu/pc-bios/s390-ccw/
H A Dbswap.h9 static inline uint16_t bswap16(uint16_t x) in bswap16() function
H A Dbootmap.c922 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 Dvirtio-access.h153 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 Dbswap.h4 #undef bswap16
5 #define bswap16(_x) __builtin_bswap16(_x) macro
H A Dhost-utils.h383 x = bswap16(x); in revbit16()
/qemu/tests/qtest/libqos/
H A Dpci-spapr.c40 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 Dvirtio-pci.c62 value = bswap16(value); in qvirtio_pci_config_readw()
/qemu/audio/
H A Dmixeng.c81 #define ENDIAN_CONVERT(v) bswap16 (v)
104 #define ENDIAN_CONVERT(v) bswap16 (v)
/qemu/tests/qtest/
H A Dendianness-test.c69 return test->bswap ? bswap16(value) : value; in isa_inw()
96 value = test->bswap ? bswap16(value) : value; in isa_outw()
/qemu/target/ppc/
H A Dmem_helper.c418 LVE(LVEHX, cpu_lduw_data_ra, bswap16, u16) in LVE()
446 STVE(STVEHX, cpu_stw_data_ra, bswap16, u16)
/qemu/include/tcg/
H A Dtcg-opc.h46 DEF(bswap16, 1, 1, 1, TCG_OPF_INT)
/qemu/accel/tcg/
H A Datomic_template.h44 # define BSWAP bswap16
H A Dtranslator.c481 val = bswap16(val); in translator_lduw_end()
H A Duser-exec.c1106 ret = bswap16(ret); in do_ld2_mmu()
1187 val = bswap16(val); in do_st2_mmu()
H A Dcputlb.c2276 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 Dpnv_phb3.c72 val = bswap16(val); in pnv_phb3_config_write()
109 return bswap16(val); in pnv_phb3_config_read()
H A Dpnv_phb4.c80 val = bswap16(val); in pnv_phb4_config_write()
117 return bswap16(val); in pnv_phb4_config_read()
/qemu/hw/dma/
H A Dsparc32_dma.c116 tmp_buf[i >> 1] = bswap16(*(uint16_t *)(buf + i)); in ledma_memory_write()
/qemu/hw/smbios/
H A Dsmbios.c603 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 Dtpci200.c102 *val = bswap16(*val); in adjust_value()
/qemu/target/sparc/
H A Dldst_helper.c1173 ret = bswap16(ret); in helper_ld_code()
1262 ret = bswap16(ret); in helper_ld_asi()
/qemu/hw/tpm/
H A Dtpm_tis_common.c466 return bswap16(crc_ccitt(0, s->buffer, s->rw_offset)); in tpm_tis_get_checksum()
/qemu/include/hw/
H A Delf_ops.h.inc508 *(uint16_t *)dp = bswap16(*(uint16_t *)dp);

12