/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | siteinfo.bbclass | 4 # SPDX-License-Identifier: MIT 13 # where 'target' == "<arch>-<os>" 16 # * target: Returns the target name ("<arch>-<os>") 17 # * endianness: Return "be" for big endian targets, "le" for little endian 26 …"allarch": "endian-little bit-32", # bogus, but better than special-casing the checks below for al… 27 "aarch64": "endian-little bit-64 arm-common arm-64", 28 "aarch64_be": "endian-big bit-64 arm-common arm-64", 29 "arc": "endian-little bit-32 arc-common", 30 "arceb": "endian-big bit-32 arc-common", 31 "arm": "endian-little bit-32 arm-common arm-32", [all …]
|
H A D | libc-package.bbclass | 4 # SPDX-License-Identifier: MIT 12 # "compile" - Use QEMU to generate the binary locale files 13 # "precompiled" - The binary locale files are pregenerated and already present 14 # "ondevice" - The device will build the locale files upon first boot through the postinst 24 if pn.endswith("-initial"): 32 use_cross_localedef = d.getVar("LOCALE_GENERATION_WITH_CROSS-LOCALEDEF") or "" 40 depends = "%s cross-localedef-native" % depends 42 depends = "%s qemu-native" % depends 48 # try to fix disable charsets/locales/locale-code compile fail 51 OVERRIDES:append = ":${TARGET_ARCH}-${TARGET_OS}" [all …]
|
/openbmc/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 …]
|
/openbmc/qemu/include/standard-headers/drm/ |
H A D | drm_fourcc.h | 38 * further describe the buffer's format - for example tiling or compression. 41 * ---------------- 55 * vendor-namespaced, and as such the relationship between a fourcc code and a 57 * may preserve meaning - such as number of planes - from the fourcc code, 63 * a modifier: a buffer may match a 64-pixel aligned modifier and a 32-pixel 75 * - Kernel and user-space drivers: for drivers it's important that modifiers 79 * - Higher-level programs interfacing with KMS/GBM/EGL/Vulkan/etc: these users 92 * ----------------------- 97 * upstream in-kernel or open source userspace user does not apply. 107 #define DRM_FORMAT_BIG_ENDIAN (1U<<31) /* format is big endian instead of little endian */ [all …]
|
/openbmc/linux/include/uapi/drm/ |
H A D | drm_fourcc.h | 39 * 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, 64 * a modifier: a buffer may match a 64-pixel aligned modifier and a 32-pixel 76 * - Kernel and user-space drivers: for drivers it's important that modifiers 80 * - Higher-level programs interfacing with KMS/GBM/EGL/Vulkan/etc: these users 93 * ----------------------- 98 * upstream in-kernel or open source userspace user does not apply. 108 #define DRM_FORMAT_BIG_ENDIAN (1U<<31) /* format is big endian instead of little endian */ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/ |
H A D | arm64-support.patch | 6 Signed-off-by: Khem Raj <raj.khem@gmail.com> 7 Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com> 9 Upstream-Status: Pending 10 --- 12 src/third_party/IntelRDFPMathLib20U1/SConscript | 2 +- 13 src/third_party/wiredtiger/SConscript | 2 +- 14 3 files changed, 3 insertions(+), 2 deletions(-) 16 diff --git a/SConstruct b/SConstruct 18 --- a/SConstruct 20 @@ -1228,6 +1228,7 @@ if endian == "auto": [all …]
|
/openbmc/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;
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/ |
H A D | 0002-FF-A-v15-lib-uuid-introduce-uuid_str_to_le_bin-funct.patch | 4 Subject: [PATCH] FF-A v15: lib: uuid: introduce uuid_str_to_le_bin function 6 convert UUID string to little endian binary data 8 Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> 9 Reviewed-by: Simon Glass <sjg@chromium.org> 13 Upstream-Status: Submitted [cover letter: https://lore.kernel.org/all/20230713132847.176000-1-abdel… 14 --- 19 diff --git a/include/uuid.h b/include/uuid.h 21 --- a/include/uuid.h 23 @@ -2,6 +2,10 @@ 27 + * Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com> [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | atbm8830_priv.h | 1 /* 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 */
|
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-httpd/nginx/files/ |
H A D | 0001-Allow-the-overriding-of-the-endianness-via-the-confi.patch | 3 Date: Fri, 1 Dec 2017 10:32:29 -0500 5 --with-endian 7 The existing configure options contain the --with-endian; however, the command 11 Upstream-Status: Pending 13 Signed-off-by: Derek Straka <derek@asterius.io> 15 diff --git a/auto/endianness b/auto/endianness 17 --- a/auto/endianness 19 @@ -13,7 +13,13 @@ checking for system byte ordering 23 -cat << END > $NGX_AUTOTEST.c 24 +if [ ".$NGX_WITH_ENDIAN" = ".little" ]; then [all …]
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_pcidev.h | 1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ 8 #include "standard-headers/linux/types.h" 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, [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A 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 …]
|
/openbmc/linux/Documentation/translations/zh_CN/riscv/ |
H A D | boot-image-header.rst | 1 .. include:: ../disclaimer-zh_CN.rst 3 :Original: Documentation/riscv/boot-image-header.rst 9 .. _cn_boot-image-header.rst: 12 RISC-V Linux启动镜像文件头 18 此文档仅描述RISC-V Linux 启动文件头的详情。 27 u64 text_offset; /* Image load offset, little endian */ 28 u64 image_size; /* Effective Image size, little endian */ 29 u64 flags; /* kernel flags, little endian */ 33 u64 magic = 0x5643534952; /* Magic number, little endian, "RISCV" */ 34 u32 magic2 = 0x05435352; /* Magic number 2, little endian, "RSC\x05" */ [all …]
|
/openbmc/linux/fs/ntfs/ |
H A D | time.h | 1 /* 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | gpio-mpc8xxx.txt | 4 - 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 …]
|
/openbmc/openbmc/poky/meta/lib/oe/package_manager/ |
H A D | __init__.py | 4 # SPDX-License-Identifier: GPL-2.0-only 28 … result = subprocess.check_output(index_cmd, stderr=subprocess.STDOUT, shell=True).decode("utf-8") 103 "arc": ["--uint32-align=4", "--little-endian"], 104 "arceb": ["--uint32-align=4", "--big-endian"], 105 "arm": ["--uint32-align=4", "--little-endian"], 106 "armeb": ["--uint32-align=4", "--big-endian"], 107 "aarch64": ["--uint32-align=4", "--little-endian"], 108 "aarch64_be": ["--uint32-align=4", "--big-endian"], 109 "sh4": ["--uint32-align=4", "--big-endian"], 110 "powerpc": ["--uint32-align=4", "--big-endian"], [all …]
|
/openbmc/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 …]
|
/openbmc/u-boot/arch/microblaze/cpu/ |
H A D | start.S | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 7 * Yasushi SHOJI <yashi@atmark-techno.com> 10 #include <asm-offsets.h> 18 * r10: Stores little/big endian offset for vectors 31 addi r1, r1, -4 /* Decrement SP to top of memory */ 34 addi r1, r0, CONFIG_SYS_INIT_SP_OFFSET - CONFIG_VAL(SYS_MALLOC_F_LEN) 39 addi r1, r1, -4 /* Decrement SP to top of memory */ 41 /* Find-out if u-boot is running on BIG/LITTLE endian platform 46 * 4a) LITTLE endian - r10 contains 0x2 because it is the smallest 48 * 4b) BIG endian - r10 contains 0x0 because 0x2 offset is on addr 0x3 [all …]
|
/openbmc/u-boot/board/qualcomm/dragonboard410c/ |
H A D | head.S | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * ARM64 header for proper chain-loading with Little Kernel. 5 * Little Kernel shipped with Dragonboard410C boots standard Linux images for 6 * ARM64. This file adds header that is required to boot U-Boot properly. 20 /* Image load offset from start of RAM, little-endian */ 21 .quad CONFIG_SYS_TEXT_BASE-PHYS_SDRAM_1 22 /* Effective size of kernel image, little-endian */ 23 .quad 0 /* 0x60000 - ignored */ 24 /* Informative flags, little-endian */
|
/openbmc/linux/Documentation/riscv/ |
H A D | boot-image-header.rst | 2 Boot image header in RISC-V Linux 8 This document only describes the boot image header details for RISC-V Linux. 10 The following 64-byte header is present in decompressed Linux kernel image:: 14 u64 text_offset; /* Image load offset, little endian */ 15 u64 image_size; /* Effective Image size, little endian */ 16 u64 flags; /* kernel flags, little endian */ 20 u64 magic = 0x5643534952; /* Magic number, little endian, "RISCV" */ 21 u32 magic2 = 0x05435352; /* Magic number 2, little endian, "RSC\x05" */ 25 ARM64 header. Thus, both ARM64 & RISC-V header can be combined into one common 31 - This header is also reused to support EFI stub for RISC-V. EFI specification [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-ls208xa.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for Freescale Layerscape-2080A family SoC. 6 * Copyright 2017-2020 NXP 12 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 13 #include <dt-bindings/thermal/thermal.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> 18 interrupt-parent = <&gic>; 19 #address-cells = <2>; 20 #size-cells = <2>; 32 #address-cells = <1>; [all …]
|
/openbmc/linux/include/crypto/ |
H A D | gf128mul.h | 1 /* 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 …]
|
/openbmc/u-boot/disk/ |
H A D | part_iso.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 31 unsigned int volsiz_LE; /* volume size Little Endian */ 32 unsigned int volsiz_BE; /* volume size Big Endian */ 42 …unsigned int firstsek_LEpathtab1_LE; /* location of first occurrence of little endian type path ta… 43 …unsigned int firstsek_LEpathtab2_LE; /* location of optional occurrence of little endian type path… 44 …unsigned int firstsek_BEpathtab1_BE; /* location of first occurrence of big endian type path table… 45 …unsigned int firstsek_BEpathtab2_BE; /* location of optional occurrence of big endian type path ta… 69 unsigned int volsiz_LE; /* volume size Little Endian */ 70 unsigned int volsiz_BE; /* volume size Big Endian */ 80 …unsigned int firstsek_LEpathtab1_LE; /* location of first occurrence of little endian type path ta… [all …]
|