| /linux/Documentation/firmware-guide/acpi/ |
| H A D | video_extension.rst | 1 .. SPDX-License-Identifier: GPL-2.0 16 Export a sysfs interface for user space to control backlight level 26 Documentation/ABI/stable/sysfs-class-backlight. 32 get the brightness level the firmware thinks it is at; 36 on write, control method _BCM will run to set the requested brightness level; 70 as a "brightness level" indicator. Thus from the user space perspective 74 Notify user space about hotkey event 79 i) For some laptops, when user presses the hotkey, a scancode will be 80 generated and sent to user space through the input device created by 82 following key code will appear to user space:: [all …]
|
| /linux/security/selinux/ss/ |
| H A D | mls.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Implementation of the multi-level security (MLS) policy. 11 * Copyright (C) 2004-2006 Trusted Computer Solutions, Inc. 13 * Updated: Hewlett-Packard <paul@paul-moore.com> 15 * Copyright (C) Hewlett-Packard Development Company, L.P., 2006 39 if (!p->mls_enabled) in mls_compute_context_len() 44 u32 index_sens = context->range.level[l].sens; in mls_compute_context_len() 45 len += strlen(sym_name(p, SYM_LEVELS, index_sens - 1)); in mls_compute_context_len() 48 head = -2; in mls_compute_context_len() 49 prev = -2; in mls_compute_context_len() [all …]
|
| H A D | constraint.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * beyond the type-based rules in `te' or the role-based 8 * used to prevent a process from transitioning to a new user 11 * process from labeling an object with a different user 32 #define CEXPR_USER 1 /* user */ 37 #define CEXPR_L1L2 32 /* low level 1 vs. low level [all...] |
| /linux/sound/soc/tegra/ |
| H A D | tegra20_spdif.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * tegra20_spdif.h - Definitions for Tegra20 SPDIF driver 6 * Copyright (C) 2011 - NVIDIA, Inc. 9 * Copyright (c) 2008-2009, NVIDIA Corporation 54 /* Transmit user Data */ 75 /* Interrupt when RX user FIFO attention level i [all...] |
| /linux/include/uapi/linux/ |
| H A D | hyperv.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 17 * Place - Suite 330, Boston, MA 02111-1307 USA. 95 * driver accesses. However, FREEZE messages from Hyper-V contain 102 * auto-recovery, it should not receive such messages. 171 * Maximum value size - used for both key names and value data, and includes 182 * Note: This value is used in defining the KVP exchange message - this value 193 * Maximum key size - the registry limit for the length of an entry name 203 * implementing the host/guest protocol. 2) A user level daemon that is 228 * data gathering functionality in a user mode daemon. The user level daemon 230 * kernel and user-level daemon communicate using a connector channel. [all …]
|
| H A D | vbox_vmmdev_types.h | 1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR CDDL-1.0) */ 3 * Virtual Device for Guest <-> VMM/Host communication, type definitions 6 * Copyright (C) 2006-2016 Oracle Corporation 20 typedef char type ## _asrt_size[1 - 2*!!(sizeof(struct type) != (size))] 22 /** enum vmmdev_request_type - VMMDev request types. */ 98 /* Ensure the enum is a 32 bit data-type */ 110 /* Requestor user not given. */ 116 /* The root or a admin user is the requestor. */ 118 /* Regular joe user is making the request. */ 120 /* User classification mask. */ [all …]
|
| H A D | rxrpc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later WITH Linux-syscall-note */ 36 #define RXRPC_MIN_SECURITY_LEVEL 4 /* minimum security level */ 37 #define RXRPC_UPGRADEABLE_SERVICE 5 /* Upgrade service[0] -> service[1] */ 43 * - I [all...] |
| /linux/drivers/comedi/drivers/ni_routing/ |
| H A D | README | 13 1) The register values are _NOT_ in user documentation, but rather in 15 increasingly hard to find and the NI-MHDDK (comments in in example code). 21 name enums such that a user might know which enums should be used for 22 varying purposes, but the end-user had to gain a knowledge of register 25 3) The names for signals and registers found in the various register level 26 programming manuals and vendor-provided documentation are _not_ even 27 close to the same names that are in the end-user documentation. 32 NIDAQmx(-base) c-libraries, nor with register level programming, _nor_ 34 information is through the proprietary NI-MAX software, which currently only 36 cannot be exported from NI-MAX, except by screenshot. [all …]
|
| /linux/sound/soc/sof/intel/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 This option is not user-selectable but automagically handled by 16 'select' statements at a higher level. 23 This option is not user-selectable but automagically handled by 24 'select' statements at a higher level [all...] |
| /linux/arch/xtensa/kernel/ |
| H A D | vectors.S | 4 * This file contains all exception vectors (user, kernel, and double), 13 * Copyright (C) 2005 - 2008 Tensilica, Inc. 20 * We use a two-level table approach. The user and kernel exception vectors 21 * use a first-level dispatch table to dispatch the exception to a registered 23 * The default handler sets up a C-stack and dispatches the exception to a 24 * registerd C handler in the second-level dispatch table. 41 * Note: Neither the kernel nor the user exception handler generate literals. 50 #include <asm/asm-offsets.h> 60 * User exception vector. (Exceptions with PS.UM == 1, PS.EXCM == 0) 63 * We switch to the kernel stack and jump to the first level handler [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | ioport.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This contains the io-permission bitmap code - written by obz, with changes 24 /* Can be NULL when current->thread.iopl_emul == 3 */ in io_bitmap_share() 25 if (current->thread.io_bitmap) { in io_bitmap_share() 30 refcount_inc(¤t->thread.io_bitmap->refcnt); in io_bitmap_share() 31 tsk->thread.io_bitmap = current->thread.io_bitmap; in io_bitmap_share() 39 struct thread_struct *t = &tsk->thread; in task_update_io_bitmap() 41 if (t->iopl_emul == 3 || t->io_bitmap) { in task_update_io_bitmap() 42 /* TSS update is handled on exit to user space */ in task_update_io_bitmap() 55 struct io_bitmap *iobm = tsk->thread.io_bitmap; in io_bitmap_exit() [all …]
|
| /linux/arch/parisc/kernel/ |
| H A D | traps.c | 1 // SPDX-License-Identifier: GPL-2.0 57 #include "../math-emu/math-emu.h" /* for handle_fpe() */ 64 unsigned long mask = 1UL << (nbits - 1); in printbinary() 79 #define FFMT "%016llx" /* fpregs are 64-bit always */ 82 printk("%s%s%02d-%02d " fmt " " fmt " " fmt " " fmt "\n", \ 86 static void print_gr(const char *level, struct pt_regs *regs) in print_gr() argument 91 printk("%s\n", level); in print_gr() 92 printk("%s YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI\n", level); in print_gr() 93 printbinary(buf, regs->gr[0], 32); in print_gr() 94 printk("%sPSW: %s %s\n", level, buf, print_tainted()); in print_gr() [all …]
|
| /linux/drivers/scsi/ |
| H A D | scsi_logging.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * This defines the scsi logging feature. It is a means by which the user can 9 * really useful for fault tracing. The logging word is divided into 10 3-bit 13 * where these are specified. For a first go-around, 3 bits is more than 45 ((scsi_logging_level >> (SHIFT)) & ((1 << (BITS)) - 1)) 47 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) \ argument 49 if (unlikely((SCSI_LOG_LEVEL(SHIFT, BITS)) > (LEVEL))) \ 56 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) do { } while (0) argument 61 * log events. If logging isn't enabled, they are no-ops and will be 62 * completely absent from the user's code. [all …]
|
| /linux/Documentation/arch/x86/x86_64/ |
| H A D | fred.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 privilege level (ring transitions). The FRED architecture was 21 establishes the full user context. 33 The LKGS instruction can be used by 64-bit operating systems that do 46 framework must be implemented to facilitate the event-to-handler 48 once an event is delivered, and employs a two-level dispatch. 50 The first level dispatching is event type based, and the second level 53 Full supervisor/user context 56 FRED event delivery atomically save and restore full supervisor/user 86 event handling, and each stack level should be configured to use a [all …]
|
| /linux/Documentation/admin-guide/thermal/ |
| H A D | intel_powerclamp.rst | 6 - Arjan van de Ven <arjan@linux.intel.com> 7 - Jacob Pan <jacob.jun.pan@linux.intel.com> 12 - Goals and Objectives 15 - Idle Injection 16 - Calibration 19 - Effectiveness and Limitations 20 - Power vs Performance 21 - Scalability 22 - Calibration 23 - Comparison with Alternative Techniques [all …]
|
| /linux/drivers/scsi/megaraid/ |
| H A D | megaraid_ioctl.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Copyright (c) 2003-2004 LSI Logic Corporation. 10 * Definitions to interface with user level applications 26 #define CL_DLEVEL1 1 /* debug level 1, informative */ 27 #define CL_DLEVEL2 2 /* debug level 2, verbose */ 28 #define CL_DLEVEL3 3 /* debug level 3, very verbose */ 31 * con_log() - console log routine 32 * @level : indicates the severity of the message. 36 * debug level. Also it attaches the appropriate kernel severity level with 39 #define con_log(level, fmt) if (LSI_DBGLVL >= level) printk fmt; argument [all …]
|
| /linux/Documentation/process/ |
| H A D | threat-model.rst | 6 (:doc:`security-related ones <security-bugs>` vs :doc:`non-security ones 7 <../admin-guide/reporting-issues>`), and can complicate security enforcement 15 ----------------------------- 20 a level of confidentiality to their communications and to the data they are 26 of the Memory Management Unit (MMU), the isolation of DMA-capable peripherals 31 side-channels, hardware response to unexpected inputs), the kernel will usually 32 attempt to implement reasonable mitigations. These are best-effort measures 35 kernel-provided safety guarantee. 39 users benefit from available resources, or the level of confidentiality of 42 is performed via configuration (sysctl, file-system permissions etc). [all …]
|
| /linux/Documentation/driver-api/thermal/ |
| H A D | x86_pkg_temperature_thermal.rst | 7 * x86: with package level thermal management 14 --------- 16 Intel® 64 and IA-32 Architectures Software Developer’s Manual (Jan, 2013): 17 Chapter 14.6: PACKAGE LEVEL THERMAL MANAGEMENT 20 ----------- 22 This driver register CPU digital temperature package level sensor as a thermal 23 zone with maximum two user mode configurable trip points. Number of trip points 25 user mode can receive notification via thermal notification mechanism and can 30 -------------------- 39 - trip_point_0_temp [all …]
|
| /linux/Documentation/scsi/ |
| H A D | megaraid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 -------- 11 user applications in a similar way. They understand the same firmware control 14 interfaces with the applications on one side and all the low level drivers 19 i. Avoid duplicate code from the low level drivers. 20 ii. Unburden the low level drivers from having to export the 24 multiple low level drivers. 27 ioctl commands. But this module is envisioned to handle all user space level 32 ------- 41 - Jeff Garzik (jgarzik@pobox.com), 02.25.2004 LKML [all …]
|
| /linux/arch/arc/kernel/ |
| H A D | entry-compact.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Low Level Interrupts/Traps/Exceptions(non-TLB) Handling for ARCompact ISA 5 * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) 6 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 9 * -Userspace unaligned access emulation 11 * vineetg: Feb 2011 (ptrace low level code fixes) 12 * -traced syscall return code (r0) was not saved into pt_regs for restoring 13 * into user reg-file when traded task rets to user space. 14 * -syscalls needing arch-wrappers (mainly for passing sp as pt_regs) 15 * were not invoking post-syscall trace hook (jumping directly into [all …]
|
| /linux/Documentation/cdrom/ |
| H A D | cdrom-standard.rst | 2 A Linux CD-ROM standard 14 Linux is probably the Unix-like operating system that supports 18 - The large list of hardware devices available for the many platforms 19 that Linux now supports (i.e., i386-PCs, Sparc Suns, etc.) 20 - The open design of the operating system, such that anybody can write a 22 - There is plenty of source code around as examples of how to write a driver. 29 This divergence of behavior has been very significant for CD-ROM 32 their drivers totally inconsistent, the writers of Linux CD-ROM 35 maintain uniform behavior across all the Linux CD-ROM drivers. 38 all the different CD-ROM device drivers for Linux. This document also [all …]
|
| /linux/arch/mips/cavium-octeon/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 11 non-CN63XXP1 hardware, so it is recommended to select "n" 41 Lock the low level TLB fast path into L2. 48 Lock the low level exception handler into L2. 55 Lock the low level interrupt handler into L2. 58 bool "Lock the 2nd level interrupt handler in L2" 62 Lock the 2nd level interrupt handler in L2. 72 int "Memory to reserve for user processes shared region (MB)" 76 Reserve a shared memory region for user processes to use for hardware 90 will be called octeon-ilm
|
| /linux/Documentation/devicetree/bindings/gpio/ |
| H A D | sodaville.txt | 14 - <1st cell>: The interrupt-number that identifies the interrupt source. 15 - <2nd cell>: The level-sense information, encoded as follows: 16 4 - active high level-sensitive 17 8 - active low level-sensitive 19 Example of the GPIO device and one user: 23 #gpio-cells = <2>; 24 #interrupt-cells = <2>; 34 interrupt-controller; 35 gpio-controller; 41 /* User the 11th GPIO line as an active high triggered [all …]
|
| /linux/Documentation/userspace-api/ |
| H A D | iommufd.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 13 IOMMUFD is the user API to control the IOMMU subsystem as it relates to managing 20 I/O page tables for all IOMMUs, with room in the design to add non-generic 30 User Visible Objects 31 -------------------- 35 - IOMMUFD_OBJ_IOAS, representing an I/O address space (IOAS), allowing map/unmap 36 of user space memory into ranges of I/O Virtual Address (IOVA). 41 - IOMMUFD_OBJ_DEVICE, representing a device that is bound to iommufd by an 44 - IOMMUFD_OBJ_HWPT_PAGING, representing an actual hardware I/O page table 48 feature flag. This can be either an UNMANAGED stage-1 domain for a device [all …]
|
| /linux/arch/arm64/include/asm/ |
| H A D | tlbflush.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 1999-2003 Russell King 61 * - 4KB : 1 62 * - 16KB : 2 63 * - 64KB : 3 117 * Level-based TLBI operations. 119 * When ARMv8.4-TTL exists, TLBI operations take an additional hint for 120 * the level at which the invalidation must take place. If the level is 121 * wrong, no invalidation may take place. In the case where the level 123 * a non-hinted invalidation. Any provided level outside the hint range [all …]
|