/linux/Documentation/devicetree/bindings/media/ |
H A D | samsung,exynos4210-fimc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/media/samsung,exynos4210-fimc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 20 - samsung,exynos4210-fimc 21 - samsung,exynos4212-fimc 22 - samsung,s5pv210-fimc 30 clock-names: [all …]
|
H A D | samsung,fimc.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 S5P/Exynos SoC Camera subsystem comprises of multiple sub-devices 17 CSIS, FIMC-LITE and FIMC-IS (ISP). 25 '#address-cells': 28 '#size-cells': 31 '#clock-cells': [all …]
|
/linux/drivers/media/usb/gspca/ |
H A D | stk1135.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 45 /* -- read a register -- */ 48 struct usb_device *dev = gspca_dev->dev; in reg_r() 51 if (gspca_dev->usb_err < 0) in reg_r() 58 gspca_dev->usb_buf, 1, in reg_r() 62 index, gspca_dev->usb_buf[0]); in reg_r() 65 gspca_dev->usb_err = ret; in reg_r() 69 return gspca_dev->usb_buf[0]; in reg_r() 72 /* -- write a register -- */ 76 struct usb_device *dev = gspca_dev->dev; in reg_w() [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 25 signal, query the default area and the hardware limits. 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 [all …]
|
H A D | diff-v4l.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _diff-v4l: 23 and below in :ref:`v4l-dev`. 25 The teletext devices (minor range 192-223) have been removed in V4L2 and 35 .. _v4l-dev: 37 .. flat-table:: V4L Device Types, Names and Numbers 38 :header-rows: 1 39 :stub-columns: 0 41 * - Device Type 42 - File Name [all …]
|
H A D | dev-overlay.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 11 Video overlay devices have the ability to genlock (TV-)video into the 12 (VGA-)video signal of a graphics card, or to store captured images 62 :ref:`streaming parameter <streaming-par>` ioctls as needed. The 93 1. Chroma-keying displays the overlaid image only where pixels in the 142 adjusts the parameters against hardware limits and returns the actual 162 ------------------ 181 When chroma-keying has been negotiated with 187 :ref:`V4L2_PIX_FMT_BGR24 <V4L2-PIX-FMT-BGR32>` the value should 192 When chroma-keying has *not* been negotiated and [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4210.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. 7 * Copyright (c) 2010-2011 Linaro Ltd. 20 #include "exynos4-cpu-thermal.dtsi" 31 bus_acp: bus-acp { 32 compatible = "samsung,exynos-bus"; 34 clock-names = "bus"; 35 operating-points-v2 = <&bus_acp_opp_table>; 38 bus_acp_opp_table: opp-table { 39 compatible = "operating-points-v2"; [all …]
|
H A D | s5pv210.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2013-2014 Samsung Electronics, Co. Ltd. 19 #include <dt-bindings/clock/s5pv210.h> 20 #include <dt-bindings/clock/s5pv210-audss.h> 23 #address-cells = <1>; 24 #size-cells = <1>; 45 #address-cells = <1>; 46 #size-cells = <0>; 50 compatible = "arm,cortex-a8"; 55 xxti: oscillator-0 { [all …]
|
H A D | exynos4x12.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 19 #include "exynos4-cpu-thermal.dtsi" 27 fimc-lite0 = &fimc_lite_0; 28 fimc-lite1 = &fimc_lite_1; 31 bus_acp: bus-acp { 32 compatible = "samsung,exynos-bus"; 34 clock-names = "bus"; 35 operating-points-v2 = <&bus_acp_opp_table>; 38 bus_acp_opp_table: opp-table { 39 compatible = "operating-points-v2"; [all …]
|
/linux/drivers/media/i2c/ |
H A D | ccs-pll.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * drivers/media/i2c/ccs-pll.h 17 /* CSI-2 or CCP-2 */ 22 /* op pix clock is for all lanes in total normally */ 37 * struct ccs_pll_branch_fr - CCS PLL configuration (front) 39 * A single branch front-end of the CCS PLL tree. 41 * @pre_pll_clk_div: Pre-PLL clock divisor 54 * struct ccs_pll_branch_bk - CCS PLL configuration (back) 56 * A single branch back-end of the CCS PLL tree. 71 * struct ccs_pll - Full CCS PLL configuration [all …]
|
H A D | aptina-pll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include "aptina-pll.h" 16 const struct aptina_pll_limits *limits, in aptina_pll_calculate() argument 26 dev_dbg(dev, "PLL: ext clock %u pix clock %u\n", in aptina_pll_calculate() 27 pll->ext_clock, pll->pix_clock); in aptina_pll_calculate() 29 if (pll->ext_clock < limits->ext_clock_min || in aptina_pll_calculate() 30 pll->ext_clock > limits->ext_clock_max) { in aptina_pll_calculate() 32 return -EINVAL; in aptina_pll_calculate() 35 if (pll->pix_clock == 0 || pll->pix_clock > limits->pix_clock_max) { in aptina_pll_calculate() 37 return -EINVAL; in aptina_pll_calculate() [all …]
|
H A D | ccs-pll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/media/i2c/ccs-pll.c 8 * Copyright (C) 2011--2012 Nokia Corporation 17 #include "ccs-pll.h" 55 dev_dbg(dev, "%s_%s out of bounds: %d (%d--%d)\n", prefix, in bounds_check() 58 return -EINVAL; in bounds_check() 85 { &pll->vt_fr, &pll->vt_bk, PLL_VT }, in print_pll() 86 { &pll->op_fr, &pll->op_bk, PLL_OP } in print_pll() 90 dev_dbg(dev, "ext_clk_freq_hz\t\t%u\n", pll->ext_clk_freq_hz); in print_pll() 93 const char *s = pll_string(br->which); in print_pll() [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/media/platform/allegro-dvt/ |
H A D | allegro-core.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <linux/mfd/syscon/xlnx-vcu.h> 26 #include <media/v4l2-ctrls.h> 27 #include <media/v4l2-device.h> 28 #include <media/v4l2-event.h> 29 #include <media/v4l2-ioctl.h> 30 #include <media/v4l2-mem2mem.h> 31 #include <media/videobuf2-dma-contig.h> 32 #include <media/videobuf2-v4l2.h> 34 #include "allegro-mail.h" [all …]
|
/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2010-2012 Samsung Electronics Co., Ltd. 24 #include <media/v4l2-ioctl.h> 25 #include <media/videobuf2-v4l2.h> 26 #include <media/videobuf2-dma-contig.h> 28 #include "fimc-core.h" 29 #include "fimc-reg.h" 30 #include "media-dev.h" 197 if (!ctx->scaler.enabled) in fimc_check_scaler_ratio() 198 return (sw == dw && sh == dh) ? 0 : -EINVAL; in fimc_check_scaler_ratio() [all …]
|
H A D | fimc-core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2010 - 2012 Samsung Electronics Co., Ltd. 21 #include <media/media-entity.h> 22 #include <media/videobuf2-v4l2.h> 23 #include <media/v4l2-ctrls.h> 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-mem2mem.h> 26 #include <media/v4l2-mediabus.h> 27 #include <media/drv-intf/exynos-fimc.h> 35 #define FIMC_DRIVER_NAME "exynos4-fimc" [all …]
|
/linux/drivers/staging/media/imx/ |
H A D | imx-ic-prpencvf.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright (c) 2012-2017 Mentor Graphics Inc. 18 #include <media/v4l2-ctrls.h> 19 #include <media/v4l2-device.h> 20 #include <media/v4l2-ioctl.h> 21 #include <media/v4l2-mc.h> 22 #include <media/v4l2-subdev.h> 24 #include "imx-media.h" 25 #include "imx-ic.h" 71 int ipu_buf_num; /* ipu double buffer index: 0-1 */ [all …]
|
H A D | imx-media-vdic.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 #include <media/v4l2-ctrls.h> 8 #include <media/v4l2-device.h> 9 #include <media/v4l2-ioctl.h> 10 #include <media/v4l2-mc.h> 11 #include <media/v4l2-subdev.h> 13 #include "imx-media.h" 18 * CSI -> VDIC 20 * In this pipeline, the CSI sends a single interlaced field F(n-1) 29 * MEM -> CH8,9,10 -> VDIC [all …]
|
/linux/drivers/staging/media/tegra-video/ |
H A D | tegra210.c | 1 // SPDX-License-Identifier: GPL-2.0-only 150 writel_relaxed(val, chan->vi->iomem + addr); in tegra_vi_write() 155 return readl_relaxed(chan->vi->iomem + addr); in tegra_vi_read() 164 vi_csi_base = chan->vi->iomem + TEGRA210_VI_CSI_BASE(portno); in vi_csi_write() 174 vi_csi_base = chan->vi->iomem + TEGRA210_VI_CSI_BASE(portno); in vi_csi_read() 185 struct tegra_vi *vi = chan->vi; in tegra210_channel_host1x_syncpt_init() 191 for (i = 0; i < chan->numgangports; i++) { in tegra210_channel_host1x_syncpt_init() 192 fs_sp = host1x_syncpt_request(&vi->client, flags); in tegra210_channel_host1x_syncpt_init() 194 dev_err(vi->dev, "failed to request frame start syncpoint\n"); in tegra210_channel_host1x_syncpt_init() 195 ret = -ENOMEM; in tegra210_channel_host1x_syncpt_init() [all …]
|
/linux/drivers/clk/bcm/ |
H A D | clk-bcm2835.c | 1 // SPDX-License-Identifier: GPL-2.0+ 23 * directly from the PLLH PIX channel without using a CM_*CTL clock 27 #include <linux/clk-provider.h> 38 #include <dt-bindings/clock/bcm2835.h> 45 # define CM_DIV_FRAC_MASK GENMASK(CM_DIV_FRAC_BITS - 1, 0) 253 # define A2W_PLL_FRAC_MASK ((1 << A2W_PLL_FRAC_BITS) - 1) 337 writel(CM_PASSWORD | val, cprman->regs + reg); in cprman_write() 342 return readl(cprman->regs + reg); in cprman_read() 355 spin_lock(&cprman->regs_lock); in bcm2835_measure_tcnt_mux() 372 dev_err(cprman->dev, "timeout waiting for OSCCOUNT\n"); in bcm2835_measure_tcnt_mux() [all …]
|
/linux/drivers/video/fbdev/ |
H A D | pxafb.c | 5 * Copyright (C) 2004 Jean-Frederic Clere. 21 * linux-arm-kernel@lists.arm.linux.org.uk 31 * Copyright (C) 2006-2008 Marvell International Ltd. 50 #include <linux/dma-mapping.h> 67 #include <linux/platform_data/video-pxafb.h> 75 #include "pxa3xx-regs.h" 98 return __raw_readl(fbi->mmio_base + off); in lcd_readl() 104 __raw_writel(val, fbi->mmio_base + off); in lcd_writel() 122 if (fbi->task_state == C_ENABLE && state == C_REENABLE) in pxafb_schedule_work() 123 state = (u_int) -1; in pxafb_schedule_work() [all …]
|