Searched refs:canvas_index (Results 1 – 1 of 1) sorted by relevance
85 int meson_canvas_config(struct meson_canvas *canvas, u8 canvas_index, in meson_canvas_config() argument100 if (!canvas->used[canvas_index]) { in meson_canvas_config()103 canvas_index); in meson_canvas_config()121 CANVAS_LUT_WR_EN | canvas_index); in meson_canvas_config()131 int meson_canvas_alloc(struct meson_canvas *canvas, u8 *canvas_index) in meson_canvas_alloc() argument141 *canvas_index = i; in meson_canvas_alloc()152 int meson_canvas_free(struct meson_canvas *canvas, u8 canvas_index) in meson_canvas_free() argument157 if (!canvas->used[canvas_index]) { in meson_canvas_free()159 "Trying to free unused canvas %u\n", canvas_index); in meson_canvas_free()163 canvas->used[canvas_index] = 0; in meson_canvas_free()