Lines Matching refs:vic
32 #include "vic.h"
35 static int clear(struct vic *vic, struct drm_tegra_channel *channel,
61 err = vic_clear(vic, output, 1023, 0, 0, 1023);
67 err = vic->ops->execute(vic, pushbuf, &ptr, output, NULL, 0);
73 err = drm_tegra_pushbuf_sync_cond(pushbuf, &ptr, vic->syncpt,
104 static int fill(struct vic *vic, struct drm_tegra_channel *channel,
130 err = vic->ops->fill(vic, output, 0, output->height / 2, output->width - 1,
137 err = vic->ops->execute(vic, pushbuf, &ptr, output, NULL, 0);
143 err = drm_tegra_pushbuf_sync_cond(pushbuf, &ptr, vic->syncpt,
174 static int flip(struct vic *vic, struct drm_tegra_channel *channel,
200 err = vic->ops->flip(vic, output, input);
206 err = vic->ops->execute(vic, pushbuf, &ptr, output, &input, 1);
212 err = drm_tegra_pushbuf_sync_cond(pushbuf, &ptr, vic->syncpt,
252 struct vic *vic;
280 err = vic_new(drm, channel, &vic);
286 err = vic_image_new(vic, width, height, format, kind, DRM_TEGRA_CHANNEL_MAP_READ_WRITE,
293 err = vic_image_new(vic, width, height, format, kind, DRM_TEGRA_CHANNEL_MAP_READ_WRITE,
300 err = clear(vic, channel, input);
306 err = fill(vic, channel, input);
312 err = flip(vic, channel, output, input);
327 vic_free(vic);