/linux/tools/testing/selftests/powerpc/tm/ |
H A D | tm-trap.c | 5 * 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 …]
|
/linux/Documentation/devicetree/bindings/ |
H A D | common-properties.txt | 4 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.
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_endian.c | 25 /* 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()
|
/linux/include/linux/ |
H A D | drbd.h | 27 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"
|
/linux/include/misc/ |
H A D | ocxl.h | 54 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
|
/linux/Documentation/devicetree/bindings/mips/lantiq/ |
H A D | fpi-bus.txt | 13 - lantiq,offset-endianness : Offset of the endianness configuration 24 lantiq,offset-endianness = <0x4c>;
|
/linux/drivers/mtd/nand/raw/ |
H A D | vf610_nfc.c | 138 * the 4th or 7th byte depending on endianness). 162 * useful to indicate the driver whether to swap byte endianness. 215 * @fix_endian: Fix endianness if required 223 * endianness. On little endian platforms such as Vybrid this leads 226 * the driver avoids correcting endianness where it has control over 250 * @fix_endian: Fix endianness if required 258 * endianness. On little endian platforms such as Vybrid this leads 261 * the driver avoids correcting endianness where it has control over 407 * Don't fix endianness on page access for historical reasons. in vf610_nfc_cmd() 448 * Don't fix endianness on page access for historical reasons. in vf610_nfc_cmd() [all …]
|
/linux/drivers/input/joystick/ |
H A D | adc-joystick.c | 57 enum iio_endian endianness; in adc_joystick_handle() local 66 endianness = joy->chans[i].channel->scan_type.endianness; in adc_joystick_handle() 81 if (endianness == IIO_BE) in adc_joystick_handle() 83 else if (endianness == IIO_LE) in adc_joystick_handle()
|
/linux/drivers/video/fbdev/core/ |
H A D | Kconfig | 101 bool "Framebuffer foreign endianness support" 105 non-native endianness (e.g. Little-Endian framebuffer on a 110 prompt "Choice endianness support"
|
/linux/tools/objtool/include/objtool/ |
H A D | endianness.h | 10 * Does a byte swap if target file endianness doesn't match the host, i.e. cross 13 * to be written to a target native endianness ELF file.
|
/linux/drivers/iio/adc/ |
H A D | ad7380.c | 161 .endianness = IIO_CPU, 167 .endianness = IIO_CPU, 177 .endianness = IIO_CPU, 183 .endianness = IIO_CPU, 193 .endianness = IIO_CPU, 199 .endianness = IIO_CPU, 209 .endianness = IIO_CPU, 215 .endianness = IIO_CPU, 225 .endianness = IIO_CPU, 231 .endianness = IIO_CPU, [all …]
|
H A D | rtq6056.c | 133 .endianness = IIO_CPU, 152 .endianness = IIO_CPU, 170 .endianness = IIO_CPU, 187 .endianness = IIO_CPU, 216 .endianness = IIO_CPU, 234 .endianness = IIO_CPU, 252 .endianness = IIO_CPU, 269 .endianness = IIO_CPU,
|
/linux/tools/testing/selftests/rseq/ |
H A D | rseq-arm.h | 29 * ARMv6+ -mbig-endian generates mixed endianness code vs data: little-endian 47 * (which match), so the endianness of the data representation of the 50 * data endianness will be mixed before the linker is invoked. So rather
|
/linux/drivers/soc/lantiq/ |
H A D | fpi-bus.c | 45 ret = device_property_read_u32(dev, "lantiq,offset-endianness", in ltq_fpi_probe() 56 "Failed to configure RCU AHB endianness\n"); in ltq_fpi_probe()
|
/linux/drivers/mtd/nand/raw/brcmnand/ |
H A D | brcmnand.h | 54 * MIPS endianness is configured by boot strap, which also reverses all in brcmnand_readl() 55 * bus endianness (i.e., big-endian CPU + big endian bus ==> native in brcmnand_readl()
|
/linux/Documentation/filesystems/ |
H A D | qnx6.rst | 22 This feature makes it possible to create and use a different endianness fs 24 running on a different endianness. 26 The Linux driver handles endianness transparently. (LE and BE)
|
/linux/arch/arm64/kernel/ |
H A D | smp_spin_table.c | 87 * endianness of the kernel. Therefore, any boot-loaders that in smp_spin_table_cpu_prepare() 89 * boot-loader's endianness before jumping. This is mandated by in smp_spin_table_cpu_prepare()
|
H A D | acpi_parking_protocol.c | 98 * native endianness of the kernel. Therefore, any boot-loaders in acpi_parking_protocol_cpu_boot() 100 * Boot-Loader's endianness before jumping. in acpi_parking_protocol_cpu_boot()
|
/linux/drivers/iio/pressure/ |
H A D | st_pressure_core.c | 133 .endianness = IIO_LE, 147 .endianness = IIO_LE, 167 .endianness = IIO_LE, 181 .endianness = IIO_LE, 199 .endianness = IIO_LE, 214 .endianness = IIO_LE,
|
/linux/drivers/iio/temperature/ |
H A D | maxim_thermocouple.c | 52 .endianness = IIO_BE, 71 .endianness = IIO_BE, 87 .endianness = IIO_BE,
|
/linux/kernel/gcov/ |
H A D | base.c | 59 * unsigned binary form of the endianness of the machine generating the 82 * unsigned binary form of the endianness of the machine generating the
|
/linux/arch/microblaze/ |
H A D | Kconfig | 49 # Endianness selection 51 prompt "Endianness selection"
|
/linux/arch/arm/include/uapi/asm/ |
H A D | ptrace.h | 103 #define PSR_ENDIAN_MASK 0x00000200 /* Endianness state mask */ 106 * Default endianness state
|
/linux/arch/mips/include/asm/sgi/ |
H A D | mc.h | 41 #define SGIMC_CCTRL1_FIXEDEHPC 0x00001000 /* Fixed HPC endianness */ 43 #define SGIMC_CCTRL1_FIXEDEEXP0 0x00004000 /* Fixed EXP0 endianness */ 45 #define SGIMC_CCTRL1_FIXEDEEXP1 0x00010000 /* Fixed EXP1 endianness */
|
/linux/Documentation/staging/ |
H A D | crc32.rst | 27 to decide on the endianness of the bits within each byte. To get 32 do it in the right order, matching the endianness. 84 The other details of endianness have been hidden in CRCPOLY (which must
|