Home
last modified time | relevance | path

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

12345678910>>...37

/linux-6.14.4/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-6.14.4/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-6.14.4/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-6.14.4/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-6.14.4/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-6.14.4/Documentation/devicetree/bindings/mips/lantiq/
Dfpi-bus.txt13 - lantiq,offset-endianness : Offset of the endianness configuration
24 lantiq,offset-endianness = <0x4c>;
/linux-6.14.4/Documentation/devicetree/bindings/pwm/
Dfsl,vf610-ftm-pwm.yaml10 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-6.14.4/drivers/mtd/nand/raw/
Dvf610_nfc.c138 * 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-6.14.4/drivers/input/joystick/
Dadc-joystick.c57 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-6.14.4/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-6.14.4/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-6.14.4/drivers/iio/adc/
Drtq6056.c133 .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-6.14.4/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-6.14.4/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-6.14.4/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-6.14.4/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.h54 * 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-6.14.4/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-6.14.4/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-6.14.4/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
/linux-6.14.4/arch/arm64/kernel/
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()
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()
/linux-6.14.4/drivers/iio/temperature/
Dmaxim_thermocouple.c52 .endianness = IIO_BE,
71 .endianness = IIO_BE,
87 .endianness = IIO_BE,
/linux-6.14.4/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-6.14.4/drivers/i2c/busses/
Di2c-xiic.c69 * @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-6.14.4/arch/microblaze/
DKconfig50 # Endianness selection
52 prompt "Endianness selection"

12345678910>>...37