| /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-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/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/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 43 * @ thr_high: high 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 80 * @ y_rgb_filter_cfg: y/rgb plane filter configuration [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 51 * @ thr_high: high 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 | 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 …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/ |
| D | qcom-msm8974pro-oneplus-bacon.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 chassis-type = "handset"; 12 qcom,msm-id = <194 0x10000>; 13 qcom,board-id = <8 0>; 20 stdout-path = "serial0:115200n8"; 23 gpio-keys { 24 compatible = "gpio-keys"; [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/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 …]
|
| D | ov772x.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net> 26 #include <linux/v4l2-mediabus.h> 31 #include <media/v4l2-ctrls.h> 32 #include <media/v4l2-device.h> 33 #include <media/v4l2-event.h> 34 #include <media/v4l2-fwnode.h> 35 #include <media/v4l2-image-sizes.h> 36 #include <media/v4l2-subdev.h> 41 #define GAIN 0x00 /* AGC - Gain control gain setting */ [all …]
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/ |
| D | cyber2000fb.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 1998-2000 Russell King 80 #define PCI_BM_CTL_ENABLE 0x01 /* enable bus-master */ 247 #define HOR_PHASE_SHIFT 0xc2 /* high 3 bits */ 249 #define EXT_SRC_HEIGHT 0xc4 /* high 6 bits */ 250 #define EXT_X_START 0xc5 /* ext->screen, 16 bits */ 251 #define EXT_X_END 0xc7 /* ext->screen, 16 bits */ 252 #define EXT_Y_START 0xc9 /* ext->screen, 16 bits */ 253 #define EXT_Y_END 0xcb /* ext->screen, 16 bits */ 256 #define EXT_DDA_X_INIT 0xd1 /* ext->screen 16 bits */ [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/ |
| D | cyber2000fb.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 1998-2000 Russell King 80 #define PCI_BM_CTL_ENABLE 0x01 /* enable bus-master */ 247 #define HOR_PHASE_SHIFT 0xc2 /* high 3 bits */ 249 #define EXT_SRC_HEIGHT 0xc4 /* high 6 bits */ 250 #define EXT_X_START 0xc5 /* ext->screen, 16 bits */ 251 #define EXT_X_END 0xc7 /* ext->screen, 16 bits */ 252 #define EXT_Y_START 0xc9 /* ext->screen, 16 bits */ 253 #define EXT_Y_END 0xcb /* ext->screen, 16 bits */ 256 #define EXT_DDA_X_INIT 0xd1 /* ext->screen 16 bits */ [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/platform/st/sti/hva/ |
| D | hva-h264.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include "hva-hw.h" 32 /* source buffer copy in YUV 420 MB-tiled format with size=16*256*3/2 */ 41 /* factor for bitrate and cpb buffer size max values if profile >= high */ 44 /* factor for bitrate and cpb buffer size max values if profile < high */ 200 * @brc_type: selects the bit-rate control algorithm 205 * @non_VCL_NALU_Size: size of non-VCL NALUs (SPS, PPS, filler), 213 * @delay: End-to-End Initial Delay 251 * Bit 0-6 used for qp offset (value -64 to 63). 265 * YUV for the Y component. [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/sti/hva/ |
| D | hva-h264.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include "hva-hw.h" 32 /* source buffer copy in YUV 420 MB-tiled format with size=16*256*3/2 */ 41 /* factor for bitrate and cpb buffer size max values if profile >= high */ 44 /* factor for bitrate and cpb buffer size max values if profile < high */ 200 * @brc_type: selects the bit-rate control algorithm 205 * @non_VCL_NALU_Size: size of non-VCL NALUs (SPS, PPS, filler), 213 * @delay: End-to-End Initial Delay 251 * Bit 0-6 used for qp offset (value -64 to 63). 265 * YUV for the Y component. [all …]
|
| /kernel/linux/linux-5.10/drivers/media/common/saa7146/ |
| D | saa7146_hlp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <media/drv-intf/saa7146_vv.h> 26 hyo = vv->standard->v_offset; in calculate_hxo_and_hyo() 27 hxo = vv->standard->h_offset; in calculate_hxo_and_hyo() 36 /* helper functions for the calculation of the horizontal- and vertical 37 scaling registers, clip-format-register etc ... 38 these functions take pointers to the (most-likely read-out 39 original-values) and manipulate them according to the requested 43 /* hps_coeff used for CXY and CXUV; scale 1/1 -> scale 1/64 */ 82 return -EINVAL; in calculate_h_scale_registers() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/media/ipu3/include/uapi/ |
| D | intel-ipu3.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* Copyright (C) 2017 - 2018 Intel Corporation */ 11 /* Vendor specific - used for IPU3 camera sub-system */ 17 /* from include/uapi/linux/v4l2-controls.h */ 26 #define IPU3_UAPI_GRID_START_MASK ((1 << 12) - 1) 34 * struct ipu3_uapi_grid_config - Grid plane config 51 * @y_start: Y value of top left corner of ROI 53 * @y_end: Y value of bottom right corner of ROI 56 * create a grid-based output, and the data is then divided into "slices". 71 * struct ipu3_uapi_awb_set_item - Memory layout for each cell in AWB [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/ipu3/include/ |
| D | intel-ipu3.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (C) 2017 - 2018 Intel Corporation */ 11 /* Vendor specific - used for IPU3 camera sub-system */ 15 /* from include/uapi/linux/v4l2-controls.h */ 24 #define IPU3_UAPI_GRID_START_MASK ((1 << 12) - 1) 32 * struct ipu3_uapi_grid_config - Grid plane config 43 * @y_start: Y value of top left corner of ROI 45 * @y_end: Y value of bottom right corner of ROI 48 * create a grid-based output, and the data is then divided into "slices". 79 * struct ipu3_uapi_awb_raw_buffer - AWB raw buffer [all …]
|
| /kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/ |
| D | hfi_plat_bufs_v6.c | 1 // SPDX-License-Identifier: GPL-2.0-only 88 * size for high resolution 117 u32 x, y, z; in size_h265d_lb_se_left_ctrl() local 119 x = ((height + 16 - 1) / 8) * MAX_SE_NBR_CTRL_LCU16_LINE_BUFFER_SIZE; in size_h265d_lb_se_left_ctrl() 120 y = ((height + 32 - 1) / 8) * MAX_SE_NBR_CTRL_LCU32_LINE_BUFFER_SIZE; in size_h265d_lb_se_left_ctrl() 121 z = ((height + 64 - 1) / 8) * MAX_SE_NBR_CTRL_LCU64_LINE_BUFFER_SIZE; in size_h265d_lb_se_left_ctrl() 123 return max3(x, y, z); in size_h265d_lb_se_left_ctrl() 144 * for high resolution 154 u32 x, y, z; in size_vpxd_lb_fe_left_ctrl() local 157 y = ((height + 31) >> 5) * MAX_FE_NBR_CTRL_LCU32_LINE_BUFFER_SIZE; in size_vpxd_lb_fe_left_ctrl() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/i2c/ |
| D | ov772x.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net> 26 #include <linux/v4l2-mediabus.h> 31 #include <media/v4l2-ctrls.h> 32 #include <media/v4l2-device.h> 33 #include <media/v4l2-event.h> 34 #include <media/v4l2-image-sizes.h> 35 #include <media/v4l2-subdev.h> 40 #define GAIN 0x00 /* AGC - Gain control gain setting */ 41 #define BLUE 0x01 /* AWB - Blue channel gain setting */ [all …]
|
| /kernel/linux/linux-5.10/include/sound/ |
| D | emu10k1.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 #include <sound/pcm-indirect.h> 25 /* ------------------- DEFINES -------------------- */ 37 /* FIXME? - according to the OSS driver the EMU10K1 needs a 29 bit DMA mask */ 55 #define PTR_CHANNELNUM_MASK 0x0000003f /* For each per-channel register, indicates the */ 57 /* accessed. For non per-channel registers the */ 93 #define IPR_CDROMSTATUSCHANGE 0x00000400 /* CD-ROM channel status change */ 106 #define INTE_VIRTUALSB_220 0x00000000 /* Capture at I/O base address 0x220-0x22f */ 111 #define INTE_VIRTUALMPU_300 0x00000000 /* Capture at I/O base address 0x300-0x301 */ 115 #define INTE_MASTERDMAENABLE 0x08000000 /* Master DMA emulation at 0x000-0x00f */ [all …]
|