Home
last modified time | relevance | path

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

12345678910>>...43

/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/drivers/media/usb/gspca/
H A Dw996Xcf.c1 // 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 …]
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>
34 #define VIDEOSIZE_CIF 1 /* 352x288 */
36 #define SUBSAMPLE_422 1
38 #define YUVORDER_UYVY 1
40 #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 …]
/OK3568_Linux_fs/kernel/drivers/media/platform/davinci/
H A Dvpbe_venc.c1 // 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 …]
H A Dvpbe_osd.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2007-2010 Texas Instruments Inc
7 * - Initial version
9 * - ported to sub device interface
20 #include <media/v4l2-device.h>
27 #define MODULE_NAME "davinci-vpbe-osd"
48 static inline u32 osd_read(struct osd_state *sd, u32 offset) in osd_read() argument
50 struct osd_state *osd = sd; in osd_read()
52 return readl(osd->osd_base + offset); in osd_read()
55 static inline u32 osd_write(struct osd_state *sd, u32 val, u32 offset) in osd_write() argument
[all …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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
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 …]
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 Dad9389b.c1 // 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 …]
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 …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dbcmsdstd.c6 * Copyright (C) 1999-2017, Broadcom Corporation
27 * <<Broadcom-WL-IPTag/Open:>>
29 * $Id: bcmsdstd.c 700323 2017-05-18 16:12:11Z $
47 #define SD_PAGE (1 << SD_PAGE_BITS)
51 * Upper GPIO 16 - 31 are available on J22
53 * Lower GPIO 0 - 15 are available on J15 (WL_GPIO)
65 uint sd_hiok = TRUE; /* Use hi-speed mode if available? */
72 /* sd3ClkMode: 0-SDR12 [25MHz]
73 * 1-SDR25 [50MHz]+SHS=1
74 * 2-SDR50 [100MHz]+SSDR50=1
[all …]
H A Dbcmsdh_sdmmc.c6 * Copyright (C) 1999-2017, Broadcom Corporation
27 * <<Broadcom-WL-IPTag/Proprietary,Open:>>
29 * $Id: bcmsdh_sdmmc.c 690631 2017-03-17 04:27:33Z $
81 return host->ios.clock; in mmc_host_clk_rate()
94 static int sdioh_sdmmc_get_cisaddr(sdioh_info_t *sd, uint32 regaddr);
126 uint sd_power = 1; /* Default to SD Slot powered ON */
127 uint sd_clock = 1; /* Default to SD Clock turned ON */
128 uint sd_hiok = FALSE; /* Don't use hi-speed mode by default */
147 int sdioh_sdmmc_card_regread(sdioh_info_t *sd, int func, uint32 regaddr, int regsize, uint32 *data);
151 void sdioh_sdmmc_card_enable_func_f3(sdioh_info_t *sd, struct sdio_func *func) in sdioh_sdmmc_card_enable_func_f3() argument
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dbcmsdstd.c6 * Copyright (C) 1999-2017, Broadcom Corporation
27 * <<Broadcom-WL-IPTag/Open:>>
29 * $Id: bcmsdstd.c 700323 2017-05-18 16:12:11Z $
47 #define SD_PAGE (1 << SD_PAGE_BITS)
51 * Upper GPIO 16 - 31 are available on J22
53 * Lower GPIO 0 - 15 are available on J15 (WL_GPIO)
65 uint sd_hiok = TRUE; /* Use hi-speed mode if available? */
72 /* sd3ClkMode: 0-SDR12 [25MHz]
73 * 1-SDR25 [50MHz]+SHS=1
74 * 2-SDR50 [100MHz]+SSDR50=1
[all …]
H A Dbcmsdh_sdmmc.c6 * Copyright (C) 1999-2017, Broadcom Corporation
27 * <<Broadcom-WL-IPTag/Proprietary,Open:>>
29 * $Id: bcmsdh_sdmmc.c 690631 2017-03-17 04:27:33Z $
81 return host->ios.clock; in mmc_host_clk_rate()
94 static int sdioh_sdmmc_get_cisaddr(sdioh_info_t *sd, uint32 regaddr);
126 uint sd_power = 1; /* Default to SD Slot powered ON */
127 uint sd_clock = 1; /* Default to SD Clock turned ON */
128 uint sd_hiok = FALSE; /* Don't use hi-speed mode by default */
151 int sdioh_sdmmc_card_regread(sdioh_info_t *sd, int func, uint32 regaddr, int regsize, uint32 *data);
155 void sdioh_sdmmc_card_enable_func_f3(sdioh_info_t *sd, struct sdio_func *func) in sdioh_sdmmc_card_enable_func_f3() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dbcmsdstd.c6 * Copyright (C) 1999-2017, Broadcom Corporation
27 * <<Broadcom-WL-IPTag/Open:>>
29 * $Id: bcmsdstd.c 700323 2017-05-18 16:12:11Z $
47 #define SD_PAGE (1 << SD_PAGE_BITS)
51 * Upper GPIO 16 - 31 are available on J22
53 * Lower GPIO 0 - 15 are available on J15 (WL_GPIO)
65 uint sd_hiok = TRUE; /* Use hi-speed mode if available? */
72 /* sd3ClkMode: 0-SDR12 [25MHz]
73 * 1-SDR25 [50MHz]+SHS=1
74 * 2-SDR50 [100MHz]+SSDR50=1
[all …]
H A Dbcmsdh_sdmmc.c6 * Copyright (C) 1999-2017, Broadcom Corporation
27 * <<Broadcom-WL-IPTag/Proprietary,Open:>>
29 * $Id: bcmsdh_sdmmc.c 690631 2017-03-17 04:27:33Z $
81 return host->ios.clock; in mmc_host_clk_rate()
94 static int sdioh_sdmmc_get_cisaddr(sdioh_info_t *sd, uint32 regaddr);
126 uint sd_power = 1; /* Default to SD Slot powered ON */
127 uint sd_clock = 1; /* Default to SD Clock turned ON */
128 uint sd_hiok = FALSE; /* Don't use hi-speed mode by default */
149 int sdioh_sdmmc_card_regread(sdioh_info_t *sd, int func, uint32 regaddr, int regsize, uint32 *data);
153 void sdioh_sdmmc_card_enable_func_f3(sdioh_info_t *sd, struct sdio_func *func) in sdioh_sdmmc_card_enable_func_f3() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dbcmsdstd.c21 * <<Broadcom-WL-IPTag/Open:>>
47 #define SD_PAGE (1 << SD_PAGE_BITS)
51 * Upper GPIO 16 - 31 are available on J22
53 * Lower GPIO 0 - 15 are available on J15 (WL_GPIO)
64 uint sd_hiok = TRUE; /* Use hi-speed mode if available? */
71 /* sd3ClkMode: 0-SDR12 [25MHz]
72 * 1-SDR25 [50MHz]+SHS=1
73 * 2-SDR50 [100MHz]+SSDR50=1
74 * 3-SDR104 [208MHz]+SSDR104=1
75 * 4-DDR50 [50MHz]+SDDR50=1
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dbcmsdstd.c21 * <<Broadcom-WL-IPTag/Open:>>
47 #define SD_PAGE (1 << SD_PAGE_BITS)
51 * Upper GPIO 16 - 31 are available on J22
53 * Lower GPIO 0 - 15 are available on J15 (WL_GPIO)
64 uint sd_hiok = TRUE; /* Use hi-speed mode if available? */
71 /* sd3ClkMode: 0-SDR12 [25MHz]
72 * 1-SDR25 [50MHz]+SHS=1
73 * 2-SDR50 [100MHz]+SSDR50=1
74 * 3-SDR104 [208MHz]+SSDR104=1
75 * 4-DDR50 [50MHz]+SDDR50=1
[all …]
/OK3568_Linux_fs/kernel/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 …]

12345678910>>...43