| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
| D | btf_endian.c | 1 // SPDX-License-Identifier: GPL-2.0 13 enum btf_endianness endian = BTF_LITTLE_ENDIAN; in test_btf_endian() local 15 enum btf_endianness endian = BTF_BIG_ENDIAN; in test_btf_endian() 19 enum btf_endianness swap_endian = 1 - endian; in test_btf_endian() 27 /* Load BTF in native endianness */ in test_btf_endian() 32 ASSERT_EQ(btf__endianness(btf), endian, "endian"); in test_btf_endian() 34 ASSERT_EQ(btf__endianness(btf), swap_endian, "endian"); in test_btf_endian() 36 /* Get raw BTF data in non-native endianness... */ in test_btf_endian() 46 ASSERT_EQ(btf__endianness(swap_btf), swap_endian, "endian"); in test_btf_endian() 53 /* both raw data should be identical (with non-native endianness) */ in test_btf_endian() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
| D | btf_endian.c | 1 // SPDX-License-Identifier: GPL-2.0 11 enum btf_endianness endian = BTF_LITTLE_ENDIAN; in test_btf_endian() local 13 enum btf_endianness endian = BTF_BIG_ENDIAN; in test_btf_endian() 17 enum btf_endianness swap_endian = 1 - endian; in test_btf_endian() 25 /* Load BTF in native endianness */ in test_btf_endian() 30 ASSERT_EQ(btf__endianness(btf), endian, "endian"); in test_btf_endian() 32 ASSERT_EQ(btf__endianness(btf), swap_endian, "endian"); in test_btf_endian() 34 /* Get raw BTF data in non-native endianness... */ in test_btf_endian() 44 ASSERT_EQ(btf__endianness(swap_btf), swap_endian, "endian"); in test_btf_endian() 51 /* both raw data should be identical (with non-native endianness) */ in test_btf_endian() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/ |
| D | common-properties.txt | 5 ---------- 13 - big-endian: Boolean; force big endian register accesses 15 know the peripheral always needs to be accessed in big endian (BE) mode. 16 - little-endian: Boolean; force little endian register accesses 18 peripheral always needs to be accessed in little endian (LE) mode. 19 - native-endian: Boolean; always use register accesses matched to the 20 endianness of the kernel binary (e.g. LE vmlinux -> readl/writel, 21 BE vmlinux -> ioread32be/iowrite32be). In this case no byte swaps 22 will ever be performed. Use this if the hardware "self-adjusts" 27 In such cases, little-endian is the preferred default, but it is not [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/ |
| D | common-properties.txt | 5 ---------- 13 - big-endian: Boolean; force big endian register accesses 15 know the peripheral always needs to be accessed in big endian (BE) mode. 16 - little-endian: Boolean; force little endian register accesses 18 peripheral always needs to be accessed in little endian (LE) mode. 19 - native-endian: Boolean; always use register accesses matched to the 20 endianness of the kernel binary (e.g. LE vmlinux -> readl/writel, 21 BE vmlinux -> ioread32be/iowrite32be). In this case no byte swaps 22 will ever be performed. Use this if the hardware "self-adjusts" 27 In such cases, little-endian is the preferred default, but it is not [all …]
|
| /kernel/linux/linux-5.10/arch/mips/boot/dts/brcm/ |
| D | bcm7346.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #address-cells = <1>; 4 #size-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 mips-hpt-frequency = <163125000>; 30 cpu_intc: interrupt-controller { 31 #address-cells = <0>; 32 compatible = "mti,cpu-interrupt-controller"; 34 interrupt-controller; [all …]
|
| D | bcm7125.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #address-cells = <1>; 4 #size-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 mips-hpt-frequency = <202500000>; 30 cpu_intc: interrupt-controller { 31 #address-cells = <0>; 32 compatible = "mti,cpu-interrupt-controller"; 34 interrupt-controller; [all …]
|
| D | bcm7358.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #address-cells = <1>; 4 #size-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 mips-hpt-frequency = <375000000>; 24 cpu_intc: interrupt-controller { 25 #address-cells = <0>; 26 compatible = "mti,cpu-interrupt-controller"; 28 interrupt-controller; [all …]
|
| D | bcm7425.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #address-cells = <1>; 4 #size-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 mips-hpt-frequency = <163125000>; 30 cpu_intc: interrupt-controller { 31 #address-cells = <0>; 32 compatible = "mti,cpu-interrupt-controller"; 34 interrupt-controller; [all …]
|
| D | bcm7435.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #address-cells = <1>; 4 #size-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 mips-hpt-frequency = <175625000>; 42 cpu_intc: interrupt-controller { 43 #address-cells = <0>; 44 compatible = "mti,cpu-interrupt-controller"; 46 interrupt-controller; [all …]
|
| D | bcm7360.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #address-cells = <1>; 4 #size-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 mips-hpt-frequency = <375000000>; 24 cpu_intc: interrupt-controller { 25 #address-cells = <0>; 26 compatible = "mti,cpu-interrupt-controller"; 28 interrupt-controller; [all …]
|
| D | bcm7362.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #address-cells = <1>; 4 #size-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 mips-hpt-frequency = <375000000>; 30 cpu_intc: interrupt-controller { 31 #address-cells = <0>; 32 compatible = "mti,cpu-interrupt-controller"; 34 interrupt-controller; [all …]
|
| /kernel/linux/linux-6.6/arch/mips/boot/dts/brcm/ |
| D | bcm7346.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #address-cells = <1>; 4 #size-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 mips-hpt-frequency = <163125000>; 30 cpu_intc: interrupt-controller { 31 #address-cells = <0>; 32 compatible = "mti,cpu-interrupt-controller"; 34 interrupt-controller; [all …]
|
| D | bcm7125.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #address-cells = <1>; 4 #size-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 mips-hpt-frequency = <202500000>; 30 cpu_intc: interrupt-controller { 31 #address-cells = <0>; 32 compatible = "mti,cpu-interrupt-controller"; 34 interrupt-controller; [all …]
|
| D | bcm7358.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #address-cells = <1>; 4 #size-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 mips-hpt-frequency = <375000000>; 24 cpu_intc: interrupt-controller { 25 #address-cells = <0>; 26 compatible = "mti,cpu-interrupt-controller"; 28 interrupt-controller; [all …]
|
| D | bcm7435.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #address-cells = <1>; 4 #size-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 mips-hpt-frequency = <175625000>; 42 cpu_intc: interrupt-controller { 43 #address-cells = <0>; 44 compatible = "mti,cpu-interrupt-controller"; 46 interrupt-controller; [all …]
|
| D | bcm7425.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #address-cells = <1>; 4 #size-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 mips-hpt-frequency = <163125000>; 30 cpu_intc: interrupt-controller { 31 #address-cells = <0>; 32 compatible = "mti,cpu-interrupt-controller"; 34 interrupt-controller; [all …]
|
| D | bcm7360.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #address-cells = <1>; 4 #size-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 mips-hpt-frequency = <375000000>; 24 cpu_intc: interrupt-controller { 25 #address-cells = <0>; 26 compatible = "mti,cpu-interrupt-controller"; 28 interrupt-controller; [all …]
|
| D | bcm7362.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #address-cells = <1>; 4 #size-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 mips-hpt-frequency = <375000000>; 30 cpu_intc: interrupt-controller { 31 #address-cells = <0>; 32 compatible = "mti,cpu-interrupt-controller"; 34 interrupt-controller; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/regmap/ |
| D | regmap.txt | 5 little-endian, 6 big-endian, 7 native-endian: See common-properties.txt for a definition 10 Regmap defaults to little-endian register access on MMIO based 12 architectures that typically run big-endian operating systems 13 (e.g. PowerPC), registers can be defined as big-endian and must 16 On SoCs that can be operated in both big-endian and little-endian 19 chips), "native-endian" is used to allow using the same device tree 23 Scenario 1 : a register set in big-endian mode. 27 big-endian;
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regmap/ |
| D | regmap.txt | 5 little-endian, 6 big-endian, 7 native-endian: See common-properties.txt for a definition 10 Regmap defaults to little-endian register access on MMIO based 12 architectures that typically run big-endian operating systems 13 (e.g. PowerPC), registers can be defined as big-endian and must 16 On SoCs that can be operated in both big-endian and little-endian 19 chips), "native-endian" is used to allow using the same device tree 23 Scenario 1 : a register set in big-endian mode. 27 big-endian;
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/memory-controllers/ |
| D | intel,ixp4xx-expansion-bus-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/intel,ixp4xx-expansion-bus-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 memory-mapped expansion bus on the Intel IXP4xx family of system on chips, 15 - Linus Walleij <linus.walleij@linaro.org> 19 pattern: '^bus@[0-9a-f]+$' 23 - enum: 24 - intel,ixp42x-expansion-bus-controller 25 - intel,ixp43x-expansion-bus-controller [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/ |
| D | brcm,bcm6345-gpio.txt | 1 Bindings for the Broadcom's brcm,bcm6345-gpio memory-mapped GPIO controllers. 5 BCM6338 have 8-bit data and dirout registers, where GPIO state can be read 7 BCM6345 have 16-bit data and dirout registers, where GPIO state can be read 11 - compatible: should be "brcm,bcm6345-gpio" 12 - reg-names: must contain 13 "dat" - data register 14 "dirout" - direction (output) register 15 - reg: address + size pairs describing the GPIO register sets; 16 order must correspond with the order of entries in reg-names 17 - #gpio-cells: must be set to 2. The first cell is the pin number and [all …]
|
| /kernel/linux/linux-5.10/arch/arm/include/asm/ |
| D | bitops.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Big endian support: Copyright 2001, Nicolas Pitre 34 * First, the atomic bitops. These use native endian. 123 #include <asm-generic/bitops/non-atomic.h> 126 * A note about Endian-ness. 127 * ------------------------- 129 * When the ARM is put into big endian mode via CR15, the processor 132 * ------------ physical data bus bits ----------- 137 * This means that reading a 32-bit word at address 0 returns the same 138 * value irrespective of the endian mode bit. [all …]
|
| /kernel/linux/linux-6.6/arch/arm/include/asm/ |
| D | bitops.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Big endian support: Copyright 2001, Nicolas Pitre 34 * First, the atomic bitops. These use native endian. 123 #include <asm-generic/bitops/non-atomic.h> 126 * A note about Endian-ness. 127 * ------------------------- 129 * When the ARM is put into big endian mode via CR15, the processor 132 * ------------ physical data bus bits ----------- 137 * This means that reading a 32-bit word at address 0 returns the same 138 * value irrespective of the endian mode bit. [all …]
|
| /kernel/linux/linux-6.6/arch/xtensa/boot/dts/ |
| D | xtfpga.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 compatible = "cdns,xtensa-xtfpga"; 4 #address-cells = <1>; 5 #size-cells = <1>; 6 interrupt-parent = <&pic>; 18 #address-cells = <1>; 19 #size-cells = <0>; 21 compatible = "cdns,xtensa-cpu"; 28 compatible = "cdns,xtensa-pic"; 33 #interrupt-cells = <2>; [all …]
|