| /linux/drivers/staging/vc04_services/vchiq-mmal/ |
| H A D | mmal-encodings.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 29 #define MMAL_ENCODING_SPARK MMAL_FOURCC('S', 'P', 'R', 'K') 50 #define MMAL_ENCODING_ARGB MMAL_FOURCC('A', 'R', 'G', 'B') 51 #define MMAL_ENCODING_RGBA MMAL_FOURCC('R', 'G', 'B', 'A') 52 #define MMAL_ENCODING_ABGR MMAL_FOURCC('A', 'B', 'G', 'R') 53 #define MMAL_ENCODING_BGRA MMAL_FOURCC('B', 'G', 'R', 'A') 54 #define MMAL_ENCODING_RGB16 MMAL_FOURCC('R', 'G', 'B', '2') 55 #define MMAL_ENCODING_RGB24 MMAL_FOURCC('R', 'G', 'B', '3') 56 #define MMAL_ENCODING_RGB32 MMAL_FOURCC('R', 'G', 'B', '4') 57 #define MMAL_ENCODING_BGR16 MMAL_FOURCC('B', 'G', 'R', '2') [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | crop.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 6 Image Cropping, Insertion and Scaling -- the CROP API 12 <selection-api>`. The new API should be preferred in most cases, 15 equivalent in the SELECTION API. See :ref:`selection-vs-crop` for a 62 .. _crop-scale: 64 .. kernel-figure:: crop.svg 81 :ref:`vbi-hsync`). Vertically ITU-R line numbers of the first field 82 (see ITU R-525 line numbering for :ref:`525 lines <vbi-525>` and for 83 :ref:`625 lines <vbi-625>`), multiplied by two if the driver 167 .. code-block:: c [all …]
|
| H A D | dev-raw-vbi.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _raw-vbi: 106 .. flat-table:: struct v4l2_vbi_format 107 :header-rows: 0 108 :stub-columns: 0 111 * - __u32 112 - ``sampling_rate`` 113 - Samples per second, i. e. unit 1 Hz. 114 * - __u32 115 - ``offset`` [all …]
|
| H A D | vidioc-g-sliced-vbi-cap.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_SLICED_VBI_CAP - Query sliced VBI capabilities 43 The ``type`` field was added, and the ioctl changed from read-only 44 to write-read, in Linux 2.6.19. 50 .. flat-table:: struct v4l2_sliced_vbi_cap 51 :header-rows: 0 52 :stub-columns: 0 55 * - __u16 56 - ``service_set`` 57 - :cspan:`2` A set of all data services supported by the driver. [all …]
|
| H A D | colorspaces-details.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 8 .. _col-smpte-170m: 20 .. flat-table:: SMPTE 170M Chromaticities 21 :header-rows: 1 22 :stub-columns: 0 25 * - Color 26 - x 27 - y 28 * - Red 29 - 0.630 [all …]
|
| H A D | hist-v4l2.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _hist-v4l2: 21 1998-08-20: First version. 23 1998-08-27: The :c:func:`select()` function was introduced. 25 1998-09-10: New video standard interface. 27 1998-09-18: The ``VIDIOC_NONCAP`` ioctl was replaced by the otherwise 36 1998-09-28: Revamped video standard. Made video controls individually 39 1998-10-02: The ``id`` field was removed from 47 1998-11-08: Many minor changes. Most symbols have been renamed. Some 50 1998-11-12: The read/write direction of some ioctls was misdefined. [all …]
|
| H A D | ext-ctrls-codec.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _codec-controls: 24 .. _mpeg-control-id: 27 ----------------- 35 .. _v4l2-mpeg-stream-type: 40 enum v4l2_mpeg_stream_type - 41 The MPEG-1, -2 or -4 output stream type. One cannot assume anything 48 .. flat-table:: 49 :header-rows: 0 50 :stub-columns: 0 [all …]
|
| /linux/include/media/drv-intf/ |
| H A D | exynos-fimc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2010 - 2013 Samsung Electronics Co., Ltd. 12 #include <media/media-entity.h> 13 #include <media/v4l2-dev.h> 14 #include <media/v4l2-mediabus.h> 37 /* Camera MIPI-CSI2 serial bus */ 43 /* FIFO link from FIMC-IS */ 62 * struct fimc_source_info - video source description required for the host 66 * @sensor_bus_type: image sensor bus type, MIPI, ITU-R BT.601 etc. 68 * @mux_id: FIMC camera interface multiplexer index (separate for MIPI and ITU) [all …]
|
| /linux/drivers/gpu/drm/msm/registers/display/ |
| H A D | edp.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd"> 39 <!-- next two may be swapped? --> 43 <!-- # of lanes minus one: --> 46 <!-- 48 --> 78 <!-- MISC0 from DisplayPort v1.2 spec: --> 80 <!-- aliased MISC0 bitfields: --> 83 <!-- CEA (vs VESA) color range: --> [all …]
|
| /linux/Documentation/devicetree/bindings/media/ |
| H A D | samsung,s5c73m3.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 14 The S5C73M3 camera ISP supports MIPI CSI-2 and parallel (ITU-R BT.656) 31 clock-names: 33 - const: cis_extclk 35 clock-frequency: 39 standby-gpios: [all …]
|
| /linux/drivers/media/pci/bt8xx/ |
| H A D | bttvp.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 bttv - Bt848 frame grabber driver 6 bttv's *private* header file -- nobody other than bttv itself 9 (c) 2000-2002 Gerd Knorr <kraxel@bytesex.org> 19 #include <linux/i2c-algo-bit.h> 26 #include <media/v4l2-common.h> 27 #include <media/v4l2-ctrls.h> 28 #include <media/v4l2-fh.h> 29 #include <media/videobuf2-dma-sg.h> 31 #include <media/rc-core.h> [all …]
|
| /linux/drivers/media/platform/samsung/exynos4-is/ |
| H A D | fimc-reg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2010 - 2013 Samsung Electronics Co., Ltd. 13 #include <media/drv-intf/exynos-fimc.h> 14 #include "media-dev.h" 16 #include "fimc-reg.h" 17 #include "fimc-core.h" 23 cfg = readl(dev->regs + FIMC_REG_CISRCFMT); in fimc_hw_reset() 25 writel(cfg, dev->regs + FIMC_REG_CISRCFMT); in fimc_hw_reset() 28 cfg = readl(dev->regs + FIMC_REG_CIGCTRL); in fimc_hw_reset() 30 writel(cfg, dev->regs + FIMC_REG_CIGCTRL); in fimc_hw_reset() [all …]
|
| /linux/Documentation/admin-guide/media/ |
| H A D | fimc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 Copyright |copy| 2012 - 2013 Samsung Electronics Co., Ltd. 17 drivers/media/platform/samsung/exynos4-is directory. 20 -------------- 22 S5PC100 (mem-to-mem only), S5PV210, Exynos4210 25 ------------------ 27 - camera parallel interface capture (ITU-R.BT601/565); 28 - camera serial interface capture (MIPI-CSI2); 29 - memory-to-memory processing (color space conversion, scaling, mirror 31 - dynamic pipeline re-configuration at runtime (re-attachment of any FIMC [all …]
|
| /linux/drivers/media/dvb-frontends/drx39xyj/ |
| H A D | drx_driver.h | 2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc. 59 /*------------------------------------------------------------------------------ 61 ------------------------------------------------------------------------------*/ 68 * \retval -EIO Initialization failed. 77 * \retval -EIO Termination failed. 97 * \retval -EIO Failure. 98 * \retval -EINVAL Parameter 'wcount' is not zero but parameter 132 #define TUNER_MODE_SUB0 0x0001 /* for sub-mode (e.g. RF-AGC setting) */ 133 #define TUNER_MODE_SUB1 0x0002 /* for sub-mode (e.g. RF-AGC setting) */ 134 #define TUNER_MODE_SUB2 0x0004 /* for sub-mode (e.g. RF-AGC setting) */ [all …]
|
| /linux/include/linux/surface_aggregator/ |
| H A D | serial_hub.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * Lower-level communication layers and SSH protocol definitions for the 7 * packet- and request-based communication with the SSAM EC via SSH. 9 * Copyright (C) 2019-2021 Maximilian Luz <luzmaximilian@gmail.com> 15 #include <linux/crc-itu-t.h> 22 /* -- Data structures for SAM-over-SSH communication. ----------------------- */ 25 * enum ssh_frame_type - Frame types for SSH frames. 42 * For command-type payloads, this can also mean that the command is 53 * struct ssh_frame - SSH communication frame. 68 * SSH_FRAME_MAX_PAYLOAD_SIZE - Maximum SSH frame payload length in bytes. [all …]
|
| /linux/drivers/media/i2c/ |
| H A D | ml86v7667.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include <media/v4l2-subdev.h> 16 #include <media/v4l2-device.h> 17 #include <media/v4l2-ioctl.h> 18 #include <media/v4l2-ctrls.h> 98 return &container_of(ctrl->handler, struct ml86v7667_priv, hdl)->sd; in to_sd() 116 int ret = -EINVAL; in ml86v7667_s_ctrl() 118 switch (ctrl->id) { in ml86v7667_s_ctrl() 121 SSEPL_LUMINANCE_MASK, ctrl->val); in ml86v7667_s_ctrl() 125 CLC_CONTRAST_MASK, ctrl->val); in ml86v7667_s_ctrl() [all …]
|
| H A D | tw9910.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net> 26 #include <linux/v4l2-mediabus.h> 30 #include <media/v4l2-subdev.h> 136 #define IFSEL_S 0x10 /* 01 : S-video decoding */ 146 /* 1 : ITU-R-656 compatible data sequence format */ 147 #define LEN 0x40 /* 0 : 8-bit YCrCb 4:2:2 output format */ 148 /* 1 : 16-bit YCrCb 4:2:2 output format.*/ 150 /* 0 : free-run output mode */ 151 #define AINC 0x10 /* Serial interface auto-indexing control */ [all …]
|
| H A D | adv7183.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <media/v4l2-ctrls.h> 20 #include <media/v4l2-device.h> 38 * All standards are supported through autodetect, 8-bit, 4:2:2, ITU-R BT.656 output on P15 to P8. 69 return &container_of(ctrl->handler, struct adv7183, hdl)->sd; in to_sd() 95 return -1; in adv7183_writeregs() 185 v4l2_ctrl_handler_log_status(&decoder->hdl, sd->name); in adv7183_log_status() 193 *std = decoder->std; in adv7183_g_std() 220 return -EINVAL; in adv7183_s_std() 223 decoder->std = std; in adv7183_s_std() [all …]
|
| H A D | tvp5150.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // tvp5150 - Texas Instruments TVP5150A/AM1 and TVP5151 video decoder driver 7 #include <dt-bindings/media/tvp5150.h> 18 #include <media/v4l2-async.h> 19 #include <media/v4l2-device.h> 20 #include <media/v4l2-event.h> 21 #include <media/v4l2-ctrls.h> 22 #include <media/v4l2-fwnode.h> 23 #include <media/v4l2-mc.h> 24 #include <media/v4l2-rect.h> [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A D | cyttsp5.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2012-2015 Cypress Semiconductor 13 #include <linux/crc-itu-t.h> 32 #define CY_NUM_BTN_EVENT_ID GENMASK(CY_BITS_PER_BTN - 1, 0) 226 error = regmap_bulk_read(ts->regmap, HID_INPUT_REG, temp, sizeof(temp)); in cyttsp5_read() 235 return -EINVAL; in cyttsp5_read() 238 return regmap_bulk_read(ts->regmap, HID_INPUT_REG, buf, size); in cyttsp5_read() 247 return -E2BIG; in cyttsp5_write() 263 return regmap_bulk_write(ts->regmap, reg & 0xFF, cmd, size + 1); in cyttsp5_write() 274 *axis &= max - 1; in cyttsp5_get_touch_axis() [all …]
|
| /linux/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_fimc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 26 #include "regs-fimc.h" 115 return readl(ctx->regs + reg); in fimc_read() 120 writel(val, ctx->regs + reg); in fimc_write() 125 void __iomem *r = ctx->regs + reg; in fimc_set_bits() local 127 writel(readl(r) | bits, r); in fimc_set_bits() 132 void __iomem *r = ctx->regs + reg; in fimc_clear_bits() local 134 writel(readl(r) & ~bits, r); in fimc_clear_bits() 186 DRM_DEV_DEBUG_KMS(ctx->dev, "enable[%d]\n", enable); in fimc_handle_jpeg() 201 DRM_DEV_DEBUG_KMS(ctx->dev, "enable[%d]\n", enable); in fimc_mask_irq() [all …]
|
| /linux/drivers/media/i2c/adv748x/ |
| H A D | adv748x-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 21 #include <linux/v4l2-dv-timings.h> 23 #include <media/v4l2-ctrls.h> 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-dv-timings.h> 26 #include <media/v4l2-fwnode.h> 27 #include <media/v4l2-ioctl.h> 31 /* ----------------------------------------------------------------------------- 63 if (!state->i2c_clients[region]) in adv748x_configure_regmap() 64 return -ENODEV; in adv748x_configure_regmap() [all …]
|
| /linux/drivers/gpu/drm/bridge/ |
| H A D | tda998x_drv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <sound/hdmi-codec.h> 25 #include <media/cec-notifier.h> 27 #include <dt-bindings/display/tda998x.h> 411 .addr = priv->cec_addr, in cec_write() 417 ret = i2c_transfer(priv->hdmi->adapter, &msg, 1); in cec_write() 419 dev_err(&priv->hdmi->dev, "Error %d writing to cec:0x%x\n", in cec_write() 429 .addr = priv->cec_addr, in cec_read() 433 .addr = priv->cec_addr, in cec_read() 441 ret = i2c_transfer(priv->hdmi->adapter, msg, ARRAY_SIZE(msg)); in cec_read() [all …]
|
| /linux/drivers/media/pci/solo6x10/ |
| H A D | solo6x10-tw28.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2010-2013 Bluecherry, LLC <https://www.bluecherrydvr.com> 16 #include "solo6x10-tw28.h" 18 #define DEFAULT_HDELAY_NTSC (32 - 8) 20 #define DEFAULT_VDELAY_NTSC (7 - 2) 24 #define DEFAULT_HACTIVE_PAL (864-DEFAULT_HDELAY_PAL) 26 #define DEFAULT_VACTIVE_PAL (312-DEFAULT_VDELAY_PAL) 169 #define is_tw286x(__solo, __id) (!(__solo->tw2815 & (1 << __id))) 212 /* printk("solo6x10/tw28: Error writing register: %02x->%02x [%02x]\n", */ in tw_write_and_verify() 221 if (solo_dev->video_type == SOLO_VO_FMT_TYPE_PAL) in tw2865_setup() [all …]
|
| /linux/drivers/gpu/drm/bridge/cadence/ |
| H A D | cdns-mhdp8546-core.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Authors: Quentin Schulz <quentin.schulz@free-electrons.com> 14 * - Implement optimized mailbox communication using mailbox interrupts 15 * - Add support for power management 16 * - Add support for features like audio, MST and fast link training 17 * - Implement request_fw_cancel to handle HW_STATE 18 * - Fix asynchronous loading of firmware implementation 19 * - Add DRM helper function for cdns_mhdp_lower_link_rate 29 #include <linux/media-bus-format.h> 33 #include <linux/phy/phy-dp.h> [all …]
|