/linux/Documentation/devicetree/bindings/regmap/ |
H A 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/Documentation/devicetree/bindings/phy/ |
H A D | lantiq,vrx200-pcie-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/lantiq,vrx200-pcie-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Martin Blumenstingl <martin.blumenstingl@googlemail.com> 13 "#phy-cells": 15 description: selects the PHY mode as defined in <dt-bindings/phy/phy-lantiq-vrx200-pcie.h> 19 - lantiq,vrx200-pcie-phy 20 - lantiq,arx300-pcie-phy 27 - description: PHY module clock [all …]
|
/linux/drivers/usb/host/ |
H A D | ehci-fsl.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* Copyright (C) 2005-2010,2012 Freescale Semiconductor, Inc. 8 /* offsets for the non-ehci registers in the FSL SOC USB controller */ 22 #define USBMODE_ES (1 << 2) /* (Big) Endian Select */ 31 #define FSL_SOC_USB_SNOOP1 0x400 /* NOTE: big-endian */ 32 #define FSL_SOC_USB_SNOOP2 0x404 /* NOTE: big-endian */ 33 #define FSL_SOC_USB_AGECNTTHRSH 0x408 /* NOTE: big-endian */ 34 #define FSL_SOC_USB_PRICTRL 0x40c /* NOTE: big-endian */ 35 #define FSL_SOC_USB_SICTRL 0x410 /* NOTE: big-endian */ 36 #define FSL_SOC_USB_CTRL 0x500 /* NOTE: big-endian */
|
H A D | ohci.h | 1 /* SPDX-License-Identifier: GPL-1.0+ */ 6 * (C) Copyright 2000-2002 David Brownell <dbrownell@users.sourceforge.net> 27 /* first fields are hardware-specified */ 49 struct ed *ed_prev; /* for non-interrupt EDs */ 53 /* create --> IDLE --> OPER --> ... --> IDLE --> destroy 54 * usually: OPER --> UNLINK --> (IDLE | OPER) --> ... 76 ((int) (ohci->wdh_cnt - ed->takeback_wdh_cnt) >= 0) 89 /* first fields are hardware-specified */ 124 * big-endian PPC hardware that's the second entry. 132 struct td *td_hash; /* dma-->td hashtable */ [all …]
|
/linux/drivers/crypto/cavium/cpt/ |
H A D | cpt_hw_types.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 30 * stored in memory as little-endian unless CPT()_PF_Q()_CTL[INST_BE] is set. 42 * Address must be 16-byte aligned. 44 * sign-extended bit <48> for forward compatibility. 46 * grp:10 [171:162] If [WQ_PTR] is nonzero, the SSO guest-group to use when 48 * For the SSO to not discard the add-work request, FPA_PF_MAP() must map 56 * work-queue entry that CPT submits work to SSO after all context, 60 * use a sign-extended bit <48> for forward compatibility. 76 #if defined(__BIG_ENDIAN_BITFIELD) /* Word 0 - Big Endian */ 80 #else /* Word 0 - Little Endian */ [all …]
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | generic-ehci.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/generic-ehci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 13 - $ref: usb-hcd.yaml 14 - if: 19 const: ibm,usb-ehci-440epx 28 - items: 29 - enum: [all …]
|
/linux/Documentation/devicetree/bindings/ |
H A 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/Documentation/devicetree/bindings/i2c/ |
H A D | i2c-mux-reg.txt | 1 Register-based I2C Bus Mux 7 - compatible: i2c-mux-reg 8 - i2c-parent: The phandle of the I2C bus that this multiplexer's master-side 10 * Standard I2C mux properties. See i2c-mux.yaml in this directory. 11 * I2C child bus nodes. See i2c-mux.yaml in this directory. 14 - reg: this pair of <offset size> specifies the register to control the mux. 15 The <offset size> depends on its parent node. It can be any memory-mapped 18 - little-endian: The existence indicates the register is in little endian. 19 - big-endian: The existence indicates the register is in big endian. 20 If both little-endian and big-endian are omitted, the endianness of the [all …]
|
/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cpt_hw_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 154 * CPT OcteonTX VF MSI-X Vector Enumeration 155 * Enumerates the MSI-X interrupt vectors. 167 * stored in memory as little-endian unless CPT()_PF_Q()_CTL[INST_BE] is set. 179 * Address must be 16-byte aligned. 181 * sign-extended bit <48> for forward compatibility. 183 * grp:10 [171:162] If [WQ_PTR] is nonzero, the SSO guest-group to use when 185 * For the SSO to not discard the add-work request, FPA_PF_MAP() must map 193 * work-queue entry that CPT submits work to SSO after all context, 197 * use a sign-extended bit <48> for forward compatibility. [all …]
|
/linux/arch/arm/include/asm/ |
H A 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 ----------- 135 * big byte 0 byte 1 byte 2 byte 3 137 * This means that reading a 32-bit word at address 0 returns the same [all …]
|
/linux/tools/testing/selftests/rseq/ |
H A D | rseq-arm.h | 1 /* SPDX-License-Identifier: LGPL-2.1 OR MIT */ 3 * rseq-arm.h 5 * (C) Copyright 2016-2022 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com> 9 * - ARM little endian 12 * value 0x5de3. This traps if user-space reaches this instruction by mistake, 14 * pointer to attacker-controlled code on rseq abort. 23 * little endian: 27 * - ARMv6+ big endian (BE8): 29 * ARMv6+ -mbig-endian generates mixed endianness code vs data: little-endian 30 * code and big-endian data. The data value of the signature needs to have its [all …]
|
/linux/Documentation/netlink/specs/ |
H A D | nfsd.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 5 uapi-header: linux/nfsd_netlink.h 9 attribute-sets: 10 - 11 name: rpc-status 13 - 16 byte-order: big-endian 17 - 20 - [all …]
|
H A D | tcp_metrics.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 5 protocol: genetlink-legacy 10 c-family-name: tcp-metrics-genl-name 11 c-version-name: tcp-metrics-genl-version 12 max-by-define: true 13 kernel-policy: global 16 - 17 name: tcp-fastopen-cookie-max 21 attribute-sets: [all …]
|
/linux/kernel/bpf/preload/iterators/ |
H A D | README | 2 If you change "iterators.bpf.c" do "make -j" in this directory to 3 rebuild "iterators.lskel-little-endian.h". Then, on a big-endian 4 machine, do "make -j big" in this directory to rebuild 5 "iterators.lskel-big-endian.h". Commit both resulting headers.
|
/linux/arch/arm/boot/compressed/ |
H A D | big-endian.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * linux/arch/arm/boot/compressed/big-endian.S 5 * Switch CPU into big endian mode. 12 orr r0, r0, #(1 << 7) @ enable big endian mode
|
/linux/Documentation/devicetree/bindings/display/ |
H A D | sm501fb.txt | 7 - compatible : should be "smi,sm501". 8 - reg : contain two entries: 9 - First entry: System Configuration register 10 - Second entry: IO space (Display Controller register) 11 - interrupts : SMI interrupt to the cpu should be described here. 14 - mode : select a video mode: 15 <xres>x<yres>[-<bpp>][@<refresh>] 16 - edid : verbatim EDID data block describing attached display. 19 - little-endian: available on big endian systems, to 20 set different foreign endian. [all …]
|
/linux/drivers/mtd/nand/raw/brcmnand/ |
H A D | brcmnand.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 /* Special register offset constant to intercept a non-MMIO access 40 if (soc && soc->prepare_data_bus) in brcmnand_soc_data_bus_prepare() 41 soc->prepare_data_bus(soc, true, is_param); in brcmnand_soc_data_bus_prepare() 47 if (soc && soc->prepare_data_bus) in brcmnand_soc_data_bus_unprepare() 48 soc->prepare_data_bus(soc, false, is_param); in brcmnand_soc_data_bus_unprepare() 55 * bus endianness (i.e., big-endian CPU + big endian bus ==> native in brcmnand_readl() 56 * endian I/O). in brcmnand_readl() 58 * Other architectures (e.g., ARM) either do not support big endian, or in brcmnand_readl() 59 * else leave I/O in little endian mode. in brcmnand_readl() [all …]
|
/linux/Documentation/networking/device_drivers/cellular/qualcomm/ |
H A D | rmnet.rst | 1 .. SPDX-License-Identifier: GPL-2.0 24 sending aggregated bunch of MAP frames. rmnet driver will de-aggregate 32 MAP header fields are in big endian format. 36 Bit 0 1 2-7 8-15 16-31 39 Bit 32-x 58 MAP header fields are in big endian format. 62 Bit 0 1 2-7 8-15 16-31 65 Bit 32-(x-33) (x-32)-x 83 by the hardware.Checksum offload header fields are in big endian format. 87 Bit 0-14 15 16-31 [all …]
|
/linux/drivers/video/fbdev/core/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 57 Allow I/O memory frame-buffer functions to work on displays with 1, 2 89 Allow virtual memory frame-buffer functions to work on displays with 1, 2 97 Allow generic frame-buffer to provide get_fb_unmapped_area 105 non-native endianness (e.g. Little-Endian framebuffer on a 106 Big-Endian machine). Most probably you don't have such hardware, 114 bool "Support for Big- and Little-Endian framebuffers" 117 bool "Support for Big-Endian framebuffers only" 120 bool "Support for Little-Endian framebuffers only" 204 terms of number of tiles in the x- and y-axis.
|
/linux/arch/riscv/crypto/ |
H A D | aes-riscv64-zvkned-zvkb.S | 1 /* SPDX-License-Identifier: Apache-2.0 OR BSD-2-Clause */ 3 // This file is dual-licensed, meaning that you can use it under your 39 // The generated code of this file depends on the following RISC-V extensions: 40 // - RV64I 41 // - RISC-V Vector ('V') with VLEN >= 128 42 // - RISC-V Vector AES block cipher extension ('Zvkned') 43 // - RISC-V Vector Cryptography Bit-manipulation extension ('Zvkb') 50 #include "aes-macros.S" 63 // LEN32 = number of blocks, rounded up, in 32-bit words. 68 // Create a mask that selects the last 32-bit word of each 128-bit [all …]
|
/linux/fs/minix/ |
H A D | minix.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #define INODE_VERSION(inode) minix_sb(inode->i_sb)->s_version 26 * minix super-block data in memory 84 return sb->s_fs_info; in minix_sb() 105 * big-endian 32 or 64 bit indexed bitmaps on big-endian system or 106 * little-endian bitmaps on little-endian system 123 * big-endian 16bit indexed bitmaps 136 if (--size == 0) in minix_find_first_zero_bit() 137 return (p - addr) << 4; in minix_find_first_zero_bit() 140 num = *--p; in minix_find_first_zero_bit() [all …]
|
/linux/Documentation/devicetree/bindings/rtc/ |
H A D | fsl,ls-ftm-alarm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/rtc/fsl,ls-ftm-alarm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Frank Li <Frank.Li@nxp.com> 15 - fsl,ls1012a-ftm-alarm 16 - fsl,ls1021a-ftm-alarm 17 - fsl,ls1028a-ftm-alarm 18 - fsl,ls1043a-ftm-alarm 19 - fsl,ls1046a-ftm-alarm [all …]
|
/linux/arch/arc/lib/ |
H A D | strlen.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 10 ld r2,[r3,-7] 11 ld.a r6,[r3,-3] 27 #else /* BIG ENDIAN */ 41 #endif /* ENDIAN */ 67 #else /* BIG ENDIAN */ 76 #endif /* ENDIAN */
|
/linux/drivers/phy/broadcom/ |
H A D | phy-brcm-usb-init.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2014-2017 Broadcom 85 * bus endianness (i.e., big-endian CPU + big endian bus ==> native in brcm_usb_readl() 86 * endian I/O). in brcm_usb_readl() 88 * Other architectures (e.g., ARM) either do not support big endian, or in brcm_usb_readl() 89 * else leave I/O in little endian mode. in brcm_usb_readl() 118 if (ini->ops->init_ipp) in brcm_usb_init_ipp() 119 ini->ops->init_ipp(ini); in brcm_usb_init_ipp() 124 if (ini->ops->init_common) in brcm_usb_init_common() 125 ini->ops->init_common(ini); in brcm_usb_init_common() [all …]
|
/linux/Documentation/devicetree/bindings/dma/ |
H A D | fsl-qdma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/fsl-qdma.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Frank Li <Frank.Li@nxp.com> 15 - const: fsl,ls1021a-qdma 16 - items: 17 - enum: 18 - fsl,ls1028a-qdma 19 - fsl,ls1043a-qdma [all …]
|