| /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/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 is reached */ 78 /* Interrupt when TX user FIFO attention level is reached */ 81 /* Interrupt when RX data FIFO attention level is reached */ 84 /* Interrupt when TX data FIFO attention level is reached */ 152 * TX User data FIFO busy. [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/Documentation/admin-guide/ |
| H A D | thunderbolt.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 some differences at the register level among other things. Connection 18 software connection manager in Linux also advertises security level 19 ``user`` which means PCIe tunneling is disabled by default. The 21 the software connection manager only supports ``user`` security level and 25 ----------------------------------- 27 should be a userspace tool that handles all the low-level details, keeps 31 found in Documentation/ABI/testing/sysfs-bus-thunderbolt. 35 ``/etc/udev/rules.d/99-local.rules``:: 44 security levels available. Intel Titan Ridge added one more security level [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/x86/mm/ |
| H A D | pti.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * Signed-off-by: Richard Fellner <richard.fellner@student.tugraz.at> 13 * Signed-off-by: Moritz Lipp <moritz.lipp@iaik.tugraz.at> 14 * Signed-off-by: Daniel Gruss <daniel.gruss@iaik.tugraz.at> 15 * Signed-off-by: Michael Schwarz <michael.schwarz@iaik.tugraz.at> 44 #define pr_fmt(fmt) "Kernel/User page tables isolation: " fmt 52 * Define the page-table levels we clone for user-space on 32 119 return -EINVAL; in pti_parse_cmdline() 139 * Top-level entries added to init_mm's usermode pgd after boot in __pti_set_user_pgtbl() 146 * The user page tables get the full PGD, accessible from in __pti_set_user_pgtbl() [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/security/selinux/ss/ |
| 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 2 */ 38 #define CEXPR_L1H2 64 /* low level 1 vs. high level 2 */ 39 #define CEXPR_H1L2 128 /* high level 1 vs. low level 2 */ 40 #define CEXPR_H1H2 256 /* high level 1 vs. high level 2 */ 41 #define CEXPR_L1H1 512 /* low level 1 vs. high level 1 */ [all …]
|
| /linux/Documentation/admin-guide/pm/ |
| H A D | intel_uncore_frequency_scaling.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 :Copyright: |copy| 2022-2023 Intel Corporation 13 ------------ 30 --------------- 45 This is a read-only attribute. If users adjust max_freq_khz, 50 This is a read-only attribute. If users adjust min_freq_khz, 63 ----------------------------------------------------------------- 72 The current sysfs interface supports controls at package and die level. 74 fabric cluster level. 80 To represent controls at fabric cluster level in addition to the [all …]
|
| H A D | intel-speed-select.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Intel(R) Speed Select Technology User Guide 14 - https://www.intel.com/content/www/us/en/architecture-and-technology/speed-select-technology-artic… 15 - https://builders.intel.com/docs/networkbuilders/intel-speed-select-technology-base-frequency-enha… 19 dynamically without pre-configuring via BIOS setup options. This dynamic 29 intel-speed-select configuration tool 32 Most Linux distribution packages may include the "intel-speed-select" tool. If not, 38 # cd tools/power/x86/intel-speed-select/ 43 ------------ 47 # intel-speed-select --help [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/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/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/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/include/asm-generic/ |
| H A D | pgalloc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * __pte_alloc_one_kernel - allocate memory for a PTE-level kernel page table 38 * pte_alloc_one_kernel - allocate memory for a PTE-level kernel page table 51 * pte_free_kernel - free PTE-level kernel page table memory 61 * __pte_alloc_one - allocate memory for a PTE-level user page table 90 * pte_alloc_one - allocate a page for PTE-level user page table 110 * pte_free - free PTE-level user page table memory 126 * pmd_alloc_one - allocate memory for a PMD-level page table 131 * Allocations use %GFP_PGTABLE_USER in user context and 164 BUG_ON((unsigned long)pmd & (PAGE_SIZE-1)); in pmd_free() [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/arch/powerpc/include/asm/nohash/32/ |
| H A D | mmu-8xx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * During software tablewalk, the registers used perform mask/shift-add 33 * respectively NA for All or X for Supervisor and no access for User. 37 * "all User" rules, that will lead to NA for all. 39 * 0 => Kernel => 11 (all accesses performed according as user iaw page definition) 41 * 2 => User => 11 (all accesses performed according as user iaw page definition) 42 * 3 => User+Accessed => 10 (all accesses performed according to swaped page definition) for KUEP 43 * 4-15 => Not Used 57 /* A "level 1" or "segment" or whatever you want to call it register. 120 /* The pointer to the base address of the first level page table. [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/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/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/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 …]
|