Home
last modified time | relevance | path

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

12345678910>>...34

/Linux-v6.6/tools/testing/selftests/powerpc/tm/
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 …]
/Linux-v6.6/Documentation/devicetree/bindings/
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.
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
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()
/Linux-v6.6/include/linux/
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"
/Linux-v6.6/include/misc/
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
/Linux-v6.6/Documentation/devicetree/bindings/mips/lantiq/
Dfpi-bus.txt13 - lantiq,offset-endianness : Offset of the endianness configuration
24 lantiq,offset-endianness = <0x4c>;
/Linux-v6.6/Documentation/devicetree/bindings/pwm/
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
/Linux-v6.6/drivers/input/joystick/
Dadc-joystick.c49 enum iio_endian endianness; in adc_joystick_handle() local
58 endianness = joy->chans[i].channel->scan_type.endianness; in adc_joystick_handle()
73 if (endianness == IIO_BE) in adc_joystick_handle()
75 else if (endianness == IIO_LE) in adc_joystick_handle()
/Linux-v6.6/drivers/mtd/nand/raw/
Dvf610_nfc.c137 * the 4th or 7th byte depending on endianness).
161 * useful to indicate the driver whether to swap byte endianness.
214 * @fix_endian: Fix endianness if required
222 * endianness. On little endian platforms such as Vybrid this leads
225 * the driver avoids correcting endianness where it has control over
249 * @fix_endian: Fix endianness if required
257 * endianness. On little endian platforms such as Vybrid this leads
260 * the driver avoids correcting endianness where it has control over
406 * Don't fix endianness on page access for historical reasons. in vf610_nfc_cmd()
447 * Don't fix endianness on page access for historical reasons. in vf610_nfc_cmd()
[all …]
/Linux-v6.6/tools/objtool/include/objtool/
Dendianness.h10 * 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-v6.6/drivers/video/fbdev/core/
DKconfig108 bool "Framebuffer foreign endianness support"
112 non-native endianness (e.g. Little-Endian framebuffer on a
117 prompt "Choice endianness support"
/Linux-v6.6/fs/ntfs/
Dendian.h3 * endian.h - Defines for endianness handling in NTFS Linux kernel driver.
16 * Signed endianness conversion functions.
/Linux-v6.6/drivers/net/ethernet/micrel/
Dks8851_par.c84 * ks_check_endian - Check whether endianness of the bus is correct
87 * The KS8851-16MLL EESK pin allows selecting the endianness of the 16bit
88 * bus. To maintain optimum performance, the bus endianness should be set
89 * such that it matches the endianness of the CPU.
99 * is operating in different endianness than the CPU, then the meaning in ks_check_endian()
/Linux-v6.6/tools/testing/selftests/rseq/
Drseq-arm.h29 * 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-v6.6/drivers/soc/lantiq/
Dfpi-bus.c45 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-v6.6/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.h52 * MIPS endianness is configured by boot strap, which also reverses all in brcmnand_readl()
53 * bus endianness (i.e., big-endian CPU + big endian bus ==> native in brcmnand_readl()
/Linux-v6.6/drivers/i2c/busses/
Di2c-xiic.c67 * @endianness: big/little-endian byte order
89 enum xiic_endian endianness; member
243 * version are necessary. Endianness is detected during the probe function.
251 if (i2c->endianness == LITTLE) in xiic_setreg8()
261 if (i2c->endianness == LITTLE) in xiic_getreg8()
270 if (i2c->endianness == LITTLE) in xiic_setreg16()
278 if (i2c->endianness == LITTLE) in xiic_setreg32()
288 if (i2c->endianness == LITTLE) in xiic_getreg32()
1293 * Detect endianness in xiic_i2c_probe()
1295 * set, assume that the endianness was wrong and swap. in xiic_i2c_probe()
[all …]
/Linux-v6.6/Documentation/filesystems/
Dqnx6.rst22 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-v6.6/drivers/iio/chemical/
Datlas-sensor.c125 .endianness = IIO_BE,
152 .endianness = IIO_BE, \
167 .endianness = IIO_BE,
194 .endianness = IIO_BE,
211 .endianness = IIO_BE,
235 .endianness = IIO_BE,
/Linux-v6.6/arch/arm64/kernel/
Dsmp_spin_table.c87 * 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()
Dacpi_parking_protocol.c98 * 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-v6.6/Documentation/core-api/
Dpacking.rst13 due to potential endianness mismatches between the CPU and the hardware device.
22 still not protect from endianness mismatches, except if all memory accesses
40 over CPU endianness and therefore between possible mismatches between
/Linux-v6.6/drivers/iio/temperature/
Dmaxim_thermocouple.c52 .endianness = IIO_BE,
71 .endianness = IIO_BE,
87 .endianness = IIO_BE,
/Linux-v6.6/drivers/iio/pressure/
Dst_pressure_core.c133 .endianness = IIO_LE,
147 .endianness = IIO_LE,
167 .endianness = IIO_LE,
181 .endianness = IIO_LE,
199 .endianness = IIO_LE,
214 .endianness = IIO_LE,
/Linux-v6.6/drivers/soc/litex/
Dlitex_soc_ctrl.c35 * Access to the LiteX CSR is, by design, done in CPU native endianness.
37 * the endianness mismatch is detected. Such situation indicates problems in

12345678910>>...34