Home
last modified time | relevance | path

Searched +full:upper +full:- +full:dark +full:- +full:gain (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/iio/light/
Dupisemi,us5182.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jonathan Cameron <jic23@kernel.org>
19 upisemi,glass-coef:
22 glass attenuation factor - compensation factor of resolution 1000
26 upisemi,dark-ths:
27 $ref: /schemas/types.yaml#/definitions/uint16-array
31 16-bit thresholds (adc counts) corresponding to every scale.
33 upisemi,upper-dark-gain:
[all …]
/linux-6.12.1/drivers/iio/light/
Dus5182d.c1 // SPDX-License-Identifier: GPL-2.0-only
46 * Registers for tuning the auto dark current cancelling feature.
47 * DARK_TH(reg 0x27,0x28) - threshold (counts) for auto dark cancelling.
48 * when ALS > DARK_TH --> ALS_Code = ALS - Upper(0x2A) * Dark
49 * when ALS < DARK_TH --> ALS_Code = ALS - Lower(0x29) * Dark
56 /* Thresholds for events: px low (0x08-l, 0x09-h), px high (0x0a-l 0x0b-h) */
101 * roughly between 12-32 lux
124 /* Dark gain tuning */
202 ret = i2c_smbus_read_byte_data(data->client, US5182D_REG_CFG0); in us5182d_oneshot_en()
212 return i2c_smbus_write_byte_data(data->client, US5182D_REG_CFG0, ret); in us5182d_oneshot_en()
[all …]
/linux-6.12.1/drivers/media/usb/gspca/
Dsonixb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2009-2011 Jean-François Moine <http://moinejf.free.fr>
14 0x10 high nibble red gain low nibble blue gain
15 0x11 low nibble green gain
17 0x05 red gain 0-127
18 0x06 blue gain 0-127
19 0x07 green gain 0-127
21 0x08-0x0f i2c / 3wire registers
24 0x15 hsize (hsize = register-value * 16)
25 0x16 vsize (vsize = register-value * 16)
[all …]
Dov519.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2008-2011 Jean-François Moine <moinejf@free.fr>
8 * This module is adapted from the ov51x-jpeg package, which itself
13 * Copyright (c) 1999-2006 Mark W. McClelland
20 * ov51x-jpeg original copyright is:
22 * Copyright (c) 2004-2007 Romain Beauxis <toots@rastageeks.org>
38 MODULE_AUTHOR("Jean-Francois Moine <http://moinejf.free.fr>");
482 /*jfm: this value does not work for 800x600 - see isoc_init */
501 #define OV7610_REG_GAIN 0x00 /* gain setting (5:0) */
514 #define OV7670_R00_GAIN 0x00 /* Gain lower 8 bits (rest in vref) */
[all …]
/linux-6.12.1/drivers/media/platform/ti/omap3isp/
Disppreview.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * TI OMAP3 ISP driver - Preview module
26 { /* RGB-RGB Matrix */
38 {-38, -75, 112},
39 {112, -94 , -18}
85 * -------------------------------------------------------------
125 * Default Gamma Correction Table - All components
146 * preview_config_luma_enhancement - Configure the Luminance Enhancement table
153 const struct omap3isp_prev_luma *yt = &params->luma; in preview_config_luma_enhancement()
159 isp_reg_writel(isp, yt->table[i], in preview_config_luma_enhancement()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h143 * Physical framebuffer address location, 64-bit.
192 * to be disabled immediately and keep gain.
250 * @knee_threshold: Current x-position of ACE knee (u0.16).
270 * union dmub_addr - DMUB physical/virtual 64-bit address.
275 uint32_t high_part; /**< Upper 32 bits */
519 * union dmub_fw_meta_feature_bits - Static feature bits for pre-initialization
526 uint32_t all; /**< 32-bit access to status bits */
530 * struct dmub_fw_meta_info - metadata associated with fw binary
558 * union dmub_fw_meta - ensures that dmub_fw_meta_info remains 64 bytes
572 * dmub_trace_code_t - firmware trace code, 32-bits
[all …]
/linux-6.12.1/sound/pci/hda/
Dpatch_ca0132.c1 // SPDX-License-Identifier: GPL-2.0-or-later
74 #define DESKTOP_EFX_FILE "ctefx-desktop.bin"
75 #define R3DI_EFX_FILE "ctefx-r3di.bin"
115 #define VNODES_COUNT (VNODE_END_NID - VNODE_START_NID)
126 #define OUT_EFFECTS_COUNT (OUT_EFFECT_END_NID - OUT_EFFECT_START_NID)
134 #define IN_EFFECTS_COUNT (IN_EFFECT_END_NID - IN_EFFECT_START_NID)
154 #define EFFECTS_COUNT (EFFECT_END_NID - EFFECT_START_NID)
163 * X-bass.
182 int params; /* number of default non-on/off params */
223 { .name = "X-Bass",
[all …]
/linux-6.12.1/drivers/video/fbdev/sis/
Dinit301.c10 * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria
27 * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
55 * Formerly based on non-functional code-fragements for 300 series by SiS, Inc.
255 /* VESA non-VESA noscale */
420 if(SiS_Pr->ChipType == XGI_20) in SiS_UnLockCRT2()
422 else if(SiS_Pr->ChipType >= SIS_315H) in SiS_UnLockCRT2()
423 SiS_SetRegOR(SiS_Pr->SiS_Part1Port,0x2f,0x01); in SiS_UnLockCRT2()
425 SiS_SetRegOR(SiS_Pr->SiS_Part1Port,0x24,0x01); in SiS_UnLockCRT2()
432 if(SiS_Pr->ChipType == XGI_20) in SiS_LockCRT2()
434 else if(SiS_Pr->ChipType >= SIS_315H) in SiS_LockCRT2()
[all …]