Lines Matching full:canvas
17 #include <linux/soc/amlogic/meson-canvas.h>
245 priv->canvas = meson_canvas_get(dev); in meson_drv_bind_master()
246 if (IS_ERR(priv->canvas)) { in meson_drv_bind_master()
247 ret = PTR_ERR(priv->canvas); in meson_drv_bind_master()
251 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_osd1); in meson_drv_bind_master()
254 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_vd1_0); in meson_drv_bind_master()
257 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_vd1_1); in meson_drv_bind_master()
260 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_vd1_2); in meson_drv_bind_master()
368 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_2); in meson_drv_bind_master()
370 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_1); in meson_drv_bind_master()
372 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_0); in meson_drv_bind_master()
374 meson_canvas_free(priv->canvas, priv->canvas_id_osd1); in meson_drv_bind_master()
398 if (priv->canvas) { in meson_drv_unbind()
399 meson_canvas_free(priv->canvas, priv->canvas_id_osd1); in meson_drv_unbind()
400 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_0); in meson_drv_unbind()
401 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_1); in meson_drv_unbind()
402 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_2); in meson_drv_unbind()