/Linux-v5.15/Documentation/devicetree/bindings/leds/backlight/ |
D | lm3630a-backlight.yaml | 1 # 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 <lee.jones@linaro.org> 11 - Daniel Thompson <daniel.thompson@linaro.org> 12 - Jingoo Han <jingoohan1@gmail.com> 15 The LM3630A is a current-mode boost converter which supplies the power and 26 '#address-cells': [all …]
|
/Linux-v5.15/arch/arm64/mm/ |
D | init.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 1995-2005 Russell King 23 #include <linux/dma-direct.h> 24 #include <linux/dma-map-ops.h> 38 #include <asm/kernel-pgtable.h> 47 #include <asm/xen/swiotlb-xen.h> 55 s64 memstart_addr __ro_after_init = -1; 60 * and ZONE_DMA32. By default ZONE_DMA covers the 32-bit addressable memory 61 * unless restricted on specific platforms (e.g. 30-bit on Raspberry Pi 4). 62 * In such case, ZONE_DMA32 covers the rest of the 32-bit addressable memory, [all …]
|
/Linux-v5.15/Documentation/ABI/testing/ |
D | sysfs-class-backlight-driver-lm3533 | 7 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 …]
|
D | sysfs-class-led-driver-lm3533 | 7 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 …]
|
D | sysfs-class-backlight-lm3639 | 2 ------------------------------------------------------------------------------ 7 Contact: dri-devel@lists.freedesktop.org 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-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_color.c | 36 * - Input gamma LUT (de-normalized) 37 * - Input CSC (normalized) 38 * - Surface degamma LUT (normalized) 39 * - Surface CSC (normalized) 40 * - Surface regamma LUT (normalized) 41 * - Output CSC (normalized) 43 * But these aren't a direct mapping to DRM color properties. The current DRM 47 * Plane CTM -> Plane degamma -> Plane CTM -> Plane regamma -> Plane CTM 57 * support any CRTC props with correct blending with multiple planes - but we 62 * respective property is set to NULL. A linear DGM/RGM LUT should also [all …]
|
/Linux-v5.15/drivers/mtd/maps/ |
D | Kconfig | 1 # 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-v5.15/include/linux/regulator/ |
D | machine.h | 1 /* 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 60 * struct regulator_state - regulator state during low power system states [all …]
|
D | driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * driver.h -- SoC Regulator driver support. 62 * struct regulator_ops - regulator operations. 75 * return -ENOTRECOVERABLE if regulator can't be read at 78 * regulator; return -ENOTRECOVERABLE if regulator can't 85 * @set_current_limit: Configure a limit for a current-limited regulator. 87 * @get_current_limit: Get the configured limit for a current-limited regulator. 94 * REGULATOR_SEVERITY_ERR should indicate that over-current situation is 112 * @set_mode: Set the configured operating mode for the regulator. 113 * @get_mode: Get the configured operating mode for the regulator. [all …]
|
/Linux-v5.15/include/uapi/drm/ |
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 180 * IEEE 754-2008 binary16 half-precision float 190 * RGBA format with 10-bit components packed in 64-bit per pixel, with 6 bits 204 …10 fourcc_code('V', 'U', '3', '0') /* Y followed by U then V, 10:10:10. Non-linear modifier only */ [all …]
|
/Linux-v5.15/arch/powerpc/kernel/ |
D | setup_64.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 61 #include <asm/code-patching.h> 66 #include <asm/feature-fixups.h> 70 #include <asm/asm-prototypes.h> 100 * If we boot via kdump on a non-primary thread, in setup_tlb_core_data() 107 paca_ptrs[cpu]->tcd_ptr = &paca_ptrs[first]->tcd; in setup_tlb_core_data() 111 * 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-v5.15/include/linux/ |
D | resctrl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 * enum resctrl_conf_type - The type of configuration. 33 * struct resctrl_staged_config - parsed configuration to be applied 43 * struct rdt_domain - group of CPUs sharing a resctrl resource 54 * @plr: pseudo-locked region (if any) associated with domain 73 * struct resctrl_cache - Cache allocation related data 93 * enum membw_throttle_mode - System's memory bandwidth throttling mode 107 * struct resctrl_membw - Memory bandwidth allocation related data 110 * @delay_linear: True if memory B/W delay is in linear scale 111 * @arch_needs_linear: True if we can't configure non-linear resources [all …]
|
D | led-lm3530.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2011 ST-Ericsson SA. 9 * based on leds-lm3530.c by Dan Murphy <D.Murphy@motorola.com> 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-v5.15/drivers/md/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 30 Software RAID mini-HOWTO, available from 45 a several-second delay in the boot time due to various 51 tristate "Linear (append) mode (deprecated)" 55 use the so-called linear mode, i.e. it will combine the hard disk 59 will be called linear. 64 tristate "RAID-0 (striping) mode" 68 use the so-called raid0 mode, i.e. it will combine the hard disk 74 Software-RAID mini-HOWTO, available from 84 tristate "RAID-1 (mirroring) mode" [all …]
|
/Linux-v5.15/Documentation/virt/kvm/ |
D | mmu.rst | 1 .. 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-v5.15/arch/x86/kernel/ |
D | head32.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * linux/arch/i386/kernel/head32.c -- prepare to run common code 63 * Mappings are created both at virtual address 0 (identity mapping) 66 * In PAE mode initial_page_table is statically defined to contain 68 * entries). The identity mapping is handled by pointing two PGD entries 77 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET) in mk_early_pgtbl_32() 81 /* Enough space to fit pagetables for the low memory linear map */ in mk_early_pgtbl_32()
|
/Linux-v5.15/Documentation/dev-tools/ |
D | kasan.rst | 5 -------- 8 designed to find out-of-bound and use-after-free bugs. KASAN has three modes: 11 2. software tag-based KASAN (similar to userspace HWASan), 12 3. hardware tag-based KASAN (based on hardware memory tagging). 15 Software tag-based KASAN can be used for dogfood testing as it has a lower 16 memory overhead that allows using it with real workloads. Hardware tag-based 18 used in production. Either as an in-field memory bug detector or as a security 21 Software KASAN modes (#1 and #2) use compile-time instrumentation to insert 27 out-of-bounds accesses for global variables is only supported since Clang 11. 29 Software tag-based KASAN mode is only supported in Clang. [all …]
|
/Linux-v5.15/drivers/gpu/drm/etnaviv/ |
D | etnaviv_mmu.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2015-2018 Etnaviv Project 6 #include <linux/dma-mapping.h> 29 unmapped_page = context->global->ops->unmap(context, iova, in etnaviv_context_unmap() 51 return -EINVAL; in etnaviv_context_map() 55 ret = context->global->ops->map(context, iova, paddr, pgsize, in etnaviv_context_map() 62 size -= pgsize; in etnaviv_context_map() 65 /* unroll mapping in case something went wrong */ in etnaviv_context_map() 67 etnaviv_context_unmap(context, orig_iova, orig_size - size); in etnaviv_context_map() 80 return -EINVAL; in etnaviv_iommu_map() [all …]
|
/Linux-v5.15/arch/x86/include/asm/xen/ |
D | interface.h | 2 * 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-v5.15/arch/alpha/include/asm/ |
D | core_irongate.h | 1 /* 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-v5.15/arch/powerpc/mm/ |
D | mem.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 9 * PPC44x/36-bit changes by Matt Porter (mporter@mvista.com) 18 #include <linux/dma-direct.h> 60 return -ENODEV; in create_section_mapping() 65 return -ENODEV; in remove_section_mapping() 76 params->pgprot); in arch_create_linear_mapping() 79 pr_warn("Unable to create linear mapping for 0x%llx..0x%llx: %d\n", in arch_create_linear_mapping() 81 return -EFAULT; in arch_create_linear_mapping() 97 pr_warn("Unable to remove linear mapping for 0x%llx..0x%llx: %d\n", in arch_remove_linear_mapping() [all …]
|
/Linux-v5.15/arch/powerpc/include/asm/ |
D | kvm_host.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 51 /* PPC-specific vcpu->requests bit members */ 72 /* Physical Address Mask - allowed range of real mode RAM access */ 210 * The reverse mapping array has one entry for each HPTE, 212 * (including the guest physical address of the mapping), 213 * plus forward and backward pointers in a doubly-linked ring 215 * ring are 32-bit HPTE indexes, to save space. 254 /* Host virtual (linear mapping) address of guest HPT */ 256 /* Array of reverse mapping entries for each guest HPTE */ 274 unsigned int emul_smt_mode; /* emualted SMT mode, on P9 */ [all …]
|
/Linux-v5.15/mm/ |
D | memremap.c | 1 // SPDX-License-Identifier: GPL-2.0 21 * constraints on the alignment and size of the mapping (namespace). 24 * the minimum mapping granularity of memremap_pages() is 16MB. 30 * reconfigured into a mode that requires SUBSECTION_SIZE alignment. 46 if (pgmap->type == MEMORY_DEVICE_PRIVATE || in devmap_managed_enable_put() 47 pgmap->type == MEMORY_DEVICE_FS_DAX) in devmap_managed_enable_put() 53 if (pgmap->type == MEMORY_DEVICE_PRIVATE || in devmap_managed_enable_get() 54 pgmap->type == MEMORY_DEVICE_FS_DAX) in devmap_managed_enable_get() 68 xa_store_range(&pgmap_array, PHYS_PFN(range->start), PHYS_PFN(range->end), in pgmap_array_delete() 75 struct range *range = &pgmap->ranges[range_id]; in pfn_first() [all …]
|
/Linux-v5.15/drivers/pinctrl/intel/ |
D | pinctrl-intel.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 26 * struct intel_pingroup - Description about group of pins 30 * @mode: Native mode in which the group is muxed out @pins. Used if @modes 32 * @modes: If not %NULL this will hold mode for each pin in @pins 38 unsigned short mode; member 43 * struct intel_function - Description about a function 55 * struct intel_padgroup - Hardware pad group information 74 * enum - Special treatment for GPIO base in pad group 77 * @INTEL_GPIO_BASE_NOMAP: no GPIO mapping should be created 81 INTEL_GPIO_BASE_ZERO = -2, [all …]
|
/Linux-v5.15/arch/arm64/include/asm/ |
D | kvm_mmu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2012,2013 - ARM Ltd 20 * Instead, give the HYP mode its own VA region at a fixed offset from 29 * and that half of that space (VA_BITS - 1) is used for the linear 30 * mapping, we can also limit the EL2 space to (VA_BITS - 1). 33 * top or the bottom half of that space to shadow the kernel's linear 34 * mapping?". As we need to idmap the trampoline page, this is 41 * if (T & BIT(VA_BITS - 1)) 44 * HYP_VA_MIN = 1 << (VA_BITS - 1) 45 * HYP_VA_MAX = HYP_VA_MIN + (1 << (VA_BITS - 1)) - 1 [all …]
|