Home
last modified time | relevance | path

Searched +full:sensor +full:- +full:gain (Results 1 – 25 of 213) sorted by relevance

123456789

/Linux-v6.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 …]
Dsq930x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2010 Jean-François Moine <http://moinejf.free.fr>
6 * Copyright (C) 2006 -2008 Gerard Klaver <gerard at gkall dot hobby dot nl>
16 MODULE_AUTHOR("Jean-Francois Moine <http://moinejf.free.fr>\n"
26 struct { /* exposure/gain control cluster */
28 struct v4l2_ctrl *gain; member
33 u8 sensor; member
199 {0x30, 0x0040}, /* reserved - def 0x0005 */
200 {0x31, 0x0000}, /* reserved - def 0x002a */
201 {0x34, 0x0100}, /* reserved - def 0x0100 */
[all …]
/Linux-v6.1/drivers/media/usb/gspca/stv06xx/
Dstv06xx_pb0100.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher
4 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland
8 * P/N 861037: Sensor HDCS1000 ASIC STV0600
9 * P/N 861050-0010: Sensor HDCS1000 ASIC STV0600
10 * P/N 861050-0020: Sensor Photobit PB100 ASIC STV0600-1 - QuickCam Express
11 * P/N 861055: Sensor ST VV6410 ASIC STV0610 - LEGO cam
12 * P/N 861075-0040: Sensor HDCS1000 ASIC
13 * P/N 961179-0700: Sensor ST VV6410 ASIC STV0602 - Dexxa WebCam USB
14 * P/N 861040-0000: Sensor ST VV6410 ASIC STV0610 - QuickCam Web
[all …]
Dstv06xx_pb0100.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher
4 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland
8 * P/N 861037: Sensor HDCS1000 ASIC STV0600
9 * P/N 861050-0010: Sensor HDCS1000 ASIC STV0600
10 * P/N 861050-0020: Sensor Photobit PB100 ASIC STV0600-1 - QuickCam Express
11 * P/N 861055: Sensor ST VV6410 ASIC STV0610 - LEGO cam
12 * P/N 861075-0040: Sensor HDCS1000 ASIC
13 * P/N 961179-0700: Sensor ST VV6410 ASIC STV0602 - Dexxa WebCam USB
14 * P/N 861040-0000: Sensor ST VV6410 ASIC STV0610 - QuickCam Web
[all …]
Dstv06xx_hdcs.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher
4 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland
7 * Copyright (c) 2008 Chia-I Wu
9 * P/N 861037: Sensor HDCS1000 ASIC STV0600
10 * P/N 861050-0010: Sensor HDCS1000 ASIC STV0600
11 * P/N 861050-0020: Sensor Photobit PB100 ASIC STV0600-1 - QuickCam Express
12 * P/N 861055: Sensor ST VV6410 ASIC STV0610 - LEGO cam
13 * P/N 861075-0040: Sensor HDCS1000 ASIC
14 * P/N 961179-0700: Sensor ST VV6410 ASIC STV0602 - Dexxa WebCam USB
[all …]
/Linux-v6.1/Documentation/userspace-api/media/drivers/
Dccs.rst1 .. SPDX-License-Identifier: GPL-2.0-only
5 MIPI CCS camera sensor driver
8 The MIPI CCS camera sensor driver is a generic driver for `MIPI CCS
9 <https://www.mipi.org/specifications/camera-command-set>`_ compliant
10 camera sensors. It exposes three sub-devices representing the pixel array,
16 Pixel Array sub-device
17 ----------------------
19 The pixel array sub-device represents the camera sensor's pixel matrix, as well
26 ------
28 The binner sub-device represents the binning functionality on the sensor. For
[all …]
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-bus-iio-isl295014 Contact: linux-iio@vger.kernel.org
6 This sensor has an automatic gain control (agc) loop
8 level by controlling programmable gain amplifiers. The
9 criteria for optimal gain is determined by the sensor.
11 Return the actual gain value as an integer in [0; 65536]
14 The agc gain read when measuring crosstalk shall be
22 Contact: linux-iio@vger.kernel.org
24 The sensor is able to perform correction of distance
44 Finally, the c constant is set by the sensor
47 The value stored in sensor is displayed when read from.
/Linux-v6.1/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_shub.c5 * slave devices using accelerometer sensor as trigger for i2c
61 .gain = 1500,
120 .gain = 146,
124 .gain = 292,
128 .gain = 438,
132 .gain = 584,
158 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_shub_wait_complete() local
161 sensor = iio_priv(hw->iio_devs[ST_LSM6DSX_ID_ACC]); in st_lsm6dsx_shub_wait_complete()
162 odr = (hw->enable_mask & BIT(ST_LSM6DSX_ID_ACC)) ? sensor->odr : 12500; in st_lsm6dsx_shub_wait_complete()
169 * st_lsm6dsx_shub_read_output - read i2c controller register
[all …]
Dst_lsm6dsx.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * STMicroelectronics st_lsm6dsx sensor driver
27 #define ST_LSM6DS3TRC_DEV_NAME "lsm6ds3tr-c"
29 #define ST_LSM9DS1_DEV_NAME "lsm9ds1-imu"
132 u32 gain; member
145 * struct st_lsm6dsx_fifo_ops - ST IMU FIFO settings
150 * @max_size: Sensor max fifo length in FIFO words.
154 int (*update_fifo)(struct st_lsm6dsx_sensor *sensor, bool enable);
169 * struct st_lsm6dsx_hw_ts_settings - ST IMU hw timer settings
185 * struct st_lsm6dsx_shub_settings - ST IMU hw i2c controller settings
[all …]
/Linux-v6.1/drivers/media/i2c/
Dov2680.c1 // SPDX-License-Identifier: GPL-2.0
3 * Omnivision OV2680 CMOS Image Sensor driver
7 * Based on OV5640 Sensor Driver
8 * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. All Rights Reserved.
9 * Copyright (C) 2014-2017 Mentor Graphics Inc.
24 #include <media/v4l2-common.h>
25 #include <media/v4l2-ctrls.h>
26 #include <media/v4l2-subdev.h>
94 struct v4l2_ctrl *gain; member
186 static struct device *ov2680_to_dev(struct ov2680_dev *sensor) in ov2680_to_dev() argument
[all …]
Dov9282.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * OmniVision ov9282 Camera Sensor Driver
15 #include <media/v4l2-ctrls.h>
16 #include <media/v4l2-fwnode.h>
17 #include <media/v4l2-subdev.h>
38 /* Analog gain control */
59 * struct ov9282_reg - ov9282 sensor register
69 * struct ov9282_reg_list - ov9282 sensor register list
79 * struct ov9282_mode - ov9282 sensor mode structure
87 * @pclk: Sensor pixel clock
[all …]
Dimx335.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Sony imx335 Camera Sensor Driver
15 #include <media/v4l2-ctrls.h>
16 #include <media/v4l2-fwnode.h>
17 #include <media/v4l2-subdev.h>
38 /* Analog gain control */
59 * struct imx335_reg - imx335 sensor register
69 * struct imx335_reg_list - imx335 sensor register list
79 * struct imx335_mode - imx335 sensor mode structure
87 * @pclk: Sensor pixel clock
[all …]
Dimx334.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Sony imx334 sensor driver
15 #include <media/v4l2-ctrls.h>
16 #include <media/v4l2-fwnode.h>
17 #include <media/v4l2-subdev.h>
38 /* Analog gain control */
59 * struct imx334_reg - imx334 sensor register
69 * struct imx334_reg_list - imx334 sensor register list
79 * struct imx334_mode - imx334 sensor mode structure
87 * @pclk: Sensor pixel clock
[all …]
Dimx412.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Sony imx412 Camera Sensor Driver
16 #include <media/v4l2-ctrls.h>
17 #include <media/v4l2-fwnode.h>
18 #include <media/v4l2-subdev.h>
39 /* Analog gain control */
60 * struct imx412_reg - imx412 sensor register
70 * struct imx412_reg_list - imx412 sensor register list
80 * struct imx412_mode - imx412 sensor mode structure
88 * @pclk: Sensor pixel clock
[all …]
Dov5648.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 #include <media/v4l2-ctrls.h>
17 #include <media/v4l2-device.h>
18 #include <media/v4l2-fwnode.h>
19 #include <media/v4l2-image-sizes.h>
20 #include <media/v4l2-mediabus.h>
84 #define OV5648_PLL_DIV_ROOT_DIV(v) ((((v) - 1) << 4) & BIT(4))
97 #define OV5648_PLLS_DIV_PLLS_DIV_R(v) ((((v) - 1) << 2) & BIT(2))
117 /* Exposure/gain/banding */
335 /* MIPI CSI-2 */
[all …]
/Linux-v6.1/drivers/media/i2c/ccs/
Dccs-quirk.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/media/i2c/ccs/ccs-quirk.c
8 * Copyright (C) 2011--2012 Nokia Corporation
15 #include "ccs-limits.h"
17 static int ccs_write_addr_8s(struct ccs_sensor *sensor, in ccs_write_addr_8s() argument
20 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in ccs_write_addr_8s()
23 for (; len > 0; len--, regs++) { in ccs_write_addr_8s()
24 rval = ccs_write_addr(sensor, regs->reg, regs->val); in ccs_write_addr_8s()
26 dev_err(&client->dev, in ccs_write_addr_8s()
28 rval, regs->reg, regs->val); in ccs_write_addr_8s()
[all …]
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Dext-ctrls-image-source.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _image-source-controls:
9 The Image Source control class is intended for low-level control of
15 .. _image-source-control-id:
28 same sub-device.
36 Analogue gain is gain affecting all colour components in the pixel
37 matrix. The gain operation is performed in the analogue domain
59 non-sensitive.
64 .. flat-table:: struct v4l2_area
65 :header-rows: 0
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/iio/light/
Damstaos,tsl2563.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AMS TAOS TSL2563 ambient light sensor
10 - Sebastian Reichel <sre@kernel.org>
13 Ambient light sensor with an i2c interface.
18 - amstaos,tsl2560
19 - amstaos,tsl2561
20 - amstaos,tsl2562
21 - amstaos,tsl2563
[all …]
Dupisemi,us5182.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: UPISEMI us5182d I2C ALS and Proximity sensor
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.
[all …]
/Linux-v6.1/drivers/media/usb/gspca/m5602/
Dm5602_ov9650.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Driver for the ov9650 sensor
41 {SENSOR, OV9650_COM7, OV9650_REGISTER_RESET},
43 {SENSOR, OV9650_CLKRC, 0x80},
45 {SENSOR, OV9650_OFON, 0x40}
67 {SENSOR, OV9650_COM7, OV9650_REGISTER_RESET},
68 /* One extra reset is needed in order to make the sensor behave
70 {SENSOR, OV9650_COM7, OV9650_REGISTER_RESET},
73 {SENSOR, OV9650_CLKRC, 0x80},
75 {SENSOR, OV9650_OFON, 0x40},
[all …]
/Linux-v6.1/drivers/staging/media/deprecated/stkwebcam/
Dstk-sensor.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* stk-sensor.c: Driver for ov96xx sensor (used in some Syntek webcams)
4 * Copyright 2007-2008 Jaime Velasco Juan <jsagarribay@gmail.com>
11 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net>
16 /* Controlling the sensor via the STK1125 vendor specific control interface:
17 * The camera uses an OmniVision sensor and the stk1125 provides an
18 * SCCB(i2c)-USB bridge which let us program the sensor.
19 * In my case the sensor id is 0x9652, it can be read from sensor's register
21 * - read register #R:
27 * - write value V to register #R
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/hwmon/
Dti,tmp513.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TMP513/512 system monitor sensor
11 - Eric Tremblay <etremblay@distech-controls.com>
14 The TMP512 (dual-channel) and TMP513 (triple-channel) are system monitors
15 that include remote sensors, a local temperature sensor, and a high-side
17 remote temperatures, on-chip temperatures, and system voltage/power/current
28 - ti,tmp512
29 - ti,tmp513
[all …]
/Linux-v6.1/drivers/iio/gyro/
Dst_gyro_core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2012-2013 STMicroelectronics Inc.
41 return &gdata->mount_matrix; in st_gyro_get_mount_matrix()
104 .gain = IIO_DEGREE_TO_RAD(8750),
109 .gain = IIO_DEGREE_TO_RAD(17500),
114 .gain = IIO_DEGREE_TO_RAD(70000),
128 * The sensor has IHL (active low) and open
182 .gain = IIO_DEGREE_TO_RAD(8750),
187 .gain = IIO_DEGREE_TO_RAD(17500),
192 .gain = IIO_DEGREE_TO_RAD(70000),
[all …]
/Linux-v6.1/drivers/iio/magnetometer/
Dst_magn_core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2012-2013 STMicroelectronics Inc.
42 /* Special L addresses for Sensor 2 */
47 /* Special L addresses for sensor 3 */
52 /* Special L addresses for sensor 4 */
63 return &mdata->mount_matrix; in st_magn_get_mount_matrix()
146 .wai = 0, /* This sensor has no valid WhoAmI report 0 */
179 .gain = 1100,
185 .gain = 855,
191 .gain = 670,
[all …]
/Linux-v6.1/drivers/media/i2c/et8ek8/
Det8ek8_driver.c1 // SPDX-License-Identifier: GPL-2.0-only
27 #include <linux/v4l2-mediabus.h>
29 #include <media/media-entity.h>
30 #include <media/v4l2-ctrls.h>
31 #include <media/v4l2-device.h>
32 #include <media/v4l2-subdev.h>
70 * This table describes what should be written to the sensor register
71 * for each gain value. The gain(index in the table) is in terms of
72 * 0.1EV, i.e. 10 indexes in the table give 2 time more gain [0] in
73 * the *analog gain, [1] in the digital gain
[all …]

123456789