/openbmc/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 …]
|
/openbmc/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 37 /* indicating set command */ [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/Documentation/userspace-api/media/drivers/ |
H A D | ccs.rst | 1 .. 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 …]
|
/openbmc/openbmc/meta-raspberrypi/docs/ |
H A D | extra-build-config.md | 3 There are a set of ways in which a user can influence different parameters of 6 <http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html> 24 the 512MB RP. Overrides gpu_mem. Max 192. Default not set. 27 the 256MB RP. Overrides gpu_mem. Max 448. Default not set. 30 the 256MB/512MB RP. Overrides gpu_mem. Max 944. Default not set. 32 See: <https://www.raspberrypi.com/documentation/computers/config_txt.html#memory-options> 36 …set to `1` to disable this behaviour falling back to using `userland`. Be aware that `userland` ha… 50 See: <https://www.raspberrypi.com/documentation/computers/config_txt.html#licence-key-and-codec-opt… 55 TVs which cut off part of the image. To disable this set this variable in 63 To disable this set this variable in local.conf: [all …]
|
/openbmc/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 | 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 …]
|
/openbmc/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 …]
|
/openbmc/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 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 …]
|
/openbmc/linux/drivers/char/ |
H A D | sonypi.c | 1 // 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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | dma_v2_defs.h | 1 /* 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 */
|
H A D | css_trace.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Support for Intel Camera Imaging ISP subsystem. 42 /* 2nd field: command + data */ 44 u32 command; member 60 #define HDR_COMMAND_OFFSET offsetof(struct trace_header_t, command) 72 1: initial version, hdr = descr, command & ptr. 73 2: added ISP + 24-bit fields. 158 #define TRACE_SP0_DATA_SIZE (TRACE_SP0_SIZE - TRACE_SP0_HEADER_SIZE) 165 #define TRACE_SP1_DATA_SIZE (TRACE_SP1_SIZE - TRACE_SP1_HEADER_SIZE) 172 #define TRACE_ISP_DATA_SIZE (TRACE_ISP_SIZE - TRACE_ISP_HEADER_SIZE) [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
H A D | pixelgen_public.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Support for Intel Camera Imaging ISP subsystem. 22 * Native command interface (NCI). 27 * Get the state of the pixelgen regiester-set. 30 * @param[out] state Point to the register-state. 37 * Dump the state of the pixelgen regiester-set. 40 * @param[in] state Point to the register-state.
|
H A D | isys_stream2mmio_public.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Support for Intel Camera Imaging ISP subsystem. 21 * Native command interface (NCI). 25 * @brief Get the stream2mmio-controller state. 26 * Get the state of the stream2mmio-controller regiester-set. 29 * @param[out] state Point to the register-state. 36 * @brief Get the state of the stream2mmio-controller sidess. 37 * Get the state of the register set per buf-controller sidess. 56 * Load the value of the register of the stream2mmio-controller. 58 * @param[in] ID The global unique ID for the stream2mmio-controller instance. [all …]
|
H A D | csi_rx_public.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Support for Intel Camera Imaging ISP subsystem. 22 * Native command interface (NCI). 27 * Get the state of the csi rx frontend regiester-set. 30 * @param[out] state Point to the register-state. 37 * Dump the state of the csi rx frontend regiester-set. 40 * @param[in] state Point to the register-state. 47 * Get the state of the register set per dlane process. 49 * @param[in] id The global unique ID of the input-buffer controller. 59 * Get the state of the csi rx backend regiester-set. [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/css_2401_system/host/ |
H A D | isys_stream2mmio_private.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Support for Intel Camera Imaging ISP subsystem. 31 … /* if this register is 1, input will be stalled if there is no pending command for this sid */ 36 * Native command interface (NCI). 40 * @brief Get the stream2mmio-controller state. 50 * Get the values of the register-set per in stream2mmio_get_state() 51 * stream2mmio-controller sids. in stream2mmio_get_state() 54 stream2mmio_get_sid_state(ID, i, &state->sid_state[i]); in stream2mmio_get_state() 59 * @brief Get the state of the stream2mmio-controller sidess. 67 state->rcv_ack = in stream2mmio_get_sid_state() [all …]
|
/openbmc/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 …]
|