/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 …]
|
/linux/drivers/staging/media/atomisp/include/linux/ |
H A D | atomisp_platform.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 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, 97 * the User Defined Data Type 4 and the MPEG data as the [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
H A D | isp_capture_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 /* --------------------------------------------------*/ 29 /* --------------------------------------------------*/ 31 /* --------------------------------------------------*/ 61 /* --------------------------------------------------*/ 63 /* --------------------------------------------------*/ 113 /* --------------------------------------------------*/ 115 /* --------------------------------------------------*/ 118 #define CAPT_TOKEN_WIDTH (CAPT_TOKEN_ID_MSB - CAPT_TOKEN_ID_LSB + 1) /* 4 … 156 #define CAPT_CMD_BITS (CAPT_TOKEN_ID_MSB - CAPT_TOKEN_ID_LSB + 1) [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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()
|
/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 …]
|
/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 …]
|
/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 …]
|
/linux/Documentation/arch/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) with size ``cpusetsize`` bytes. For value-like keys (eg. vendor, 25 have the same value. Otherwise -1 will be returned. For boolean-like keys, the [all …]
|
/linux/arch/arm/mm/ |
H A D | proc-macros.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #include <asm/asm-offsets.h> 17 * vma_vm_mm - get mm pointer from vma pointer (vma->vm_mm) 24 * vma_vm_flags - get vma->vm_flags 31 * act_mm - get current->active_mm 42 * mmid - get context id from mm pointer (mm->context.id) 43 * note, this field is 64bit, so in big-endian the two words are swapped too. 54 * mask_asid - mask the ASID from the context ID 71 * dcache_line_size - get the minimum D-cache line size from the CTR register 89 * icache_line_size - get the minimum I-cache line size from the CTR register [all …]
|
/linux/arch/xtensa/kernel/ |
H A D | entry.S | 2 * Low-level exception handling 8 * Copyright (C) 2004 - 2008 by Tensilica Inc. 17 #include <asm/asm-offsets.h> 22 #include <asm/asm-uaccess.h> 29 #include <variant/tie-asm.h> 34 * 100....0 -> 1 35 * 010....0 -> 2 36 * 000....1 -> WSBITS 42 nsau \bit, \mask # 32-WSBITS ... 31 (32 iff 0) 43 addi \bit, \bit, WSBITS - 32 + 1 # uppest bit set -> return 1 [all …]
|
/linux/Documentation/admin-guide/acpi/ |
H A D | ssdt-overlays.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 In order to support ACPI open-ended hardware configurations (e.g. development 19 user defined SSDT tables that contain the board specific information. 59 ASL Optimizing Compiler version 20140214-64 [Mar 29 2014] 60 Copyright (c) 2000 - 2014 Intel Corporation 62 ASL Input: minnomax.asl - 30 lines, 614 bytes, 7 keywords 63 AML Output: minnowmax.aml - 165 bytes, 6 named objects, 1 executable opcodes 73 This option allows loading of user defined SSDTs from initrd and it is useful 90 mkdir -p kernel/firmware/acpi 95 find kernel | cpio -H newc --create > /boot/instrumented_initrd [all …]
|
/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>
|
/linux/kernel/ |
H A D | sysctl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Added kernel/java-{interpreter,appletviewer}, 96/5/10, Mike Shaver. 11 * Added kswapd-interval, ctrl-alt-del, printk stuff, 1/8/97, Chris Horn. 85 const int sysctl_vals[] = { 0, 1, 2, 3, 4, 100, 200, 1000, 3000, INT_MAX, 65535, -1 }; 91 #if defined(CONFIG_SYSCTL) 106 * enum sysctl_writes_mode - supported sysctl write modes 125 SYSCTL_WRITES_LEGACY = -1, 133 #if defined(HAVE_ARCH_PICK_MMAP_LAYOUT) || \ 134 defined(CONFIG_ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT) 161 if (len > maxlen - 1) in _proc_do_string() [all …]
|
/linux/include/linux/ |
H A D | ptrace.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 /* Add sp to seccomp_data, as seccomp is user API, we don't want to modify it */ 26 * The owner ship rules for task->ptrace which holds the ptrace 27 * flags is simple. When a task is running it owns it's task->ptrace 28 * flags. When the a task is stopped the ptracer owns task->ptrace. 75 * ptrace_may_access - check whether the caller is permitted to access 92 return !same_thread_group(child->real_parent, child->parent); in ptrace_reparented() 97 if (unlikely(child->ptrace)) in ptrace_unlink() 107 * ptrace_parent - return the task that is tracing the given task 119 if (unlikely(task->ptrace)) in ptrace_parent() [all …]
|
/linux/arch/arm/kernel/ |
H A D | entry-common.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/arch/arm/kernel/entry-common.S 14 #include <asm/unistd-oabi.h> 19 #include "entry-header.S" 22 #if defined(CONFIG_TRACE_IRQFLAGS) || defined(CONFIG_CONTEXT_TRACKING_USER) 37 * have tracing, context tracking and rseq debug disabled - the overheads 45 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing 75 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing 81 /* Slower path - fall through to work_pending */ 92 movlt scno, #(__NR_restart_syscall - __NR_SYSCALL_BASE) [all …]
|
/linux/arch/x86/include/asm/ |
H A D | sgx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright(c) 2016-20 Intel Corporation. 14 * This file contains both data structures defined by SGX architecture and Linux 15 * defined software data structures and functions. The two should not be mixed 49 * SGX_ENCLS_FAULT_FLAG - flag signifying an ENCLS return code is a trapnr 57 * convert all faults to -EFAULT. 67 * enum sgx_return_code - The return code type for ENCLS, ENCLU and ENCLV 87 /* The modulus size for 3072-bit RSA keys. */ 91 * enum sgx_miscselect - additional information to an SSA frame 108 * enum sgx_attributes - the attributes field in &struct sgx_secs [all …]
|