/openbmc/linux/Documentation/devicetree/bindings/timer/ |
H A D | renesas,cmt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Geert Uytterhoeven <geert+renesas@glider.be> 11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 14 The CMT is a multi-channel 16/32/48-bit timer/counter with configurable clock 26 - items: 27 - enum: 28 - renesas,r8a7740-cmt0 # 32-bit CMT0 on R-Mobile A1 29 - renesas,r8a7740-cmt1 # 48-bit CMT1 on R-Mobile A1 [all …]
|
/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>") 18 # * bits: Returns the bit size of the target, either "32" or "64" 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 …]
|
/openbmc/linux/Documentation/arch/arm64/ |
H A D | asymmetric-32bit.rst | 2 Asymmetric 32-bit SoCs 7 This document describes the impact of asymmetric 32-bit SoCs on the 8 execution of 32-bit (``AArch32``) applications. 10 Date: 2021-05-17 16 of the CPUs are capable of executing 32-bit user applications. On such 19 ``execve(2)`` of 32-bit ELF binaries, with the latter returning 20 ``-ENOEXEC``. If the mismatch is detected during late onlining of a 21 64-bit-only CPU, then the onlining operation fails and the new CPU is 25 running legacy 32-bit binaries. Unsurprisingly, that doesn't work very 28 It seems inevitable that future SoCs will drop 32-bit support [all …]
|
/openbmc/linux/drivers/net/fddi/skfp/h/ |
H A D | skfbi.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 15 * FDDI-Fx (x := {I(SA), P(CI)}) 19 /*--------------------------------------------------------------------------*/ 40 #define B0_RAP 0x0000 /* 8 bit register address port */ 41 /* 0x0001 - 0x0003: reserved */ 42 #define B0_CTRL 0x0004 /* 8 bit control register */ 43 #define B0_DAS 0x0005 /* 8 Bit control register (DAS) */ 44 #define B0_LED 0x0006 /* 8 Bit LED register */ 45 #define B0_TST_CTRL 0x0007 /* 8 bit test control register */ 46 #define B0_ISRC 0x0008 /* 32 bit Interrupt source register */ [all …]
|
/openbmc/linux/include/linux/ |
H A D | math64.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 * div_u64_rem - unsigned 64bit divide with 32bit divisor with remainder 17 * @dividend: unsigned 64bit dividend 18 * @divisor: unsigned 32bit divisor 19 * @remainder: pointer to unsigned 32bit remainder 23 * This is commonly provided by 32bit archs to provide an optimized 64bit 33 * div_s64_rem - signed 64bit divide with 32bit divisor with remainder 34 * @dividend: signed 64bit dividend 35 * @divisor: signed 32bit divisor 36 * @remainder: pointer to signed 32bit remainder [all …]
|
H A D | exportfs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 33 * 32bit inode number, 32 bit generation number. 38 * 32bit inode number, 32 bit generation number, 39 * 32 bit parent directory inode number. 44 * 64 bit object ID, 64 bit root object ID, 45 * 32 bit generation number. 50 * 64 bit object ID, 64 bit root object ID, 51 * 32 bit generation number, 52 * 64 bit parent object ID, 32 bit parent generation. 57 * 64 bit object ID, 64 bit root object ID, [all …]
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | elf.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Derived from "include/asm-i386/elf.h" 13 #define R_390_8 1 /* Direct 8 bit. */ 14 #define R_390_12 2 /* Direct 12 bit. */ 15 #define R_390_16 3 /* Direct 16 bit. */ 16 #define R_390_32 4 /* Direct 32 bit. */ 17 #define R_390_PC32 5 /* PC relative 32 bit. */ 18 #define R_390_GOT12 6 /* 12 bit GOT offset. */ 19 #define R_390_GOT32 7 /* 32 bit GOT offset. */ 20 #define R_390_PLT32 8 /* 32 bit PC relative PLT address. */ [all …]
|
/openbmc/linux/drivers/usb/typec/tipd/ |
H A D | tps6598x.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 18 #define TPS_STATUS_PLUG_PRESENT BIT(0) 19 #define TPS_STATUS_PLUG_UPSIDE_DOWN BIT(4) 21 #define TPS_STATUS_PORTROLE BIT(5) 23 #define TPS_STATUS_DATAROLE BIT(6) 25 #define TPS_STATUS_VCONN BIT(7) 27 #define TPS_STATUS_OVERCURRENT BIT(16) 28 #define TPS_STATUS_GOTO_MIN_ACTIVE BIT(26) 29 #define TPS_STATUS_BIST BIT(27) 30 #define TPS_STATUS_HIGH_VOLAGE_WARNING BIT(28) [all …]
|
/openbmc/u-boot/arch/x86/include/asm/arch-broadwell/ |
H A D | rcb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #define ACPIIRQEN 0x31e0 /* 32bit */ 11 #define PMSYNC_CONFIG 0x33c4 /* 32bit */ 12 #define PMSYNC_CONFIG2 0x33cc /* 32bit */ 14 #define DEEP_S3_POL 0x3328 /* 32bit */ 17 #define DEEP_S5_POL 0x3330 /* 32bit */ 20 #define DEEP_SX_CONFIG 0x3334 /* 32bit */ 24 #define PMSYNC_CONFIG 0x33c4 /* 32bit */ 25 #define PMSYNC_CONFIG2 0x33cc /* 32bit */ 27 #define RC 0x3400 /* 32bit */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | mc13xxx.txt | 4 - compatible : Should be "fsl,mc13783" or "fsl,mc13892" 7 - fsl,mc13xxx-uses-adc : Indicate the ADC is being used 8 - fsl,mc13xxx-uses-codec : Indicate the Audio Codec is being used 9 - fsl,mc13xxx-uses-rtc : Indicate the RTC is being used 10 - fsl,mc13xxx-uses-touch : Indicate the touchscreen controller is being used 12 Sub-nodes: 13 - codec: Contain the Audio Codec node. 14 - adc-port: Contain PMIC SSI port number used for ADC. 15 - dac-port: Contain PMIC SSI port number used for DAC. 16 - leds : Contain the led nodes and initial register values in property [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | skge.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 131 /* B0_CTST 16 bit Control/Status register */ 133 CS_CLK_RUN_HOT = 1<<13,/* CLK_RUN hot m. (YUKON-Lite only) */ 134 CS_CLK_RUN_RST = 1<<12,/* CLK_RUN reset (YUKON-Lite only) */ 135 CS_CLK_RUN_ENA = 1<<11,/* CLK_RUN enable (YUKON-Lite only) */ 138 CS_BUS_SLOT_SZ = 1<<8, /* Slot Size 0/1 = 32/64 bit slot */ 142 CS_STOP_MAST = 1<<4, /* Command Bit to stop the master */ 148 /* B0_LED 8 Bit LED register */ 149 /* Bit 7.. 2: reserved */ 153 /* B0_POWER_CTRL 8 Bit Power Control reg (YUKON only) */ [all …]
|
H A D | sky2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 /* Yukon-2 */ 32 PCI_Y2_PIG_ENA = 1<<31, /* Enable Plug-in-Go (YUKON-2) */ 33 PCI_Y2_DLL_DIS = 1<<30, /* Disable PCI DLL (YUKON-2) */ 34 PCI_SW_PWR_ON_RST= 1<<30, /* SW Power on Reset (Yukon-EX) */ 35 PCI_Y2_PHY2_COMA = 1<<29, /* Set PHY 2 to Coma Mode (YUKON-2) */ 36 PCI_Y2_PHY1_COMA = 1<<28, /* Set PHY 1 to Coma Mode (YUKON-2) */ 37 PCI_Y2_PHY2_POWD = 1<<27, /* Set PHY 2 to Power Down (YUKON-2) */ 38 PCI_Y2_PHY1_POWD = 1<<26, /* Set PHY 1 to Power Down (YUKON-2) */ 41 PCI_PHY_LNK_TIM_MSK= 3L<<8,/* Bit 9.. 8: GPHY Link Trigger Timer */ [all …]
|
/openbmc/openbmc/poky/meta/conf/distro/include/ |
H A D | time64.inc | 2 # QB_OPT_APPEND:append = " -rtc base=2040-02-02" 5 # perl python3 dbus openssl glibc-tests openssh curl glib-2.0 tcl libmodule-build-perl 6 # and a subset of those occurs in qemux86-64 as well: 7 # curl python3 openssl openssl tcl python3-cryptography 13 # Only needed for some 32-bit architectures, some relatively newer 15 GLIBC_64BIT_TIME_FLAGS_WHEN_NEEDED = " -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64" 22 GLIBC_64BIT_TIME_FLAGS:pn-glibc = "" 23 GLIBC_64BIT_TIME_FLAGS:pn-glibc-y2038-tests = "" 24 GLIBC_64BIT_TIME_FLAGS:pn-glibc-testsuite = "" 25 # pipewire-v4l2 explicitly sets _FILE_OFFSET_BITS=32 to get access to [all …]
|
/openbmc/u-boot/arch/x86/include/asm/arch-ivybridge/ |
H A D | pch.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * Copyright (C) 2008-2009 coresystems GmbH 136 #define VCH 0x0000 /* 32bit */ 137 #define VCAP1 0x0004 /* 32bit */ 138 #define VCAP2 0x0008 /* 32bit */ 139 #define PVC 0x000c /* 16bit */ 140 #define PVS 0x000e /* 16bit */ 142 #define V0CAP 0x0010 /* 32bit */ 143 #define V0CTL 0x0014 /* 32bit */ 144 #define V0STS 0x001a /* 16bit */ [all …]
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | cn66xx_regs.h | 7 * Copyright (c) 2003-2016 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 89 /* 1 register (32-bit) to enable Input queues */ 92 /* 1 register (32-bit) to enable Output queues */ 95 /* 1 register (32-bit) to determine whether Output queues are in reset. */ 98 /* 1 register (32-bit) to determine whether Input queues are in reset. */ 103 /* 1 register (32-bit) - instr. size of each input queue. */ 106 /* 32 registers for Input Queue Instr Count - SLI_PKT_IN_DONE0_CNTS */ 109 /* 32 registers for Input Queue Start Addr - SLI_PKT0_INSTR_BADDR */ 112 /* 32 registers for Input Doorbell - SLI_PKT0_INSTR_BAOFF_DBELL */ [all …]
|
/openbmc/qemu/include/hw/nvram/ |
H A D | xlnx-efuse.h | 30 #include "sysemu/block-backend.h" 31 #include "hw/qdev-core.h" 33 #define TYPE_XLNX_EFUSE "xlnx-efuse" 55 * @data: an array of 32-bit words for which the CRC should be computed 56 * @u32_cnt: the array size in number of 32-bit words 57 * @zpads: the number of 32-bit zeros prepended to @data before computation 59 * This function is used to compute the CRC for an array of 32-bit words, 60 * using a Xilinx-specific data padding. 62 * Returns: the computed 32-bit CRC 70 * @bit: the efuse bit-address to read the data [all …]
|
/openbmc/linux/lib/ |
H A D | iomap_copy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * __iowrite32_copy - copy data to MMIO space, in 32-bit units 11 * @to: destination, in MMIO space (must be 32-bit aligned) 12 * @from: source (must be 32-bit aligned) 13 * @count: number of 32-bit quantities to copy 15 * Copy data from kernel space to MMIO space, in units of 32 bits at a 33 * __ioread32_copy - copy data from MMIO space, in 32-bit units 34 * @to: destination (must be 32-bit aligned) 35 * @from: source, in MMIO space (must be 32-bit aligned) 36 * @count: number of 32-bit quantities to copy [all …]
|
/openbmc/linux/drivers/staging/media/ipu3/ |
H A D | ipu3-abi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 #include "include/uapi/intel-ipu3.h" 15 #define IMGU_DVS_BLOCK_H 32 31 #define IMGU_ABI_AF_MAX_CELLS_PER_SET 32 32 #define IMGU_ABI_AWB_FR_MAX_CELLS_PER_SET 32 46 #define IMGU_PM_CTRL_START BIT(0) 47 #define IMGU_PM_CTRL_CFG_DONE BIT(1) 48 #define IMGU_PM_CTRL_RACE_TO_HALT BIT(2) 49 #define IMGU_PM_CTRL_NACK_ALL BIT(3) 50 #define IMGU_PM_CTRL_CSS_PWRDN BIT(4) [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | swab.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 71 __u32 h = val >> 32; in __fswab64() 72 __u32 l = val & ((1ULL << 32) - 1); in __fswab64() 73 return (((__u64)__fswab32(l)) << 32) | ((__u64)(__fswab32(h))); in __fswab64() 98 * __swab16 - return a byteswapped 16-bit value 111 * __swab32 - return a byteswapped 32-bit value 124 * __swab64 - return a byteswapped 64-bit value 140 #else /* __BITS_PER_LONG == 32 */ in __swab() 146 * __swahw32 - return a word-swapped 32-bit value 157 * __swahb32 - return a high and low byte-swapped 32-bit value [all …]
|
/openbmc/linux/fs/ext4/ |
H A D | inode-test.c | 1 // SPDX-License-Identifier: GPL-2.0 28 #define LOWER_MSB_1 (-(UPPER_MSB_0) - 1L) /* avoid overflow */ 33 #define UPPER_MSB_1 (-1L) 38 #define MAX_NANOSECONDS ((1L << 30) - 1) 43 "1901-12-13 Lower bound of 32bit < 0 timestamp, no extra bits" 45 "1969-12-31 Upper bound of 32bit < 0 timestamp, no extra bits" 47 "1970-01-01 Lower bound of 32bit >=0 timestamp, no extra bits" 49 "2038-01-19 Upper bound of 32bit >=0 timestamp, no extra bits" 51 "2038-01-19 Lower bound of 32bit <0 timestamp, lo extra sec bit on" 53 "2106-02-07 Upper bound of 32bit <0 timestamp, lo extra sec bit on" [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | highuid.rst | 2 Notes on the change from 16-bit UIDs to 32-bit UIDs 8 - kernel code MUST take into account __kernel_uid_t and __kernel_uid32_t 12 - kernel code should use uid_t and gid_t in kernel-private structures and 15 What's left to be done for 32-bit UIDs on all Linux architectures: 17 - Disk quotas have an interesting limitation that is not related to the 22 properly with huge UIDs. If it can deal with 64-bit file offsets on all 25 - Decide whether or not to keep backwards compatibility with the system 27 (currently, the old 16-bit UID and GID are still written to disk, and 28 part of the former pad space is used to store separate 32-bit UID and 31 - Need to validate that OS emulation calls the 16-bit UID [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | bitops.h | 9 * See the COPYING.LIB file in the top-level directory. 16 #include "host-utils.h" 24 #define BIT(nr) (1UL << (nr)) macro 28 (((~0ULL) >> (64 - (length))) << (shift)) 33 * We provide a set of functions which work on arbitrary-length arrays of 37 * - Bits stored in an array of 'unsigned long': set_bit(), clear_bit(), etc 38 * - Bits stored in an array of 'uint32_t': set_bit32(), clear_bit32(), etc 43 * be some guest-visible register view of the bit array. 56 * DOC: 'unsigned long' bit array APIs 63 * set_bit - Set a bit in memory [all …]
|
/openbmc/linux/Documentation/staging/ |
H A D | crc32.rst | 5 A CRC is a long-division remainder. You add the CRC to the message, 11 protocols put the end-of-frame flag after the CRC. 15 - We're working in binary, so the digits are only 0 and 1, and 16 - When dividing polynomials, there are no carries. Rather than add and 17 subtract, we just xor. Thus, we tend to get a bit sloppy about 21 To produce a 32-bit CRC, the divisor is actually a 33-bit CRC polynomial. 22 Since it's 33 bits long, bit 32 is always going to be set, so usually the 23 CRC is written in hex with the most significant bit omitted. (If you're 24 familiar with the IEEE 754 floating-point format, it's the same idea.) 28 the best error-detecting properties, this should correspond to the [all …]
|
/openbmc/u-boot/include/linux/ |
H A D | math64.h | 14 * div_u64_rem - unsigned 64bit divide with 32bit divisor with remainder 16 * This is commonly provided by 32bit archs to provide an optimized 64bit 26 * div_s64_rem - signed 64bit divide with 32bit divisor with remainder 35 * div64_u64_rem - unsigned 64bit divide with 64bit divisor and remainder 44 * div64_u64 - unsigned 64bit divide with 64bit divisor 52 * div64_s64 - signed 64bit divide with 64bit divisor 59 #elif BITS_PER_LONG == 32 91 * div_u64 - unsigned 64bit divide with 32bit divisor 93 * This is the most common 64bit divide and should be used if possible, 94 * as many 32bit archs can optimize this variant better than a full 64bit [all …]
|
/openbmc/u-boot/lib/ |
H A D | div64.c | 4 * Based on former do_div() implementation from asm-parisc/div64.h: 5 * Copyright (C) 1999 Hewlett-Packard Co 6 * Copyright (C) 1999 David Mosberger-Tang <davidm@hpl.hp.com> 9 * Generic C version of 64bit/32bit division and modulo, with 10 * 64bit result and 32bit remainder. 12 * The fast case for (n>>32 == 0) is handled inline by do_div(). 15 * for some CPUs. __div64_32() can be overridden by linking arch-specific 24 /* Not needed on 64bit architectures */ 25 #if BITS_PER_LONG == 32 33 uint32_t high = rem >> 32; in __div64_32() [all …]
|