| /kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
| D | aic7xxx_93cx6.c | 10 * 1. Redistributions of source code must retain the above copyright 39 * ------------------------------------------------------------------- 40 * READ 1 10 A5 - A0 Reads data stored in memory, 42 * EWEN 1 00 11XXXX Write enable must precede 44 * ERASE 1 11 A5 - A0 Erase register A5A4A3A2A1A0 45 * WRITE 1 01 A5 - A0 D15 - D0 Writes register 46 * ERAL 1 00 10XXXX Erase all registers 47 * WRAL 1 00 01XXXX D15 - D0 Writes to all registers 48 * EWDS 1 00 00XXXX Disables all programming 57 * 1 usec, with the clock high and low a minimum of 750 and 250 nsec [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/davinci/ |
| D | vpbe_venc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <linux/platform_data/i2c-davinci.h> 24 #include <media/v4l2-device.h> 28 #define MODULE_NAME "davinci-vpbe-venc" 50 MODULE_PARM_DESC(debug, "Debug level 0-2"); 53 struct v4l2_subdev sd; member 65 static inline struct venc_state *to_state(struct v4l2_subdev *sd) in to_state() argument 67 return container_of(sd, struct venc_state, sd); in to_state() 70 static inline u32 venc_read(struct v4l2_subdev *sd, u32 offset) in venc_read() argument 72 struct venc_state *venc = to_state(sd); in venc_read() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/platform/davinci/ |
| D | vpbe_venc.c | 30 #include <linux/platform_data/i2c-davinci.h> 37 #include <media/v4l2-device.h> 41 #define MODULE_NAME "davinci-vpbe-venc" 63 MODULE_PARM_DESC(debug, "Debug level 0-2"); 66 struct v4l2_subdev sd; member 78 static inline struct venc_state *to_state(struct v4l2_subdev *sd) in to_state() argument 80 return container_of(sd, struct venc_state, sd); in to_state() 83 static inline u32 venc_read(struct v4l2_subdev *sd, u32 offset) in venc_read() argument 85 struct venc_state *venc = to_state(sd); in venc_read() 87 return readl(venc->venc_base + offset); in venc_read() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
| D | w996Xcf.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * Copyright (C) 2002-2004 by Luca Risolia <luca.risolia@studio.unibo.it> 24 #define Y_QUANTABLE (&sd->jpeg_hdr[JPEG_QT0_OFFSET]) 25 #define UV_QUANTABLE (&sd->jpeg_hdr[JPEG_QT1_OFFSET]) 50 static void reg_w(struct sd *sd, u16 index, u16 value); 52 /*-------------------------------------------------------------------------- 53 Write 64-bit data to the fast serial bus registers. 54 Return 0 on success, -1 otherwise. 55 --------------------------------------------------------------------------*/ 56 static void w9968cf_write_fsb(struct sd *sd, u16* data) in w9968cf_write_fsb() argument [all …]
|
| D | cpia1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * cpia CPiA (1) gspca driver 5 * Copyright (C) 2010-2011 Hans de Goede <hdegoede@redhat.com> 9 * (C) Copyright 1999-2000 Peter Pregler 10 * (C) Copyright 1999-2000 Scott J. Bertin 11 * (C) Copyright 1999-2000 Johannes Erdfelt <johannes@erdfelt.com> 34 #define VIDEOSIZE_CIF 1 /* 352x288 */ 36 #define SUBSAMPLE_422 1 38 #define YUVORDER_UYVY 1 40 #define COMPRESSED 1 [all …]
|
| /kernel/linux/linux-4.19/drivers/media/usb/gspca/ |
| D | w996Xcf.c | 9 * Copyright (C) 2002-2004 by Luca Risolia <luca.risolia@studio.unibo.it> 34 #define Y_QUANTABLE (&sd->jpeg_hdr[JPEG_QT0_OFFSET]) 35 #define UV_QUANTABLE (&sd->jpeg_hdr[JPEG_QT1_OFFSET]) 60 static void reg_w(struct sd *sd, u16 index, u16 value); 62 /*-------------------------------------------------------------------------- 63 Write 64-bit data to the fast serial bus registers. 64 Return 0 on success, -1 otherwise. 65 --------------------------------------------------------------------------*/ 66 static void w9968cf_write_fsb(struct sd *sd, u16* data) in w9968cf_write_fsb() argument 68 struct usb_device *udev = sd->gspca_dev.dev; in w9968cf_write_fsb() [all …]
|
| D | cpia1.c | 2 * cpia CPiA (1) gspca driver 4 * Copyright (C) 2010-2011 Hans de Goede <hdegoede@redhat.com> 8 * (C) Copyright 1999-2000 Peter Pregler 9 * (C) Copyright 1999-2000 Scott J. Bertin 10 * (C) Copyright 1999-2000 Johannes Erdfelt <johannes@erdfelt.com> 44 #define VIDEOSIZE_CIF 1 /* 352x288 */ 46 #define SUBSAMPLE_422 1 48 #define YUVORDER_UYVY 1 50 #define COMPRESSED 1 52 #define DECIMATION_ENAB 1 [all …]
|
| /kernel/linux/linux-4.19/drivers/scsi/aic7xxx/ |
| D | aic7xxx_93cx6.c | 10 * 1. Redistributions of source code must retain the above copyright 39 * ------------------------------------------------------------------- 40 * READ 1 10 A5 - A0 Reads data stored in memory, 42 * EWEN 1 00 11XXXX Write enable must precede 44 * ERASE 1 11 A5 - A0 Erase register A5A4A3A2A1A0 45 * WRITE 1 01 A5 - A0 D15 - D0 Writes register 46 * ERAL 1 00 10XXXX Erase all registers 47 * WRAL 1 00 01XXXX D15 - D0 Writes to all registers 48 * EWDS 1 00 00XXXX Disables all programming 57 * 1 usec, with the clock high and low a minimum of 750 and 250 nsec [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 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 18 * The spec file for the PB-0100 suggests the following for best quality [all …]
|
| D | stv06xx.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 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 29 int stv06xx_write_bridge(struct sd *sd, u16 address, u16 i2c_data) in stv06xx_write_bridge() argument [all …]
|
| /kernel/linux/linux-4.19/drivers/media/usb/gspca/stv06xx/ |
| D | stv06xx_pb0100.c | 2 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher 3 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland 18 * P/N 861050-0010: Sensor HDCS1000 ASIC STV0600 19 * P/N 861050-0020: Sensor Photobit PB100 ASIC STV0600-1 - QuickCam Express 20 * P/N 861055: Sensor ST VV6410 ASIC STV0610 - LEGO cam 21 * P/N 861075-0040: Sensor HDCS1000 ASIC 22 * P/N 961179-0700: Sensor ST VV6410 ASIC STV0602 - Dexxa WebCam USB 23 * P/N 861040-0000: Sensor ST VV6410 ASIC STV0610 - QuickCam Web 27 * The spec file for the PB-0100 suggests the following for best quality 35 auto-exposure [all …]
|
| /kernel/linux/linux-5.10/drivers/media/usb/gspca/m5602/ |
| D | m5602_po1030.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 static void po1030_dump_registers(struct sd *sd); 37 {SENSOR, PO1030_AUTOCTRL2, PO1030_SENSOR_RESET | (1 << 2)}, 57 {SENSOR, PO1030_AUTOCTRL2, PO1030_SENSOR_RESET | (1 << 2)}, 107 /* Set the x window to 1 */ 111 /* Set the y window to 1 */ 150 .step = 1, 155 int po1030_probe(struct sd *sd) in po1030_probe() argument 159 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in po1030_probe() 168 return -ENODEV; in po1030_probe() [all …]
|
| D | m5602_ov9650.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 static void ov9650_dump_registers(struct sd *sd); 87 set output Y/UV delay to 1 */ 151 /* Enable denoise, and white-pixel erase */ 294 int ov9650_probe(struct sd *sd) in ov9650_probe() argument 298 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in ov9650_probe() 307 return -ENODEV; in ov9650_probe() 312 /* Run the pre-init before probing the sensor */ in ov9650_probe() 316 err = m5602_write_sensor(sd, in ov9650_probe() 317 preinit_ov9650[i][1], &data, 1); in ov9650_probe() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/usb/gspca/m5602/ |
| D | m5602_po1030.c | 24 static void po1030_dump_registers(struct sd *sd); 41 {SENSOR, PO1030_AUTOCTRL2, PO1030_SENSOR_RESET | (1 << 2)}, 61 {SENSOR, PO1030_AUTOCTRL2, PO1030_SENSOR_RESET | (1 << 2)}, 111 /* Set the x window to 1 */ 115 /* Set the y window to 1 */ 154 .step = 1, 159 int po1030_probe(struct sd *sd) in po1030_probe() argument 162 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in po1030_probe() 171 return -ENODEV; in po1030_probe() 176 /* Run the pre-init to actually probe the unit */ in po1030_probe() [all …]
|
| D | m5602_ov9650.c | 25 static void ov9650_dump_registers(struct sd *sd); 91 set output Y/UV delay to 1 */ 155 /* Enable denoise, and white-pixel erase */ 298 int ov9650_probe(struct sd *sd) in ov9650_probe() argument 302 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in ov9650_probe() 311 return -ENODEV; in ov9650_probe() 316 /* Run the pre-init before probing the sensor */ in ov9650_probe() 320 err = m5602_write_sensor(sd, in ov9650_probe() 321 preinit_ov9650[i][1], &data, 1); in ov9650_probe() 323 err = m5602_write_bridge(sd, in ov9650_probe() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/i2c/ |
| D | adv7842.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * adv7842 - Analog Devices ADV7842 video decoder driver 10 * REF_01 - Analog devices, ADV7842, 12 * REF_02 - Analog devices, Software User Guide, UG-206, 14 * REF_03 - Analog devices, Hardware User Guide, UG-214, 15 * ADV7842 Fast Switching 2:1 HDMI 1.4 Receiver with 3D-Comb 27 #include <linux/v4l2-dv-timings.h> 30 #include <media/v4l2-device.h> 31 #include <media/v4l2-event.h> 32 #include <media/v4l2-ctrls.h> [all …]
|
| D | adv7511-v4l2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * This file is named adv7511-v4l2.c so it doesn't conflict with the Analog 23 #include <linux/v4l2-dv-timings.h> 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-common.h> 26 #include <media/v4l2-ctrls.h> 27 #include <media/v4l2-dv-timings.h> 33 MODULE_PARM_DESC(debug, "debug level (0-2)"); 84 struct v4l2_subdev sd; member 100 /* Did we receive hotplug and rx-sense signals? */ [all …]
|
| D | ad9389b.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * REF_01 - Analog Devices, Programming Guide, AD9889B/AD9389B, 21 #include <linux/v4l2-dv-timings.h> 22 #include <media/v4l2-device.h> 23 #include <media/v4l2-common.h> 24 #include <media/v4l2-dv-timings.h> 25 #include <media/v4l2-ctrls.h> 30 MODULE_PARM_DESC(debug, "debug level (0-2)"); 69 struct v4l2_subdev sd; member 75 /* Did we receive hotplug and rx-sense signals? */ [all …]
|
| D | tc358743.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tc358743 - Toshiba HDMI to CSI-2 bridge 11 * REF_01 - Toshiba, TC358743XBG (H2C), Functional Specification, Rev 0.60 12 * REF_02 - Toshiba, TC358743XBG_HDMI-CSI_Tv11p_nm.xls 27 #include <linux/v4l2-dv-timings.h> 30 #include <media/v4l2-dv-timings.h> 31 #include <media/v4l2-device.h> 32 #include <media/v4l2-ctrls.h> 33 #include <media/v4l2-event.h> 34 #include <media/v4l2-fwnode.h> [all …]
|
| D | adv7183.c | 27 #include <media/v4l2-ctrls.h> 28 #include <media/v4l2-device.h> 33 struct v4l2_subdev sd; member 45 * Mode 1 CVBS Input (Composite Video on AIN5) 46 * All standards are supported through autodetect, 8-bit, 4:2:2, ITU-R BT.656 output on P15 to P8. 52 ADV7183_ADC_CTRL, 0x16, /* Power down ADC 1 and ADC 2 */ 71 static inline struct adv7183 *to_adv7183(struct v4l2_subdev *sd) in to_adv7183() argument 73 return container_of(sd, struct adv7183, sd); in to_adv7183() 77 return &container_of(ctrl->handler, struct adv7183, hdl)->sd; in to_sd() 80 static inline int adv7183_read(struct v4l2_subdev *sd, unsigned char reg) in adv7183_read() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/media/i2c/ |
| D | adv7842.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * adv7842 - Analog Devices ADV7842 video decoder driver 10 * REF_01 - Analog devices, ADV7842, 12 * REF_02 - Analog devices, Software User Guide, UG-206, 14 * REF_03 - Analog devices, Hardware User Guide, UG-214, 15 * ADV7842 Fast Switching 2:1 HDMI 1.4 Receiver with 3D-Comb 27 #include <linux/v4l2-dv-timings.h> 30 #include <media/v4l2-device.h> 31 #include <media/v4l2-event.h> 32 #include <media/v4l2-ctrls.h> [all …]
|
| D | adv7511-v4l2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * This file is named adv7511-v4l2.c so it doesn't conflict with the Analog 23 #include <linux/v4l2-dv-timings.h> 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-common.h> 26 #include <media/v4l2-ctrls.h> 27 #include <media/v4l2-dv-timings.h> 33 MODULE_PARM_DESC(debug, "debug level (0-2)"); 84 struct v4l2_subdev sd; member 100 /* Did we receive hotplug and rx-sense signals? */ [all …]
|
| D | ad9389b.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * REF_01 - Analog Devices, Programming Guide, AD9889B/AD9389B, 21 #include <linux/v4l2-dv-timings.h> 22 #include <media/v4l2-device.h> 23 #include <media/v4l2-common.h> 24 #include <media/v4l2-dv-timings.h> 25 #include <media/v4l2-ctrls.h> 30 MODULE_PARM_DESC(debug, "debug level (0-2)"); 69 struct v4l2_subdev sd; member 75 /* Did we receive hotplug and rx-sense signals? */ [all …]
|
| D | tc358743.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tc358743 - Toshiba HDMI to CSI-2 bridge 11 * REF_01 - Toshiba, TC358743XBG (H2C), Functional Specification, Rev 0.60 12 * REF_02 - Toshiba, TC358743XBG_HDMI-CSI_Tv11p_nm.xls 27 #include <linux/v4l2-dv-timings.h> 30 #include <media/v4l2-dv-timings.h> 31 #include <media/v4l2-device.h> 32 #include <media/v4l2-ctrls.h> 33 #include <media/v4l2-event.h> 34 #include <media/v4l2-fwnode.h> [all …]
|
| D | adv7183.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <media/v4l2-ctrls.h> 20 #include <media/v4l2-device.h> 25 struct v4l2_subdev sd; member 37 * Mode 1 CVBS Input (Composite Video on AIN5) 38 * All standards are supported through autodetect, 8-bit, 4:2:2, ITU-R BT.656 output on P15 to P8. 44 ADV7183_ADC_CTRL, 0x16, /* Power down ADC 1 and ADC 2 */ 63 static inline struct adv7183 *to_adv7183(struct v4l2_subdev *sd) in to_adv7183() argument 65 return container_of(sd, struct adv7183, sd); in to_adv7183() 69 return &container_of(ctrl->handler, struct adv7183, hdl)->sd; in to_sd() [all …]
|