Searched refs:bswap_16 (Results 1 – 16 of 16) sorted by relevance
95 ddest->vd_version = bswap_16 (dsrc->vd_version); in elf_cvt_Verdef()96 ddest->vd_flags = bswap_16 (dsrc->vd_flags); in elf_cvt_Verdef()97 ddest->vd_ndx = bswap_16 (dsrc->vd_ndx); in elf_cvt_Verdef()98 ddest->vd_cnt = bswap_16 (dsrc->vd_cnt); in elf_cvt_Verdef()136 ddest->vd_version = bswap_16 (dsrc->vd_version); in elf_cvt_Verdef()137 ddest->vd_flags = bswap_16 (dsrc->vd_flags); in elf_cvt_Verdef()138 ddest->vd_ndx = bswap_16 (dsrc->vd_ndx); in elf_cvt_Verdef()139 ddest->vd_cnt = bswap_16 (dsrc->vd_cnt); in elf_cvt_Verdef()189 ndest->vn_version = bswap_16 (nsrc->vn_version); in elf_cvt_Verneed()190 ndest->vn_cnt = bswap_16 (nsrc->vn_cnt); in elf_cvt_Verneed()[all …]
163 ? bswap_16 (Var) \172 ? bswap_16 (Var) \
119 case 2: STORE (16, dest, bswap_16 (FETCH (16, ptr))); break; \
20 static inline unsigned short bswap_16(unsigned short val) in bswap_16() function27 return bswap_16((unsigned short)val) << 16 | in bswap_32()28 bswap_16((unsigned short)(val >> 16)); in bswap_32()
27 #define bswap_16 swap16 macro31 #define bswap_16 bswap16 macro44 static inline unsigned short bswap_16(unsigned short v) in bswap_16() function192 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))193 #define host_to_be16(n) ((__force be16) bswap_16((n)))203 #define le_to_host16(n) bswap_16(n)204 #define host_to_le16(n) bswap_16(n)399 #ifndef bswap_16400 #define bswap_16(a) ((((u16) (a) << 8) & 0xff00) | (((u16) (a) >> 8) & 0xff)) macro
52 ? bswap_16 (*((const uint16_t *) (Addr))) \56 ? (int16_t) bswap_16 (*((const int16_t *) (Addr))) \97 return bswap_16 (up->u2); in read_2ubyte_unaligned()105 return (int16_t) bswap_16 (up->u2); in read_2sbyte_unaligned()
45 # define target_bswap_16(n) bswap_16 (n)93 uint16_t _val = bswap_16 (_ptr->u) + (value); \94 _ptr->u = bswap_16 (_val); \
149 ? bswap_16 (*((const uint16_t *) (Addr))) \153 ? (int16_t) bswap_16 (*((const int16_t *) (Addr))) \194 return bswap_16 (up->u2); in read_2ubyte_unaligned()202 return (int16_t) bswap_16 (up->u2); in read_2sbyte_unaligned()
32 #define cpu_to_le16(x) bswap_16(x)33 #define le16_to_cpu(x) bswap_16(x)
18 #define bswap_16(x) \ macro54 return bswap_16(x); in bswap16()
48 return bswap_16(x); in ByteSwap()
67 #define __bswap_16 bswap_16
857 self->misc = bswap_16(self->misc); in perf_event_header__bswap()858 self->size = bswap_16(self->size); in perf_event_header__bswap()
104 #define swap16(x) bswap_16(x)
102 #define swap16(x) bswap_16(x)