/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/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 …]
|
/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/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/arch/x86/kvm/ |
H A D | kvm_emulate.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Generic x86 (32-bit and 64-bit) instruction decoder and emulator. 9 * From: xen-unstable 10676:af9809f51f81a3c43f276f00c81a52ef558afda4 63 * location, that this location is the given linear faulting address (cr2), and 66 * automatically deduces which operand of a string-move operation is accessing 77 * some out-of-band mechanism, unknown to the emulator. The memop signals 81 * cmpxchg8b_emulated need support 8-byte accesses. 82 * 4. The emulator cannot handle 64-bit mode emulation on an x86/32 system. 97 /* x86-specific emulation flags */ 108 * read_gpr: read a general purpose register (rax - r15) [all …]
|
/linux/arch/powerpc/include/asm/book3s/64/ |
H A D | hash-4k.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 * linear map range, 1TB of vmalloc, 1TB of I/O and 1TB of vmememmap. 26 * Limits the linear mapping range 31 * Define the address range of the kernel non-linear virtual area (61TB) 101 * addresses other than the linear mapping.
|
/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/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/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/arch/arm64/mm/ |
H A D | init.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 1995-2005 Russell King 24 #include <linux/dma-direct.h> 25 #include <linux/dma-map-ops.h> 40 #include <asm/kernel-pgtable.h> 50 #include <asm/xen/swiotlb-xen.h> 58 s64 memstart_addr __ro_after_init = -1; 63 * and ZONE_DMA32. By default ZONE_DMA covers the 32-bit addressable memory 64 * unless restricted on specific platforms (e.g. 30-bit on Raspberry Pi 4). 65 * In such case, ZONE_DMA32 covers the rest of the 32-bit addressable memory, [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/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/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/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()
|