Home
last modified time | relevance | path

Searched +full:exynos5 +full:- +full:gsc (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/media/
Dexynos5-gsc.txt1 * 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-5.10/Documentation/devicetree/bindings/media/
Dexynos5-gsc.txt1 * 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-5.10/arch/arm/boot/dts/
Dexynos5250.dtsi1 // SPDX-License-Identifier: GPL-2.0
17 #include <dt-bindings/clock/exynos5250.h>
18 #include "exynos5.dtsi"
19 #include "exynos4-cpu-thermal.dtsi"
20 #include <dt-bindings/clock/exynos-audss-clk.h>
23 compatible = "samsung,exynos5250", "samsung,exynos5";
50 #address-cells = <1>;
51 #size-cells = <0>;
55 compatible = "arm,cortex-a15";
58 clock-names = "cpu";
[all …]
Dexynos5420.dtsi1 // SPDX-License-Identifier: GPL-2.0
14 #include <dt-bindings/clock/exynos5420.h>
15 #include <dt-bindings/clock/exynos-audss-clk.h>
16 #include <dt-bindings/interrupt-controller/arm-gic.h>
19 compatible = "samsung,exynos5420", "samsung,exynos5";
42 * by exynos5420-cpus.dtsi or exynos5422-cpus.dtsi.
46 compatible = "operating-points-v2";
47 opp-shared;
49 opp-1800000000 {
50 opp-hz = /bits/ 64 <1800000000>;
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dexynos5250.dtsi1 // SPDX-License-Identifier: GPL-2.0
17 #include <dt-bindings/clock/exynos5250.h>
18 #include "exynos5.dtsi"
19 #include "exynos4-cpu-thermal.dtsi"
20 #include <dt-bindings/clock/exynos-audss-clk.h>
23 compatible = "samsung,exynos5250", "samsung,exynos5";
50 #address-cells = <1>;
51 #size-cells = <0>;
55 compatible = "arm,cortex-a15";
58 clock-names = "cpu";
[all …]
Dexynos5420.dtsi1 // SPDX-License-Identifier: GPL-2.0
14 #include <dt-bindings/clock/exynos5420.h>
15 #include <dt-bindings/clock/exynos-audss-clk.h>
16 #include <dt-bindings/interrupt-controller/arm-gic.h>
19 compatible = "samsung,exynos5420", "samsung,exynos5";
42 * by exynos5420-cpus.dtsi or exynos5422-cpus.dtsi.
47 compatible = "operating-points-v2";
48 opp-shared;
49 opp-1800000000 {
50 opp-hz = /bits/ 64 <1800000000>;
[all …]
/kernel/linux/linux-4.19/drivers/media/platform/exynos-gsc/
Dgsc-core.c2 * Copyright (c) 2011 - 2012 Samsung Electronics Co., Ltd.
5 * Samsung EXYNOS5 SoC series G-Scaler driver
28 #include <media/v4l2-ioctl.h>
30 #include "gsc-core.h"
41 .name = "BGRX-8-8-8-8, 32 bpp",
115 .name = "YUV 4:2:2 non-contig, Y/CbCr",
133 .name = "YUV 4:2:2 non-contig, Y/CrCb",
179 .name = "YUV 4:2:0 non-contig. 2p, Y/CrCb",
188 .name = "YUV 4:2:0 non-contig. 2p, Y/CbCr",
197 .name = "YUV 4:2:0 non-contig. 3p, Y/Cb/Cr",
[all …]
Dgsc-m2m.c2 * Copyright (c) 2011 - 2012 Samsung Electronics Co., Ltd.
5 * Samsung EXYNOS5 SoC series G-Scaler driver
27 #include <media/v4l2-ioctl.h>
29 #include "gsc-core.h"
34 struct gsc_dev *gsc = ctx->gsc_dev; in gsc_m2m_ctx_stop_req() local
37 curr_ctx = v4l2_m2m_get_curr_priv(gsc->m2m.m2m_dev); in gsc_m2m_ctx_stop_req()
38 if (!gsc_m2m_pending(gsc) || (curr_ctx != ctx)) in gsc_m2m_ctx_stop_req()
42 ret = wait_event_timeout(gsc->irq_queue, in gsc_m2m_ctx_stop_req()
46 return ret == 0 ? -ETIMEDOUT : ret; in gsc_m2m_ctx_stop_req()
54 if ((ret == -ETIMEDOUT) || (ctx->state & GSC_CTX_ABORT)) { in __gsc_m2m_job_abort()
[all …]
Dgsc-core.h2 * Copyright (c) 2011 - 2012 Samsung Electronics Co., Ltd.
5 * header file for Samsung EXYNOS5 SoC series G-Scaler driver
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/videobuf2-dma-contig.h>
29 #include "gsc-regs.h"
32 #define GSC_MODULE_NAME "exynos-gsc"
[all …]
Dgsc-regs.c2 * Copyright (c) 2011 - 2012 Samsung Electronics Co., Ltd.
5 * Samsung EXYNOS5 SoC series G-Scaler driver
16 #include "gsc-core.h"
20 writel(GSC_SW_RESET_SRESET, dev->regs + GSC_SW_RESET); in gsc_hw_set_sw_reset()
29 cfg = readl(dev->regs + GSC_SW_RESET); in gsc_wait_reset()
35 return -EBUSY; in gsc_wait_reset()
42 cfg = readl(dev->regs + GSC_IRQ); in gsc_hw_set_frm_done_irq_mask()
47 writel(cfg, dev->regs + GSC_IRQ); in gsc_hw_set_frm_done_irq_mask()
54 cfg = readl(dev->regs + GSC_IRQ); in gsc_hw_set_gsc_irq_enable()
59 writel(cfg, dev->regs + GSC_IRQ); in gsc_hw_set_gsc_irq_enable()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/exynos-gsc/
Dgsc-core.c1 // 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
24 #include <media/v4l2-ioctl.h>
26 #include "gsc-core.h"
219 if (pixelformat && fmt->pixelformat == *pixelformat) in find_fmt()
221 if (mbus_code && fmt->mbus_code == *mbus_code) in find_fmt()
232 frame->f_width = width; in gsc_set_frame_size()
233 frame->f_height = height; in gsc_set_frame_size()
234 frame->crop.width = width; in gsc_set_frame_size()
[all …]
Dgsc-m2m.c1 // 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() local
33 curr_ctx = v4l2_m2m_get_curr_priv(gsc->m2m.m2m_dev); in gsc_m2m_ctx_stop_req()
34 if (!gsc_m2m_pending(gsc) || (curr_ctx != ctx)) 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()
[all …]
Dgsc-core.h1 /* 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 …]
Dgsc-regs.c1 // 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 …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/iommu/
Dsamsung,sysmmu.txt4 physical memory chunks visible as a contiguous region to DMA-capable peripheral
5 devices like MFC, FIMC, FIMD, GScaler, FIMC-IS and so forth.
10 another capabilities like L2 TLB or block-fetch buffers to minimize translation
31 - compatible: Should be "samsung,exynos-sysmmu"
32 - reg: A tuple of base address and size of System MMU registers.
33 - #iommu-cells: Should be <0>.
34 - interrupts: An interrupt specifier for interrupt signal of System MMU,
37 - clock-names: Should be "sysmmu" or a pair of "aclk" and "pclk" to gate
42 - clocks: Phandles for respective clocks described by clock-names.
43 - power-domains: Required if the System MMU is needed to gate its power.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iommu/
Dsamsung,sysmmu.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Marek Szyprowski <m.szyprowski@samsung.com>
14 physical memory chunks visible as a contiguous region to DMA-capable peripheral
15 devices like MFC, FIMC, FIMD, GScaler, FIMC-IS and so forth.
20 another capabilities like L2 TLB or block-fetch buffers to minimize translation
42 const: samsung,exynos-sysmmu
54 clock-names:
56 - items:
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_drm_gsc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
25 #include "regs-gsc.h"
28 * GSC stands for General SCaler and
32 * GSC supports image rotation and image effect functions.
64 #define gsc_read(offset) readl(ctx->regs + (offset))
65 #define gsc_write(cfg, offset) writel(cfg, ctx->regs + (offset))
87 * A structure of gsc context.
91 * @gsc_clk: gsc gate clock.
93 * @id: gsc id.
118 * struct gsc_driverdata - per device type driver data for init time.
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/exynos/
Dexynos_drm_gsc.c25 #include "regs-gsc.h"
31 * GSC stands for General SCaler and
35 * GSC supports image rotation and image effect functions.
67 #define gsc_read(offset) readl(ctx->regs + (offset))
68 #define gsc_write(cfg, offset) writel(cfg, ctx->regs + (offset))
90 * A structure of gsc context.
94 * @gsc_clk: gsc gate clock.
96 * @id: gsc id.
120 * struct gsc_driverdata - per device type driver data for init time.
133 /* 8-tap Filter Coefficient */
[all …]
/kernel/linux/linux-4.19/drivers/clk/samsung/
Dclk-exynos5420.c13 #include <dt-bindings/clock/exynos5420.h>
15 #include <linux/clk-provider.h>
21 #include "clk-cpu.h"
22 #include "clk-exynos5-subcmu.h"
931 /* Audio - I2S */
938 /* SPI Pre-Ratio */
1291 { GATE_IP_GSCL0, 0x3, 0x3 }, /* GSC gates */
1292 { GATE_IP_GSCL1, 0xc0, 0xc0 }, /* GSC gates */
1329 .pd_name = "GSC",
1366 PLL_36XX_RATE(24 * MHZ, 393216003U, 197, 3, 2, -25690),
[all …]
/kernel/linux/linux-5.10/drivers/clk/samsung/
Dclk-exynos5420.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <dt-bindings/clock/exynos5420.h>
12 #include <linux/clk-provider.h>
18 #include "clk-cpu.h"
19 #include "clk-exynos5-subcmu.h"
894 /* Audio - I2S */
901 /* SPI Pre-Ratio */
1258 { GATE_IP_GSCL0, 0x3, 0x3 }, /* GSC gates */
1259 { GATE_IP_GSCL1, 0xc0, 0xc0 }, /* GSC gates */
1343 .pd_name = "GSC",
[all …]