/linux/Documentation/userspace-api/media/v4l/ |
H A D | colorspaces.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 92 specific chromaticity primaries are linear colorspaces. But neither the 93 eye, nor display technology is linear. Doubling the values of all 94 components in the linear colorspace will not be perceived as twice the 96 function that takes a linear color component value and transforms it to 97 the non-linear component value, which is a closer match to the 98 non-linear performance of both the eye and displays. Linear component 99 values are denoted RGB, non-linear are denoted as R'G'B'. In general 101 linear RGB. Special care should be taken when dealing with openGL to 102 provide linear RGB colors or to use the built-in openGL support to apply [all …]
|
/linux/drivers/hid/ |
H A D | hid-bigbenff.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * "Kid-friendly Wired Controller" PS3OFMINIPAD SONY 19 #include "hid-ids.h" 37 * 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position) 39 * 0x81, 0x01, // Input (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position) 47 * 0x81, 0x42, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,Null State) 50 * 0x81, 0x01, // Input (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position) 59 * 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position) 74 * 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position) 77 …0xB1, 0x02, // Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-… [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-backlight | 9 hence linear changes in brightness are perceived as being 10 non-linear. To achieve a linear perception of brightness changes 12 backlights with a linear brightness curve. 19 linear 21 controls should apply a logarithmic mapping for a linear 24 non-linear 25 The brightness changes non-linearly with each step. Brightness 26 controls should use a linear mapping for a linear perception. 38 The value range is device-driver specific: 47 It returns a 13-bits integer. [all …]
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_color.c | 38 * - Input gamma LUT (de-normalized) 39 * - Input CSC (normalized) 40 * - Surface degamma LUT (normalized) 41 * - Surface CSC (normalized) 42 * - Surface regamma LUT (normalized) 43 * - Output CSC (normalized) 49 * Plane CTM -> Plane degamma -> Plane CTM -> Plane regamma -> Plane CTM 59 * support any CRTC props with correct blending with multiple planes - but we 64 * respective property is set to NULL. A linear DGM/RGM LUT should also 70 * Plane DGM Bypass -> Plane CTM Bypass -> Plane RGM Bypass -> ... [all …]
|
/linux/Documentation/admin-guide/hw-vuln/ |
H A D | multihit.rst | 13 ------------------- 18 - non-Intel processors 20 - Some Atoms (Airmont, Bonnell, Goldmont, GoldmontPlus, Saltwell, Silvermont) 22 - Intel processors that have the PSCHANGE_MC_NO bit set in the 27 ------------ 32 CVE-2018-12207 Machine Check Error Avoidance on Page Size Change 37 ------- 50 Under this errata, instructions are fetched from a linear address translated 52 paging structure so that the same linear address using large page size (2 MB, 4 55 the linear address, a code fetch that happens on the same linear address may [all …]
|
/linux/drivers/sh/intc/ |
H A D | irqdomain.c | 18 * intc_irq_domain_evt_xlate() - Generic xlate for vectored IRQs. 32 return -EINVAL; in intc_evt_xlate() 50 * Quick linear revmap check in intc_irq_domain_init() 52 irq_base = evt2irq(hw->vectors[0].vect); in intc_irq_domain_init() 53 irq_end = evt2irq(hw->vectors[hw->nr_vectors - 1].vect); in intc_irq_domain_init() 56 * Linear domains have a hard-wired assertion that IRQs start at in intc_irq_domain_init() 58 * restrict the linear case to these conditions here, taking the in intc_irq_domain_init() 59 * tree penalty for linear cases with non-zero hwirq bases. in intc_irq_domain_init() 61 if (irq_base == 0 && irq_end == (irq_base + hw->nr_vectors - 1)) in intc_irq_domain_init() 62 d->domain = irq_domain_create_linear(NULL, hw->nr_vectors, &intc_evt_ops, NULL); in intc_irq_domain_init() [all …]
|
/linux/Documentation/trace/rv/ |
H A D | linear_temporal_logic.rst | 1 Linear temporal logic 5 ------------ 16 and error-prone. 18 Thus, RV monitors based on linear temporal logic (LTL) are introduced. This type 24 Christel Baier and Joost-Pieter Katoen: Principles of Model Checking, The MIT 28 ------- 32 may not be well-versed in LTL. 38 true, false, user-defined names consisting of upper-case characters, digits, 57 Example linear temporal logic 58 ----------------------------- [all …]
|
H A D | monitor_synthesis.rst | 16 of the monitor (per-cpu monitor, per-task monitor, and so on), the helper 21 Linux +----- RV Monitor ----------------------------------+ Formal 23 +-------------------+ +----------------+ +-----------------+ 25 | Tracing | -> | Instance(s) | <- | Model | 27 +-------------------+ +----------------+ +-----------------+ 30 | +----------+ | 32 | +--+--+--+-+ | 34 | | | +-> trace output ? | 35 +------------------------|--|----------------------+ 36 | +----> panic ? [all …]
|
/linux/Documentation/bpf/ |
H A D | redirect.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 10 -------------- 14 - ``BPF_MAP_TYPE_DEVMAP`` 15 - ``BPF_MAP_TYPE_DEVMAP_HASH`` 16 - ``BPF_MAP_TYPE_CPUMAP`` 17 - ``BPF_MAP_TYPE_XSKMAP`` 22 ------- 24 .. kernel-doc:: net/core/filter.c 29 those that do, not all of them support non-linear frames. Non-linear xdp 33 ---------------------- [all …]
|
/linux/sound/core/ |
H A D | pcm_misc.c | 2 * PCM Interface - misc routines 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 29 #define SND_PCM_FORMAT_UNKNOWN (-1) 37 signed char le; /* 0 = big-endian, 1 = little-endian, -1 = others */ 38 signed char signd; /* 0 = unsigned, 1 = signed, -1 = others */ 52 .width = 8, .phys = 8, .le = -1, .signd = 1, 56 .width = 8, .phys = 8, .le = -1, .signd = 0, 108 .width = 32, .phys = 32, .le = 1, .signd = -1, 112 .width = 32, .phys = 32, .le = 0, .signd = -1, 116 .width = 64, .phys = 64, .le = 1, .signd = -1, [all …]
|
/linux/arch/riscv/mm/ |
H A D | physaddr.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Boundary checking aginst the kernel linear mapping space. in __virt_to_phys() 15 "virt_to_phys used for non-linear address: %p (%pS)\n", in __virt_to_phys() 41 return ((unsigned long)(x) - kernel_map.va_pa_offset); in linear_mapping_va_to_pa()
|
/linux/Documentation/core-api/irq/ |
H A D | irq-domain.rst | 9 that each one gets assigned non-overlapping allocations of Linux 24 For this reason, we need a mechanism to separate controller-local 29 the controller-local IRQ (hwirq) number into the Linux IRQ number 38 irq_fwspec to hwirq numbers (Device Tree, non-DT firmware node, ACPI 79 - irq_resolve_mapping() returns a pointer to the irq_desc structure 82 - irq_find_mapping() returns a Linux IRQ number for a given domain and 84 - generic_handle_domain_irq() handles an interrupt described by a 88 compatible with a RCU read-side critical section. 107 Linear section in Types of irq_domain Mappings 108 ------ [all …]
|
/linux/tools/include/uapi/linux/ |
H A D | netdev.h | 1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ 2 /* Do not edit directly, auto-generated from: */ 4 /* YNL-GEN uapi header */ 23 * @NETDEV_XDP_ACT_RX_SG: This feature informs if netdev implements non-linear 26 * non-linear XDP buffer support in ndo_xdp_xmit callback. 94 NETDEV_A_DEV_MAX = (__NETDEV_A_DEV_MAX - 1) 99 NETDEV_A_IO_URING_PROVIDER_INFO_MAX = (__NETDEV_A_IO_URING_PROVIDER_INFO_MAX - 1) 113 NETDEV_A_PAGE_POOL_MAX = (__NETDEV_A_PAGE_POOL_MAX - 1) 131 NETDEV_A_PAGE_POOL_STATS_MAX = (__NETDEV_A_PAGE_POOL_STATS_MAX - 1) 145 NETDEV_A_NAPI_MAX = (__NETDEV_A_NAPI_MAX - 1) [all …]
|
/linux/include/uapi/linux/ |
H A D | netdev.h | 1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ 2 /* Do not edit directly, auto-generated from: */ 4 /* YNL-GEN uapi header */ 23 * @NETDEV_XDP_ACT_RX_SG: This feature informs if netdev implements non-linear 26 * non-linear XDP buffer support in ndo_xdp_xmit callback. 94 NETDEV_A_DEV_MAX = (__NETDEV_A_DEV_MAX - 1) 99 NETDEV_A_IO_URING_PROVIDER_INFO_MAX = (__NETDEV_A_IO_URING_PROVIDER_INFO_MAX - 1) 113 NETDEV_A_PAGE_POOL_MAX = (__NETDEV_A_PAGE_POOL_MAX - 1) 131 NETDEV_A_PAGE_POOL_STATS_MAX = (__NETDEV_A_PAGE_POOL_STATS_MAX - 1) 145 NETDEV_A_NAPI_MAX = (__NETDEV_A_NAPI_MAX - 1) [all …]
|
/linux/include/uapi/drm/ |
H A D | drm_fourcc.h | 39 * further describe the buffer's format - for example tiling or compression. 42 * --------- [all...] |
/linux/Documentation/filesystems/ext4/ |
H A D | directory.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ----------------- 9 that reference the same inode number--these are known as hard links, and 15 Linear (Classic) Directories 18 By default, each directory lists its entries in an “almost-linear” 19 array. I write “almost” because it's not a linear array in the memory 22 data blocks and that each block contains a linear array of directory 23 entries. The end of each per-block array is signified by reaching the 36 .. list-table:: 38 :header-rows: 1 [all …]
|
/linux/arch/powerpc/mm/nohash/ |
H A D | tlb_low_64e.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (C) 2008-2009 15 #include <asm/asm-offsets.h> 17 #include <asm/exception-64e.h> 18 #include <asm/ppc-opcode.h> 21 #include <asm/feature-fixups.h> 30 * TLB miss handling for Book3E with a bolted linear mapping * 36 * Note that, unlike non-bolted handlers, TLB_EXFRAME is not 95 /* We pre-test some combination of permissions to avoid double 116 rldicl. r10,r16,64-PGTABLE_EADDR_SIZE,PGTABLE_EADDR_SIZE+4 [all …]
|
/linux/drivers/irqchip/ |
H A D | irq-gic-v5-its.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2024-2025 ARM Limited, All Rights Reserved. 19 #include <linux/irqchip/arm-gic-v5.h> 20 #include <linux/irqchip/irq-msi-lib.h> 22 #include "irq-gic-its-msi-parent.h" 47 return readl_relaxed(its_node->its_base + reg_offset); in its_readl_relaxed() 53 writel_relaxed(val, its_node->its_base + reg_offset); in its_writel_relaxed() 59 writeq_relaxed(val, its_node->its_base + reg_offset); in its_writeq_relaxed() 67 if (its->flags & ITS_FLAGS_NON_COHERENT) in gicv5_its_dcache_clean() 81 FIELD_GET(GICV5_ITS_DT_CFGR_##f, (its)->devtab_cfgr.cfgr) [all …]
|
/linux/Documentation/hwmon/ |
H A D | bt1-pvt.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 3 Kernel driver bt1-pvt 8 * Baikal-T1 PVT sensor (in SoC) 10 Prefix: 'bt1-pvt' 12 Addresses scanned: - 21 ----------- 24 embedded into Baikal-T1 process, voltage and temperature sensors. PVT IP-core 29 compile-time configurable due to the hardware interface implementation 40 in alarm-less configuration the data conversion is performed by the driver 41 on demand when read operation is requested via corresponding _input-file. [all …]
|
/linux/Documentation/userspace-api/ |
H A D | dma-buf-alloc-exchange.rst | 1 .. SPDX-License-Identifier: GPL-2.0 2 .. Copyright 2021-2023 Collabora Ltd. 9 support for sharing pixel-buffer allocations between processes, devices, and 12 approach this sharing for two-dimensional image data. 25 Conceptually a two-dimensional array of pixels. The pixels may be stored 30 A span along a single y-axis value, e.g. from co-ordinates (0,100) to 37 A span along a single x-axis value, e.g. from co-ordinates (100,0) to 46 A two-dimensional array of some or all of an image's color and alpha 80 A value that denotes the relationship between pixel-location co-ordinates 81 and byte-offset values. Typically used as the byte offset between two [all …]
|
/linux/tools/testing/selftests/resctrl/ |
H A D | cat_test.c | 1 // SPDX-License-Identifier: GPL-2.0 19 * test with n bits is MIN_DIFF_PERCENT_PER_BIT * (n - 1). With e.g. 5 vs 4 21 * MIN_DIFF_PERCENT_PER_BIT * (4 - 1) = 3 percent. 24 * misses is not expected to be linear. With a small number of bits, the 26 * however, linear approach is enough because ultimately only pass/fail 44 float delta = (__s64)(avg_llc_val - *prev_avg_llc_val); in show_results_info() 81 fp = fopen(param->filename, "r"); in check_results() 85 return -1; in check_results() 115 MIN_DIFF_PERCENT_PER_BIT * (bits - 1), in check_results() 137 * cat_test - Execute CAT benchmark and measure cache misses [all …]
|
/linux/arch/x86/include/asm/ |
H A D | sparsemem.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * generic non-linear memory support: 28 # define SECTION_SIZE_BITS 27 /* matt - 128 is convenient right now */
|
/linux/Documentation/process/ |
H A D | deprecated.rst | 1 .. SPDX-License-Identifier: GPL-2.0 21 ------------ 33 ------------------ 35 error condition as gracefully as possible. While the BUG()-family 42 <https://lore.kernel.org/lkml/CA+55aFy6jNLsywVYdGp83AMrXBo_P-pkjkphPGrO=82SPKCpLQ@mail.gmail.com/>`_ 44 <https://lore.kernel.org/lkml/CAHk-=whDHsbK3HTOpTF=ue_o04onRwTEaK_ZoJp_fjbqq4+=Jw@mail.gmail.com/>`… 46 Note that the WARN()-family should only be used for "expected to 48 but undesirable" situations, please use the pr_warn()-family of 54 open-coded arithmetic in allocator arguments 55 -------------------------------------------- [all …]
|
/linux/lib/ |
H A D | textsearch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * both linear and non-linear data. Individual search algorithms are 21 * .. code-block:: none 24 * +----------------+ 25 * | finish()|<--------------(6)-----------------+ 26 * |get_next_block()|<--------------(5)---------------+ | 28 * | | +------------------------------+ 30 * | | +------------------------------+ 32 * | | +---------------+ (2) (4) (8) 33 * | (1)|----->| prepare() |---+ | | [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp_adjust_tail_shrink.c | 1 // SPDX-License-Identifier: GPL-2.0 15 __u8 *data_end = (void *)(long)xdp->data_end; in _xdp_adjust_tail_shrink() 16 __u8 *data = (void *)(long)xdp->data; in _xdp_adjust_tail_shrink() 25 /* non-linear buff test cases */ in _xdp_adjust_tail_shrink() 47 if (bpf_xdp_adjust_tail(xdp, 0 - offset)) in _xdp_adjust_tail_shrink()
|