/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/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/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/pwm/ |
H A D | fsl,vf610-ftm-pwm.yaml | 10 The same FTM PWM device can have a different endianness on different SoCs. The 13 for the endianness of the FTM PWM block as integrated into the existing SoCs: 15 SoC | FTM-PWM endianness
|
/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/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/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/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/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/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/drivers/soc/litex/ |
H A D | litex_soc_ctrl.c | 35 * Access to the LiteX CSR is, by design, done in CPU native endianness. 37 * the endianness mismatch is detected. Such situation indicates problems in
|
/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/temperature/ |
H A D | maxim_thermocouple.c | 51 .endianness = IIO_BE, 70 .endianness = IIO_BE, 86 .endianness = IIO_BE,
|
/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/arch/microblaze/ |
H A D | Kconfig | 49 # Endianness selection 51 prompt "Endianness selection"
|
/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/drivers/i2c/busses/ |
H A D | i2c-xiic.c | 69 * @endianness: big/little-endian byte order 94 enum xiic_endian endianness; member 276 * version are necessary. Endianness is detected during the probe function. 284 if (i2c->endianness == LITTLE) in xiic_setreg8() 294 if (i2c->endianness == LITTLE) in xiic_getreg8() 303 if (i2c->endianness == LITTLE) in xiic_setreg16() 311 if (i2c->endianness == LITTLE) in xiic_setreg32() 321 if (i2c->endianness == LITTLE) in xiic_getreg32() 1500 * Detect endianness in xiic_i2c_probe() 1502 * set, assume that the endianness was wrong and swap. in xiic_i2c_probe() [all …]
|
/linux/scripts/mod/ |
H A D | empty.c | 1 /* empty file to figure out endianness / word size */
|