/Linux-v5.10/drivers/media/platform/rockchip/rga/ |
D | rga.c | 28 #include "rga-hw.h" 29 #include "rga.h" 37 struct rockchip_rga *rga = ctx->rga; in device_run() local 41 spin_lock_irqsave(&rga->ctrl_lock, flags); in device_run() 43 rga->curr = ctx; in device_run() 51 rga_hw_start(rga); in device_run() 53 spin_unlock_irqrestore(&rga->ctrl_lock, flags); in device_run() 58 struct rockchip_rga *rga = prv; in rga_isr() local 61 intr = rga_read(rga, RGA_INT) & 0xf; in rga_isr() 63 rga_mod(rga, RGA_INT, intr << 4, 0xf << 4); in rga_isr() [all …]
|
D | rga-hw.c | 9 #include "rga-hw.h" 10 #include "rga.h" 35 * The rga hw scaling factor is a normalized inverse of the in rga_get_scaling() 124 struct rockchip_rga *rga = ctx->rga; in rga_cmd_set_src_addr() local 125 u32 *dest = rga->cmdbuf_virt; in rga_cmd_set_src_addr() 137 struct rockchip_rga *rga = ctx->rga; in rga_cmd_set_src1_addr() local 138 u32 *dest = rga->cmdbuf_virt; in rga_cmd_set_src1_addr() 150 struct rockchip_rga *rga = ctx->rga; in rga_cmd_set_dst_addr() local 151 u32 *dest = rga->cmdbuf_virt; in rga_cmd_set_dst_addr() 163 struct rockchip_rga *rga = ctx->rga; in rga_cmd_set_trans_info() local [all …]
|
D | rga-buf.c | 15 #include "rga-hw.h" 16 #include "rga.h" 79 struct rockchip_rga *rga = ctx->rga; in rga_buf_start_streaming() local 82 ret = pm_runtime_get_sync(rga->dev); in rga_buf_start_streaming() 84 pm_runtime_put_noidle(rga->dev); in rga_buf_start_streaming() 95 struct rockchip_rga *rga = ctx->rga; in rga_buf_stop_streaming() local 98 pm_runtime_put(rga->dev); in rga_buf_stop_streaming() 111 /* RGA MMU is a 1-Level MMU, so it can't be used through the IOMMU API. 117 struct rockchip_rga *rga = ctx->rga; in rga_buf_map() local 125 pages = rga->src_mmu_pages; in rga_buf_map() [all …]
|
D | rga.h | 14 #define RGA_NAME "rockchip-rga" 50 struct rockchip_rga *rga; member 90 /* RGA Buffers Manage */ 94 /* RGA Hardware */ 95 static inline void rga_write(struct rockchip_rga *rga, u32 reg, u32 value) in rga_write() argument 97 writel(value, rga->regs + reg); in rga_write() 100 static inline u32 rga_read(struct rockchip_rga *rga, u32 reg) in rga_read() argument 102 return readl(rga->regs + reg); in rga_read() 105 static inline void rga_mod(struct rockchip_rga *rga, u32 reg, u32 val, u32 mask) in rga_mod() argument 107 u32 temp = rga_read(rga, reg) & ~(mask); in rga_mod() [all …]
|
D | Makefile | 2 rockchip-rga-objs := rga.o rga-hw.o rga-buf.o 4 obj-$(CONFIG_VIDEO_ROCKCHIP_RGA) += rockchip-rga.o
|
/Linux-v5.10/Documentation/devicetree/bindings/media/ |
D | rockchip-rga.yaml | 4 $id: http://devicetree.org/schemas/media/rockchip-rga.yaml# 7 title: Rockchip 2D raster graphic acceleration controller (RGA) 10 RGA is a standalone 2D raster graphic acceleration unit. It accelerates 2D 21 - const: rockchip,rk3288-rga 22 - const: rockchip,rk3399-rga 24 - const: rockchip,rk3228-rga 25 - const: rockchip,rk3288-rga 70 rga: rga@ff680000 { 71 compatible = "rockchip,rk3399-rga";
|
/Linux-v5.10/drivers/media/platform/ |
D | Makefile | 55 obj-$(CONFIG_VIDEO_ROCKCHIP_RGA) += rockchip/rga/
|
D | Kconfig | 472 This is a v4l2 driver for Rockchip SOC RGA 2d graphics accelerator. 473 Rockchip RGA is a separate 2D raster graphic acceleration unit.
|
/Linux-v5.10/Documentation/admin-guide/media/ |
D | platform-cardlist.rst | 53 rockchip-rga Rockchip Raster 2d Graphic Acceleration Unit
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | rk322x.dtsi | 619 rga: rga@20060000 { label 620 compatible = "rockchip,rk3228-rga", "rockchip,rk3288-rga";
|
D | rk3288.dtsi | 785 * *_RGA RGA 1028 rga: rga@ff920000 { label 1029 compatible = "rockchip,rk3288-rga";
|
/Linux-v5.10/arch/arm64/boot/dts/rockchip/ |
D | rk3399.dtsi | 1311 rga: rga@ff680000 { label 1312 compatible = "rockchip,rk3399-rga";
|
/Linux-v5.10/drivers/clk/rockchip/ |
D | clk-rk3399.c | 794 /* rga */
|
/Linux-v5.10/ |
D | MAINTAINERS | 15044 F: Documentation/devicetree/bindings/media/rockchip-rga.yaml 15045 F: drivers/media/platform/rockchip/rga/
|