/openbmc/linux/drivers/i3c/master/mipi-i3c-hci/ |
H A D | xfer_mode_rate.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 23 #define XFERMODE_IDX_I3C_HDR_DDR 0x01 /* I3C HDR-DDR Mode */ 24 #define XFERMODE_IDX_I3C_HDR_T 0x02 /* I3C HDR-Ternary Mode */ 25 #define XFERMODE_IDX_I3C_HDR_BT 0x03 /* I3C HDR-BT Mode */ 54 #define XFERRATE_I3C_SDR_USER6 0x06 /* User Defined */ 55 #define XFERRATE_I3C_SDR_USER7 0x07 /* User Defined */ 59 #define XFERRATE_I2C_USER2 0x02 /* User Defined */ 60 #define XFERRATE_I2C_USER3 0x03 /* User Defined */ 61 #define XFERRATE_I2C_USER4 0x04 /* User Defined */ 62 #define XFERRATE_I2C_USER5 0x05 /* User Defined */ [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/include/linux/ |
H A D | atomisp_platform.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 #include <asm/intel-family.h> 25 #include <media/v4l2-subdev.h> 71 /* CSI2-MIPI specific format: Generic short packet data. It is used to 84 /* CSI2-MIPI specific format: YUV data. 86 ATOMISP_INPUT_FORMAT_YUV420_8_SHIFT, /* YUV420 8-bit (Chroma Shifted 88 ATOMISP_INPUT_FORMAT_YUV420_10_SHIFT, /* YUV420 8-bit (Chroma Shifted 91 /* CSI2-MIPI specific format: Generic long packet data 93 ATOMISP_INPUT_FORMAT_EMBEDDED, /* Embedded 8-bit non Image Data */ 95 /* CSI2-MIPI specific format: User defined byte-based data. For example, [all …]
|
/openbmc/linux/Documentation/riscv/ |
H A D | hwprobe.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 RISC-V Hardware Probing Interface 4 --------------------------------- 6 The RISC-V hardware probing interface is based around a single syscall, which 7 is defined in <asm/hwprobe.h>:: 18 The arguments are split into three groups: an array of key-value pairs, a CPU 19 set, and some flags. The key-value pairs are supplied with a count. Userspace 22 will be cleared to -1, and its value set to 0. The CPU set is defined by 23 CPU_SET(3). For value-like keys (eg. vendor/arch/impl), the returned value will 24 be only be valid if all CPUs in the given set have the same value. Otherwise -1 [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | acct.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * BSD Process Accounting for Linux - Definitions 8 * BSD-style process accounting. The kernel accounting code and all 9 * user-level programs that try to do something useful with the 12 * Copyright (C) 1995 - 1997 Marco van Wieringen - ELM Consultancy B.V. 25 * comp_t is a 16-bit "floating" point number with a 3-bit base 8 26 * exponent and a 13-bit fraction. 27 * comp2_t is 24-bit with 5-bit base 2 exponent and 20 bit fraction 49 __u16 ac_uid16; /* LSB of Real User ID */ 54 comp_t ac_utime; /* User Time */ [all …]
|
/openbmc/linux/fs/afs/ |
H A D | afs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 #define AFS_NMAXNSERVERS 13 /* Maximum servers in a N/U-class volume record */ 31 AFSVL_ROVOL, /* read-only volume */ 54 afs_vnodeid_t vnode; /* Lower 64-bits of file index within volume */ 55 u32 vnode_hi; /* Upper 32-bits of file index */ 110 #define AFS_ACE_READ 0x00000001U /* - permission to read a file/dir */ 111 #define AFS_ACE_WRITE 0x00000002U /* - permission to write/chmod a file */ 112 #define AFS_ACE_INSERT 0x00000004U /* - permission to create dirent in a dir */ 113 #define AFS_ACE_LOOKUP 0x00000008U /* - permission to lookup a file/dir in a dir */ 114 #define AFS_ACE_DELETE 0x00000010U /* - permission to delete a dirent from a dir */ [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/shadow/files/ |
H A D | login.defs_shadow-sysroot | 1 # SPDX-License-Identifier: BSD-3-Clause OR Artistic-1.0 3 # /etc/login.defs - Configuration control definitions for the shadow package. 5 # $Id: login.defs 3038 2009-07-23 20:41:35Z nekral-guest $ 39 # ("mailx -e" or equivalent). 59 # Enable "syslog" logging of su activity - in addition to sulog file logging. 66 # If defined, either full pathname of a file containing device names or 74 # If defined, all su activity is logged to this file. 79 # If defined, ":" delimited list of "message of the day" files to 83 #MOTD_FILE /etc/motd:/usr/lib/news/news-motd 86 # If defined, this file will be output before each login prompt. [all …]
|
/openbmc/linux/arch/powerpc/include/asm/nohash/32/ |
H A D | mmu-44x.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #include <asm/asm-const.h> 36 #define PPC44x_TLB_U0 0x00008000 /* User 0 */ 37 #define PPC44x_TLB_U1 0x00004000 /* User 1 */ 38 #define PPC44x_TLB_U2 0x00002000 /* User 2 */ 39 #define PPC44x_TLB_U3 0x00001000 /* User 3 */ 40 #define PPC44x_TLB_W 0x00000800 /* Caching is write-through */ 47 #define PPC44x_TLB_UX 0x00000020 /* User execution */ 48 #define PPC44x_TLB_UW 0x00000010 /* User write */ 49 #define PPC44x_TLB_UR 0x00000008 /* User read */ [all …]
|
/openbmc/linux/security/keys/ |
H A D | user_defined.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* user_defined.c: user defined key type 13 #include <keys/user-type.h> 20 * user defined keys take an arbitrary string as the description and an 24 .name = "user", 57 * Preparse a user defined key payload 62 size_t datalen = prep->datalen; in user_preparse() 64 if (datalen <= 0 || datalen > 32767 || !prep->data) in user_preparse() 65 return -EINVAL; in user_preparse() 69 return -ENOMEM; in user_preparse() [all …]
|
/openbmc/linux/include/linux/sched/ |
H A D | user.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * Some day this will be a full-fledged user tracking system.. 26 #if defined(CONFIG_PERF_EVENTS) || defined(CONFIG_BPF_SYSCALL) || \ 27 defined(CONFIG_NET) || defined(CONFIG_IO_URING) || \ 28 defined(CONFIG_VFIO_PCI_ZDEV_KVM) || IS_ENABLED(CONFIG_IOMMUFD) 32 atomic_t nr_watches; /* The number of watches this user currently has */ 35 /* Miscellaneous per-user rate limit */ 47 /* per-UID process charging. */ 51 refcount_inc(&u->__count); in get_uid()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | css_receiver_2400_common_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8 24 /* 01 1000 YUV420 8-bit … 29 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_10 25 /* 01 1001 YUV420 10-bit … 30 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8L 26 /* 01 1010 YUV420 8-bit lega… 31 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_8 30 /* 01 1110 YUV422 8-bit … 32 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_10 31 /* 01 1111 YUV422 10-bit … 44 …EIVER_2400_DATA_FORMAT_ID_USR_DEF_1 48 /* 11 0000 JPEG [User Defined 8-bit Data Type … 45 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_USR_DEF_2 49 /* 11 0001 User Defined 8-b… 46 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_USR_DEF_3 50 /* 11 0010 User Defined 8-b… 47 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_USR_DEF_4 51 /* 11 0011 User Defined 8-b… [all …]
|
H A D | isp_acquisition_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 22 /* --------------------------------------------------*/ 26 /* --------------------------------------------------*/ 28 /* --------------------------------------------------*/ 32 /* --------------------------------------------------*/ 34 /* --------------------------------------------------*/ 88 /* --------------------------------------------------*/ 90 /* --------------------------------------------------*/ 93 #define ACQ_TOKEN_WIDTH (ACQ_TOKEN_ID_MSB - ACQ_TOKEN_ID_LSB + 1) // 4 133 /* --------------------------------------------------*/ [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/css_2401_system/hrt/ |
H A D | mipi_backend_common_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8 24 /* 01 1000 YUV420 8-bit … 29 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_10 25 /* 01 1001 YUV420 10-bit … 30 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8L 26 /* 01 1010 YUV420 8-bit lega… 31 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_8 30 /* 01 1110 YUV422 8-bit … 32 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_10 31 /* 01 1111 YUV422 10-bit … 44 …EIVER_2400_DATA_FORMAT_ID_USR_DEF_1 48 /* 11 0000 JPEG [User Defined 8-bit Data Type … 45 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_USR_DEF_2 49 /* 11 0001 User Defined 8-b… 46 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_USR_DEF_3 50 /* 11 0010 User Defined 8-b… 47 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_USR_DEF_4 51 /* 11 0011 User Defined 8-b… [all …]
|
/openbmc/linux/Documentation/kbuild/ |
H A D | kconfig-macro-language.rst | 6 ------- 21 $(CC) -o $(APP) $(SRC) 27 gcc -o foo foo.c 32 The idea is quite similar in Kconfig - it is possible to describe a Kconfig 38 def_bool $(shell, $(srctree)/scripts/gcc-check-foo.sh $(CC)) 46 Then, Kconfig moves onto the evaluation stage to resolve inter-symbol 47 dependency as explained in kconfig-language.rst. 51 --------- 56 $( ). The parentheses are required even for single-letter variable names; $X is 62 A simply expanded variable is defined using the := assignment operator. Its [all …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | stackframe.h | 19 #include <asm/asm-offsets.h> 45 #if defined(CONFIG_CPU_R3000) 66 #elif !defined(CONFIG_CPU_MIPSR6) 76 #if !defined(CONFIG_CPU_HAS_SMARTMIPS) && !defined(CONFIG_CPU_MIPSR6) 84 #if !defined(CONFIG_CPU_HAS_SMARTMIPS) && !defined(CONFIG_CPU_MIPSR6) 120 #if defined(CONFIG_32BIT) || defined(KBUILD_64BIT_SYM32) 153 * stack) to workaround the Out-of-order Issue in Loongson2F 169 #if defined(CONFIG_32BIT) || defined(KBUILD_64BIT_SYM32) 213 * to user addresses if the RPS mispredicts. That's harmless 214 * when user and kernel share the same address space, but with [all …]
|
/openbmc/u-boot/arch/arm/mach-orion5x/include/mach/ |
H A D | cpu.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 8 * Written-by: Prafulla Wadaskar <prafulla@marvell.com> 63 * All addresses and sizes not defined by board code 67 #if !defined (ORION5X_ADR_PCIE_MEM) 71 #if !defined (ORION5X_ADR_PCIE_MEM_REMAP_LO) 75 #if !defined (ORION5X_ADR_PCIE_MEM_REMAP_HI) 79 #if !defined (ORION5X_SZ_PCIE_MEM) 83 #if !defined (ORION5X_ADR_PCIE_IO) 87 #if !defined (ORION5X_ADR_PCIE_IO_REMAP_LO) 91 #if !defined (ORION5X_ADR_PCIE_IO_REMAP_HI) [all …]
|
/openbmc/linux/sound/core/ |
H A D | memory.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 * copy_to_user_fromio - copy data from mmio-space to user-space 16 * @dst: the destination pointer on user-space 20 * Copies the data from mmio-space to user-space. 22 * Return: Zero if successful, or non-zero on failure. 29 return -EFAULT; in copy_to_user_fromio() 35 * copy_to_iter_fromio - copy data from mmio-space to iov_iter 40 * Copies the data from mmio-space to iov_iter. 42 * Return: Zero if successful, or non-zero on failure. 47 #if defined(__i386__) || defined(CONFIG_SPARC32) in copy_to_iter_fromio() [all …]
|
/openbmc/linux/Documentation/driver-api/surface_aggregator/clients/ |
H A D | dtx.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 10 User-Space DTX (Clipboard Detachment System) Interface 14 and re-attachment handling. To this end, it provides the ``/dev/surface/dtx`` 15 device file, through which it can interface with a user-space daemon. This 18 unloading/reloading the graphics-driver, user-notifications, etc. 24 change. Commands are always driver-initiated, whereas events are always 56 ------------ 60 the *open* state, the clipboard can be removed by a user. 65 being hot-unplugged while in use. More details can be found in the 70 -------------------- [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | CertificateService.v1_0_6.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 34 "description": "The available OEM-specific actions for this resource.", 35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 45 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 60 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 63 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 66 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 69 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | CertificateService.v1_0_6.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 34 "description": "The available OEM-specific actions for this resource.", 35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 45 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 60 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 63 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 66 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 69 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" [all …]
|
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm1/trousers/files/ |
H A D | get-user-ps-path-use-POSIX-getpwent-instead-of-getpwe.patch | 5 Upstream-Status: Submitted 7 Signed-off-by: Armin Kuster <akuster@mvista.com> 11 --- git.orig/src/tspi/ps/tspps.c 13 @@ -66,9 +66,6 @@ get_user_ps_path(char **file) 17 -#if (defined (__linux) || defined (linux) || defined(__GLIBC__)) 18 - struct passwd pw; 19 -#endif 23 @@ -96,24 +93,15 @@ get_user_ps_path(char **file) 27 -#if (defined (__linux) || defined (linux) || defined(__GLIBC__)) 28 - rc = getpwent_r(&pw, buf, PASSWD_BUFSIZE, &pwp); [all …]
|
/openbmc/docs/designs/ |
H A D | target-fail-monitoring.md | 14 [openbmc-systemd.md][1] has a good summary of systemd and the basics of how it 22 cases, the unit which caused the failure will log an error to phosphor-logging 24 ...), there will be no indication to the end user that something failed. It is 25 critical that if a systemd target fails within OpenBMC, the user be notified. 29 critical, but something like fan-control or a power monitoring service, could be 30 very critical. At a minimum, need to ensure the user of the system is informed 37 See the [phosphor-state-manager][2] repository for background information on 48 phosphor-state-manager code already monitors for these signals but only looks 53 an appropriate error to phosphor-logging. 56 systemd defined retries have been executed. For OpenBMC systems, that involves 2 [all …]
|
/openbmc/qemu/bsd-user/ |
H A D | syscall_defs.h | 4 * Copyright (c) 2013-15 Stacey D. Son (sson at FreeBSD) 38 * time_t seems to be very inconsistly defined for the different *BSD's... 43 * On NetBSD time_t is always defined as an int64_t. On OpenBSD time_t 44 * is always defined as an int. 47 #if (!defined(TARGET_I386)) 62 uint32_t cuid; /* creator user id */ 64 uint32_t uid; /* user id */ 68 abi_long key; /* user specified msg/sem/shm key */ 146 #if !defined(TARGET_I386) && TARGET_ABI_BITS == 32 164 #if !defined(TARGET_I386) && TARGET_ABI_BITS == 32 [all …]
|
/openbmc/linux/Documentation/virt/kvm/devices/ |
H A D | vm.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 struct kvm_device_attr as other devices, but targets VM-wide settings 21 ------------------------------------------- 24 :Returns: -EBUSY if a vcpu is already defined, otherwise 0 29 ---------------------------------------- 32 :Returns: -EINVAL if CMMA was not enabled; 39 ----------------------------------------- 41 :Parameters: in attr->addr the address for the new limit of guest memory 42 :Returns: -EFAULT if the given address is not accessible; 43 -EINVAL if the virtual machine is of type UCONTROL; [all …]
|
/openbmc/linux/arch/powerpc/include/uapi/asm/ |
H A D | types.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 5 * application is Linux specific so (user-) name space pollution is 19 * and we don't want to impact user mode with our change to ll64 22 * However, some user programs are fine with this. They can 23 * flag __SANE_USERSPACE_TYPES__ to get int-ll64.h here. 25 #if !defined(__SANE_USERSPACE_TYPES__) && defined(__powerpc64__) && !defined(__KERNEL__) 26 # include <asm-generic/int-l64.h> 28 # include <asm-generic/int-ll64.h>
|
/openbmc/linux/Documentation/kernel-hacking/ |
H A D | hacking.rst | 20 this document, being grossly under-qualified, but I always wanted to 30 - not associated with any process, serving a hardware interrupt; 32 - not associated with any process, serving a softirq or tasklet; 34 - running in kernel space, associated with a process (user context); 36 - running a process in user space. 44 We'll see a number of ways that the user context can block interrupts, 45 to become truly non-preemptable. 47 User Context 48 ------------ 50 User context is when you are coming in from a system call or other trap: [all …]
|