/linux-6.12.1/drivers/gpu/drm/exynos/ |
D | regs-gsc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* linux/drivers/gpu/drm/exynos/regs-gsc.h 7 * Register definition file for Samsung G-Scaler driver 13 /* G-Scaler enable */ 33 /* G-Scaler S/W reset */ 37 /* G-Scaler IRQ */ 45 /* G-Scaler input control */ 91 /* G-Scaler source image size */ 98 /* G-Scaler source image offset */ 105 /* G-Scaler cropped source image size */ [all …]
|
/linux-6.12.1/drivers/media/platform/samsung/exynos-gsc/ |
D | gsc-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2011 - 2012 Samsung Electronics Co., Ltd. 6 * Register definition file for Samsung G-Scaler driver 12 /* G-Scaler enable */ 18 /* G-Scaler S/W reset */ 22 /* G-Scaler IRQ */ 29 /* G-Scaler input control */ 65 /* G-Scaler source image size */ 70 /* G-Scaler source image offset */ 75 /* G-Scaler cropped source image size */ [all …]
|
D | gsc-core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2011 - 2012 Samsung Electronics Co., Ltd. 6 * header file for Samsung EXYNOS5 SoC series G-Scaler driver 20 #include <media/videobuf2-v4l2.h> 21 #include <media/v4l2-ctrls.h> 22 #include <media/v4l2-device.h> 23 #include <media/v4l2-mem2mem.h> 24 #include <media/v4l2-mediabus.h> 25 #include <media/videobuf2-dma-contig.h> 27 #include "gsc-regs.h" [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "Samsung Exynos G-Scaler driver" 10 This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
|
D | gsc-regs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2011 - 2012 Samsung Electronics Co., Ltd. 6 * Samsung EXYNOS5 SoC series G-Scaler driver 12 #include "gsc-core.h" 16 writel(GSC_SW_RESET_SRESET, dev->regs + GSC_SW_RESET); in gsc_hw_set_sw_reset() 25 cfg = readl(dev->regs + GSC_SW_RESET); in gsc_wait_reset() 31 return -EBUSY; in gsc_wait_reset() 38 cfg = readl(dev->regs + GSC_IRQ); in gsc_hw_set_frm_done_irq_mask() 43 writel(cfg, dev->regs + GSC_IRQ); in gsc_hw_set_frm_done_irq_mask() 50 cfg = readl(dev->regs + GSC_IRQ); in gsc_hw_set_gsc_irq_enable() [all …]
|
D | gsc-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2011 - 2012 Samsung Electronics Co., Ltd. 6 * Samsung EXYNOS5 SoC series G-Scaler driver 23 #include <media/v4l2-ioctl.h> 25 #include "gsc-core.h" 218 if (pixelformat && fmt->pixelformat == *pixelformat) in find_fmt() 220 if (mbus_code && fmt->mbus_code == *mbus_code) in find_fmt() 231 frame->f_width = width; in gsc_set_frame_size() 232 frame->f_height = height; in gsc_set_frame_size() 233 frame->crop.width = width; in gsc_set_frame_size() [all …]
|
D | gsc-m2m.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2011 - 2012 Samsung Electronics Co., Ltd. 6 * Samsung EXYNOS5 SoC series G-Scaler driver 23 #include <media/v4l2-ioctl.h> 25 #include "gsc-core.h" 30 struct gsc_dev *gsc = ctx->gsc_dev; in gsc_m2m_ctx_stop_req() 33 curr_ctx = v4l2_m2m_get_curr_priv(gsc->m2m.m2m_dev); in gsc_m2m_ctx_stop_req() 38 ret = wait_event_timeout(gsc->irq_queue, in gsc_m2m_ctx_stop_req() 42 return ret == 0 ? -ETIMEDOUT : ret; in gsc_m2m_ctx_stop_req() 50 if ((ret == -ETIMEDOUT) || (ctx->state & GSC_CTX_ABORT)) { in __gsc_m2m_job_abort() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/hwmon/ |
D | moortec,mr75203.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rahul Tanwar <rtanwar@maxlinear.com> 19 *) Temperature Sensor (TS) - used to monitor core temperature (e.g. mr74137). 20 *) Voltage Monitor (VM) - used to monitor voltage levels (e.g. mr74138). 21 *) Process Detector (PD) - used to assess silicon speed (e.g. mr74139). 22 *) Delay Chain - ring oscillator connected to the PD, used to measure IO 23 based transistors (e.g. mr76008 ring oscillator at 1.1V, mr76007 ring 25 *) Pre Scaler - provides divide-by-X scaling of input voltage, which can then [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/media/ |
D | samsung,exynos5250-gsc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/media/samsung,exynos5250-gsc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung Exynos SoC G-Scaler 10 - Inki Dae <inki.dae@samsung.com> 11 - Krzysztof Kozlowski <krzk@kernel.org> 12 - Seung-Woo Kim <sw0312.kim@samsung.com 15 G-Scaler is used for scaling and color space conversion on Samsung Exynos 18 Each G-Scaler node should have a numbered alias in the aliases node, in the [all …]
|
/linux-6.12.1/Documentation/userspace-api/media/v4l/ |
D | dev-subdev.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 6 Sub-device Interface 13 components as software blocks called sub-devices. 15 V4L2 sub-devices are usually kernel-only objects. If the V4L2 driver 17 media entities. Applications will be able to enumerate the sub-devices 21 In addition to make sub-devices discoverable, drivers can also choose to 23 sub-device driver and the V4L2 device driver support this, sub-devices 26 - query, read and write sub-devices controls 28 - subscribe and unsubscribe to events and retrieve them 30 - negotiate image formats on individual pads [all …]
|
/linux-6.12.1/Documentation/admin-guide/media/ |
D | vimc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 API. It has a capture device and three subdevices: sensor, debayer and scaler. 10 -------- 12 The topology is hardcoded, although you could modify it in vimc-core and 17 .. kernel-figure:: vimc.dot 29 If the configuration doesn't match, the stream will fail. The ``v4l-utils`` 30 package is a bundle of user-space applications, that comes with ``media-ctl`` and 31 ``v4l2-ctl`` that can be used to configure the vimc configuration. This sequence 34 .. code-block:: bash 36 media-ctl -d platform:vimc -V '"Sensor A":0[fmt:SBGGR8_1X8/640x480]' [all …]
|
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 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:: 54 :header-rows: 1 [all …]
|
D | vivid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI 14 capture device. Each output can be an S-Video output device or an HDMI output 23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O. 24 - A large list of test patterns and variations thereof 25 - Working brightness, contrast, saturation and hue controls 26 - Support for the alpha color component 27 - Full colorspace support, including limited/full RGB range 28 - All possible control types are present 29 - Support for various pixel aspect ratios and video aspect ratios [all …]
|
D | platform-cardlist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 am437x-vpfe TI AM437x VPFE 18 aspeed-video Aspeed AST2400 and AST2500 19 atmel-isc ATMEL Image Sensor Controller (ISC) 20 atmel-isi ATMEL Image Sensor Interface (ISI) 24 cdns-csi2rx Cadence MIPI-CSI2 RX Controller 25 cdns-csi2tx Cadence MIPI-CSI2 TX Controller 26 coda-vpu Chips&Media Coda multi-standard codec IP 29 exynos-fimc-is EXYNOS4x12 FIMC-IS (Imaging Subsystem) 30 exynos-fimc-lite EXYNOS FIMC-LITE camera interface [all …]
|
D | qcom_camss.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 ------------ 25 ---------------------------------- 30 - 2 / 3 CSIPHY modules. They handle the Physical layer of the CSI2 receivers. 32 - 2 / 4 CSID (CSI Decoder) modules. They handle the Protocol and Application 36 - ISPIF (ISP Interface) module. Handles the routing of the data streams from 38 - 1 / 2 VFE (Video Front End) module(s). Contain a pipeline of image processing 48 ----------------------- 52 - Input from camera sensor via CSIPHY; 53 - Generation of test input data by the TG in CSID; [all …]
|
/linux-6.12.1/drivers/iio/ |
D | industrialio-gts-helper.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* gain-time-scale conversion helpers for IIO light sensors 18 #include <linux/iio/iio-gts-helper.h> 22 * iio_gts_get_gain - Convert scale to total gain 27 * in magnitude of NANOs and max scale is 64.1 - The linearized 31 * Return: (floored) gain corresponding to the scale. -EINVAL if scale 39 return -EINVAL; in iio_gts_get_gain() 45 * gain_get_scale_fraction - get the gain or time based on scale and known one 48 * in magnitude of NANOs and max scale is 64.1 - The linearized 73 return -EINVAL; in gain_get_scale_fraction() [all …]
|
/linux-6.12.1/drivers/hwmon/ |
D | mr75203.c | 1 // SPDX-License-Identifier: GPL-2.0 111 #define PVT_TEMP_MIN_mC -40000 117 #define PVT_SERIES5_J_CONST -100 133 * struct voltage_device - VM single input parameters. 136 * @pre_scaler: Pre scaler value (1 or 2) used to normalize the voltage output 139 * The structure provides mapping between channel-number (0..N-1) to VM-index 140 * (0..num_vm-1) and channel-index (0..ch_num-1) where N = num_vm * ch_num. 150 * struct voltage_channels - VM channel count. 163 u32 g; member 188 struct pvt_device *pvt = file->private_data; in pvt_ts_coeff_j_read() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.c | 43 // The last point is above PQ formula range (0-125 in normalized FP16) 46 // first couple points are 0 - HW LUT is mirrored around zero, so making first 48 // min nonzero value below (216825) is a little under 12-bit PQ code 1. 146 * X[i] = 2 * X[i-NUM_PTS_IN_REGION] for i>=16 164 /* one-time setup of X points */ 176 for (segment = 6; segment > (6 - NUM_REGIONS); segment--) { in setup_x_points_distribution() 180 seg_offset = (segment + (NUM_REGIONS - 7)) * NUM_PTS_IN_REGION; in setup_x_points_distribution() 187 (coordinates_x[index-1].x, increment); in setup_x_points_distribution() 272 /* de gamma, non-linear to linear */ 304 /* re gamma, linear to non-linear */ [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/display/ |
D | amlogic,meson-vpu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/display/amlogic,meson-vpu.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Neil Armstrong <neil.armstrong@linaro.org> 17 DMC|---------------VPU (Video Processing Unit)----------------|------HHI------| 19 D |-------| |----| | | | | HDMI PLL | 20 D | vd2 | VIU | | Video Post | | Video Encoders |<---|-----VCLK | 21 R |-------| |----| Processing | | | | | 22 | osd2 | | | |---| Enci ----------|----|-----VDAC------| [all …]
|
/linux-6.12.1/drivers/gpu/drm/meson/ |
D | meson_plane.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 81 if (!new_plane_state->crtc) in meson_plane_atomic_check() 85 new_plane_state->crtc); in meson_plane_atomic_check() 91 * - Upscaling up to 5x, vertical and horizontal in meson_plane_atomic_check() 92 * - Final coordinates must match crtc size in meson_plane_atomic_check() 117 switch (priv->afbcd.format) { in meson_g12a_afbcd_line_stride() 119 line_stride = ((priv->viu.osd1_width << 4) + 127) >> 7; in meson_g12a_afbcd_line_stride() 126 line_stride = ((priv->viu.osd1_width << 5) + 127) >> 7; in meson_g12a_afbcd_line_stride() 140 struct meson_drm *priv = meson_plane->priv; in meson_plane_atomic_update() 141 struct drm_framebuffer *fb = new_state->fb; in meson_plane_atomic_update() [all …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/dispnv50/ |
D | head.c | 44 .mask = asyh->clr.mask & ~(flush ? 0 : asyh->set.mask), in nv50_head_flush_clr() 47 if (clr.olut) head->func->olut_clr(head); in nv50_head_flush_clr() 48 if (clr.core) head->func->core_clr(head); in nv50_head_flush_clr() 49 if (clr.curs) head->func->curs_clr(head); in nv50_head_flush_clr() 55 if (asyh->set.curs ) head->func->curs_set(head, asyh); in nv50_head_flush_set_wndw() 56 if (asyh->set.olut ) { in nv50_head_flush_set_wndw() 57 asyh->olut.offset = nv50_lut_load(&head->olut, in nv50_head_flush_set_wndw() 58 asyh->olut.buffer, in nv50_head_flush_set_wndw() 59 asyh->state.gamma_lut, in nv50_head_flush_set_wndw() 60 asyh->olut.load); in nv50_head_flush_set_wndw() [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_display_types.h | 3 * Copyright (c) 2007-2008 Intel Corporation 48 #include <media/cec-notifier.h> 71 /* these are outputs from the chip - integrated only 89 HDMI_AUDIO_OFF_DVI = -2, /* no aux data for HDMI-DVI converter */ 105 * create the DMA scatter-gather list for each FB color plane. This sg 117 * in the rotated and remapped GTT view all no-CCS formats (up to 2 221 * state. This must be called _after_ display->get_pipe_config has 222 * pre-filled the pipe config. Note that intel_encoder->base.crtc must 442 * and the bus-specific code. What that means is that HDCP over HDMI differs 447 * - DP AUX vs. DDC [all …]
|
/linux-6.12.1/drivers/gpu/drm/gma500/ |
D | gma_display.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright © 2006-2011 Intel Corporation 32 struct drm_device *dev = crtc->dev; in gma_pipe_has_type() 38 if (connector->encoder && connector->encoder->crtc == crtc) { in gma_pipe_has_type() 41 if (gma_encoder->type == type) { in gma_pipe_has_type() 61 struct drm_device *dev = crtc->dev; in gma_pipe_set_base() 64 struct drm_framebuffer *fb = crtc->primary->fb; in gma_pipe_set_base() 66 int pipe = gma_crtc->pipe; in gma_pipe_set_base() 67 const struct psb_offset *map = &dev_priv->regmap[pipe]; in gma_pipe_set_base() 77 dev_err(dev->dev, "No FB bound\n"); in gma_pipe_set_base() [all …]
|
/linux-6.12.1/Documentation/userspace-api/media/mediactl/ |
D | media-types.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _media-controller-types: 10 .. _media-entity-functions: 11 .. _MEDIA-ENT-F-UNKNOWN: 12 .. _MEDIA-ENT-F-V4L2-SUBDEV-UNKNOWN: 13 .. _MEDIA-ENT-F-IO-V4L: 14 .. _MEDIA-ENT-F-IO-VBI: 15 .. _MEDIA-ENT-F-IO-SWRADIO: 16 .. _MEDIA-ENT-F-IO-DTV: 17 .. _MEDIA-ENT-F-DTV-DEMOD: [all …]
|
/linux-6.12.1/drivers/media/test-drivers/ |
D | vim2m.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * A virtual v4l2-mem2mem example device. 5 * This is a virtual device driver for testing mem-to-mem vb2 framework. 9 * The device is capable of multi-instance, multi-buffer-per-transaction 12 * Copyright (c) 2009-2010 Samsung Electronics Co., Ltd. 23 #include <media/v4l2-mem2mem.h> 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-ioctl.h> 26 #include <media/v4l2-ctrls.h> 27 #include <media/v4l2-event.h> [all …]
|