Home
last modified time | relevance | path

Searched refs:canvas_index (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/soc/amlogic/
Dmeson-canvas.c84 int meson_canvas_config(struct meson_canvas *canvas, u8 canvas_index, in meson_canvas_config() argument
99 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() argument
140 *canvas_index = i; in meson_canvas_alloc()
151 int meson_canvas_free(struct meson_canvas *canvas, u8 canvas_index) in meson_canvas_free() argument
156 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()
/linux-6.1.9/include/linux/soc/amlogic/
Dmeson-canvas.h39 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,