Home
last modified time | relevance | path

Searched +full:little +full:- +full:endian (Results 1 – 25 of 1024) sorted by relevance

12345678910>>...41

/kernel/linux/linux-5.10/include/uapi/drm/
Ddrm_fourcc.h39 * further describe the buffer's format - for example tiling or compression.
42 * ----------------
56 * vendor-namespaced, and as such the relationship between a fourcc code and a
58 * may preserve meaning - such as number of planes - from the fourcc code,
72 #define DRM_FORMAT_BIG_ENDIAN (1U<<31) /* format is big endian instead of little endian */
84 #define DRM_FORMAT_R16 fourcc_code('R', '1', '6', ' ') /* [15:0] R little endian */
87 #define DRM_FORMAT_RG88 fourcc_code('R', 'G', '8', '8') /* [15:0] R:G 8:8 little endian */
88 #define DRM_FORMAT_GR88 fourcc_code('G', 'R', '8', '8') /* [15:0] G:R 8:8 little endian */
91 #define DRM_FORMAT_RG1616 fourcc_code('R', 'G', '3', '2') /* [31:0] R:G 16:16 little endian */
92 #define DRM_FORMAT_GR1616 fourcc_code('G', 'R', '3', '2') /* [31:0] G:R 16:16 little endian */
[all …]
/kernel/linux/linux-4.19/include/uapi/drm/
Ddrm_fourcc.h36 #define DRM_FORMAT_BIG_ENDIAN (1<<31) /* format is big endian instead of little endian */
45 #define DRM_FORMAT_R16 fourcc_code('R', '1', '6', ' ') /* [15:0] R little endian */
48 #define DRM_FORMAT_RG88 fourcc_code('R', 'G', '8', '8') /* [15:0] R:G 8:8 little endian */
49 #define DRM_FORMAT_GR88 fourcc_code('G', 'R', '8', '8') /* [15:0] G:R 8:8 little endian */
52 #define DRM_FORMAT_RG1616 fourcc_code('R', 'G', '3', '2') /* [31:0] R:G 16:16 little endian */
53 #define DRM_FORMAT_GR1616 fourcc_code('G', 'R', '3', '2') /* [31:0] G:R 16:16 little endian */
60 #define DRM_FORMAT_XRGB4444 fourcc_code('X', 'R', '1', '2') /* [15:0] x:R:G:B 4:4:4:4 little endian
61 #define DRM_FORMAT_XBGR4444 fourcc_code('X', 'B', '1', '2') /* [15:0] x:B:G:R 4:4:4:4 little endian
62 #define DRM_FORMAT_RGBX4444 fourcc_code('R', 'X', '1', '2') /* [15:0] R:G:B:x 4:4:4:4 little endian
63 #define DRM_FORMAT_BGRX4444 fourcc_code('B', 'X', '1', '2') /* [15:0] B:G:R:x 4:4:4:4 little endian
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/
Dcommon-properties.txt5 ----------
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-4.19/Documentation/devicetree/bindings/
Dcommon-properties.txt5 ----------
13 - big-endian: Boolean; force big endian register accesses
16 - little-endian: Boolean; force little endian register accesses
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 byteswaps
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
29 helper functions do assume that little-endian is the default, because
30 most existing (PCI-based) drivers implicitly default to LE by using
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/regmap/
Dregmap.txt5 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-5.10/Documentation/devicetree/bindings/regmap/
Dregmap.txt5 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-5.10/Documentation/devicetree/bindings/i2c/
Di2c-mux-reg.txt1 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.txt in this directory.
11 * I2C child bus nodes. See i2c-mux.txt 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 …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/i2c/
Di2c-mux-reg.txt1 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.txt in this directory.
11 * I2C child bus nodes. See i2c-mux.txt 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 …]
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
Dcpt_hw_types.h1 /* 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 …]
/kernel/linux/linux-4.19/drivers/crypto/cavium/cpt/
Dcpt_hw_types.h33 * stored in memory as little-endian unless CPT()_PF_Q()_CTL[INST_BE] is set.
45 * Address must be 16-byte aligned.
47 * sign-extended bit <48> for forward compatibility.
49 * grp:10 [171:162] If [WQ_PTR] is nonzero, the SSO guest-group to use when
51 * For the SSO to not discard the add-work request, FPA_PF_MAP() must map
59 * work-queue entry that CPT submits work to SSO after all context,
63 * use a sign-extended bit <48> for forward compatibility.
79 #if defined(__BIG_ENDIAN_BITFIELD) /* Word 0 - Big Endian */
83 #else /* Word 0 - Little Endian */
87 #endif /* Word 0 - End */
[all …]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Datbm8830_priv.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Support for AltoBeam GB20600 (a.k.a DMB-TH) demodulator
39 #define REG_CARRIER_OFFSET 0x0827 /* 0x0827-0x0829 little endian */
42 #define REG_IF_FREQ 0x0A00 /* 0x0A00-0x0A02 little endian */
43 #define REG_OSC_CLK 0x0A03 /* 0x0A03-0x0A05 little endian */
54 #define REG_AGC_TARGET 0x1003 /* 0x1003-0x1005 little endian */
58 #define REG_AGC_PWM_VAL 0x1028 /* 0x1028-0x1029 little endian */
/kernel/linux/linux-4.19/drivers/media/dvb-frontends/
Datbm8830_priv.h2 * Support for AltoBeam GB20600 (a.k.a DMB-TH) demodulator
48 #define REG_CARRIER_OFFSET 0x0827 /* 0x0827-0x0829 little endian */
51 #define REG_IF_FREQ 0x0A00 /* 0x0A00-0x0A02 little endian */
52 #define REG_OSC_CLK 0x0A03 /* 0x0A03-0x0A05 little endian */
63 #define REG_AGC_TARGET 0x1003 /* 0x1003-0x1005 little endian */
67 #define REG_AGC_PWM_VAL 0x1028 /* 0x1028-0x1029 little endian */
/kernel/linux/linux-5.10/fs/ntfs/
Dtime.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * time.h - NTFS time conversion functions. Part of the Linux-NTFS project.
5 * Copyright (c) 2001-2005 Anton Altaparmakov
14 #include "endian.h"
19 * utc2ntfs - convert Linux UTC time to NTFS time
23 * that in little endian format.
26 * and a long tv_nsec where tv_sec is the number of 1-second intervals since
27 * 1st January 1970, 00:00:00 UTC and tv_nsec is the number of 1-nano-second
31 * measured as the number of 100-nano-second intervals since 1st January 1601,
37 * Convert the seconds to 100ns intervals, add the nano-seconds in utc2ntfs()
[all …]
Dunistr.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * unistr.c - NTFS Unicode string handling. Part of the Linux-NTFS project.
5 * Copyright (c) 2001-2006 Anton Altaparmakov
18 * All these routines assume that the Unicode characters are in little endian
41 * ntfs_are_names_equal - compare two Unicode names for equality
66 * ntfs_collate_names - collate two Unicode names
76 * -1 if the first name collates before the second one,
106 return -1; in ntfs_collate_names()
111 return -1; in ntfs_collate_names()
122 * ntfs_ucsncmp - compare two little endian Unicode strings
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/
Dgpio-mpc8xxx.txt4 - compatible : Should be "fsl,<soc>-gpio"
8 - reg : Address and length of the register set for the device
9 - interrupts : Should be the port interrupt shared by all 32 pins.
10 - #gpio-cells : Should be two. The first cell is the pin number and
16 - little-endian : GPIO registers are used as little endian. If not
17 present registers are used as big endian by default.
19 Example of gpio-controller node for a mpc5125 SoC:
22 compatible = "fsl,mpc5125-gpio";
23 #gpio-cells = <2>;
28 Example of gpio-controller node for a ls2080a SoC:
[all …]
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/
Dotx_cpt_hw_types.h1 /* 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 …]
/kernel/linux/linux-4.19/Documentation/filesystems/
Dsysv-fs.txt2 - Xenix FS,
3 - SystemV/386 FS,
4 - Coherent FS.
10 mount [-r] -t sysv device mountpoint
12 -t sysv
13 -t xenix
14 -t coherent
18 - Coherent FS:
19 - The "free list interleave" n:m is currently ignored.
20 - Only file systems with no filesystem name and no pack name are recognized.
[all …]
/kernel/linux/linux-5.10/Documentation/riscv/
Dboot-image-header.rst2 Boot image header in RISC-V Linux
8 This document only describes the boot image header details for RISC-V Linux.
13 The following 64-byte header is present in decompressed Linux kernel image::
17 u64 text_offset; /* Image load offset, little endian */
18 u64 image_size; /* Effective Image size, little endian */
19 u64 flags; /* kernel flags, little endian */
23 u64 magic = 0x5643534952; /* Magic number, little endian, "RISCV" */
24 u32 magic2 = 0x05435352; /* Magic number 2, little endian, "RSC\x05" */
28 ARM64 header. Thus, both ARM64 & RISC-V header can be combined into one common
34 - This header can also be reused to support EFI stub for RISC-V in future. EFI
[all …]
/kernel/linux/linux-4.19/include/crypto/
Dgf128mul.h1 /* gf128mul.h - GF(2^128) multiplication functions
16 ---------------------------------------------------------------------------
43 ---------------------------------------------------------------------------
59 * http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-revised-spec.pdf
61 * The elements of GF(2^128) := GF(2)[X]/(X^128-X^7-X^2-X^1-1) can
73 * in every byte in little-endian order and the bytes themselves also in
74 * little endian order. I will call this lle (little-little-endian).
81 * bytes also. This is bbe (big-big-endian). Now the buffer above
86 * Both of the above formats are easy to implement on big-endian
90 * format (bits are stored in big endian order and the bytes in little
[all …]
/kernel/linux/linux-5.10/include/crypto/
Dgf128mul.h1 /* gf128mul.h - GF(2^128) multiplication functions
16 ---------------------------------------------------------------------------
43 ---------------------------------------------------------------------------
59 * http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-revised-spec.pdf
61 * The elements of GF(2^128) := GF(2)[X]/(X^128-X^7-X^2-X^1-1) can
73 * in every byte in little-endian order and the bytes themselves also in
74 * little endian order. I will call this lle (little-little-endian).
81 * bytes also. This is bbe (big-big-endian). Now the buffer above
86 * Both of the above formats are easy to implement on big-endian
90 * format (bits are stored in big endian order and the bytes in little
[all …]
/kernel/linux/linux-4.19/fs/ntfs/
Dtime.h2 * time.h - NTFS time conversion functions. Part of the Linux-NTFS project.
4 * Copyright (c) 2001-2005 Anton Altaparmakov
17 * along with this program (in the main directory of the Linux-NTFS
19 * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 #include "endian.h"
33 * utc2ntfs - convert Linux UTC time to NTFS time
37 * that in little endian format.
40 * and a long tv_nsec where tv_sec is the number of 1-second intervals since
41 * 1st January 1970, 00:00:00 UTC and tv_nsec is the number of 1-nano-second
45 * measured as the number of 100-nano-second intervals since 1st January 1601,
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/gpio/
Dgpio-mpc8xxx.txt4 - compatible : Should be "fsl,<soc>-gpio"
8 - reg : Address and length of the register set for the device
9 - interrupts : Should be the port interrupt shared by all 32 pins.
10 - #gpio-cells : Should be two. The first cell is the pin number and
16 - little-endian : GPIO registers are used as little endian. If not
17 present registers are used as big endian by default.
19 Example of gpio-controller node for a mpc5125 SoC:
22 compatible = "fsl,mpc5125-gpio";
23 #gpio-cells = <2>;
28 Example of gpio-controller node for a ls2080a SoC:
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
Dbasic_types.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
14 /* TODO: Macros Below are Sync from SD7-Driver. It is necessary
19 * Call endian free function when
25 /* Convert little data endian to host ordering */
41 (0xFFFFFFFF >> (32 - (__bitlen)))
43 (0xFFFF >> (16 - (__bitlen)))
45 (0xFF >> (8 - (__bitlen)))
60 * Return 4-byte value in host byte ordering from
61 * 4-byte pointer in little-endian system.
[all …]
/kernel/linux/linux-4.19/drivers/staging/rtl8188eu/include/
Dbasic_types.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
14 /* TODO: Macros Below are Sync from SD7-Driver. It is necessary
19 * Call endian free function when
25 /* Convert little data endian to host ordering */
41 (0xFFFFFFFF >> (32 - (__bitlen)))
43 (0xFFFF >> (16 - (__bitlen)))
45 (0xFF >> (8 - (__bitlen)))
60 * Return 4-byte value in host byte ordering from
61 * 4-byte pointer in little-endian system.
[all …]
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/
Dasi.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
37 /* SPARCstation-5: only 6 bits are decoded. */
69 /* Block-copy operations are available only on certain V8 cpus. */
79 /* Block-fill operations are available on certain V8 cpus */
83 * the available ASI's for physical ram pass-through, but I don't have
89 #define ASI_M_VMEUS 0x2A /* VME user 16-bit access */
90 #define ASI_M_VMEPS 0x2B /* VME priv 16-bit access */
91 #define ASI_M_VMEUT 0x2C /* VME user 32-bit access */
92 #define ASI_M_VMEPT 0x2D /* VME priv 32-bit access */
128 #define ASI_NL 0x0c /* Nucleus, little endian */
[all …]

12345678910>>...41