| /OK3568_Linux_fs/kernel/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.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 …]
|
| /OK3568_Linux_fs/kernel/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).
|
| /OK3568_Linux_fs/kernel/include/linux/regulator/ |
| H A D | driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * driver.h -- SoC Regulator driver support. 54 * struct regulator_ops - regulator operations. 67 * return -ENOTRECOVERABLE if regulator can't be read at 70 * regulator; return -ENOTRECOVERABLE if regulator can't 77 * @set_current_limit: Configure a limit for a current-limited regulator. 79 * @get_current_limit: Get the configured limit for a current-limited regulator. 87 * @set_mode: Set the configured operating mode for the regulator. 88 * @get_mode: Get the configured operating mode for the regulator. 90 * @get_status: Return actual (not as-configured) status of regulator, as a [all …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/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, 149 * IEEE 754-2008 binary16 half-precision float 167 …10 fourcc_code('V', 'U', '3', '0') /* Y followed by U then V, 10:10:10. Non-linear modifier only */ 171 * 16-xx padding occupy lsb 179 * 16-xx padding occupy lsb except Y410 204 * 1-plane YUV 4:2:0 206 * then V), but the exact Linear layout is undefined. [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A 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 …]
|
| /OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/include/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 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 …]
|
| /OK3568_Linux_fs/external/linux-rga/core/3rdparty/libdrm/include/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 173 * IEEE 754-2008 binary16 half-precision float 183 * RGBA format with 10-bit components packed in 64-bit per pixel, with 6 bits 197 …10 fourcc_code('V', 'U', '3', '0') /* Y followed by U then V, 10:10:10. Non-linear modifier only */ [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/virt/kvm/ |
| 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/dev-tools/ |
| H A 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). 14 Software KASAN modes (1 and 2) use compile-time instrumentation to insert 20 out-of-bounds accesses for global variables is only supported since Clang 11. 22 Tag-based KASAN is only supported in Clang. 25 and riscv architectures, and tag-based KASAN modes are supported only for arm64. 28 ----- 35 CONFIG_KASAN_SW_TAGS (to enable software tag-based KASAN), and [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A 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> 99 * If we boot via kdump on a non-primary thread, in setup_tlb_core_data() 106 paca_ptrs[cpu]->tcd_ptr = &paca_ptrs[first]->tcd; in setup_tlb_core_data() 110 * or e6500 tablewalk mode, or else TLB handlers in setup_tlb_core_data() 126 /* Look for ibm,smt-enabled OF option */ 153 smt_option = of_get_property(dn, "ibm,smt-enabled", in check_smt_enabled() 168 /* Look for smt-enabled= cmdline option */ 174 early_param("smt-enabled", early_smt_enabled); [all …]
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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 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()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A D | kvm_host.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 52 /* PPC-specific vcpu->requests bit members */ 79 /* Physical Address Mask - allowed range of real mode RAM access */ 223 * The reverse mapping array has one entry for each HPTE, 225 * (including the guest physical address of the mapping), 226 * plus forward and backward pointers in a doubly-linked ring 228 * ring are 32-bit HPTE indexes, to save space. 267 /* Host virtual (linear mapping) address of guest HPT */ 269 /* Array of reverse mapping entries for each guest HPTE */ 287 unsigned int emul_smt_mode; /* emualted SMT mode, on P9 */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 29 Software RAID mini-HOWTO, available from 44 a several-second delay in the boot time due to various 50 tristate "Linear (append) mode" 54 use the so-called linear mode, i.e. it will combine the hard disk 58 will be called linear. 63 tristate "RAID-0 (striping) mode" 67 use the so-called raid0 mode, i.e. it will combine the hard disk 73 Software-RAID mini-HOWTO, available from 83 tristate "RAID-1 (mirroring) mode" [all …]
|
| /OK3568_Linux_fs/kernel/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> 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/intel/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/include/asm/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-zynq-qspi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 18 #include <linux/spi/spi-mem.h> 28 #define ZYNQ_QSPI_TXD_00_00_OFFSET 0x1C /* Transmit 4-byte inst, WO */ 29 #define ZYNQ_QSPI_TXD_00_01_OFFSET 0x80 /* Transmit 1-byte inst, WO */ 30 #define ZYNQ_QSPI_TXD_00_10_OFFSET 0x84 /* Transmit 2-byte inst, WO */ 31 #define ZYNQ_QSPI_TXD_00_11_OFFSET 0x88 /* Transmit 3-byte inst, WO */ 37 #define ZYNQ_QSPI_LINEAR_CFG_OFFSET 0xA0 /* Linear Adapter Config Ref, RW */ 48 #define ZYNQ_QSPI_CONFIG_MANSRTEN_MASK BIT(15) /* Enable Manual TX Mode */ 54 #define ZYNQ_QSPI_CONFIG_MSTREN_MASK BIT(0) /* Master Mode */ 57 * QSPI Configuration Register - Baud rate and slave select [all …]
|