/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A 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@kernel.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 …]
|
H A D | mediatek,mt6370-backlight.yaml | 1 # 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 <chiaen_wu@richtek.com> 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/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/Documentation/arch/powerpc/ |
H A D | kasan.txt | 1 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/Documentation/ABI/testing/ |
H A 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 …]
|
H A 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 …]
|
H A 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/drivers/md/ |
H A D | dm-linear.c | 1 // 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 mappin 170 linear_dax_direct_access(struct dm_target * ti,pgoff_t pgoff,long nr_pages,enum dax_access_mode mode,void ** kaddr,pfn_t * pfn) linear_dax_direct_access() argument [all...] |
/linux/drivers/mtd/maps/ |
H A 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/arch/riscv/mm/ |
H A D | init.c | 1 // 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/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) 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/include/linux/ |
H A 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/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/arch/arm64/ |
H A D | ptdump.rst | 8 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/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | params.c | 1 // 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/Documentation/virt/kvm/x86/ |
H A 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/arch/x86/include/asm/xen/ |
H A 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/Documentation/arch/riscv/ |
H A D | boot.rst | 1 .. 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/arch/alpha/include/asm/ |
H A 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/sound/soc/sof/ |
H A D | ipc4-topology.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 15 #define SOF_IPC4_FW_PAGE(x) ((((x) + BIT(12) - 1) & ~(BIT(12) - 1)) >> 12) 16 #define SOF_IPC4_FW_ROUNDUP(x) (((x) + BIT(6) - 1) & (~(BIT(6) - 243 struct sof_ipc4_dma_device_stream_ch_map mapping[SOF_IPC4_DMA_DEVICE_MAX_COUNT]; global() member [all...] |
/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_mmu.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2015-2018 Etnaviv Project 6 #include <linux/dma-mapping.h> 23 unmapped_page = context->global->ops->unmap(context, iova, in etnaviv_context_unmap() 43 ret = context->global->ops->map(context, iova, paddr, pgsize, in etnaviv_context_map() 50 size -= pgsize; in etnaviv_context_map() 53 /* unroll mapping in case something went wrong */ in etnaviv_context_map() 55 etnaviv_context_unmap(context, orig_iova, orig_size - size); in etnaviv_context_map() 70 return -EINVAL; in etnaviv_iommu_map() 80 dev_err(context->global->dev, in etnaviv_iommu_map() [all …]
|
/linux/mm/ |
H A D | memremap.c | 1 // SPDX-License-Identifier: GPL-2.0 23 * constraints on the alignment and size of the mapping (namespace). 26 * the minimum mapping granularity of memremap_pages() is 16MB. 32 * reconfigured into a mode that requires SUBSECTION_SIZE alignment. 48 if (pgmap->type == MEMORY_DEVICE_FS_DAX) in devmap_managed_enable_put() 54 if (pgmap->type == MEMORY_DEVICE_FS_DAX) in devmap_managed_enable_get() 68 xa_store_range(&pgmap_array, PHYS_PFN(range->start), PHYS_PFN(range->en in pgmap_array_delete() [all...] |
/linux/arch/x86/kernel/ |
H A D | head32.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * linux/arch/i386/kernel/head32.c -- prepare to run common code 86 * Mappings are created both at virtual address 0 (identity mapping) 89 * In PAE mode initial_page_table is statically defined to contain 91 * entries). The identity mapping is handled by pointing two PGD entries 130 /* Enough space to fit pagetables for the low memory linear map */ in mk_early_pgtbl_32() 153 if (!params->hdr.ramdisk_size || !params->hdr.ramdisk_image) in mk_early_pgtbl_32() 159 *ptr += ((unsigned long)params->hdr.ramdisk_image) & ~PAGE_MASK; in mk_early_pgtbl_32() 165 limit = (unsigned long)params->hdr.ramdisk_image; in mk_early_pgtbl_32() 167 limit = (unsigned long)params->hdr.ramdisk_image + params->hdr.ramdisk_size; in mk_early_pgtbl_32()
|
/linux/Documentation/mm/ |
H A D | hwpoison.rst | 36 linear algorithmic complexity, because the data structures have not 38 for the mapping from a vma to a process. Since this case is expected 41 The code consists of a the high level handler in mm/memory-failure.c, 46 of applications. KVM support requires a recent qemu-kvm release. 67 This is the mode used by KVM qemu. 81 Enable early kill mode globally 84 Set early/late kill mode/revert to system default 89 arg2 defines thread specific mode 104 return current mode 109 * madvise(MADV_HWPOISON, ....) (as root) - Poison a page in the [all …]
|
/linux/fs/cramfs/ |
H A D | inode.c | 37 * cramfs super-block data in memory 52 return sb->s_fs_info; in CRAMFS_SB() 65 #define OFFSET(x) ((x)->i_ino) 69 if (!cino->offset) in cramino() 71 if (!cino->size) in cramino() 75 * The file mode test fixes buggy mkcramfs implementations where in cramino() 76 * cramfs_inode->offset is set to a non zero value for entries in cramino() 79 switch (cino->mode & S_IFMT) { in cramino() 83 return cino->offset << 2; in cramino() 98 return ERR_PTR(-ENOMEM); in get_cramfs_inode() [all …]
|