Home
last modified time | relevance | path

Searched +full:linear +full:- +full:mapping +full:- +full:mode (Results 1 – 25 of 261) sorted by relevance

1234567891011

/linux-6.14.4/Documentation/devicetree/bindings/leds/backlight/
Dlm3630a-backlight.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/lm3630a-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI LM3630A High-Efficiency Dual-String White LED
10 - Lee Jones <[email protected]>
11 - Daniel Thompson <[email protected]>
12 - Jingoo Han <[email protected]>
15 The LM3630A is a current-mode boost converter which supplies the power and
26 '#address-cells':
[all …]
Dmediatek,mt6370-backlight.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/mediatek,mt6370-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiaEn Wu <[email protected]>
17 16384 current steps (14 bits, only for MT6372) in exponential or linear
18 mapping curves.
21 - $ref: common.yaml#
26 - mediatek,mt6370-backlight
27 - mediatek,mt6372-backlight
[all …]
/linux-6.14.4/arch/arm64/mm/
Dinit.c1 // 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-6.14.4/Documentation/arch/powerpc/
Dkasan.txt1 KASAN is supported on powerpc on 32-bit and Radix 64-bit only.
6 KASAN is supported on both hash and nohash MMUs on 32-bit.
23 - It would be good to support inline instrumentation so as to be able to catch
24 stack issues that cannot be caught with outline mode.
26 - Inline instrumentation requires a fixed offset.
28 - Book3S runs code with translations off ("real mode") during boot, including a
29 lot of generic device-tree parsing code which is used to determine MMU
32 - Some code - most notably a lot of KVM code - also runs with translations off
35 - Therefore any offset has to point to memory that is valid with
38 One approach is just to give up on inline instrumentation. This way boot-time
[all …]
/linux-6.14.4/Documentation/ABI/testing/
Dsysfs-class-backlight-driver-lm35337 ALS-current-control mode (0, 1), where:
19 Enable ALS-current-control mode (0, 1).
28 What: /sys/class/backlight/<backlight>/linear
33 Set the brightness-mapping mode (0, 1), where:
36 0 exponential mode
37 1 linear mode
45 Set the PWM-input control mask (5 bits), where:
48 bit 5 PWM-input enabled in Zone 4
49 bit 4 PWM-input enabled in Zone 3
50 bit 3 PWM-input enabled in Zone 2
[all …]
Dsysfs-class-led-driver-lm35337 ALS-current-control mode (1, 2), where:
19 Enable ALS-current-control mode (0, 1).
47 What: /sys/class/leds/<led>/linear
52 Set the brightness-mapping mode (0, 1), where:
55 0 exponential mode
56 1 linear mode
64 Set the PWM-input control mask (5 bits), where:
67 bit 5 PWM-input enabled in Zone 4
68 bit 4 PWM-input enabled in Zone 3
69 bit 3 PWM-input enabled in Zone 2
[all …]
Dsysfs-class-backlight-lm36392 ------------------------------------------------------------------------------
7 Contact: dri-[email protected]
9 (WO) Write to the backlight mapping mode. The backlight current
10 can be mapped for either exponential (value "0") or linear
11 mapping modes (default).
/linux-6.14.4/drivers/md/
Ddm-linear.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2001-2003 Sistina Software (UK) Limited.
15 #include <linux/device-mapper.h>
17 #define DM_MSG_PREFIX "linear"
20 * Linear: maps a linear range of a device.
28 * Construct a linear mapping: <dev_path> <offset>
38 ti->error = "Invalid argument count"; in linear_ctr()
39 return -EINVAL; in linear_ctr()
44 ti->error = "Cannot allocate linear context"; in linear_ctr()
45 return -ENOMEM; in linear_ctr()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
20 # after relevant mdadm enhancements - to make "names=yes"
21 # the default - are widely available.
34 Software RAID mini-HOWTO, available from
49 a several-second delay in the boot time due to various
65 tristate "Linear (append) mode"
69 use the so-called linear mode, i.e. it will combine the hard disk
73 will be called linear.
78 tristate "RAID-0 (striping) mode"
82 use the so-called raid0 mode, i.e. it will combine the hard disk
[all …]
/linux-6.14.4/drivers/mtd/maps/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "Mapping drivers for chip access"
7 bool "Support non-linear mappings of flash chips"
16 This provides a 'mapping' driver which allows the NOR Flash and
21 with config options or at run-time.
31 Setup a simple mapping via the Kconfig options. Normally the
38 hex "Physical start address of flash mapping"
48 hex "Physical length of flash mapping"
52 This is the total length of the mapping of the flash chips on
73 This provides a 'mapping' driver which allows the NOR Flash, ROM
[all …]
/linux-6.14.4/arch/riscv/mm/
Dinit.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2020 FORTH-ICS/CARV
20 #include <linux/dma-map-ops.h>
104 pr_notice("%12s : 0x%08lx - 0x%08lx (%4ld kB)\n", name, b, t, in print_mlk()
105 (((t) - (b)) >> LOG2_SZ_1K)); in print_mlk()
110 pr_notice("%12s : 0x%08lx - 0x%08lx (%4ld MB)\n", name, b, t, in print_mlm()
111 (((t) - (b)) >> LOG2_SZ_1M)); in print_mlm()
116 pr_notice("%12s : 0x%08lx - 0x%08lx (%4ld GB)\n", name, b, t, in print_mlg()
117 (((t) - (b)) >> LOG2_SZ_1G)); in print_mlg()
123 pr_notice("%12s : 0x%08lx - 0x%08lx (%4ld TB)\n", name, b, t, in print_mlt()
[all …]
/linux-6.14.4/include/linux/regulator/
Dmachine.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * machine.h -- SoC Regulator support, machine/board driver API.
28 * MODE: Regulator operating mode can be changed by software on this
31 * DRMS: Dynamic Regulator Mode Switching is enabled for this regulator.
32 * BYPASS: Regulator can be put into bypass mode
43 * operations in suspend mode
44 * DO_NOTHING_IN_SUSPEND - the default value
45 * DISABLE_IN_SUSPEND - turn off regulator in suspend states
46 * ENABLE_IN_SUSPEND - keep regulator on in suspend states
53 * Default time window (in milliseconds) following a critical under-voltage
[all …]
Ddriver.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * driver.h -- SoC Regulator driver support.
57 * struct regulator_ops - regulator operations.
70 * return -ENOTRECOVERABLE if regulator can't be read at
73 * regulator; return -ENOTRECOVERABLE if regulator can't
80 * @set_current_limit: Configure a limit for a current-limited regulator.
82 * @get_current_limit: Get the configured limit for a current-limited regulator.
89 * - REGULATOR_SEVERITY_PROT should automatically shut down the regulator(s).
91 * - REGULATOR_SEVERITY_ERR should indicate that over-current situation is
95 * - REGULATOR_SEVERITY_WARN should indicate situation where hardware is
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_color.c38 * - 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)
45 * But these aren't a direct mapping to DRM color properties. The current DRM
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
[all …]
/linux-6.14.4/arch/powerpc/kernel/
Dsetup_64.c1 // SPDX-License-Identifier: GPL-2.0-or-later
37 #include <asm/asm-prototypes.h>
63 #include <asm/text-patching.h>
68 #include <asm/feature-fixups.h>
101 * If we boot via kdump on a non-primary thread, in setup_tlb_core_data()
108 paca_ptrs[cpu]->tcd_ptr = &paca_ptrs[first]->tcd; in setup_tlb_core_data()
112 * or e6500 tablewalk mode, or else TLB handlers in setup_tlb_core_data()
127 /* Look for ibm,smt-enabled OF option */
154 smt_option = of_get_property(dn, "ibm,smt-enabled", in check_smt_enabled()
169 /* Look for smt-enabled= cmdline option */
[all …]
/linux-6.14.4/drivers/spi/
Dspi-mxic.c1 // SPDX-License-Identifier: GPL-2.0
16 #include <linux/mtd/nand-ecc-mxic.h>
20 #include <linux/spi/spi-mem.h>
74 #define OP_CMD_BYTES(x) (((x) - 1) << 13)
182 } linear; member
195 ret = clk_prepare_enable(mxic->send_clk); in mxic_spi_clk_enable()
199 ret = clk_prepare_enable(mxic->send_dly_clk); in mxic_spi_clk_enable()
206 clk_disable_unprepare(mxic->send_clk); in mxic_spi_clk_enable()
213 clk_disable_unprepare(mxic->send_clk); in mxic_spi_clk_disable()
214 clk_disable_unprepare(mxic->send_dly_clk); in mxic_spi_clk_disable()
[all …]
/linux-6.14.4/include/linux/
Dled-lm3530.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2011 ST-Ericsson SA.
9 * based on leds-lm3530.c by Dan Murphy <[email protected]>
82 * @mode: mode of operation i.e. Manual, ALS or PWM
83 * @als_input_mode: select source of ALS input - ALS1/2 or average
85 * @pwm_pol_hi: PWM input polarity - active high/active low
87 * @brt_ramp_law: brightness mapping mode - exponential/linear
94 * @brt_val: brightness value (0-127)
95 * @pwm_data: PWM control functions (only valid when the mode is PWM)
98 enum lm3530_mode mode; member
/linux-6.14.4/Documentation/arch/arm64/
Dptdump.rst8 various regions in a human-readable format. It is useful to dump the
17 of the ``mem_hotplug_lock`` semaphore in write mode. Additionally, in
18 read mode, ``mem_hotplug_lock`` supports an efficient implementation of
29 mount -t debugfs nodev /sys/kernel/debug
37 access permissions, execution capability, type of mapping such as leaf
46 +---------------------------------------------------------------------------------------+
47 | ---[ Linear Mapping start ]---------------------------------------------------------- |
49 | 0xfff0000000000000-0xfff0000000210000 2112K PTE RW NX SHD AF UXN MEM/NORMAL-TAGGED |
50 | 0xfff0000000210000-0xfff0000001c00000 26560K PTE ro NX SHD AF UXN MEM/NORMAL |
52 | ---[ Linear Mapping end ]------------------------------------------------------------ |
[all …]
/linux-6.14.4/include/uapi/drm/
Ddrm_fourcc.h39 * 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-6.14.4/Documentation/arch/riscv/
Dboot.rst1 .. SPDX-License-Identifier: GPL-2.0
4 RISC-V Kernel Boot Requirements and Constraints
10 This document describes what the RISC-V kernel expects from bootloaders and
14 mapping is set up.
16 Pre-kernel Requirements and Constraints
19 The RISC-V kernel expects the following of bootloaders and platform firmware:
22 --------------
24 The RISC-V kernel expects:
30 ---------
32 The RISC-V kernel expects:
[all …]
/linux-6.14.4/arch/x86/include/asm/xen/
Dinterface.h2 * arch-x86_32.h
24 * Copyright (c) 2004-2006, K A Fraser
104 #define MACH2PHYS_NR_ENTRIES ((MACH2PHYS_VIRT_END-MACH2PHYS_VIRT_START)>>__MACH2PHYS_SHIFT)
106 /* Maximum number of virtual CPUs in multi-processor guests. */
114 * start of the GDT because some stupid OSes export hard-coded selector values
115 * in their ABI. These hard-coded values are always near the start of the GDT,
135 #define TI_GET_DPL(_ti) ((_ti)->flags & 3)
136 #define TI_GET_IF(_ti) ((_ti)->flags & 4)
137 #define TI_SET_DPL(_ti, _dpl) ((_ti)->flags |= (_dpl))
138 #define TI_SET_IF(_ti, _if) ((_ti)->flags |= ((!!(_if))<<2))
[all …]
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
22 u8 req_page_shift = xsk ? order_base_2(xsk->chunk_size) : PAGE_SHIFT; in mlx5e_mpwrq_page_shift()
25 /* Regular RQ uses order-0 pages, the NIC must be able to map them. */ in mlx5e_mpwrq_page_shift()
36 * user-mode memory. The stricter guarantees we have, the faster in mlx5e_mpwrq_umr_mode()
38 * 1. MTT - direct mapping in page granularity. in mlx5e_mpwrq_umr_mode()
39 * 2. KSM - indirect mapping to another MKey to arbitrary addresses, but in mlx5e_mpwrq_umr_mode()
41 * 3. KLM - indirect mapping to another MKey to arbitrary addresses, and in mlx5e_mpwrq_umr_mode()
45 bool unaligned = xsk ? xsk->unaligned : false; in mlx5e_mpwrq_umr_mode()
49 oversized = xsk->chunk_size < (1 << page_shift); in mlx5e_mpwrq_umr_mode()
50 WARN_ON_ONCE(xsk->chunk_size > (1 << page_shift)); in mlx5e_mpwrq_umr_mode()
[all …]
/linux-6.14.4/Documentation/virt/kvm/x86/
Dmmu.rst1 .. SPDX-License-Identifier: GPL-2.0
13 - correctness:
18 - security:
21 - performance:
23 - scaling:
25 - hardware:
27 - integration:
31 - dirty tracking:
33 and framebuffer-based displays
34 - footprint:
[all …]
/linux-6.14.4/arch/alpha/include/asm/
Dcore_irongate.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 * IRONGATE is the internal name for the AMD-751 K7 core logic chipset
10 * which provides memory controller and PCI access for NAUTILUS-based
21 * The 21264 supports, and internally recognizes, a 44-bit physical
30 * through the routines given is 32-bit.
38 igcsr32 dev_vendor; /* 0x00 - device ID, vendor ID */
39 igcsr32 stat_cmd; /* 0x04 - status, command */
40 igcsr32 class; /* 0x08 - class code, rev ID */
41 igcsr32 latency; /* 0x0C - header type, PCI latency */
42 igcsr32 bar0; /* 0x10 - BAR0 - AGP */
[all …]
/linux-6.14.4/Documentation/dev-tools/
Dkasan.rst1 .. SPDX-License-Identifier: GPL-2.0
8 --------
11 designed to find out-of-bounds and use-after-free bugs.
16 2. Software Tag-Based KASAN
17 3. Hardware Tag-Based KASAN
19 Generic KASAN, enabled with CONFIG_KASAN_GENERIC, is the mode intended for
20 debugging, similar to userspace ASan. This mode is supported on many CPU
23 Software Tag-Based KASAN or SW_TAGS KASAN, enabled with CONFIG_KASAN_SW_TAGS,
25 This mode is only supported for arm64, but its moderate memory overhead allows
26 using it for testing on memory-restricted devices with real workloads.
[all …]

1234567891011