Home
last modified time | relevance | path

Searched +full:1 +full:- +full:sd (Results 1 – 25 of 1126) sorted by relevance

12345678910>>...46

/linux/drivers/scsi/aic7xxx/
H A Daic7xxx_93cx6.c10 * 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 …]
/linux/drivers/media/usb/gspca/
H A Dw996Xcf.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Copyright (C) 2002-2004 by Luca Risolia <luca.risolia@studio.unibo.it>
23 #define Y_QUANTABLE (&sd->jpeg_hdr[JPEG_QT0_OFFSET])
24 #define UV_QUANTABLE (&sd->jpeg_hdr[JPEG_QT1_OFFSET])
49 static void reg_w(struct sd *sd, u16 index, u16 value);
51 /*--------------------------------------------------------------------------
52 Write 64-bit data to the fast serial bus registers.
53 Return 0 on success, -1 otherwise.
54 --------------------------------------------------------------------------*/
55 static void w9968cf_write_fsb(struct sd *sd, u16* data) in w9968cf_write_fsb() argument
[all …]
H A Dcpia1.c1 // 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>
35 #define VIDEOSIZE_CIF 1 /* 352x288 */
37 #define SUBSAMPLE_422 1
39 #define YUVORDER_UYVY 1
41 #define COMPRESSED 1
[all …]
H A 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>");
50 struct sd { struct
70 #define BRIDGE_OV511PLUS 1
132 unsigned int has_brightness:1;
[all …]
H A Dse401.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 #define MAX_MODES ((READ_REQ_SIZE - 6) / 4)
42 struct sd { struct
67 if (gspca_dev->usb_err < 0) in se401_write_req()
70 err = usb_control_msg(gspca_dev->dev, in se401_write_req()
71 usb_sndctrlpipe(gspca_dev->dev, 0), req, in se401_write_req()
78 gspca_dev->usb_err = err; in se401_write_req()
86 if (gspca_dev->usb_err < 0) in se401_read_req()
91 gspca_dev->usb_err = -ENOBUFS; in se401_read_req()
95 err = usb_control_msg(gspca_dev->dev, in se401_read_req()
[all …]
/linux/drivers/media/i2c/
H A Dadv7511-v4l2.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * This file is named adv7511-v4l2.c so it doesn't conflict with the Analog
22 #include <linux/v4l2-dv-timings.h>
23 #include <media/v4l2-device.h>
24 #include <media/v4l2-common.h>
25 #include <media/v4l2-ctrls.h>
26 #include <media/v4l2-dv-timings.h>
32 MODULE_PARM_DESC(debug, "debug level (0-2)");
78 struct v4l2_subdev sd; member
94 /* Did we receive hotplug and rx-sense signals? */
[all …]
H A Dadv7842.c1 // 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 …]
H A Dtc358743.c1 // 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 …]
H A Dsaa7110.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * saa7110 - Philips SAA7110(A) video decoder driver
9 * - some corrections for Pinnacle Systems Inc. DC10plus card.
12 * - moved over to linux>=2.4.x i2c protocol (1/1/2003)
24 #include <media/v4l2-device.h>
25 #include <media/v4l2-ctrls.h>
34 MODULE_PARM_DESC(debug, "Debug level (0-1)");
37 #define SAA7110_MAX_OUTPUT 1 /* 1 YUV */
42 struct v4l2_subdev sd; member
53 static inline struct saa7110 *to_saa7110(struct v4l2_subdev *sd) in to_saa7110() argument
[all …]
H A Dadv7183.c1 // 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 …]
H A Dths8200.c2 * ths8200 - Texas Instruments THS8200 video encoder driver
23 #include <linux/v4l2-dv-timings.h>
25 #include <media/v4l2-dv-timings.h>
26 #include <media/v4l2-async.h>
27 #include <media/v4l2-device.h>
33 MODULE_PARM_DESC(debug, "debug level (0-2)");
41 struct v4l2_subdev sd; member
56 static inline struct ths8200_state *to_state(struct v4l2_subdev *sd) in to_state() argument
58 return container_of(sd, struct ths8200_state, sd); in to_state()
71 static int ths8200_read(struct v4l2_subdev *sd, u8 reg) in ths8200_read() argument
[all …]
H A Dadv7604.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * adv7604 - Analog Devices ADV7604 video decoder driver
11 * REF_01 - Analog devices, ADV7604, Register Settings Recommendations,
13 * REF_02 - Analog devices, Register map documentation, Documentation of
15 * REF_03 - Analog devices, ADV7604, Hardware Manual, Rev. F, August 2010
26 #include <linux/v4l2-dv-timings.h>
34 #include <media/v4l2-ctrls.h>
35 #include <media/v4l2-device.h>
36 #include <media/v4l2-event.h>
37 #include <media/v4l2-dv-timings.h>
[all …]
H A Dmt9v011.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt9v011 -Micron 1/4-Inch VGA Digital Image Sensor
13 #include <media/v4l2-device.h>
14 #include <media/v4l2-ctrls.h>
23 MODULE_PARM_DESC(debug, "Debug level (0-2)");
51 struct v4l2_subdev sd; member
56 unsigned hflip:1;
57 unsigned vflip:1;
63 static inline struct mt9v011 *to_mt9v011(struct v4l2_subdev *sd) in to_mt9v011() argument
65 return container_of(sd, struct mt9v011, sd); in to_mt9v011()
[all …]
H A Dks0127.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Video Capture Driver (Video for Linux 1/2)
4 * for the Matrox Marvel G200,G400 and Rainbow Runner-G series
20 * V1.1 Gerard v.d. Horst Added some debugoutput, reset the video-standard
31 #include <media/v4l2-device.h>
179 struct v4l2_subdev sd; member
184 static inline struct ks0127 *to_ks0127(struct v4l2_subdev *sd) in to_ks0127() argument
186 return container_of(sd, struct ks0127, sd); in to_ks0127()
204 initialized = 1; in init_reg_defaults()
209 /* clock & input select, write 1 to PORTA */ in init_reg_defaults()
[all …]
H A Dtda1997x.c1 // SPDX-License-Identifier: GPL-2.0
16 #include <linux/v4l2-dv-timings.h>
19 #include <media/v4l2-ctrls.h>
20 #include <media/v4l2-device.h>
21 #include <media/v4l2-dv-timings.h>
22 #include <media/v4l2-event.h>
23 #include <media/v4l2-fwnode.h>
31 #include <dt-bindings/media/tda1997x.h>
40 MODULE_PARM_DESC(debug, "debug level (0-2)");
46 "OBA", /* One-Bit Audio */
[all …]
H A Dvpx3220.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * vpx3220a, vpx3216b & vpx3214c video decoder driver version 0.0.1
16 #include <media/v4l2-device.h>
17 #include <media/v4l2-ctrls.h>
25 MODULE_PARM_DESC(debug, "Debug level (0-1)");
30 /* ----------------------------------------------------------------------- */
33 struct v4l2_subdev sd; member
42 static inline struct vpx3220 *to_vpx3220(struct v4l2_subdev *sd) in to_vpx3220() argument
44 return container_of(sd, struct vpx3220, sd); in to_vpx3220()
49 return &container_of(ctrl->handler, struct vpx3220, hdl)->sd; in to_sd()
[all …]
/linux/drivers/media/usb/gspca/m5602/
H A Dm5602_po1030.c1 // 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 …]
H A Dm5602_ov9650.c1 // 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 …]
H A Dm5602_s5k83a.c1 // SPDX-License-Identifier: GPL-2.0-only
164 static void s5k83a_dump_registers(struct sd *sd);
165 static int s5k83a_get_rotation(struct sd *sd, u8 *reg_data);
166 static int s5k83a_set_led_indication(struct sd *sd, u8 val);
170 int s5k83a_probe(struct sd *sd) in s5k83a_probe() argument
174 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in s5k83a_probe()
183 return -ENODEV; in s5k83a_probe()
192 err = m5602_write_sensor(sd, preinit_s5k83a[i][1], in s5k83a_probe()
195 err = m5602_write_bridge(sd, preinit_s5k83a[i][1], in s5k83a_probe()
202 if (m5602_read_sensor(sd, 0x00, &prod_id, 1)) in s5k83a_probe()
[all …]
H A Dm5602_mt9m111.c1 // SPDX-License-Identifier: GPL-2.0-only
20 static void mt9m111_dump_registers(struct sd *sd);
190 .step = 1,
195 int mt9m111_probe(struct sd *sd) in mt9m111_probe() argument
199 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in mt9m111_probe()
208 return -ENODEV; in mt9m111_probe()
216 err = m5602_write_bridge(sd, in mt9m111_probe()
217 preinit_mt9m111[i][1], in mt9m111_probe()
221 data[1] = preinit_mt9m111[i][3]; in mt9m111_probe()
222 err = m5602_write_sensor(sd, in mt9m111_probe()
[all …]
H A Dm5602_ov7660.c1 // SPDX-License-Identifier: GPL-2.0-only
20 static void ov7660_dump_registers(struct sd *sd);
193 int ov7660_probe(struct sd *sd) in ov7660_probe() argument
205 return -ENODEV; in ov7660_probe()
213 err = m5602_write_bridge(sd, in ov7660_probe()
214 preinit_ov7660[i][1], in ov7660_probe()
218 err = m5602_write_sensor(sd, in ov7660_probe()
219 preinit_ov7660[i][1], data, 1); in ov7660_probe()
225 if (m5602_read_sensor(sd, OV7660_PID, &prod_id, 1)) in ov7660_probe()
226 return -ENODEV; in ov7660_probe()
[all …]
/linux/drivers/media/usb/gspca/stv06xx/
H A 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
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 …]
H A Dstv06xx.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
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 …]
/linux/drivers/media/usb/gspca/gl860/
H A Dgl860.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * GSPCA by Jean-Francois Moine <http://moinejf.free.fr>
40 MODULE_PARM_DESC(AC50Hz, " Does AC power frequency is 50Hz? (0/1)");
52 container_of(ctrl->handler, struct gspca_dev, ctrl_handler); in sd_s_ctrl()
53 struct sd *sd = (struct sd *) gspca_dev; in sd_s_ctrl() local
55 switch (ctrl->id) { in sd_s_ctrl()
57 sd->vcur.brightness = ctrl->val; in sd_s_ctrl()
60 sd->vcur.contrast = ctrl->val; in sd_s_ctrl()
63 sd->vcur.saturation = ctrl->val; in sd_s_ctrl()
66 sd->vcur.hue = ctrl->val; in sd_s_ctrl()
[all …]
/linux/drivers/clk/uniphier/
H A Dclk-uniphier-mio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #include "clk-uniphier.h"
12 UNIPHIER_CLK_FACTOR("sd-44m", -1, "sd-133m", 1, 3), \
13 UNIPHIER_CLK_FACTOR("sd-33m", -1, "sd-200m", 1, 6), \
14 UNIPHIER_CLK_FACTOR("sd-50m", -1, "sd-200m", 1, 4), \
15 UNIPHIER_CLK_FACTOR("sd-67m", -1, "sd-200m", 1, 3), \
16 UNIPHIER_CLK_FACTOR("sd-100m", -1, "sd-200m", 1, 2), \
17 UNIPHIER_CLK_FACTOR("sd-40m", -1, "sd-200m", 1, 5), \
18 UNIPHIER_CLK_FACTOR("sd-25m", -1, "sd-200m", 1, 8), \
19 UNIPHIER_CLK_FACTOR("sd-22m", -1, "sd-133m", 1, 6)
[all …]

12345678910>>...46