Home
last modified time | relevance | path

Searched refs:bswap_32 (Results 1 – 25 of 40) sorted by relevance

12

/OK3568_Linux_fs/external/xserver/glx/
H A Dindirect_reqsize.c56 n = bswap_32(n); in __glXCallListsReqSize()
57 type = bswap_32(type); in __glXCallListsReqSize()
76 row_length = bswap_32(row_length); in __glXBitmapReqSize()
77 skip_rows = bswap_32(skip_rows); in __glXBitmapReqSize()
78 alignment = bswap_32(alignment); in __glXBitmapReqSize()
79 width = bswap_32(width); in __glXBitmapReqSize()
80 height = bswap_32(height); in __glXBitmapReqSize()
95 pname = bswap_32(pname); in __glXFogfvReqSize()
109 pname = bswap_32(pname); in __glXLightfvReqSize()
123 pname = bswap_32(pname); in __glXLightModelfvReqSize()
[all …]
H A Dclientinfo.c93 req->numVersions = bswap_32(req->numVersions); in __glXDispSwap_SetClientInfoARB()
94 req->numGLExtensionBytes = bswap_32(req->numGLExtensionBytes); in __glXDispSwap_SetClientInfoARB()
95 req->numGLXExtensionBytes = bswap_32(req->numGLXExtensionBytes); in __glXDispSwap_SetClientInfoARB()
115 req->numVersions = bswap_32(req->numVersions); in __glXDispSwap_SetClientInfo2ARB()
116 req->numGLExtensionBytes = bswap_32(req->numGLExtensionBytes); in __glXDispSwap_SetClientInfo2ARB()
117 req->numGLXExtensionBytes = bswap_32(req->numGLXExtensionBytes); in __glXDispSwap_SetClientInfo2ARB()
H A Dindirect_texture_compression.c90 __glXForceCurrent(cl, bswap_32(req->contextTag), &error); in __glXDispSwap_GetCompressedTexImage()
97 const GLenum target = (GLenum) bswap_32(*(int *) (pc + 0)); in __glXDispSwap_GetCompressedTexImage()
98 const GLint level = (GLint) bswap_32(*(int *) (pc + 4)); in __glXDispSwap_GetCompressedTexImage()
H A Dindirect_util.c174 reply.length = bswap_32(reply_ints); in __glXSendReplySwap()
177 reply.size = bswap_32(elements); in __glXSendReplySwap()
178 reply.retval = bswap_32(retval); in __glXSendReplySwap()
H A Dindirect_program.c70 target = (GLenum) bswap_32(*(int *) (pc + 0)); in DoGetProgramString()
71 pname = (GLenum) bswap_32(*(int *) (pc + 4)); in DoGetProgramString()
H A Dswap_interval.c71 ? bswap_32(*(int *) (pc + 0)) in DoSwapInterval()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dsymbol-minimal.c52 nhdr->n_namesz = bswap_32(nhdr->n_namesz); in read_build_id()
53 nhdr->n_descsz = bswap_32(nhdr->n_descsz); in read_build_id()
54 nhdr->n_type = bswap_32(nhdr->n_type); in read_build_id()
123 ehdr.e_phoff = bswap_32(ehdr.e_phoff); in filename__read_build_id()
142 phdr->p_type = bswap_32(phdr->p_type); in filename__read_build_id()
143 phdr->p_offset = bswap_32(phdr->p_offset); in filename__read_build_id()
144 phdr->p_filesz = bswap_32(phdr->p_filesz); in filename__read_build_id()
193 phdr->p_type = bswap_32(phdr->p_type); in filename__read_build_id()
H A Dsession.c559 event->comm.pid = bswap_32(event->comm.pid); in perf_event__comm_swap()
560 event->comm.tid = bswap_32(event->comm.tid); in perf_event__comm_swap()
573 event->mmap.pid = bswap_32(event->mmap.pid); in perf_event__mmap_swap()
574 event->mmap.tid = bswap_32(event->mmap.tid); in perf_event__mmap_swap()
590 event->mmap2.pid = bswap_32(event->mmap2.pid); in perf_event__mmap2_swap()
591 event->mmap2.tid = bswap_32(event->mmap2.tid); in perf_event__mmap2_swap()
595 event->mmap2.maj = bswap_32(event->mmap2.maj); in perf_event__mmap2_swap()
596 event->mmap2.min = bswap_32(event->mmap2.min); in perf_event__mmap2_swap()
609 event->fork.pid = bswap_32(event->fork.pid); in perf_event__task_swap()
610 event->fork.tid = bswap_32(event->fork.tid); in perf_event__task_swap()
[all …]
H A Djitdump.c170 header.version = bswap_32(header.version); in jit_open()
171 header.total_size = bswap_32(header.total_size); in jit_open()
172 header.pid = bswap_32(header.pid); in jit_open()
173 header.elf_mach = bswap_32(header.elf_mach); in jit_open()
274 prefix->id = bswap_32(prefix->id); in jit_get_next_entry()
275 prefix->total_size = bswap_32(prefix->total_size); in jit_get_next_entry()
313 jr->info.entries[n].lineno = bswap_32(jr->info.entries[n].lineno); in jit_get_next_entry()
314 jr->info.entries[n].discrim = bswap_32(jr->info.entries[n].discrim); in jit_get_next_entry()
329 jr->load.pid = bswap_32(jr->load.pid); in jit_get_next_entry()
330 jr->load.tid = bswap_32(jr->load.tid); in jit_get_next_entry()
[all …]
H A Dmemswap.c10 *m = bswap_32(*m); in mem_bswap_32()
H A Devsel.c2022 u.val32[0] = bswap_32(u.val32[0]); in perf_evsel__parse_id_sample()
2049 u.val32[0] = bswap_32(u.val32[0]); in perf_evsel__parse_id_sample()
2050 u.val32[1] = bswap_32(u.val32[1]); in perf_evsel__parse_id_sample()
2141 u.val32[0] = bswap_32(u.val32[0]); in evsel__parse_sample()
2142 u.val32[1] = bswap_32(u.val32[1]); in evsel__parse_sample()
2176 u.val32[0] = bswap_32(u.val32[0]); in evsel__parse_sample()
2255 u.val32[0] = bswap_32(u.val32[0]); in evsel__parse_sample()
2256 u.val32[1] = bswap_32(u.val32[1]); in evsel__parse_sample()
2488 return bswap_32(value); in format_field__intval()
/OK3568_Linux_fs/kernel/tools/include/linux/
H A Dkernel.h75 #define cpu_to_le32 bswap_32
78 #define le32_to_cpu bswap_32
94 #define cpu_to_be32 bswap_32
97 #define be32_to_cpu bswap_32
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/cracklib/cracklib/
H A D0001-packlib.c-support-dictionary-byte-order-dependent.patch76 + pHeader32->pih_magic = bswap_32(pHeader32->pih_magic);
77 + pHeader32->pih_numwords = bswap_32(pHeader32->pih_numwords);
118 + pHeader32->pih_magic = bswap_32(pHeader32->pih_magic);
119 + pHeader32->pih_numwords = bswap_32(pHeader32->pih_numwords);
160 + *pHwms32 = bswap_32(*pHwms32);
205 + *pHwms32 = bswap_32(*pHwms32);
316 + uint32_t tmpdatum = (__BYTE_ORDER == __LITTLE_ENDIAN) ? bswap_32(datum) : datum;
333 + datum = (__BYTE_ORDER == __LITTLE_ENDIAN) ? bswap_32(datum) : datum;
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/vphn/
H A Dtest-vphn.c8 #define cpu_to_be32(x) bswap_32(x)
9 #define be32_to_cpu(x) bswap_32(x)
/OK3568_Linux_fs/kernel/arch/mips/tools/
H A Delf-entry.c14 # define be32toh(x) bswap_32(x)
20 # define le32toh(x) bswap_32(x)
/OK3568_Linux_fs/external/xserver/include/
H A Dmisc.h319 bswap_32(uint32_t x) in bswap_32() function
359 *(x) = bswap_32(*(x)); \
379 (dst) = bswap_32((src)); \
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dbtf.c182 h->hdr_len = bswap_32(h->hdr_len); in btf_bswap_hdr()
183 h->type_off = bswap_32(h->type_off); in btf_bswap_hdr()
184 h->type_len = bswap_32(h->type_len); in btf_bswap_hdr()
185 h->str_off = bswap_32(h->str_off); in btf_bswap_hdr()
186 h->str_len = bswap_32(h->str_len); in btf_bswap_hdr()
201 if (bswap_32(hdr->hdr_len) != sizeof(struct btf_header)) { in btf_parse_hdr()
203 bswap_32(hdr->hdr_len)); in btf_parse_hdr()
290 t->name_off = bswap_32(t->name_off); in btf_bswap_type_base()
291 t->info = bswap_32(t->info); in btf_bswap_type_base()
292 t->type = bswap_32(t->type); in btf_bswap_type_base()
[all …]
/OK3568_Linux_fs/external/rkwifibt/tools/rtk_hciattach/
H A Dhciattach.h35 #define cpu_to_le32(d) bswap_32(d)
37 #define le32_to_cpu(d) bswap_32(d)
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/
H A Dbyteswap.h35 #define bswap_32(x) __bswap_32 (x) macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/
H A Dbyteswap.h35 #define bswap_32(x) __bswap_32 (x) macro
/OK3568_Linux_fs/u-boot/tools/rockchip/
H A Dsha2.c185 #if !defined(bswap_32)
186 #define bswap_32(x) \ macro
205 p[_i] = bswap_32(p[_i]); \
413 (((sha2_64t)(bswap_32((sha2_32t)(x)))) << 32 | \
414 bswap_32((sha2_32t)((x) >> 32)))
H A Dsha.c71 E += ror27(A) + (W[t] = bswap_32(ctx->buf.w[t])) + (D ^ (B & (C ^ D))) + \ in SHA1_Transform()
193 ctx->buf.w[i] = bswap_32(ctx->state[i]); in SHA_final()
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/syscalls/
H A Drtas_filter.c23 #define cpu_to_be32(x) bswap_32(x)
24 #define be32_to_cpu(x) bswap_32(x)
/OK3568_Linux_fs/kernel/arch/mips/boot/tools/
H A Drelocs.c135 #define be32_to_cpu(val) bswap_32(val)
142 #define cpu_to_be32(val) bswap_32(val)
147 #define le32_to_cpu(val) bswap_32(val)
154 #define cpu_to_le32(val) bswap_32(val)
/OK3568_Linux_fs/external/xserver/hw/xfree86/x86emu/
H A Dops2.c43 #undef bswap_32
44 #define bswap_32(x) (((x & 0xff000000) >> 24) | \ macro
2697 M.x86.R_EAX = bswap_32(M.x86.R_EAX); in x86emuOp2_bswap()
2700 M.x86.R_ECX = bswap_32(M.x86.R_ECX); in x86emuOp2_bswap()
2703 M.x86.R_EDX = bswap_32(M.x86.R_EDX); in x86emuOp2_bswap()
2706 M.x86.R_EBX = bswap_32(M.x86.R_EBX); in x86emuOp2_bswap()
2709 M.x86.R_ESP = bswap_32(M.x86.R_ESP); in x86emuOp2_bswap()
2712 M.x86.R_EBP = bswap_32(M.x86.R_EBP); in x86emuOp2_bswap()
2715 M.x86.R_ESI = bswap_32(M.x86.R_ESI); in x86emuOp2_bswap()
2718 M.x86.R_EDI = bswap_32(M.x86.R_EDI); in x86emuOp2_bswap()

12