/openbmc/linux/drivers/media/platform/rockchip/rga/ |
H A D | rga.c | 37 struct rockchip_rga *rga = ctx->rga; in device_run() local 157 struct rockchip_rga *rga = ctx->rga; in rga_setup_ctrls() local 367 ctx->rga = rga; in rga_open() 402 struct rockchip_rga *rga = ctx->rga; in rga_release() local 510 struct rockchip_rga *rga = ctx->rga; in vidioc_s_fmt() local 601 struct rockchip_rga *rga = ctx->rga; in vidioc_s_selection() local 766 rga->sclk = devm_clk_get(rga->dev, "sclk"); in rga_parse_dt() 772 rga->aclk = devm_clk_get(rga->dev, "aclk"); in rga_parse_dt() 778 rga->hclk = devm_clk_get(rga->dev, "hclk"); in rga_parse_dt() 824 dev_name(rga->dev), rga); in rga_probe() [all …]
|
H A D | rga-hw.c | 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 163 struct rockchip_rga *rga = ctx->rga; in rga_cmd_set_trans_info() local 261 if (rga->version.major == 0 || rga->version.minor == 0) { in rga_cmd_set_trans_info() 357 struct rockchip_rga *rga = ctx->rga; in rga_cmd_set_mode() local 380 struct rockchip_rga *rga = ctx->rga; in rga_cmd_set() local 396 rga_write(rga, RGA_CMD_BASE, rga->cmdbuf_phy); in rga_cmd_set() [all …]
|
H A D | rga-buf.c | 79 struct rockchip_rga *rga = ctx->rga; in rga_buf_start_streaming() local 82 ret = pm_runtime_resume_and_get(rga->dev); in rga_buf_start_streaming() 94 struct rockchip_rga *rga = ctx->rga; in rga_buf_stop_streaming() local 97 pm_runtime_put(rga->dev); in rga_buf_stop_streaming() 116 struct rockchip_rga *rga = ctx->rga; in rga_buf_map() local 124 pages = rga->src_mmu_pages; in rga_buf_map() 126 pages = rga->dst_mmu_pages; in rga_buf_map() 146 dma_sync_single_for_device(rga->dev, virt_to_phys(pages), in rga_buf_map()
|
H A D | rga.h | 50 struct rockchip_rga *rga; member 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() 110 rga_write(rga, reg, temp); in rga_mod() 113 void rga_hw_start(struct rockchip_rga *rga);
|
H A D | Makefile | 2 rockchip-rga-objs := rga.o rga-hw.o rga-buf.o 4 obj-$(CONFIG_VIDEO_ROCKCHIP_RGA) += rockchip-rga.o
|
/openbmc/linux/Documentation/devicetree/bindings/media/ |
H A D | rockchip-rga.yaml | 4 $id: http://devicetree.org/schemas/media/rockchip-rga.yaml# 21 - const: rockchip,rk3288-rga 22 - const: rockchip,rk3399-rga 25 - rockchip,rk3228-rga 26 - rockchip,rk3568-rga 27 - const: rockchip,rk3288-rga 72 rga: rga@ff680000 { 73 compatible = "rockchip,rk3399-rga";
|
/openbmc/linux/drivers/media/platform/rockchip/ |
H A D | Makefile | 2 obj-y += rga/
|
H A D | Kconfig | 5 source "drivers/media/platform/rockchip/rga/Kconfig"
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | platform-cardlist.rst | 52 rockchip-rga Rockchip Raster 2d Graphic Acceleration Unit
|
/openbmc/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk322x.dtsi | 694 rga: rga@20060000 { label 695 compatible = "rockchip,rk3228-rga", "rockchip,rk3288-rga";
|
H A D | rk3288.dtsi | 1008 rga: rga@ff920000 { label 1009 compatible = "rockchip,rk3288-rga";
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk356x.dtsi | 617 rga: rga@fdeb0000 { label 618 compatible = "rockchip,rk3568-rga", "rockchip,rk3288-rga";
|
H A D | rk3399.dtsi | 1419 rga: rga@ff680000 { label 1420 compatible = "rockchip,rk3399-rga";
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | rk3128.dtsi | 118 rga {
|
/openbmc/linux/ |
H A D | MAINTAINERS | 18576 F: Documentation/devicetree/bindings/media/rockchip-rga.yaml 18577 F: drivers/media/platform/rockchip/rga/
|
/openbmc/ |
H A D | opengrok1.0.log | 25639 … file-less due to: /opengrok/data/xref/openbmc/linux/drivers/media/platform/rockchip/rga/Kconfig.gz 25640 … its children prevent delete: /opengrok/data/xref/openbmc/linux/drivers/media/platform/rockchip/rga
|
H A D | opengrok2.0.log | 25535 … file-less due to: /opengrok/data/xref/openbmc/linux/drivers/media/platform/rockchip/rga/Kconfig.gz 25536 … its children prevent delete: /opengrok/data/xref/openbmc/linux/drivers/media/platform/rockchip/rga
|