Home
last modified time | relevance | path

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

/openbmc/linux/drivers/soc/amlogic/
H A Dmeson-canvas.c85 int meson_canvas_config(struct meson_canvas *canvas, u8 canvas_index, in meson_canvas_config() argument
100 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() argument
141 *canvas_index = i; in meson_canvas_alloc()
152 int meson_canvas_free(struct meson_canvas *canvas, u8 canvas_index) in meson_canvas_free() argument
157 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()
/openbmc/linux/include/linux/soc/amlogic/
H A 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,
/openbmc/u-boot/drivers/video/meson/
H A Dmeson_canvas.c24 u32 canvas_index, u32 addr, in meson_canvas_setup() argument
41 CANVAS_LUT_WR_EN | canvas_index); in meson_canvas_setup()
H A Dmeson_vpu.h77 u32 canvas_index, u32 addr,