Searched refs:canvas_index (Results 1 – 2 of 2) sorted by relevance
84 int meson_canvas_config(struct meson_canvas *canvas, u8 canvas_index, in meson_canvas_config() argument99 if (!canvas->used[canvas_index]) { in meson_canvas_config()102 canvas_index); in meson_canvas_config()120 CANVAS_LUT_WR_EN | canvas_index); in meson_canvas_config()130 int meson_canvas_alloc(struct meson_canvas *canvas, u8 *canvas_index) in meson_canvas_alloc() argument140 *canvas_index = i; in meson_canvas_alloc()151 int meson_canvas_free(struct meson_canvas *canvas, u8 canvas_index) in meson_canvas_free() argument156 if (!canvas->used[canvas_index]) { in meson_canvas_free()158 "Trying to free unused canvas %u\n", canvas_index); in meson_canvas_free()162 canvas->used[canvas_index] = 0; in meson_canvas_free()
39 int meson_canvas_alloc(struct meson_canvas *canvas, u8 *canvas_index);47 int meson_canvas_free(struct meson_canvas *canvas, u8 canvas_index);61 int meson_canvas_config(struct meson_canvas *canvas, u8 canvas_index,