Home
last modified time | relevance | path

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

12

/linux/drivers/media/usb/gspca/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A Dspca500.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * V4L2 by Jean-Francois Moine <http://moinejf.free.fr>
16 MODULE_DESCRIPTION("GSPCA/SPCA500 USB Camera Driver");
107 /* set interface */
240 { /* Q-table Y-components */
249 { /* Q-table C-components */
261 { /* Q-table Y-components */
270 { /* Q-table C-components */
282 { /* Q-table Y-components start registers 0x8800 */
292 { /* Q-table C-components start registers 0x8840 */
[all …]
H A Djeilinj.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Supports some Jeilin dual-mode cameras which use bulk transport and
23 MODULE_DESCRIPTION("GSPCA/JEILINJ USB Camera Driver");
86 static void jlj_write2(struct gspca_dev *gspca_dev, unsigned char *command) in jlj_write2() argument
90 if (gspca_dev->usb_err < 0) in jlj_write2()
92 memcpy(gspca_dev->usb_buf, command, 2); in jlj_write2()
93 retval = usb_bulk_msg(gspca_dev->dev, in jlj_write2()
94 usb_sndbulkpipe(gspca_dev->dev, 3), in jlj_write2()
95 gspca_dev->usb_buf, 2, NULL, 500); in jlj_write2()
97 pr_err("command write [%02x] error %d\n", in jlj_write2()
[all …]
H A Dmr97310a.c1 // SPDX-License-Identifier: GPL-2.0-or-later
14 * Thomas Kaiser <thomas@kaiser-linux.li>
21 * Thomas Kaiser <thomas@kaiser-linux.li> and
63 MODULE_DESCRIPTION("GSPCA/Mars-Semi MR97310A USB Camera Driver");
67 static int force_sensor_type = -1;
69 MODULE_PARM_DESC(force_sensor_type, "Force sensor type (-1 (auto), 0 or 1)");
122 /* the bytes to write are in gspca_dev->usb_buf */
127 rc = usb_bulk_msg(gspca_dev->dev, in mr_write()
128 usb_sndbulkpipe(gspca_dev->dev, 4), in mr_write()
129 gspca_dev->usb_buf, len, NULL, 500); in mr_write()
[all …]
/linux/Documentation/userspace-api/media/drivers/
H A Dccs.rst1 .. SPDX-License-Identifier: GPL-2.0-only
5 .. _media-ccs-uapi:
7 MIPI CCS camera sensor driver
10 The MIPI CCS camera sensor driver is a generic driver for `MIPI CCS
11 <https://www.mipi.org/specifications/camera-command-set>`_ compliant
12 camera sensors. It exposes three sub-devices representing the pixel array,
18 Also see :ref:`the CCS driver kernel documentation <media-ccs-driver>`.
20 Pixel Array sub-device
21 ----------------------
23 The pixel array sub-device represents the camera sensor's pixel matrix, as well
[all …]
/linux/Documentation/admin-guide/media/
H A 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 …]
H A Dipu6-isys.rst1 .. SPDX-License-Identifier: GPL-2.0
9 Copyright |copy| 2023--2024 Intel Corporation
26 Intel IPU6 is made up of two components - Input System (ISYS) and Processing
29 The Input System mainly works as MIPI CSI-2 receiver which receives and
32 There are 2 driver modules - intel-ipu6 and intel-ipu6-isys. intel-ipu6 is an
34 firmware authentication, DMA mapping and IPU-MMU (internal Memory mapping Unit)
36 sub-device interfaces. The IPU6 ISYS driver supports camera sensors connected
37 to the IPU6 ISYS through V4L2 sub-device sensor drivers.
39 .. Note:: See Documentation/driver-api/media/drivers/ipu6.rst for more
45 The Input System driver mainly configures CSI-2 D-PHY, constructs the firmware
[all …]
/linux/Documentation/driver-api/media/drivers/ccs/
H A Dccs.rst1 .. SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause
5 .. _media-ccs-driver:
7 MIPI CCS camera sensor driver
10 The MIPI CCS camera sensor driver is a generic driver for `MIPI CCS
11 <https://www.mipi.org/specifications/camera-command-set>`_ compliant
12 camera sensors.
14 Also see :ref:`the CCS driver UAPI documentation <media-ccs-uapi>`.
17 ---------------
23 ccs/ccs-sensor-vvvv-mmmm-rrrr.fw (sensor) and
24 ccs/ccs-module-vvvv-mmmm-rrrr.fw (module).
[all …]
/linux/drivers/usb/image/
H A 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 …]
/linux/tools/firewire/
H A 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 …]
/linux/drivers/leds/
H A 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 …]
/linux/drivers/media/usb/gspca/stv06xx/
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
23 MODULE_DESCRIPTION("STV06XX USB Camera Driver");
[all …]
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/
H A Dcsi_rx_public.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Support for Intel Camera Imaging ISP subsystem.
12 * Native command interface (NCI).
17 * Get the state of the csi rx frontend regiester-set.
20 * @param[out] state Point to the register-state.
27 * Dump the state of the csi rx frontend regiester-set.
30 * @param[in] state Point to the register-state.
37 * Get the state of the register set per dlane process.
39 * @param[in] id The global unique ID of the input-buffer controller.
49 * Get the state of the csi rx backend regiester-set.
[all …]
/linux/drivers/media/i2c/
H A Dthp7312.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include <linux/mtd/spi-nor.h>
26 #include <media/v4l2-async.h>
27 #include <media/v4l2-cci.h>
28 #include <media/v4l2-ctrls.h>
29 #include <media/v4l2-device.h>
30 #include <media/v4l2-fwnode.h>
31 #include <media/v4l2-subdev.h>
129 * enum thp7312_focus_state - State of the focus handler
133 * @THP7312_FOCUS_STATE_AUTO: Continuous auto-focus
[all …]
/linux/drivers/media/usb/gspca/m5602/
H A Dm5602_s5k4aa.c1 // SPDX-License-Identifier: GPL-2.0-only
12 * for SN9C10x PC Camera Controllers
147 /* ROWSTART_HI, ROWSTART_LO : 10 + (1024-960)/2 = 42 = 0x002a */
236 .ident = "Fujitsu-Siemens Amilo Xa 2528",
242 .ident = "Fujitsu-Siemens Amilo Xi 2428",
248 .ident = "Fujitsu-Siemens Amilo Xi 2528",
254 .ident = "Fujitsu-Siemens Amilo Xi 2550",
260 .ident = "Fujitsu-Siemens Amilo Pa 2548",
266 .ident = "Fujitsu-Siemens Amilo Pi 2530",
274 DMI_MATCH(DMI_SYS_VENDOR, "Micro-Star International"),
[all …]
H A Dm5602_core.c1 // SPDX-License-Identifier: GPL-2.0-only
12 * for SN9C10x PC Camera Controllers
56 struct usb_device *udev = sd->gspca_dev.dev; in m5602_read_bridge()
57 __u8 *buf = sd->gspca_dev.usb_buf; in m5602_read_bridge()
78 struct usb_device *udev = sd->gspca_dev.dev; in m5602_write_bridge()
79 __u8 *buf = sd->gspca_dev.usb_buf; in m5602_write_bridge()
116 if (!len || len > sd->sensor->i2c_regW) in m5602_read_sensor()
117 return -EINVAL; in m5602_read_sensor()
124 sd->sensor->i2c_slave_id); in m5602_read_sensor()
136 if (sd->sensor->i2c_regW == 1) { in m5602_read_sensor()
[all …]
/linux/Documentation/accel/
H A Dintroduction.rst1 .. SPDX-License-Identifier: GPL-2.0
8 accelerators in a common way to user-space and provide a common set of
11 These devices can be either stand-alone ASICs or IP blocks inside an SoC/GPU.
13 Machine-Learning (ML) and/or Deep-Learning (DL) computations, the accel layer
19 - Edge AI - doing inference at an edge device. It can be an embedded ASIC/FPGA,
20 or an IP inside a SoC (e.g. laptop web camera). These devices
23 - Inference data-center - single/multi user devices in a large server. This
24 type of device can be stand-alone or an IP inside a SoC or a GPU. It will
25 have on-board DRAM (to hold the DL topology), DMA engines and
26 command submission queues (either kernel or user-space queues).
[all …]
/linux/drivers/media/usb/pwc/
H A Dpwc.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* (C) 1999-2003 Nemosoft Unv.
3 (C) 2004-2006 Luc Saillard (luc@saillard.org)
8 The decompression routines have been implemented by reverse-engineering the
25 #include <media/v4l2-common.h>
26 #include <media/v4l2-device.h>
27 #include <media/v4l2-ioctl.h>
28 #include <media/v4l2-ctrls.h>
29 #include <media/v4l2-fh.h>
30 #include <media/v4l2-event.h>
[all …]
/linux/include/uapi/linux/
H A Dinput-event-codes.h1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
6 * This file is not only included from C-code but also from devicetree source
9 * Copyright (c) 1999-2002 Vojtech Pavlik
71 * AC - Application Control
72 * AL - Applicatio
[all...]
/linux/arch/sh/boards/mach-ecovec24/
H A Dsetup.c1 // SPDX-License-Identifier: GPL-2.0
39 #include <linux/dma-map-ops.h>
41 #include <media/drv-intf/renesas-ceu.h>
52 *-----------------------------------------
62 *------------------------------
67 * DS2[3] = Camera / Video ON : Camera
71 * DS2[6-7] = MMC / SD ON-OFF : SD
72 * OFF-ON : MMC
76 * FSI - DA7210
80 * amixer set 'HeadPhone' 80
[all …]
/linux/include/linux/greybus/
H A Dgreybus_protocols.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
3 * Copyright(c) 2014 - 2015 Google Inc. All rights reserved.
4 * Copyright(c) 2014 - 2015 Linaro Ltd. All rights reserved.
14 /* SVC switch-port device ids */
33 * the message is a request (clear) or a response (set).
43 * endian. Any operation-specific data begins immediately after the
196 /* requests to set Greybus CPort flags */
374 #define GB_BOOTROM_TYPE_AP_READY 0x05 /* Request with no-payload */
375 #define GB_BOOTROM_TYPE_GET_VID_PID 0x06 /* Request with no-payload */
637 /* HID set report request */
[all …]
/linux/drivers/platform/x86/hp/
H A Dhp-wmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
22 #include <linux/input/sparse-keymap.h>
38 MODULE_ALIAS("wmi:95F24279-4D7B-4334-9387-ACCDC67EF61C");
39 MODULE_ALIAS("wmi:5FB7F034-2C63-45E9-BE91-3D44E2C707E4");
41 #define HPWMI_EVENT_GUID "95F24279-4D7B-4334-9387-ACCDC67EF61C"
42 #define HPWMI_BIOS_GUID "5FB7F034-2C63-45E9-BE91-3D44E2C707E4"
58 * This was obtained by taking a look in the windows omen command center
74 /* DMI Board names of Omen laptops that are specifically set to be thermal
75 * profile version 0 by the Omen Command Center app, regardless of what
83 * cause the embedded controller to set the thermal profile back to
[all …]

12