Home
last modified time | relevance | path

Searched +full:camera +full:- +full:command +full:- +full:set (Results 1 – 25 of 163) sorted by relevance

1234567

/kernel/linux/linux-6.6/drivers/media/pci/intel/ivsc/
Dmei_ace.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * To set ownership of camera sensor, there is specific command, which
9 * is sent via MEI protocol. That's a two-step scheme where the firmware
10 * first acks receipt of the command and later responses the command was
11 * executed. The command sending function uses "completion" as the
12 * synchronization mechanism. The notification for command is received
14 * outstanding command at a time.
16 * The power line of camera sensor is directly connected to IVSC instead
17 * of host, when camera sensor ownership is switched to host, sensor is
37 /* indicating set command */
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/i2c/
Dmipi-ccs.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2014--2020 Intel Corporation
4 ---
5 $id: http://devicetree.org/schemas/media/i2c/mipi-ccs.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: MIPI CCS, SMIA++ and SMIA compliant camera sensors
11 - Sakari Ailus <sakari.ailus@linux.intel.com>
15 CCS (Camera Command Set) is a raw Bayer camera sensor standard defined by the
17 <URL:https://www.mipi.org/specifications/camera-command-set>.
24 Documentation/devicetree/bindings/media/video-interfaces.txt .
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/marvell/
Dcafe-driver.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * A driver for the CMOS camera controller in the Marvell 88ALP01 "cafe"
10 * Copyright 2006-11 One Laptop Per Child Association, Inc.
11 * Copyright 2006-11 Jonathan Corbet <corbet@lwn.net>
28 #include <media/v4l2-device.h>
36 #include "mcam-core.h"
45 MODULE_DESCRIPTION("Marvell 88ALP01 CMOS Camera Controller driver");
57 * Most of the camera controller registers are defined in mcam-core.h,
82 #define TWSIC0_MODE 0x00000002 /* 1 = 16-bit, 0 = 8-bit */
100 #define TWSIC1_READ 0x01000000 /* Set for read op */
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/marvell-ccic/
Dcafe-driver.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * A driver for the CMOS camera controller in the Marvell 88ALP01 "cafe"
10 * Copyright 2006-11 One Laptop Per Child Association, Inc.
11 * Copyright 2006-11 Jonathan Corbet <corbet@lwn.net>
28 #include <media/v4l2-device.h>
36 #include "mcam-core.h"
45 MODULE_DESCRIPTION("Marvell 88ALP01 CMOS Camera Controller driver");
61 * Most of the camera controller registers are defined in mcam-core.h,
86 #define TWSIC0_MODE 0x00000002 /* 1 = 16-bit, 0 = 8-bit */
104 #define TWSIC1_READ 0x01000000 /* Set for read op */
[all …]
/kernel/linux/linux-6.6/drivers/media/usb/gspca/
Dsq905c.c1 // SPDX-License-Identifier: GPL-2.0-or-later
26 MODULE_DESCRIPTION("GSPCA/SQ905C USB Camera Driver");
75 /* Send a command to the camera. */
76 static int sq905c_command(struct gspca_dev *gspca_dev, u16 command, u16 index) in sq905c_command() argument
80 ret = usb_control_msg(gspca_dev->dev, in sq905c_command()
81 usb_sndctrlpipe(gspca_dev->dev, 0), in sq905c_command()
84 command, index, NULL, 0, in sq905c_command()
94 static int sq905c_read(struct gspca_dev *gspca_dev, u16 command, u16 index, in sq905c_read() argument
99 ret = usb_control_msg(gspca_dev->dev, in sq905c_read()
100 usb_rcvctrlpipe(gspca_dev->dev, 0), in sq905c_read()
[all …]
Dsq905.c1 // SPDX-License-Identifier: GPL-2.0-or-later
31 MODULE_AUTHOR("Adam Baker <linux@baker-net.org.uk>, Theodore Kilgore <kilgota@auburn.edu>");
32 MODULE_DESCRIPTION("GSPCA/SQ905 USB Camera Driver");
48 #define SQ905_COMMAND 0x06 /* precedes the command codes below */
49 #define SQ905_PING 0x07 /* when reading an "idling" command */
52 /* Any non-zero value in the bottom 2 bits of the 2nd byte of
53 * the ID appears to indicate the camera can do 640*480. If the
54 * LSB of that byte is set the image is just upside down, otherwise
59 /* Some command codes. These go in the "index" slot. */
68 /* note that the capture command also controls the output dimensions */
[all …]
Dstv0680.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * STV0680 USB Camera Driver
9 * STV0680 USB Camera Driver, by Kevin Sisson (kjsisson@bellsouth.net)
23 MODULE_DESCRIPTION("STV0680 USB Camera Driver");
35 static int stv_sndctrl(struct gspca_dev *gspca_dev, int set, u8 req, u16 val, in stv_sndctrl() argument
42 switch (set) { in stv_sndctrl()
45 pipe = usb_rcvctrlpipe(gspca_dev->dev, 0); in stv_sndctrl()
49 pipe = usb_sndctrlpipe(gspca_dev->dev, 0); in stv_sndctrl()
53 pipe = usb_rcvctrlpipe(gspca_dev->dev, 0); in stv_sndctrl()
57 pipe = usb_sndctrlpipe(gspca_dev->dev, 0); in stv_sndctrl()
[all …]
Dcpia1.c1 // SPDX-License-Identifier: GPL-2.0-or-later
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>
214 #define FIRMWARE_VERSION(x, y) (sd->params.version.firmwareVersion == (x) && \
215 sd->params.version.firmwareRevision == (y))
226 /* Developer's Guide Table 5 p 3-34
355 struct cam_params params; /* camera settings */
369 * the camera will pad out usb frames, making the image
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dsq905c.c1 // SPDX-License-Identifier: GPL-2.0-or-later
26 MODULE_DESCRIPTION("GSPCA/SQ905C USB Camera Driver");
75 /* Send a command to the camera. */
76 static int sq905c_command(struct gspca_dev *gspca_dev, u16 command, u16 index) in sq905c_command() argument
80 ret = usb_control_msg(gspca_dev->dev, in sq905c_command()
81 usb_sndctrlpipe(gspca_dev->dev, 0), in sq905c_command()
84 command, index, NULL, 0, in sq905c_command()
94 static int sq905c_read(struct gspca_dev *gspca_dev, u16 command, u16 index, in sq905c_read() argument
99 ret = usb_control_msg(gspca_dev->dev, in sq905c_read()
100 usb_rcvctrlpipe(gspca_dev->dev, 0), in sq905c_read()
[all …]
Dsq905.c1 // SPDX-License-Identifier: GPL-2.0-or-later
31 MODULE_AUTHOR("Adam Baker <linux@baker-net.org.uk>, Theodore Kilgore <kilgota@auburn.edu>");
32 MODULE_DESCRIPTION("GSPCA/SQ905 USB Camera Driver");
48 #define SQ905_COMMAND 0x06 /* precedes the command codes below */
49 #define SQ905_PING 0x07 /* when reading an "idling" command */
52 /* Any non-zero value in the bottom 2 bits of the 2nd byte of
53 * the ID appears to indicate the camera can do 640*480. If the
54 * LSB of that byte is set the image is just upside down, otherwise
59 /* Some command codes. These go in the "index" slot. */
68 /* note that the capture command also controls the output dimensions */
[all …]
Dstv0680.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * STV0680 USB Camera Driver
9 * STV0680 USB Camera Driver, by Kevin Sisson (kjsisson@bellsouth.net)
23 MODULE_DESCRIPTION("STV0680 USB Camera Driver");
35 static int stv_sndctrl(struct gspca_dev *gspca_dev, int set, u8 req, u16 val, in stv_sndctrl() argument
42 switch (set) { in stv_sndctrl()
45 pipe = usb_rcvctrlpipe(gspca_dev->dev, 0); in stv_sndctrl()
49 pipe = usb_sndctrlpipe(gspca_dev->dev, 0); in stv_sndctrl()
53 pipe = usb_rcvctrlpipe(gspca_dev->dev, 0); in stv_sndctrl()
57 pipe = usb_sndctrlpipe(gspca_dev->dev, 0); in stv_sndctrl()
[all …]
Dcpia1.c1 // SPDX-License-Identifier: GPL-2.0-or-later
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>
214 #define FIRMWARE_VERSION(x, y) (sd->params.version.firmwareVersion == (x) && \
215 sd->params.version.firmwareRevision == (y))
226 /* Developer's Guide Table 5 p 3-34
355 struct cam_params params; /* camera settings */
369 the camera will pad out usb frames, making the image
[all …]
/kernel/linux/linux-6.6/Documentation/userspace-api/media/drivers/
Dccs.rst1 .. 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-5.10/Documentation/admin-guide/media/
Dphilips.rst1 .. SPDX-License-Identifier: GPL-2.0
7 E-mail: webcam@smcc.demon.nl Last updated: 2004-01-19
30 * Samsung MPC-C10
31 * Samsung MPC-C30
33 * AME CU-001
34 * Visionite VCS-UM100
35 * Visionite VCS-UC300
41 if you want to run more than 1 camera simultaneously). These routines fall
46 the latter, since it makes troubleshooting a lot easier. The built-in
49 When you load the module you can set some default settings for the
[all …]
/kernel/linux/linux-6.6/Documentation/admin-guide/media/
Dphilips.rst1 .. SPDX-License-Identifier: GPL-2.0
7 E-mail: webcam@smcc.demon.nl Last updated: 2004-01-19
30 * Samsung MPC-C10
31 * Samsung MPC-C30
33 * AME CU-001
34 * Visionite VCS-UM100
35 * Visionite VCS-UC300
41 if you want to run more than 1 camera simultaneously). These routines fall
46 the latter, since it makes troubleshooting a lot easier. The built-in
49 When you load the module you can set some default settings for the
[all …]
/kernel/linux/linux-6.6/drivers/usb/image/
Dmdc800.c1 // SPDX-License-Identifier: GPL-2.0+
3 * copyright (C) 1999/2000 by Henning Zabel <henning@uni-paderborn.de>
8 * USB-Kernel Driver for the Mustek MDC800 Digital Camera
9 * (c) 1999/2000 Henning Zabel <henning@uni-paderborn.de>
13 * To use the Camera you must support the USB Protocol of the camera
18 * The driver supports only one camera.
35 * Fixed: Setting urb->dev before submitting urb.
40 * bugfix : The mdc800->state field gets set to READY after the
42 * driver running like the camera is connected and causes some
50 * The mdc800 driver gets assigned the USB Minor 32-47. The Registration
[all …]
/kernel/linux/linux-5.10/drivers/usb/image/
Dmdc800.c1 // SPDX-License-Identifier: GPL-2.0+
3 * copyright (C) 1999/2000 by Henning Zabel <henning@uni-paderborn.de>
8 * USB-Kernel Driver for the Mustek MDC800 Digital Camera
9 * (c) 1999/2000 Henning Zabel <henning@uni-paderborn.de>
13 * To use the Camera you must support the USB Protocol of the camera
18 * The driver supports only one camera.
35 * Fixed: Setting urb->dev before submitting urb.
40 * bugfix : The mdc800->state field gets set to READY after the
42 * driver running like the camera is connected and causes some
50 * The mdc800 driver gets assigned the USB Minor 32-47. The Registration
[all …]
/kernel/linux/linux-6.6/Documentation/driver-api/media/drivers/ccs/
Dccs.rst1 .. SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause
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-5.10/drivers/char/
Dsonypi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (C) 2001-2005 Stelian Pop <stelian@popies.net>
11 * Copyright (C) 2001-2002 Alcôve <www.alcove.com>
17 * Copyright (C) 2000 Takaya Kinjo <t-kinjo@tc4.so-net.ne.jp>
53 static int minor = -1;
56 "minor number of the misc device, default is -1 (automatic)");
65 "set this if your Fn keys do not generate any event");
67 static int camera; /* = 0 */ variable
68 module_param(camera, int, 0444);
69 MODULE_PARM_DESC(camera,
[all …]
/kernel/linux/linux-6.6/drivers/char/
Dsonypi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (C) 2001-2005 Stelian Pop <stelian@popies.net>
11 * Copyright (C) 2001-2002 Alcôve <www.alcove.com>
17 * Copyright (C) 2000 Takaya Kinjo <t-kinjo@tc4.so-net.ne.jp>
53 static int minor = -1;
56 "minor number of the misc device, default is -1 (automatic)");
65 "set this if your Fn keys do not generate any event");
67 static int camera; /* = 0 */ variable
68 module_param(camera, int, 0444);
69 MODULE_PARM_DESC(camera,
[all …]
/kernel/linux/linux-5.10/tools/firewire/
Ddecode-fcp.c1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/firewire-constants.h>
7 #include "nosy-dump.h"
31 [0x07] = "camera", [0x17] = "(reserved 0x17)",
35 [0x0b] = "camera storage", [0x1b] = "(reserved 0x1b)",
69 /* AV/C Digital Interface Command Set General Specification 4.0 */
111 /* AV/C Command Set for Rate Control of Isochronous Data Flow 1.0 */
148 (struct avc_frame *) t->request->packet.write_block.data; in decode_avc()
154 info = &opcode_info[frame->opcode]; in decode_avc()
155 if (info->name == NULL) { in decode_avc()
[all …]
/kernel/linux/linux-6.6/tools/firewire/
Ddecode-fcp.c1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/firewire-constants.h>
7 #include "nosy-dump.h"
31 [0x07] = "camera", [0x17] = "(reserved 0x17)",
35 [0x0b] = "camera storage", [0x1b] = "(reserved 0x1b)",
69 /* AV/C Digital Interface Command Set General Specification 4.0 */
111 /* AV/C Command Set for Rate Control of Isochronous Data Flow 1.0 */
148 (struct avc_frame *) t->request->packet.write_block.data; in decode_avc()
154 info = &opcode_info[frame->opcode]; in decode_avc()
155 if (info->name == NULL) { in decode_avc()
[all …]
/kernel/linux/linux-6.6/drivers/leds/
DTODO1 -*- org -*-
12 semantics is sometimes non-intuitive. (For example blink callback may
28 i/o port is really quite different from camera flash LED, which is
35 Green-Magenta-Ultraviolet LED, but so far all the LEDs we support are
36 RGB, and not even RGB-White or RGB-Yellow variants emerged.
44 Proposal: let's add "rgb" to led_colors in drivers/leds/led-core.c,
52 userspace is able to set arbitrary colors, and it might be good to
53 have that ability from kernel, too... to allow full-color triggers.
55 * Command line utility to manipulate the LEDs?
67 It would be also nice to have useful listing mode -- name, type,
[all …]
/kernel/linux/linux-5.10/drivers/leds/
DTODO1 -*- org -*-
12 semantics is sometimes non-intuitive. (For example blink callback may
28 i/o port is really quite different from camera flash LED, which is
35 Green-Magenta-Ultraviolet LED, but so far all the LEDs we support are
36 RGB, and not even RGB-White or RGB-Yellow variants emerged.
44 Proposal: let's add "rgb" to led_colors in drivers/leds/led-core.c,
52 userspace is able to set arbitrary colors, and it might be good to
53 have that ability from kernel, too... to allow full-color triggers.
55 * Command line utility to manipulate the LEDs?
67 It would be also nice to have useful listing mode -- name, type,
[all …]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
Ddma_v2_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Support for Intel Camera Imaging ISP subsystem.
38 /* Command word */
44 /* The command to set a parameter contains the PARAM field next */
55 …efine _DMA_V2_SPEC_YB_BITS (32 - _DMA_V2_SPEC_DEV_B_XB_BITS - _DMA_V2_SPEC_DEV_A_XB_BITS - _…
82 /* Command IDs */

1234567