| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/rmi4/ |
| D | rmi_2d_sensor.txt | 12 http://www.synaptics.com/sites/default/files/511-000136-01-Rev-E-RMI4-Interfacing-Guide.pdf 16 - touchscreen-inverted-x 17 - touchscreen-inverted-y 18 - touchscreen-swapped-x-y 19 - touchscreen-x-mm 20 - touchscreen-y-mm 23 - syna,clip-x-low: Sets a minimum value for X. 24 - syna,clip-y-low: Sets a minimum value for Y. 25 - syna,clip-x-high: Sets a maximum value for X. 26 - syna,clip-y-high: Sets a maximum value for Y. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| D | syna,rmi4.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jason A. Donenfeld <Jason@zx2c4.com> 11 - Matthias Schiffer <matthias.schiffer@ew.tq-group.com 12 - Vincent Huang <vincent.huang@tw.synaptics.com> 22 - syna,rmi4-i2c 23 - syna,rmi4-spi 28 '#address-cells': 31 '#size-cells': [all …]
|
| /kernel/linux/linux-5.10/drivers/input/rmi4/ |
| D | rmi_2d_sensor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2011-2016 Synaptics Incorporated 16 #define RMI_2D_REL_POS_MIN -128 26 struct rmi_2d_axis_alignment *axis_align = &sensor->axis_align; in rmi_2d_sensor_abs_process() 29 if (obj->type == RMI_2D_OBJECT_NONE) in rmi_2d_sensor_abs_process() 32 if (axis_align->flip_x) in rmi_2d_sensor_abs_process() 33 obj->x = sensor->max_x - obj->x; in rmi_2d_sensor_abs_process() 35 if (axis_align->flip_y) in rmi_2d_sensor_abs_process() 36 obj->y = sensor->max_y - obj->y; in rmi_2d_sensor_abs_process() 38 if (axis_align->swap_axes) in rmi_2d_sensor_abs_process() [all …]
|
| /kernel/linux/linux-6.6/drivers/input/rmi4/ |
| D | rmi_2d_sensor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2011-2016 Synaptics Incorporated 16 #define RMI_2D_REL_POS_MIN -128 26 struct rmi_2d_axis_alignment *axis_align = &sensor->axis_align; in rmi_2d_sensor_abs_process() 29 if (obj->type == RMI_2D_OBJECT_NONE) in rmi_2d_sensor_abs_process() 32 if (axis_align->flip_x) in rmi_2d_sensor_abs_process() 33 obj->x = sensor->max_x - obj->x; in rmi_2d_sensor_abs_process() 35 if (axis_align->flip_y) in rmi_2d_sensor_abs_process() 36 obj->y = sensor->max_y - obj->y; in rmi_2d_sensor_abs_process() 38 if (axis_align->swap_axes) in rmi_2d_sensor_abs_process() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/udl/ |
| D | udl_modeset.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/dma-buf.h> 70 * In 24bpp modes, the low 323 RGB bits go in the 8bpp framebuffer 108 while (actual_count--) { in udl_lfsr16() 154 /* x display start */ in udl_set_vid_cmds() 155 xds = mode->crtc_htotal - mode->crtc_hsync_start; in udl_set_vid_cmds() 157 /* x display end */ in udl_set_vid_cmds() 158 xde = xds + mode->crtc_hdisplay; in udl_set_vid_cmds() 162 yds = mode->crtc_vtotal - mode->crtc_vsync_start; in udl_set_vid_cmds() 165 yde = yds + mode->crtc_vdisplay; in udl_set_vid_cmds() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_util.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 12 #define REG_MASK(n) ((BIT(n)) - 1) 38 * @ clip: clip shift 42 * @ thr_high: low threshold 45 * @ adjust_a: A-coefficients for mapping curve 46 * @ adjust_b: B-coefficients for mapping curve 47 * @ adjust_c: C-coefficients for mapping curve 53 uint16_t clip; member 143 * struct dpu_drm_pix_ext_v1 - version 1 of pixel ext structure [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_util.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. 4 * Copyright (c) 2015-2021, The Linux Foundation. All rights reserved. 15 #define REG_MASK(n) ((BIT(n)) - 1) 35 * struct dpu_hw_blk - opaque hardware block object 46 * @ clip: clip shift 50 * @ thr_high: low threshold 53 * @ adjust_a: A-coefficients for mapping curve 54 * @ adjust_b: B-coefficients for mapping curve 55 * @ adjust_c: C-coefficients for mapping curve [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
| D | phy_n.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 /* N-PHY registers. */ 18 #define B43_NPHY_4WI_ADDR B43_PHY_N(0x00B) /* Four-wire bus address */ 19 #define B43_NPHY_4WI_DATAHI B43_PHY_N(0x00C) /* Four-wire bus data high */ 20 #define B43_NPHY_4WI_DATALO B43_PHY_N(0x00D) /* Four-wire bus data low */ 21 #define B43_NPHY_BIST_STAT0 B43_PHY_N(0x00E) /* Built-in self test status 0 */ 22 #define B43_NPHY_BIST_STAT1 B43_PHY_N(0x00F) /* Built-in self test status 1 */ 26 #define B43_NPHY_C1_BCLIPBKOFF B43_PHY_N(0x01A) /* Core 1 barely clip backoff */ 27 #define B43_NPHY_C1_CCK_BCLIPBKOFF B43_PHY_N(0x01B) /* Core 1 CCK barely clip backoff */ 31 #define B43_NPHY_C1_CGAINI_CLIPGBKOFF 0x03E0 /* Clip gain backoff */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/ |
| D | phy_n.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 /* N-PHY registers. */ 18 #define B43_NPHY_4WI_ADDR B43_PHY_N(0x00B) /* Four-wire bus address */ 19 #define B43_NPHY_4WI_DATAHI B43_PHY_N(0x00C) /* Four-wire bus data high */ 20 #define B43_NPHY_4WI_DATALO B43_PHY_N(0x00D) /* Four-wire bus data low */ 21 #define B43_NPHY_BIST_STAT0 B43_PHY_N(0x00E) /* Built-in self test status 0 */ 22 #define B43_NPHY_BIST_STAT1 B43_PHY_N(0x00F) /* Built-in self test status 1 */ 26 #define B43_NPHY_C1_BCLIPBKOFF B43_PHY_N(0x01A) /* Core 1 barely clip backoff */ 27 #define B43_NPHY_C1_CCK_BCLIPBKOFF B43_PHY_N(0x01B) /* Core 1 CCK barely clip backoff */ 31 #define B43_NPHY_C1_CGAINI_CLIPGBKOFF 0x03E0 /* Clip gain backoff */ [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/ |
| D | msm8994-msft-lumia-octagon.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/gpio-keys.h> 14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 20 /delete-node/ &adsp_mem; 21 /delete-node/ &audio_mem; 22 /delete-node/ &cont_splash_mem; 23 /delete-node/ &mba_mem; 24 /delete-node/ &mpss_mem; 25 /delete-node/ &peripheral_region; [all …]
|
| D | sdm845-xiaomi-polaris.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12 #include <dt-bindings/input/linux-event-codes.h> 13 #include <dt-bindings/sound/qcom,q6afe.h> 14 #include <dt-bindings/sound/qcom,q6asm.h> 16 #include "sdm845-wcd9340.dtsi" 25 /delete-node/ &rmtfs_mem; [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/udl/ |
| D | udl_modeset.c | 1 // SPDX-License-Identifier: GPL-2.0-only 82 * In 24bpp modes, the low 323 RGB bits go in the 8bpp framebuffer 127 while (actual_count--) { in udl_lfsr16() 151 u16 reg01 = mode->crtc_htotal - mode->crtc_hsync_start; in udl_set_display_mode() 152 u16 reg03 = reg01 + mode->crtc_hdisplay; in udl_set_display_mode() 153 u16 reg05 = mode->crtc_vtotal - mode->crtc_vsync_start; in udl_set_display_mode() 154 u16 reg07 = reg05 + mode->crtc_vdisplay; in udl_set_display_mode() 155 u16 reg09 = mode->crtc_htotal - 1; in udl_set_display_mode() 157 u16 reg0d = mode->crtc_hsync_end - mode->crtc_hsync_start + 1; in udl_set_display_mode() 158 u16 reg0f = mode->hdisplay; in udl_set_display_mode() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/tiny/ |
| D | repaper.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * DRM driver for Pervasive Displays RePaper branded e-ink panels 5 * Copyright 2013-2017 Pervasive Displays, Inc. 17 #include <linux/dma-buf.h> 50 enum repaper_stage { /* Image pixel -> Display pixel */ 51 REPAPER_COMPENSATE, /* B -> W, W -> B (Current Image) */ 52 REPAPER_WHITE, /* B -> N, W -> W (Current Image) */ 53 REPAPER_INVERSE, /* B -> N, W -> B (New Image) */ 54 REPAPER_NORMAL /* B -> B, W -> W (New Image) */ 110 return -ENOMEM; in repaper_spi_transfer() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tiny/ |
| D | repaper.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * DRM driver for Pervasive Displays RePaper branded e-ink panels 5 * Copyright 2013-2017 Pervasive Displays, Inc. 51 enum repaper_stage { /* Image pixel -> Display pixel */ 52 REPAPER_COMPENSATE, /* B -> W, W -> B (Current Image) */ 53 REPAPER_WHITE, /* B -> N, W -> W (Current Image) */ 54 REPAPER_INVERSE, /* B -> N, W -> B (New Image) */ 55 REPAPER_NORMAL /* B -> B, W -> W (New Image) */ 111 return -ENOMEM; in repaper_spi_transfer() 121 ret = -ENOMEM; in repaper_spi_transfer() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | mt6660.c | 1 // SPDX-License-Identifier: GPL-2.0 53 reg_data[size - i - 1] = (val >> (8 * i)) & 0xff; in mt6660_reg_write() 55 ret = i2c_smbus_write_i2c_block_data(chip->i2c, reg, size, reg_data); in mt6660_reg_write() 67 ret = i2c_smbus_read_i2c_block_data(chip->i2c, reg, size, data); in mt6660_reg_read() 97 snd_soc_dapm_to_component(w->dapm); in mt6660_codec_classd_event() 102 dev_dbg(component->dev, in mt6660_codec_classd_event() 108 dev_err(component->dev, "config mode adaptive fail\n"); in mt6660_codec_classd_event() 117 dev_err(component->dev, in mt6660_codec_classd_event() 121 dev_dbg(component->dev, "Amp on\n"); in mt6660_codec_classd_event() 124 dev_dbg(component->dev, "Amp off\n"); in mt6660_codec_classd_event() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | mt6660.c | 1 // SPDX-License-Identifier: GPL-2.0 53 reg_data[size - i - 1] = (val >> (8 * i)) & 0xff; in mt6660_reg_write() 55 return i2c_smbus_write_i2c_block_data(chip->i2c, reg, size, reg_data); in mt6660_reg_write() 66 ret = i2c_smbus_read_i2c_block_data(chip->i2c, reg, size, data); in mt6660_reg_read() 96 snd_soc_dapm_to_component(w->dapm); in mt6660_codec_classd_event() 101 dev_dbg(component->dev, in mt6660_codec_classd_event() 107 dev_err(component->dev, "config mode adaptive fail\n"); in mt6660_codec_classd_event() 116 dev_err(component->dev, in mt6660_codec_classd_event() 120 dev_dbg(component->dev, "Amp on\n"); in mt6660_codec_classd_event() 123 dev_dbg(component->dev, "Amp off\n"); in mt6660_codec_classd_event() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
| D | intel_atomic_plane.c | 28 * implement legacy plane updates (i.e., drm_plane->update_plane() and 29 * drm_plane->disable_plane()). This allows plane updates to use the 55 __drm_atomic_helper_plane_state_reset(&plane_state->uapi, &plane->base); in intel_plane_state_reset() 57 plane_state->scaler_id = -1; in intel_plane_state_reset() 67 return ERR_PTR(-ENOMEM); in intel_plane_alloc() 72 return ERR_PTR(-ENOMEM); in intel_plane_alloc() 77 plane->base.state = &plane_state->uapi; in intel_plane_alloc() 84 intel_plane_destroy_state(&plane->base, plane->base.state); in intel_plane_free() 89 * intel_plane_duplicate_state - duplicate plane state 93 * Intel-specific) for the specified plane. [all …]
|
| D | intel_psr.c | 44 * Since Haswell Display controller supports Panel Self-Refresh on display 58 * The implementation uses the hardware-based PSR support which automatically 59 * enters/exits self-refresh mode. The hardware takes care of sending the 62 * changes to know when to exit self-refresh mode again. Unfortunately that 67 * issues the self-refresh re-enable code is done from a work queue, which 75 * entry/exit allows the HW to enter a low-power state even when page flipping 91 * EDP_PSR_DEBUG[16]/EDP_PSR_DEBUG_MASK_DISP_REG_WRITE (hsw-skl): 155 * In standby mode (as opposed to link-off) this makes no difference 169 * The rest of the bits are more self-explanatory and/or 175 struct intel_connector *connector = intel_dp->attached_connector; in psr_global_enabled() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/drivers/media/i2c/ |
| D | ov8858.c | 1 // SPDX-License-Identifier: GPL-2.0 22 #include <media/media-entity.h> 23 #include <media/v4l2-async.h> 24 #include <media/v4l2-common.h> 25 #include <media/v4l2-ctrls.h> 26 #include <media/v4l2-device.h> 27 #include <media/v4l2-event.h> 28 #include <media/v4l2-fwnode.h> 29 #include <media/v4l2-mediabus.h> 30 #include <media/v4l2-subdev.h> [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/include/asm/ |
| D | memory.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2000-2002 Russell King 8 * Note: this file should not be included by non-asm/.h files 15 #include <asm/page-def.h> 19 * IO_SPACE_LIMIT acts as a mask for the low bits of I/O addresses. 24 * VMEMMAP_SIZE - allows the whole linear region to be covered by 27 * If we are configured with a 52-bit kernel VA then our VMEMMAP_SIZE 28 * needs to cover the memory region from the beginning of the 52-bit 29 * PAGE_OFFSET all the way to PAGE_END for 48-bit. This allows us to 31 * of the VMEMMAP where 52-bit support is not available in hardware. [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/include/asm/ |
| D | memory.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2000-2002 Russell King 8 * Note: this file should not be included by non-asm/.h files 15 #include <asm/page-def.h> 19 * IO_SPACE_LIMIT acts as a mask for the low bits of I/O addresses. 24 * VMEMMAP_SIZE - allows the whole linear region to be covered by 27 * If we are configured with a 52-bit kernel VA then our VMEMMAP_SIZE 28 * needs to cover the memory region from the beginning of the 52-bit 29 * PAGE_OFFSET all the way to PAGE_END for 48-bit. This allows us to 31 * of the VMEMMAP where 52-bit support is not available in hardware. [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/pm/ |
| D | intel-speed-select.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 - https://www.intel.com/content/www/us/en/architecture-and-technology/speed-select-technology-artic… 15 - https://builders.intel.com/docs/networkbuilders/intel-speed-select-technology-base-frequency-enha… 19 dynamically without pre-configuring via BIOS setup options. This dynamic 29 intel-speed-select configuration tool 32 Most Linux distribution packages may include the "intel-speed-select" tool. If not, 38 # cd tools/power/x86/intel-speed-select/ 43 ------------ 47 # intel-speed-select --help 49 The top-level help describes arguments and features. Notice that there is a [all …]
|
| /kernel/linux/linux-6.6/include/sound/ |
| D | emu10k1.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 #include <sound/pcm-indirect.h> 25 /* ------------------- DEFINES -------------------- */ 33 /* FIXME? - according to the OSS driver the EMU10K1 needs a 29 bit DMA mask */ 41 // This is used to define hardware bit-fields (sub-registers) by combining 44 // The non-concatenating (_NC) variant should be used directly only for 45 // sub-registers that do not follow the <register>_<field> naming pattern. 55 // Macros for manipulating values of bit-fields declared using the above macros. 59 // single sub-register at a time. 62 #define REG_MASK0(r) ((1U << REG_SIZE(r)) - 1U) [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/pm/ |
| D | intel-speed-select.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 - https://www.intel.com/content/www/us/en/architecture-and-technology/speed-select-technology-artic… 15 - https://builders.intel.com/docs/networkbuilders/intel-speed-select-technology-base-frequency-enha… 19 dynamically without pre-configuring via BIOS setup options. This dynamic 29 intel-speed-select configuration tool 32 Most Linux distribution packages may include the "intel-speed-select" tool. If not, 38 # cd tools/power/x86/intel-speed-select/ 43 ------------ 47 # intel-speed-select --help 49 The top-level help describes arguments and features. Notice that there is a [all …]
|