Searched refs:canvas (Results 1 – 9 of 9) sorted by relevance
/drivers/soc/amlogic/ |
D | meson-canvas.c | 41 static void canvas_write(struct meson_canvas *canvas, u32 reg, u32 val) in canvas_write() argument 43 writel_relaxed(val, canvas->reg_base + reg); in canvas_write() 46 static u32 canvas_read(struct meson_canvas *canvas, u32 reg) in canvas_read() argument 48 return readl_relaxed(canvas->reg_base + reg); in canvas_read() 55 struct meson_canvas *canvas; in meson_canvas_get() local 74 canvas = dev_get_drvdata(&canvas_pdev->dev); in meson_canvas_get() 75 if (!canvas) { in meson_canvas_get() 80 return canvas; in meson_canvas_get() 84 int meson_canvas_config(struct meson_canvas *canvas, u8 canvas_index, in meson_canvas_config() argument 92 if (endian && !canvas->supports_endianness) { in meson_canvas_config() [all …]
|
D | Makefile | 2 obj-$(CONFIG_MESON_CANVAS) += meson-canvas.o
|
D | Kconfig | 9 Say yes to support the canvas IP for Amlogic SoCs.
|
/drivers/gpu/drm/meson/ |
D | meson_drv.c | 241 priv->canvas = meson_canvas_get(dev); in meson_drv_bind_master() 242 if (IS_ERR(priv->canvas)) { in meson_drv_bind_master() 243 ret = PTR_ERR(priv->canvas); in meson_drv_bind_master() 247 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_osd1); in meson_drv_bind_master() 250 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_vd1_0); in meson_drv_bind_master() 252 meson_canvas_free(priv->canvas, priv->canvas_id_osd1); in meson_drv_bind_master() 255 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_vd1_1); in meson_drv_bind_master() 257 meson_canvas_free(priv->canvas, priv->canvas_id_osd1); in meson_drv_bind_master() 258 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_0); in meson_drv_bind_master() 261 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_vd1_2); in meson_drv_bind_master() [all …]
|
D | meson_crtc.c | 370 meson_canvas_config(priv->canvas, priv->canvas_id_osd1, in meson_crtc_irq() 443 meson_canvas_config(priv->canvas, in meson_crtc_irq() 453 meson_canvas_config(priv->canvas, in meson_crtc_irq() 463 meson_canvas_config(priv->canvas, in meson_crtc_irq()
|
D | meson_drv.h | 44 struct meson_canvas *canvas; member
|
/drivers/staging/media/meson/vdec/ |
D | vdec_helpers.c | 89 ret = meson_canvas_alloc(sess->core->canvas, canvas_id); in canvas_alloc() 116 meson_canvas_config(core->canvas, canvas_id[0], buf_paddr[0], in set_canvas_yuv420m() 122 meson_canvas_config(core->canvas, canvas_id[1], buf_paddr[1], in set_canvas_yuv420m() 128 meson_canvas_config(core->canvas, canvas_id[2], buf_paddr[2], in set_canvas_yuv420m() 160 meson_canvas_config(core->canvas, canvas_id[0], buf_paddr[0], in set_canvas_nv12m() 166 meson_canvas_config(core->canvas, canvas_id[1], buf_paddr[1], in set_canvas_nv12m()
|
D | vdec.h | 77 struct meson_canvas *canvas; member
|
D | vdec.c | 370 meson_canvas_free(sess->core->canvas, sess->canvas_alloc[i]); in vdec_free_canvas() 1027 core->canvas = meson_canvas_get(dev); in vdec_probe() 1028 if (IS_ERR(core->canvas)) in vdec_probe() 1029 return PTR_ERR(core->canvas); in vdec_probe()
|