| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/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 …]
|
| /kernel/linux/linux-6.6/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.
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/ |
| D | exynos5-gsc.txt | 1 * Samsung Exynos5 G-Scaler device 3 G-Scaler is used for scaling and color space conversion on Exynos5 SoCs. 6 - compatible: should be one of 7 "samsung,exynos5250-gsc" 8 "samsung,exynos5420-gsc" 9 "samsung,exynos5433-gsc" 10 "samsung,exynos5-gsc" (deprecated) 11 - reg: should contain G-Scaler physical address location and length. 12 - interrupts: should contain G-Scaler interrupt number 15 - samsung,sysreg: handle to syscon used to control the system registers to [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 40 return -EINVAL; in iio_gts_get_gain() 42 if (U64_MAX - full < scale) { in iio_gts_get_gain() 44 if (full - scale < scale) in iio_gts_get_gain() 47 full -= scale; in iio_gts_get_gain() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/ |
| D | color_gamma.c | 43 * X[i] = 2 * X[i-NUM_PTS_IN_REGION] for i>=16 56 /* one-time setup of X points */ 68 for (segment = 6; segment > (6 - NUM_REGIONS); segment--) { in setup_x_points_distribution() 72 seg_offset = (segment + (NUM_REGIONS - 7)) * NUM_PTS_IN_REGION; in setup_x_points_distribution() 79 (coordinates_x[index-1].x, increment); in setup_x_points_distribution() 228 /* one-time pre-compute PQ values - only for sdr_white_level 80 */ 244 x = dc_fixpt_mul(coord_x->x, scaling_factor); in precompute_pq() 250 /* one-time pre-compute dePQ values - only for max pixel value 125 FP16 */ 259 /* X points is 2^-25 to 2^7 in precompute_de_pq() 260 * De-gamma X is 2^-12 to 2^0 – we are skipping first -12-(-25) = 13 regions in precompute_de_pq() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/color/ |
| D | color_gamma.c | 48 * X[i] = 2 * X[i-NUM_PTS_IN_REGION] for i>=16 66 /* one-time setup of X points */ 78 for (segment = 6; segment > (6 - NUM_REGIONS); segment--) { in setup_x_points_distribution() 82 seg_offset = (segment + (NUM_REGIONS - 7)) * NUM_PTS_IN_REGION; in setup_x_points_distribution() 89 (coordinates_x[index-1].x, increment); in setup_x_points_distribution() 174 /* de gamma, non-linear to linear */ 206 /* re gamma, linear to non-linear */ 238 /* one-time pre-compute PQ values - only for sdr_white_level 80 */ 254 x = dc_fixpt_mul(coord_x->x, scaling_factor); in precompute_pq() 260 /* one-time pre-compute dePQ values - only for max pixel value 125 FP16 */ [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/media/ |
| 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:: 55 * - pad [all …]
|
| 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 | 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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/meson/ |
| D | meson_plane.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 78 if (!state->crtc) in meson_plane_atomic_check() 81 crtc_state = drm_atomic_get_crtc_state(state->state, state->crtc); in meson_plane_atomic_check() 87 * - Upscaling up to 5x, vertical and horizontal in meson_plane_atomic_check() 88 * - Final coordinates must match crtc size in meson_plane_atomic_check() 112 switch (priv->afbcd.format) { in meson_g12a_afbcd_line_stride() 114 line_stride = ((priv->viu.osd1_width << 4) + 127) >> 7; in meson_g12a_afbcd_line_stride() 121 line_stride = ((priv->viu.osd1_width << 5) + 127) >> 7; in meson_g12a_afbcd_line_stride() 132 struct drm_plane_state *state = plane->state; in meson_plane_atomic_update() 134 struct meson_drm *priv = meson_plane->priv; in meson_plane_atomic_update() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|