/linux/drivers/media/pci/intel/ivsc/ |
H A D | mei_ace.c | 1 // 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 35 /* indicating set command */ [all …]
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | mipi-ccs.yaml | 1 # 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 …]
|
/linux/drivers/media/platform/marvell/ |
H A D | cafe-driver.c | 1 // 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 …]
|
/linux/drivers/media/usb/gspca/ |
H A D | sq905.c | 1 // 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 D | sq905c.c | 1 // 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 D | stv0680.c | 1 // 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 D | cpia1.c | 1 // 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 D | spca500.c | 1 // 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 D | jeilinj.c | 1 // 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 …]
|
/linux/Documentation/userspace-api/media/drivers/ |
H A D | ccs.rst | 1 .. 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 D | philips.rst | 1 .. 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 D | ipu6-isys.rst | 1 .. 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 …]
|
H A D | ipu3.rst | 1 .. SPDX-License-Identifier: GPL-2.0 24 ImgU). The CIO2 driver is available as drivers/media/pci/intel/ipu3/ipu3-cio2* 36 Both of the drivers implement V4L2, Media Controller and V4L2 sub-device 37 interfaces. The IPU3 CIO2 driver supports camera sensors connected to the CIO2 38 MIPI CSI-2 interfaces through V4L2 sub-device sensor drivers. 44 interface to the user space. There is a video node for each CSI-2 receiver, 47 The CIO2 contains four independent capture channel, each with its own MIPI CSI-2 48 receiver and DMA engine. Each channel is modelled as a V4L2 sub-device exposed 49 to userspace as a V4L2 sub-device node and has two pads: 53 .. flat-table:: [all …]
|
/linux/Documentation/driver-api/media/drivers/ccs/ |
H A D | ccs.rst | 1 .. 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 D | mdc800.c | 1 // 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 D | decode-fcp.c | 1 // 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 D | TODO | 1 -*- 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/i2c/ |
H A D | mt9t112.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mt9t112 Camera Driver 14 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net> 20 * v4l-utils compliance tools will report errors. 30 #include <linux/v4l2-mediabus.h> 34 #include <media/v4l2-common.h> 35 #include <media/v4l2-image-sizes.h> 36 #include <media/v4l2-subdev.h> 150 static int __mt9t112_reg_read(const struct i2c_client *client, u16 command) in __mt9t112_reg_read() argument 156 command = swab16(command); in __mt9t112_reg_read() [all …]
|
H A D | thp7312.c | 1 // 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/stv06xx/ |
H A D | stv06xx.c | 1 // 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 D | csi_rx_public.h | 1 /* 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/usb/gspca/m5602/ |
H A D | m5602_s5k4aa.c | 1 // 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 D | m5602_core.c | 1 // 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 D | introduction.rst | 1 .. 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/soc/qcom/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 the low-power state for resources related to the remoteproc 20 tristate "Qualcomm Command DB" 24 Command DB queries shared memory by key string for shared system 25 resources. Platform drivers that require to set state of a shared 26 resource on a RPM-hardened platform must use this database to get 72 requirements. This is typically used by the GPU, camera/video, and 84 and instances handled by the remote DSPs. This is a kernel-space 124 Say yes here to support USB-C and battery status on modern Qualcomm 147 purpose of exchanging sector-data between the remote filesystem [all …]
|