| /kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
| D | sonixb.c | 1 // 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 …]
|
| D | sq930x.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/media/usb/gspca/ |
| D | sonixb.c | 1 // 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 …]
|
| D | sq930x.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/usb/gspca/stv06xx/ |
| D | stv06xx_pb0100.c | 1 // 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 …]
|
| D | stv06xx_pb0100.h | 1 /* 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 …]
|
| /kernel/linux/linux-6.6/drivers/media/usb/gspca/stv06xx/ |
| D | stv06xx_pb0100.c | 1 // 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 …]
|
| D | stv06xx_pb0100.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-bus-iio-isl29501 | 4 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.
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-bus-iio-isl29501 | 4 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.
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/drivers/ |
| D | ccs.rst | 1 .. 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 …]
|
| /kernel/linux/linux-6.6/drivers/iio/imu/st_lsm6dsx/ |
| D | st_lsm6dsx_shub.c | 5 * 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 …]
|
| D | st_lsm6dsx.h | 1 /* 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" 150 u32 gain; member 163 * struct st_lsm6dsx_fifo_ops - ST IMU FIFO settings 168 * @max_size: Sensor max fifo length in FIFO words. 172 int (*update_fifo)(struct st_lsm6dsx_sensor *sensor, bool enable); 187 * struct st_lsm6dsx_hw_ts_settings - ST IMU hw timer settings 203 * struct st_lsm6dsx_shub_settings - ST IMU hw i2c controller settings [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/imu/st_lsm6dsx/ |
| D | st_lsm6dsx_shub.c | 5 * 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 …]
|
| D | st_lsm6dsx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * STMicroelectronics st_lsm6dsx sensor driver 26 #define ST_LSM6DS3TRC_DEV_NAME "lsm6ds3tr-c" 28 #define ST_LSM9DS1_DEV_NAME "lsm9ds1-imu" 123 u32 gain; member 136 * struct st_lsm6dsx_fifo_ops - ST IMU FIFO settings 144 int (*update_fifo)(struct st_lsm6dsx_sensor *sensor, bool enable); 158 * struct st_lsm6dsx_hw_ts_settings - ST IMU hw timer settings 174 * struct st_lsm6dsx_shub_settings - ST IMU hw i2c controller settings 177 * @pullup_en: i2c controller pull-up register info (addr + mask). [all …]
|
| /kernel/linux/linux-6.6/drivers/media/i2c/ccs/ |
| D | ccs-quirk.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/ |
| D | ext-ctrls-image-source.rst | 1 .. 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/i2c/smiapp/ |
| D | smiapp-quirk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/media/i2c/smiapp/smiapp-quirk.c 7 * Copyright (C) 2011--2012 Nokia Corporation 15 static int smiapp_write_8(struct smiapp_sensor *sensor, u16 reg, u8 val) in smiapp_write_8() argument 17 return smiapp_write(sensor, SMIAPP_REG_MK_U8(reg), val); in smiapp_write_8() 20 static int smiapp_write_8s(struct smiapp_sensor *sensor, in smiapp_write_8s() argument 23 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_write_8s() 26 for (; len > 0; len--, regs++) { in smiapp_write_8s() 27 rval = smiapp_write_8(sensor, regs->reg, regs->val); in smiapp_write_8s() 29 dev_err(&client->dev, in smiapp_write_8s() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/light/ |
| D | us5182d.txt | 1 * UPISEMI us5182d I2C ALS and Proximity sensor 4 - compatible: must be "upisemi,usd5182" 5 - reg: the I2C address of the device 8 - upisemi,glass-coef: glass attenuation factor - compensation factor of 11 - upisemi,dark-ths: array of 8 elements containing 16-bit thresholds (adc 14 - upisemi,upper-dark-gain: 8-bit dark gain compensation factor(4 int and 4 15 fractional bits - Q4.4) applied when light > threshold 17 - upisemi,lower-dark-gain: 8-bit dark gain compensation factor(4 int and 4 18 fractional bits - Q4.4) applied when light < threshold 20 - upisemi,continuous: This chip has two power modes: one-shot (chip takes one [all …]
|
| D | amstaos,tsl2563.yaml | 1 # 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/light/ |
| D | amstaos,tsl2563.yaml | 1 # 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 …]
|
| D | upisemi,us5182.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| D | cap11xx.txt | 24 microchip,sensor-gain: Defines the gain of the sensor circuitry. This 29 By default, a gain of 1 is set. 31 microchip,irq-active-high: By default the interrupt pin is active low 33 high push-pull output. 46 interrupt-parent = <&gpio1>; 50 microchip,sensor-gain = <2>; 59 #address-cells = <1>; 60 #size-cells = <0>;
|
| /kernel/linux/linux-6.6/drivers/media/i2c/ |
| D | imx335.c | 1 // 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 85 * struct imx335_mode - imx335 sensor mode structure 93 * @pclk: Sensor pixel clock [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/light/ |
| D | rohm-bu27034.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * BU27034 ROHM Ambient Light Sensor 6 * https://fscdn.rohm.com/en/products/databook/datasheet/ic/sensor/light/bu27034nuc-e.pdf 21 #include <linux/iio/iio-gts-helper.h> 55 * inevitable even if the sensor clock would be perfectly phase-locked to CPU 56 * clock - which we can't say is the case. 59 * risk of losing a sample because things can in a rainy-day scenario be 72 * Downside is that the time-stamps would be very inaccurate as the wake-up 73 * would not really be tied to the sensor toggling the valid bit. This would also 74 * result 'jumps' in the time-stamps when the delay drifted so that wake-up was [all …]
|