/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
D | bcm7420.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 = <93750000>; 30 cpu_intc: interrupt-controller { 31 #address-cells = <0>; 32 compatible = "mti,cpu-interrupt-controller"; 34 interrupt-controller; [all …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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;
|
/Linux-v6.1/Documentation/devicetree/bindings/bus/ |
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/bus/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/tools/testing/selftests/powerpc/tm/ |
D | tm-trap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 * to zero which determines a BE endianness that is the native 27 * endianness "flipped back" to the native endianness (BE). 67 thread_endianness = MSR_LE & ucp->uc_mcontext.gp_regs[PT_MSR]; in trap_signal_handler() 70 * Little-Endian Machine in trap_signal_handler() 95 * the return from the signal handler the endianness in- in trap_signal_handler() 98 * and (4) are executed (tbegin.; trap;) and we get sim- in trap_signal_handler() 109 * a trap caught in non-transactional mode is the very in trap_signal_handler() 116 ucp->uc_mcontext.gp_regs[PT_NIP] += 16; in trap_signal_handler() 123 ucp->uc_mcontext.gp_regs[PT_MSR] |= 1UL; in trap_signal_handler() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/gpio/ |
D | brcm,bcm6345-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/gpio/brcm,bcm6345-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Álvaro Fernández Rojas <noltari@gmail.com> 11 - Jonas Gorski <jonas.gorski@gmail.com> 14 Bindings for Broadcom's BCM63xx memory-mapped GPIO controllers. 19 BCM6338 have 8-bit data and dirout registers, where GPIO state can be read 21 BCM6345 have 16-bit data and dirout registers, where GPIO state can be read 23 BCM6318, BCM6328, BCM6358, BCM6362, BCM6368 and BCM63268 have 32-bit data [all …]
|
/Linux-v6.1/arch/m68k/include/asm/ |
D | io_no.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * The non-MMU m68k and ColdFire IO and memory mapped hardware access 13 * functions have always worked in CPU native endian. We need to define 14 * that behavior here first before we include asm-generic/io.h. 50 return (addr >= IOMEMBASE) && (addr <= IOMEMBASE + IOMEMSIZE - 1); in __cf_internalio() 59 * We need to treat built-in peripherals and bus based address ranges 60 * differently. Local built-in peripherals (and the ColdFire SoC parts 61 * have quite a lot of them) are always native endian - which is big 62 * endian on m68k/ColdFire. Bus based address ranges, like the PCI bus, 63 * are accessed little endian - so we need to byte swap those. [all …]
|
/Linux-v6.1/tools/objtool/include/objtool/ |
D | endianness.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 #include <endian.h> 21 * compilation for little endian on big endian and vice versa. 22 * To be used for multi-byte values conversion, which are read from / about 23 * to be written to a target native endianness ELF file.
|
/Linux-v6.1/include/uapi/linux/ |
D | virtio_pcidev.h | 1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ 11 * enum virtio_pcidev_ops - virtual PCI device operations 14 * the @data field should be filled in by the device (in little endian). 16 * the @data field contains the data to write (in little endian). 18 * the @data field should be filled in by the device (in little endian). 20 * the @data field contains the data to write (in little endian). 23 * @VIRTIO_PCIDEV_OP_INT: legacy INTx# pin interrupt, the addr field is 1-4 for 25 * @VIRTIO_PCIDEV_OP_MSI: MSI(-X) interrupt, this message basically transports 26 * the 16- or 32-bit write that would otherwise be done into memory, 44 * struct virtio_pcidev_msg - virtio PCI device operation [all …]
|
/Linux-v6.1/drivers/mtd/nand/raw/brcmnand/ |
D | brcmnand.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 /* Special register offset constant to intercept a non-MMIO access 38 if (soc && soc->prepare_data_bus) in brcmnand_soc_data_bus_prepare() 39 soc->prepare_data_bus(soc, true, is_param); in brcmnand_soc_data_bus_prepare() 45 if (soc && soc->prepare_data_bus) in brcmnand_soc_data_bus_unprepare() 46 soc->prepare_data_bus(soc, false, is_param); in brcmnand_soc_data_bus_unprepare() 53 * bus endianness (i.e., big-endian CPU + big endian bus ==> native in brcmnand_readl() 54 * endian I/O). in brcmnand_readl() 56 * Other architectures (e.g., ARM) either do not support big endian, or in brcmnand_readl() 57 * else leave I/O in little endian mode. in brcmnand_readl() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | fsl,esai.txt | 3 The Enhanced Serial Audio Interface (ESAI) provides a full-duplex serial port 10 - compatible : Compatible list, should contain one of the following 12 "fsl,imx35-esai", 13 "fsl,vf610-esai", 14 "fsl,imx6ull-esai", 15 "fsl,imx8qm-esai", 17 - reg : Offset and length of the register set for the device. 19 - interrupts : Contains the spdif interrupt. 21 - dmas : Generic dma devicetree binding as described in 24 - dma-names : Two dmas have to be defined, "tx" and "rx". [all …]
|
D | fsl,spdif.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 20 - fsl,imx35-spdif 21 - fsl,vf610-spdif 22 - fsl,imx6sx-spdif 23 - fsl,imx8qm-spdif 24 - fsl,imx8qxp-spdif 25 - fsl,imx8mq-spdif [all …]
|
/Linux-v6.1/drivers/phy/broadcom/ |
D | phy-brcm-usb-init.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2014-2017 Broadcom 76 * bus endianness (i.e., big-endian CPU + big endian bus ==> native in brcm_usb_readl() 77 * endian I/O). in brcm_usb_readl() 79 * Other architectures (e.g., ARM) either do not support big endian, or in brcm_usb_readl() 80 * else leave I/O in little endian mode. in brcm_usb_readl() 109 if (ini->ops->init_ipp) in brcm_usb_init_ipp() 110 ini->ops->init_ipp(ini); in brcm_usb_init_ipp() 115 if (ini->ops->init_common) in brcm_usb_init_common() 116 ini->ops->init_common(ini); in brcm_usb_init_common() [all …]
|
/Linux-v6.1/arch/arc/include/uapi/asm/ |
D | swab.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 10 * -Support single cycle endian-swap insn in ARC700 4.10 13 * -Better htonl implementation (5 instead of 9 ALU instructions) 14 * -Hardware assisted single cycle bswap (Use Case of ARC custom instrn) 22 /* Native single cycle endian swap insn */ 37 /* Several ways of Endian-Swap Emulation for ARC
|
/Linux-v6.1/fs/jfs/ |
D | jfs_unicode.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) International Business Machines Corp., 2000-2002 4 * Portions Copyright (C) Christoph Hellwig, 2001-2002 24 #define free_UCSname(COMP) kfree((COMP)->name) 47 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_le() 51 while (n--) /* Pad with nulls */ in UniStrncpy_le() 57 * UniStrncmp_le: Compare length limited string - native to little-endian 64 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le() 68 return (int) *ucs1 - (int) __le16_to_cpu(*ucs2); in UniStrncmp_le() 72 * UniStrncpy_to_le: Copy length limited string with pad to little-endian [all …]
|