/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. 35 This option is not user-selectable but automagically handled by 36 'select' statements at a higher level. 77 DMA and suspend-resume, this is not a recommended option for 315 This option is not user-selectable but automagically handled by 316 '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> 43 #define pr_fmt(fmt) "Kernel/User page tables isolation: " fmt 51 * Define the page-table levels we clone for user-space on 32 117 return -EINVAL; in pti_parse_cmdline() 137 * Top-level entries added to init_mm's usermode pgd after boot in __pti_set_user_pgtbl() 144 * 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/Documentation/networking/ |
H A D | nfc.rst | 15 - NFC adapters management; 16 - Polling for targets; 17 - Low-level data exchange; 21 responsible for providing an interface to control operations and low-level 26 The low-level data exchange interface is provided by the new socket family 29 .. code-block:: none 31 +--------------------------------------+ 32 | USER SPACE | 33 +--------------------------------------+ 35 | low-level | control [all …]
|
/linux/drivers/acpi/acpica/ |
H A D | nswalk.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: nswalk - Functions for walking the ACPI namespace 6 * Copyright (C) 2000 - 2025, Intel Corp. 21 * PARAMETERS: parent_node - Parent node whose children we are 23 * child_node - Previous child that was found. 26 * RETURN: struct acpi_namespace_node - Pointer to the NEXT child or NULL if 45 return (parent_node->child); in acpi_ns_get_next_node() 50 return (child_node->peer); in acpi_ns_get_next_node() 57 * PARAMETERS: type - Type of node to be searched for 58 * parent_node - Parent node whose children we are [all …]
|
/linux/arch/parisc/kernel/ |
H A D | traps.c | 1 // SPDX-License-Identifier: GPL-2.0 56 #include "../math-emu/math-emu.h" /* for handle_fpe() */ 63 unsigned long mask = 1UL << (nbits - 1); in printbinary() 78 #define FFMT "%016llx" /* fpregs are 64-bit always */ 81 printk("%s%s%02d-%02d " fmt " " fmt " " fmt " " fmt "\n", \ 85 static void print_gr(const char *level, struct pt_regs *regs) in print_gr() argument 90 printk("%s\n", level); in print_gr() 91 printk("%s YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI\n", level); in print_gr() 92 printbinary(buf, regs->gr[0], 32); in print_gr() 93 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 37 * pte_alloc_one_kernel - allocate memory for a PTE-level kernel page table 50 * pte_free_kernel - free PTE-level kernel page table memory 60 * __pte_alloc_one - allocate memory for a PTE-level user page table 89 * pte_alloc_one - allocate a page for PTE-level user page table 109 * pte_free - free PTE-level user page table memory 125 * pmd_alloc_one - allocate memory for a PMD-level page table 130 * Allocations use %GFP_PGTABLE_USER in user context and 159 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/arm64/include/asm/ |
H A D | tlbflush.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 1999-2003 Russell King 69 * - 4KB : 1 70 * - 16KB : 2 71 * - 64KB : 3 92 * Level-based TLBI operations. 94 * When ARMv8.4-TTL exists, TLBI operations take an additional hint for 95 * the level at which the invalidation must take place. If the level is 96 * wrong, no invalidation may take place. In the case where the level 98 * a non-hinted invalidation. Any provided level outside the hint range [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/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 …]
|