/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 …]
|
H A D | pixfmt-yuv-planar.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. planar-yuv: 12 - Semi-planar formats use two planes. The first plane is the luma plane and 16 - Fully planar formats use three planes to store the Y, Cb and Cr components 19 Within a plane, components are stored in pixel order, which may be linear or 26 and applications that support the multi-planar API, described in 27 :ref:`planar-apis`. Unless explicitly documented as supporting non-contiguous 31 Semi-Planar YUV Formats 46 For non-contiguous formats, no constraints are enforced by the format on the 57 .. flat-table:: Overview of Semi-Planar YUV Formats [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> 29 DRM_FORMAT_YUV420_8BIT, /* yuv420_8bit non-Linear mode only */ 30 DRM_FORMAT_YUV420_10BIT, /* yuv420_10bit non-Linear mode only */ 31 DRM_FORMAT_YUYV, /* yuv422_8bit non-Linear mode only*/ 32 DRM_FORMAT_Y210, /* yuv422_10bit non-Linear mode only */ 44 DRM_FORMAT_NV12, /* yuv420_8bit linear mode, 2 plane */ 45 DRM_FORMAT_NV21, /* yvu420_8bit linear mode, 2 plane */ 46 DRM_FORMAT_NV16, /* yuv422_8bit linear mode, 2 plane */ 47 DRM_FORMAT_NV61, /* yvu422_8bit linear mode, 2 plane */ [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/ci/xfails/ |
H A D | i915-glk-fails.txt | 1 core_setmaster@master-drop-set-user,Fail 5 i915_module_load@reload-no-display,Fail 6 i915_module_load@resize-bar,Fail 7 kms_cursor_legacy@short-flip-before-cursor-atomic-transitions,Timeout 8 kms_dirtyfb@default-dirtyfb-ioctl,Fail 9 kms_dirtyfb@drrs-dirtyfb-ioctl,Fail 10 kms_dirtyfb@fbc-dirtyfb-ioctl,Fail 11 kms_flip@blocking-wf_vblank,Fail 12 kms_flip@busy-flip,Timeout 13 kms_flip@single-buffer-flip-vs-dpms-off-vs-modeset-interruptible,Fail [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_add_linear(NULL, hw->nr_vectors, in intc_irq_domain_init() [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/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. 86 NETDEV_A_DEV_MAX = (__NETDEV_A_DEV_MAX - 1) 99 NETDEV_A_PAGE_POOL_MAX = (__NETDEV_A_PAGE_POOL_MAX - 1) 117 NETDEV_A_PAGE_POOL_STATS_MAX = (__NETDEV_A_PAGE_POOL_STATS_MAX - 1) 130 NETDEV_A_NAPI_MAX = (__NETDEV_A_NAPI_MAX - 1) 141 NETDEV_A_QUEUE_MAX = (__NETDEV_A_QUEUE_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. 86 NETDEV_A_DEV_MAX = (__NETDEV_A_DEV_MAX - 1) 99 NETDEV_A_PAGE_POOL_MAX = (__NETDEV_A_PAGE_POOL_MAX - 1) 117 NETDEV_A_PAGE_POOL_STATS_MAX = (__NETDEV_A_PAGE_POOL_STATS_MAX - 1) 130 NETDEV_A_NAPI_MAX = (__NETDEV_A_NAPI_MAX - 1) 141 NETDEV_A_QUEUE_MAX = (__NETDEV_A_QUEUE_MAX - 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: %pK (%pS)\n", in __virt_to_phys() 41 return ((unsigned long)(x) - kernel_map.va_pa_offset); in linear_mapping_va_to_pa()
|
/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 * ---------------- 56 * vendor-namespaced, and as such the relationship between a fourcc code and a 58 * may preserve meaning - such as number of planes - from the fourcc code, 64 * a modifier: a buffer may match a 64-pixel aligned modifier and a 32-pixel 76 * - Kernel and user-space drivers: for drivers it's important that modifiers 80 * - Higher-level programs interfacing with KMS/GBM/EGL/Vulkan/etc: these users 93 * ----------------------- 98 * upstream in-kernel or open source userspace user does not apply. 222 * IEEE 754-2008 binary16 half-precision float [all …]
|
/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 <linus.walleij@linaro.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/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/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 61 - irq_resolve_mapping() returns a pointer to the irq_desc structure 64 - irq_find_mapping() returns a Linux IRQ number for a given domain and 66 - irq_linear_revmap() is now identical to irq_find_mapping(), and is 68 - generic_handle_domain_irq() handles an interrupt described by a 72 compatible with a RCU read-side critical section. 80 callbacks) then it can be directly obtained from irq_data->hwirq. 90 Linear section in Types of irq_domain mappings [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 …]
|