| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | colorspaces.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 93 specific chromaticity primaries are linear colorspaces. But neither the 94 eye, nor display technology is linear. Doubling the values of all 95 components in the linear colorspace will not be perceived as twice the 97 function that takes a linear color component value and transforms it to 98 the non-linear component value, which is a closer match to the 99 non-linear performance of both the eye and displays. Linear component 100 values are denoted RGB, non-linear are denoted as R'G'B'. In general 102 linear RGB. Special care should be taken when dealing with openGL to 103 provide linear RGB colors or to use the built-in openGL support to apply [all …]
|
| H A D | pixfmt-yuv-planar.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. planar-yuv: 13 - Semi-planar formats use two planes. The first plane is the luma plane and 17 - Fully planar formats use three planes to store the Y, Cb and Cr components 20 Within a plane, components are stored in pixel order, which may be linear or 27 and applications that support the multi-planar API, described in 28 :ref:`planar-apis`. Unless explicitly documented as supporting non-contiguous 32 Semi-Planar YUV Formats 47 For non-contiguous formats, no constraints are enforced by the format on the 58 .. flat-table:: Overview of Semi-Planar YUV Formats [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/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_color.c | 1 // SPDX-License-Identifier: MIT 48 * implemented per-plane color management was not a thing yet. Because 50 * properties to pre-blending HW functions. This is incompatible with 51 * per-plane color management, such as via the AMD private properties or 53 * with per-plane color management is the GAMMA property as it is 54 * applied post-blending. 57 * when the kernel is built explicitly with -DAMD_PRIVATE_COLOR. They 58 * are temporary building blocks on the path to full-fledged &drm_plane 66 * ------------------- 71 * - Input gamma LUT (de-normalized) [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 | 1 // SPDX-License-Identifier: LGPL-2.0+ 3 * PCM Interface - misc routines 14 #define SND_PCM_FORMAT_UNKNOWN (-1) 22 signed char le; /* 0 = big-endian, 1 = little-endian, -1 = others */ 23 signed char signd; /* 0 = unsigned, 1 = signed, -1 = others */ 34 .width = 8, .phys = 8, .le = - in valid_format() [all...] |
| /linux/arch/riscv/mm/ |
| H A D | physaddr.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Boundary checking against 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/drivers/hwmon/pmbus/ |
| H A D | max20830.c | 1 // SPDX-License-Identifier: GPL-2.0 33 * supported by this driver and return -ENODATA. This means sysfs attributes 38 * - VOUT_COMMAND and VOUT_MAX set the reference voltage at the feedback pin 39 * - READ_VOUT reports the feedback voltage, which needs to be scaled for actual 61 /* Apply voltage divider scaling if resistors are non-zero */ in max20830_read_word_data() 62 if (data->vout_rfb1 && data->vout_rfb2) { in max20830_read_word_data() 63 temp = (u64)data->vout_rfb1 + (u64)data->vout_rfb2; in max20830_read_word_data() 64 temp = DIV_ROUND_CLOSEST_ULL((u64)ret * temp, data->vout_rfb2); in max20830_read_word_data() 69 return -ENODATA; in max20830_read_word_data() 75 .format[PSC_VOLTAGE_IN] = linear, [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 */ 5 /* To regenerate run: tools/net/ynl/ynl-regen.sh */ 24 * @NETDEV_XDP_ACT_RX_SG: This feature informs if netdev implements non-linear 27 * non-linear XDP buffer support in ndo_xdp_xmit callback. 96 NETDEV_A_DEV_MAX = (__NETDEV_A_DEV_MAX - 1) 103 NETDEV_A_IO_URING_PROVIDER_INFO_MAX = (__NETDEV_A_IO_URING_PROVIDER_INFO_MAX - 1) 117 NETDEV_A_PAGE_POOL_MAX = (__NETDEV_A_PAGE_POOL_MAX - 1) 135 NETDEV_A_PAGE_POOL_STATS_MAX = (__NETDEV_A_PAGE_POOL_STATS_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 */ 5 /* To regenerate run: tools/net/ynl/ynl-regen.sh */ 24 * @NETDEV_XDP_ACT_RX_SG: This feature informs if netdev implements non-linear 27 * non-linear XDP buffer support in ndo_xdp_xmit callback. 96 NETDEV_A_DEV_MAX = (__NETDEV_A_DEV_MAX - 1) 103 NETDEV_A_IO_URING_PROVIDER_INFO_MAX = (__NETDEV_A_IO_URING_PROVIDER_INFO_MAX - 1) 117 NETDEV_A_PAGE_POOL_MAX = (__NETDEV_A_PAGE_POOL_MAX - 1) 135 NETDEV_A_PAGE_POOL_STATS_MAX = (__NETDEV_A_PAGE_POOL_STATS_MAX - 1) [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/Documentation/devicetree/bindings/hwmon/ |
| H A D | ntc-thermistor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 --- 3 $id: http://devicetree.org/schemas/hwmon/ntc-thermistor.yaml# 4 $schema: http://devicetree.org/meta-schemas/core.yaml# 9 - Linus Walleij <linusw@kernel.org> 13 vary in resistance in an often non-linear way in relation to temperature. 16 temperature is non-linear, software drivers most often need to use a look 20 pull-up resistor or/and a pull-down resistor and a fixed voltage like this: 22 + e.g. 5V = pull-up voltage (puv) 24 +-+ [all …]
|
| /linux/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_vop2_reg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Andy Yan <andy.yan@rock-chips.com> 68 DRM_FORMAT_YUV420_8BIT, /* yuv420_8bit non-Linear mode only */ 69 DRM_FORMAT_YUV420_10BIT, /* yuv420_10bit non-Linear mode only */ 70 DRM_FORMAT_YUYV, /* yuv422_8bit non-Linear mode only*/ 71 DRM_FORMAT_Y210, /* yuv422_10bit non-Linear mode only */ 76 * RGB: linear mode and afbc 77 * YUV: linear mode and rfbc 78 * rfbc is a rockchip defined non-linear mode, produced by 94 DRM_FORMAT_NV12, /* yuv420_8bit linear mode, 2 plane */ [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/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 59 fp = fopen(param->filename, "r"); in show_results_info() 63 return -1; in next_mask() 114 * cat_test - Execute CAT benchmark and measure cache misses in check_results() 145 if (strcmp(param->filename, "") == 0) 146 sprintf(param->filename, "stdio"); 151 ret = taskset_benchmark(bm_pid, uparams->cpu, &old_affinity); 156 ret = write_bm_pid_to_resctrl(bm_pid, param->ctrlgr [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 25 #include <linux/dma-direct.h> 26 #include <linux/dma-map-ops.h> 42 #include <asm/kernel-pgtable.h> 52 #include <asm/xen/swiotlb-xen.h> 60 s64 memstart_addr __ro_after_init = -1; 65 * and ZONE_DMA32. By default ZONE_DMA covers the 32-bit addressable memory 66 * unless restricted on specific platforms (e.g. 30-bit on Raspberry Pi 4). 67 * In such case, ZONE_DMA32 covers the rest of the 32-bit addressable memory, [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. 21 #include <linux/irqchip/arm-gic-v5.h> 22 #include <linux/irqchip/irq-msi-lib.h> 24 #include "irq-gic-its-msi-parent.h" 49 return readl_relaxed(its_node->its_base + reg_offset); in its_readl_relaxed() 55 writel_relaxed(val, its_node->its_base + reg_offset); in its_writel_relaxed() 61 writeq_relaxed(val, its_node->its_base + reg_offset); in its_writeq_relaxed() 69 if (its->flags & ITS_FLAGS_NON_COHERENT) in gicv5_its_dcache_clean() 83 FIELD_GET(GICV5_ITS_DT_CFGR_##f, (its)->devtab_cfgr.cfgr) [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/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()
|