Home
last modified time | relevance | path

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

/Linux-v6.1/Documentation/devicetree/bindings/media/
Dsamsung,exynos5250-gsc.yaml1 # 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-v6.1/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>;
53 cpu-map {
66 compatible = "arm,cortex-a15";
[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.
45 cluster_a15_opp_table: opp-table0 {
46 compatible = "operating-points-v2";
47 opp-shared;
49 opp-1800000000 {
[all …]
/Linux-v6.1/drivers/media/platform/samsung/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 …]
/Linux-v6.1/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.
90 * @gsc_clk: gsc gate clock.
92 * @id: gsc id.
116 * struct gsc_driverdata - per device type driver data for init time.
[all …]
/Linux-v6.1/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 …]