Home
last modified time | relevance | path

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

12345678

/linux/drivers/media/i2c/
H A Dvpx3220.c1 // SPDX-License-Identifier: GPL-2.0-or-later
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()
54 /* ----------------------------------------------------------------------- */
[all …]
H A Dak881x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for AK8813 / AK8814 TV-ecoders from Asahi Kasei Microsystems Co., Ltd. (AKM)
16 #include <media/v4l2-common.h>
17 #include <media/v4l2-device.h>
31 unsigned int lines; member
61 static int ak881x_g_register(struct v4l2_subdev *sd, in ak881x_g_register() argument
64 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_g_register()
66 if (reg->reg > 0x26) in ak881x_g_register()
67 return -EINVAL; in ak881x_g_register()
69 reg->size = 1; in ak881x_g_register()
[all …]
H A Dsaa7115.c1 // SPDX-License-Identifier: GPL-2.0+
2 // saa711x - Philips SAA711x video decoder driver
23 // Copyright (c) 2005-2006 Mauro Carvalho Chehab <mchehab@kernel.org>
33 #include <media/v4l2-device.h>
34 #include <media/v4l2-ctrls.h>
35 #include <media/v4l2-mc.h>
49 MODULE_PARM_DESC(debug, "Debug level (0-1)");
69 struct v4l2_subdev sd; member
97 static inline struct saa711x_state *to_state(struct v4l2_subdev *sd) in to_state() argument
99 return container_of(sd, struct saa711x_state, sd); in to_state()
[all …]
H A Dov9282.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <media/v4l2-ctrls.h>
17 #include <media/v4l2-event.h>
18 #include <media/v4l2-fwnode.h>
19 #include <media/v4l2-subdev.h>
33 /* Lines per frame */
104 * struct ov9282_reg - ov9282 sensor register
114 * struct ov9282_reg_list - ov9282 sensor register list
124 * struct ov9282_mode - ov9282 sensor mode structure
127 * @hblank_min: Minimum horizontal blanking in lines for non-continuous[0] and
[all …]
H A Dimx412.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <media/v4l2-ctrls.h>
17 #include <media/v4l2-fwnode.h>
18 #include <media/v4l2-subdev.h>
25 /* Lines per frame */
60 * struct imx412_reg - imx412 sensor register
70 * struct imx412_reg_list - imx412 sensor register list
80 * struct imx412_mode - imx412 sensor mode structure
84 * @hblank: Horizontal blanking in lines
85 * @vblank: Vertical blanking in lines
[all …]
H A Dimx335.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <media/v4l2-cci.h>
17 #include <media/v4l2-ctrls.h>
18 #include <media/v4l2-fwnode.h>
19 #include <media/v4l2-subdev.h>
36 /* Lines per frame */
132 * struct imx335_reg_list - imx335 sensor register list
148 * struct imx335_mode - imx335 sensor mode structure
152 * @hblank: Horizontal blanking in lines
153 * @vblank: Vertical blanking in lines
[all …]
H A Dimx334.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <media/v4l2-ctrls.h>
16 #include <media/v4l2-fwnode.h>
17 #include <media/v4l2-subdev.h>
24 /* Lines per frame */
78 * struct imx334_reg - imx334 sensor register
88 * struct imx334_reg_list - imx334 sensor register list
98 * struct imx334_mode - imx334 sensor mode structure
101 * @hblank: Horizontal blanking in lines
102 * @vblank: Vertical blanking in lines
[all …]
/linux/drivers/media/pci/cx18/
H A Dcx18-av-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Derived from cx25840-core.c
11 #include "cx18-driver.h"
12 #include "cx18-io.h"
13 #include "cx18-cards.h"
106 /* xtal * 0xe.2913d68/0x16 = 48000 * 384: 406 MHz pre post-div*/ in cx18_av_init()
113 static void cx18_av_initialize(struct v4l2_subdev *sd) in cx18_av_initialize() argument
115 struct cx18_av_state *state = to_cx18_av_state(sd); in cx18_av_initialize()
116 struct cx18 *cx = v4l2_get_subdevdata(sd); in cx18_av_initialize()
127 /* enable sleep mode - register appears to be read only... */ in cx18_av_initialize()
[all …]
H A Dcx18-vbi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Derived from ivtv-vbi.c
10 #include "cx18-driver.h"
11 #include "cx18-vbi.h"
12 #include "cx18-ioctl.h"
13 #include "cx18-queue.h"
25 static void copy_vbi_data(struct cx18 *cx, int lines, u32 pts_stamp) in copy_vbi_data() argument
32 /* MPEG-2 Program Pack */ in copy_vbi_data()
37 /* MPEG-2 Private Stream 1 PES Packet */ in copy_vbi_data()
44 const int sd = sizeof(mpeg_hdr_data); /* start of vbi data */ in copy_vbi_data() local
[all …]
H A Dcx18-av-vbi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Derived from cx25840-vbi.c
11 #include "cx18-driver.h"
14 * For sliced VBI output, we set up to use VIP-1.1, 8-bit mode,
16 * Thus, according to the VIP-2 Spec, our VBI ancillary data lines
24 * 2 byte Internal DID: VBI-line-# 0x80
29 * The RP codes for EAVs when in VIP-1.1 mode, not in raw mode, &
35 * before the first active region line and for active lines, they are:
118 int cx18_av_g_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *svbi) in cx18_av_g_sliced_fmt() argument
120 struct cx18 *cx = v4l2_get_subdevdata(sd); in cx18_av_g_sliced_fmt()
[all …]
H A Dcx18-av-core.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Derived from cx25840-core.h
14 #include <media/v4l2-device.h>
15 #include <media/v4l2-ctrls.h>
20 /* Composite video inputs In1-In8 */
30 /* S-Video inputs consist of one luma input (In1-In8) ORed with one
31 chroma input (In5-In8) */
46 /* S-Video aliases for common luma/chroma combinations */
52 /* Component Video inputs consist of one luma input (In1-In8) ORed
53 with a red chroma (In4-In6) and blue chroma input (In7-In8) */
[all …]
/linux/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx.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
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
52 /* 1: 288 lines, 2: 144 lines */
[all …]
H A Dstv06xx_st6422.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Strongly based on qc-usb-messenger, which is:
10 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher
11 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland
20 /* Note we actually get 124 lines of data, of which we skip the 4st
32 /* Note we actually get 248 lines of data, of which we skip the 4st
34 first 240 of the 244 lines it actually gets, so that it ignores
49 static int setbrightness(struct sd *sd, s32 val);
50 static int setcontrast(struct sd *sd, s32 val);
51 static int setgain(struct sd *sd, u8 gain);
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dqcom,lpass-cpu.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/qcom,lpass-cpu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
11 - Rohit kumar <quic_rohkumar@quicinc.com>
14 Qualcomm Technologies Inc. SOC Low-Power Audio SubSystem (LPASS) that consist
16 is a module to configure Low-Power Audio Interface(LPAIF) core registers
22 - qcom,lpass-cpu
23 - qcom,apq8016-lpass-cpu
[all …]
H A Dqcom,q6dsp-lpass-ports.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/qcom,q6dsp-lpass-ports.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
18 - qcom,q6afe-dais
20 '#sound-dai-cells':
23 '#address-cells':
26 '#size-cells':
31 '^dai@[0-9]+$':
[all …]
/linux/drivers/media/pci/ivtv/
H A Divtv-vbi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 Copyright (C) 2004-2007 Hans Verkuil <hverkuil@xs4all.nl>
8 #include "ivtv-driver.h"
9 #include "ivtv-i2c.h"
10 #include "ivtv-ioctl.h"
11 #include "ivtv-queue.h"
12 #include "ivtv-cards.h"
13 #include "ivtv-vbi.h"
19 if (!(itv->v4l2_cap & V4L2_CAP_VIDEO_OUTPUT)) in ivtv_set_vps()
24 data.data[2] = itv->vbi.vps_payload.data[0]; in ivtv_set_vps()
[all …]
/linux/Documentation/devicetree/bindings/mmc/
H A Dmmc-controller.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mmc/mmc-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ulf Hansson <ulf.hansson@linaro.org>
25 "#address-cells":
30 "#size-cells":
37 broken-cd:
42 cd-gpios:
47 non-removable:
[all …]
/linux/Documentation/driver-api/gpio/
H A Ddrivers-on-gpio.rst6 the right in-kernel and userspace APIs/ABIs for the job, and that these
10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO
11 lines, giving you the LED sysfs interface
13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger,
15 (and that LED may in turn use the leds-gpio as per above).
17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line
20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your
24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with
26 mouse cable and connect the wires to GPIO lines or solder a mouse connector
27 to the lines for a more permanent solution of this type.
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dsc7280-herobrine-audio-rt5682.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
11 /* BOARD-SPECIFIC TOP LEVEL NODES */
13 compatible = "google,sc7280-herobrine";
14 model = "sc7280-rt5682-max98360a-1mic";
16 audio-routing = "Headphone Jack", "HPOL",
19 #address-cells = <1>;
20 #size-cells = <0>;
22 dai-link@0 {
23 link-name = "MAX98360";
27 sound-dai = <&lpass_cpu MI2S_SECONDARY>;
[all …]
H A Dsc7280-herobrine-audio-rt5682-3mic.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
11 /* BOARD-SPECIFIC TOP LEVEL NODES */
13 compatible = "google,sc7280-herobrine";
14 model = "sc7280-rt5682-max98360a-3mic";
16 audio-routing = "VA DMIC0", "vdd-micb",
17 "VA DMIC1", "vdd-micb",
18 "VA DMIC2", "vdd-micb",
19 "VA DMIC3", "vdd-micb",
24 #address-cells = <1>;
25 #size-cells = <0>;
[all …]
H A Dmsm8916-samsung-gt5-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/sound/apq8016-lpass.h>
16 mmc1 = &sdhc_2; /* SD card */
21 stdout-path = "serial0";
[all …]
/linux/drivers/media/usb/gspca/
H A Dtv8532.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * V4L2 by Jean-Francois Moine <http://moinejf.free.fr>
16 struct sd { struct
35 /* TV-8532A (ICM532A) registers (LE) */
108 gspca_dev->usb_buf[0] = value; in reg_w1()
109 usb_control_msg(gspca_dev->dev, in reg_w1()
110 usb_sndctrlpipe(gspca_dev->dev, 0), in reg_w1()
114 index, gspca_dev->usb_buf, 1, 500); in reg_w1()
121 gspca_dev->usb_buf[0] = value; in reg_w2()
122 gspca_dev->usb_buf[1] = value >> 8; in reg_w2()
[all …]
H A Dpac7311.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2005 Thomas Kaiser thomas@kaiser-linux.li
6 * V4L2 by Jean-Francois Moine <http://moinejf.free.fr>
28 * generated JPG-s are only understood by v4l-utils >= 0.8.9
35 * 0x02 Clock divider 2-63, fps =~ 60 / val. Must be a multiple of 3 on
37 * 0x0f Master gain 1-245, low value = high gain
38 * 0x10 Another gain 0-15, limited influence (1-2x gain I guess)
39 * 0x21 Bitfield: 0-1 unused, 2-3 vflip/hflip, 4-5 unknown, 6-7 unused
59 MODULE_AUTHOR("Thomas Kaiser thomas@kaiser-linux.li");
63 struct sd { struct
[all …]
/linux/arch/arm64/boot/dts/hisilicon/
H A Dhi3670-hikey970.dts1 // SPDX-License-Identifier: GPL-2.0
10 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
14 #include "hikey970-pinctrl.dtsi"
15 #include "hikey970-pmic.dtsi"
19 compatible = "hisilicon,hi3670-hikey970", "hisilicon,hi3670";
34 stdout-path = "serial6:115200n8";
43 wlan_en: wlan-en-1-8v {
44 compatible = "regulator-fixed";
45 regulator-name = "wlan-en-regulator";
[all …]
/linux/drivers/media/platform/ti/omap3isp/
H A Dispccp2.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * TI OMAP3 ISP - CCP2 module
62 * ccp2_print_status - Print current CCP2 module register values.
65 dev_dbg(isp->dev, "###CCP2 " #name "=0x%08x\n", \
72 dev_dbg(isp->dev, "-------------CCP2 Register dump-------------\n"); in ccp2_print_status()
103 dev_dbg(isp->dev, "--------------------------------------------\n"); in ccp2_print_status()
107 * ccp2_reset - Reset the CCP2
122 dev_warn(isp->dev, in ccp2_reset()
130 * ccp2_pwr_cfg - Configure the power mode settings
138 ((isp->revision == ISP_REVISION_15_0 && isp->autoidle) ? in ccp2_pwr_cfg()
[all …]

12345678