Home
last modified time | relevance | path

Searched full:endianness (Results 1 – 25 of 1592) sorted by relevance

12345678910>>...64

/openbmc/linux/tools/testing/selftests/powerpc/tm/
H A Dtm-trap.c5 * Check if thread endianness is flipped inadvertently to BE on trap
10 * and load_vec and then causing a trap in TM. Since the endianness
21 * to zero which determines a BE endianness that is the native
22 * endianness on BE machines, so nothing notably critical happens,
25 * it on BE machines LE endianness is forced after a first trap and then
26 * the endianness is verified on subsequent traps to determine if the
27 * endianness "flipped back" to the native endianness (BE).
66 /* Get thread endianness: extract bit LE from MSR */ in trap_signal_handler()
77 * event that endianness is flipped by the bug, so just in trap_signal_handler()
79 * check on the second trap event if endianness is in trap_signal_handler()
[all …]
/openbmc/u-boot/drivers/core/
H A Dregmap.c168 map->endianness = REGMAP_LITTLE_ENDIAN; in regmap_init_mem()
170 map->endianness = REGMAP_BIG_ENDIAN; in regmap_init_mem()
172 map->endianness = REGMAP_NATIVE_ENDIAN; in regmap_init_mem()
173 else /* Default: native endianness */ in regmap_init_mem()
174 map->endianness = REGMAP_NATIVE_ENDIAN; in regmap_init_mem()
200 static inline u8 __read_8(u8 *addr, enum regmap_endianness_t endianness) in __read_8() argument
205 static inline u16 __read_16(u16 *addr, enum regmap_endianness_t endianness) in __read_16() argument
207 switch (endianness) { in __read_16()
219 static inline u32 __read_32(u32 *addr, enum regmap_endianness_t endianness) in __read_32() argument
221 switch (endianness) { in __read_32()
[all …]
/openbmc/qemu/scripts/
H A Ddump-guest-memory.py73 self.endianness = None
77 self.endianness = ELFDATA2LSB
79 self.ehdr = get_arch_ehdr(self.endianness, self.elfclass)
83 self.endianness = ELFDATA2MSB
84 self.ehdr = get_arch_ehdr(self.endianness, self.elfclass)
88 self.endianness = ELFDATA2LSB
89 self.ehdr = get_arch_ehdr(self.endianness, self.elfclass)
93 self.endianness = ELFDATA2LSB
95 self.ehdr = get_arch_ehdr(self.endianness, self.elfclass)
99 self.endianness = ELFDATA2MSB
[all …]
/openbmc/qemu/audio/
H A Dsdlaudio.c102 static int sdl_to_audfmt(int sdlfmt, AudioFormat *fmt, int *endianness) in sdl_to_audfmt() argument
106 *endianness = 0; in sdl_to_audfmt()
111 *endianness = 0; in sdl_to_audfmt()
116 *endianness = 0; in sdl_to_audfmt()
121 *endianness = 0; in sdl_to_audfmt()
126 *endianness = 1; in sdl_to_audfmt()
131 *endianness = 1; in sdl_to_audfmt()
136 *endianness = 0; in sdl_to_audfmt()
141 *endianness = 1; in sdl_to_audfmt()
146 *endianness = 0; in sdl_to_audfmt()
[all …]
H A Dalsaaudio.c70 int endianness; member
267 static snd_pcm_format_t aud_to_alsafmt (AudioFormat fmt, int endianness) in aud_to_alsafmt() argument
277 if (endianness) { in aud_to_alsafmt()
284 if (endianness) { in aud_to_alsafmt()
291 if (endianness) { in aud_to_alsafmt()
298 if (endianness) { in aud_to_alsafmt()
305 if (endianness) { in aud_to_alsafmt()
321 int *endianness) in alsa_to_audfmt() argument
325 *endianness = 0; in alsa_to_audfmt()
330 *endianness = 0; in alsa_to_audfmt()
[all …]
H A Dossaudio.c134 static int aud_to_ossfmt (AudioFormat fmt, int endianness) in aud_to_ossfmt() argument
144 if (endianness) { in aud_to_ossfmt()
151 if (endianness) { in aud_to_ossfmt()
166 static int oss_to_audfmt (int ossfmt, AudioFormat *fmt, int *endianness) in oss_to_audfmt() argument
170 *endianness = 0; in oss_to_audfmt()
175 *endianness = 0; in oss_to_audfmt()
180 *endianness = 0; in oss_to_audfmt()
185 *endianness = 0; in oss_to_audfmt()
190 *endianness = 1; in oss_to_audfmt()
195 *endianness = 1; in oss_to_audfmt()
[all …]
H A Dpwaudio.c327 audfmt_to_pw(AudioFormat fmt, int endianness) in audfmt_to_pw() argument
339 format = endianness ? SPA_AUDIO_FORMAT_S16_BE : SPA_AUDIO_FORMAT_S16_LE; in audfmt_to_pw()
342 format = endianness ? SPA_AUDIO_FORMAT_U16_BE : SPA_AUDIO_FORMAT_U16_LE; in audfmt_to_pw()
345 format = endianness ? SPA_AUDIO_FORMAT_S32_BE : SPA_AUDIO_FORMAT_S32_LE; in audfmt_to_pw()
348 format = endianness ? SPA_AUDIO_FORMAT_U32_BE : SPA_AUDIO_FORMAT_U32_LE; in audfmt_to_pw()
351 format = endianness ? SPA_AUDIO_FORMAT_F32_BE : SPA_AUDIO_FORMAT_F32_LE; in audfmt_to_pw()
362 pw_to_audfmt(enum spa_audio_format fmt, int *endianness, in pw_to_audfmt() argument
374 *endianness = 1; in pw_to_audfmt()
378 *endianness = 0; in pw_to_audfmt()
382 *endianness = 1; in pw_to_audfmt()
[all …]
H A Dpaaudio.c319 static pa_sample_format_t audfmt_to_pa (AudioFormat afmt, int endianness) in audfmt_to_pa() argument
330 format = endianness ? PA_SAMPLE_S16BE : PA_SAMPLE_S16LE; in audfmt_to_pa()
334 format = endianness ? PA_SAMPLE_S32BE : PA_SAMPLE_S32LE; in audfmt_to_pa()
337 format = endianness ? PA_SAMPLE_FLOAT32BE : PA_SAMPLE_FLOAT32LE; in audfmt_to_pa()
347 static AudioFormat pa_to_audfmt (pa_sample_format_t fmt, int *endianness) in pa_to_audfmt() argument
353 *endianness = 1; in pa_to_audfmt()
356 *endianness = 0; in pa_to_audfmt()
359 *endianness = 1; in pa_to_audfmt()
362 *endianness = 0; in pa_to_audfmt()
365 *endianness = 1; in pa_to_audfmt()
[all …]
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-httpd/nginx/files/
H A D0001-Allow-the-overriding-of-the-endianness-via-the-confi.patch4 Subject: [PATCH] Allow the overriding of the endianness via the configure flag
8 line flag does not actually function. It does not set the endianness and it
15 diff --git a/auto/endianness b/auto/endianness
17 --- a/auto/endianness
18 +++ b/auto/endianness
/openbmc/qemu/include/exec/
H A Dmemory_ldst_cached.h.inc21 glue(glue(address_space_ld, size), glue(ENDIANNESS, _cached))
23 glue(glue(address_space_ld, size), glue(ENDIANNESS, _cached_slow))
25 glue(glue(ld, size), glue(ENDIANNESS, _p))
68 glue(glue(address_space_st, size), glue(ENDIANNESS, _cached))
70 glue(glue(address_space_st, size), glue(ENDIANNESS, _cached_slow))
72 glue(glue(st, size), glue(ENDIANNESS, _p))
111 #undef ENDIANNESS
H A Dtswap.h2 * Macros for swapping a value if the endianness is different
15 * Returns true if the (default) endianness of the target is big endian,
18 * code should normally never need to know about the endianness of the
/openbmc/qemu/hw/char/
H A Dserial-mm.c51 .endianness = DEVICE_NATIVE_ENDIAN,
58 .endianness = DEVICE_LITTLE_ENDIAN,
65 .endianness = DEVICE_BIG_ENDIAN,
81 &serial_mm_ops[smm->endianness], smm, "serial", in serial_mm_realize()
109 qdev_prop_set_uint8(DEVICE(smm), "endianness", end); in serial_mm_init()
134 DEFINE_PROP_UINT8("endianness", SerialMM, endianness, DEVICE_NATIVE_ENDIAN),
/openbmc/linux/Documentation/devicetree/bindings/
H A Dcommon-properties.txt4 Endianness
8 byte swapping, but endianness issues show up frequently in porting drivers to
20 endianness of the kernel binary (e.g. LE vmlinux -> readl/writel,
23 register endianness based on the CPU's configured endianness.
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_endian.c25 /* Load BTF in native endianness */ in test_btf_endian()
34 /* Get raw BTF data in non-native endianness... */ in test_btf_endian()
51 /* both raw data should be identical (with non-native endianness) */ in test_btf_endian()
59 /* swap it back to native endianness */ in test_btf_endian()
90 /* the type should appear as if it was stored in native endianness */ in test_btf_endian()
/openbmc/qemu/hw/misc/
H A Dslavio_misc.c150 .endianness = DEVICE_NATIVE_ENDIAN,
180 .endianness = DEVICE_NATIVE_ENDIAN,
210 .endianness = DEVICE_NATIVE_ENDIAN,
248 .endianness = DEVICE_NATIVE_ENDIAN,
285 .endianness = DEVICE_NATIVE_ENDIAN,
313 .endianness = DEVICE_NATIVE_ENDIAN,
358 .endianness = DEVICE_NATIVE_ENDIAN,
400 .endianness = DEVICE_NATIVE_ENDIAN,
H A Dpc-testdev.c80 .endianness = DEVICE_LITTLE_ENDIAN,
106 .endianness = DEVICE_LITTLE_ENDIAN,
116 .endianness = DEVICE_LITTLE_ENDIAN,
144 .endianness = DEVICE_LITTLE_ENDIAN,
167 .endianness = DEVICE_LITTLE_ENDIAN,
/openbmc/qemu/docs/devel/migration/
H A Dvirtio.rst56 - device endianness,
58 default endianness
94 - device endianness
98 - sanitize endianness
/openbmc/linux/include/linux/
H A Ddrbd.h27 generic endianness and the bitfields' endianness, there is no
28 architecture as of Linux-2.6.24-rc4 where the bitfields' endianness
29 does not match the generic endianness. */
36 # error "sorry, weird endianness on this box"
245 * on different endianness.
275 # error "this endianness is not supported"
/openbmc/linux/Documentation/devicetree/bindings/mips/lantiq/
H A Dfpi-bus.txt13 - lantiq,offset-endianness : Offset of the endianness configuration
24 lantiq,offset-endianness = <0x4c>;
/openbmc/linux/include/misc/
H A Docxl.h54 OCXL_HOST_ENDIAN = 2, /**< AFU data is the same endianness as the host */
235 * @endian: the endianness that the MMIO data is in
247 * @endian: the endianness that the MMIO data is in
259 * @endian: the endianness that the MMIO data is in
271 * @endian: the endianness that the MMIO data is in
283 * @endian: the endianness that the MMIO data is in
295 * @endian: the endianness that the MMIO data is in
307 * @endian: the endianness that the MMIO data is in
319 * @endian: the endianness that the MMIO data is in
/openbmc/qemu/hw/alpha/
H A Dpci.c30 .endianness = DEVICE_LITTLE_ENDIAN,
60 .endianness = DEVICE_LITTLE_ENDIAN,
83 .endianness = DEVICE_LITTLE_ENDIAN,
/openbmc/linux/Documentation/devicetree/bindings/pwm/
H A Dpwm-fsl-ftm.txt3 The same FTM PWM device can have a different endianness on different SoCs. The
6 for the endianness of the FTM PWM block as integrated into the existing SoCs:
8 SoC | FTM-PWM endianness
/openbmc/u-boot/arch/sh/cpu/sh2/
H A Dconfig.mk6 ENDIANNESS += -EB
15 PLATFORM_LDFLAGS += $(ENDIANNESS)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs-128/
H A Driscv32.patch21 endianness = "little"
24 + endianness = "little"
27 endianness = "little"
/openbmc/qemu/include/qemu/
H A Dbswap.h57 * Endianness conversion functions between host cpu and specified endianness.
69 * endianness of the host CPU by byteswapping if necessary, and
79 * Convert the value @v from the native endianness of the host CPU to
91 * specified format to the native endianness of the host CPU.
101 * native endianness of the host CPU to the specified format.
111 * required size and endianness and handle possible misalignment.

12345678910>>...64