Lines Matching full:canvas
16 #include <linux/soc/amlogic/meson-canvas.h>
243 priv->canvas = meson_canvas_get(dev); in meson_drv_bind_master()
244 if (IS_ERR(priv->canvas)) { in meson_drv_bind_master()
245 ret = PTR_ERR(priv->canvas); in meson_drv_bind_master()
249 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_osd1); in meson_drv_bind_master()
252 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_vd1_0); in meson_drv_bind_master()
255 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_vd1_1); in meson_drv_bind_master()
258 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_vd1_2); in meson_drv_bind_master()
366 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_2); in meson_drv_bind_master()
368 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_1); in meson_drv_bind_master()
370 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_0); in meson_drv_bind_master()
372 meson_canvas_free(priv->canvas, priv->canvas_id_osd1); in meson_drv_bind_master()
396 if (priv->canvas) { in meson_drv_unbind()
397 meson_canvas_free(priv->canvas, priv->canvas_id_osd1); in meson_drv_unbind()
398 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_0); in meson_drv_unbind()
399 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_1); in meson_drv_unbind()
400 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_2); in meson_drv_unbind()