Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/vboxvideo/
H A Dvbva_base.c68 vbva = vbva_ctx->vbva; in vbva_write()
69 record = vbva_ctx->record; in vbva_write()
145 vbva_ctx->vbva = vbva; in vbva_enable()
157 vbva_ctx->buffer_overflow = false; in vbva_disable()
158 vbva_ctx->record = NULL; in vbva_disable()
159 vbva_ctx->vbva = NULL; in vbva_disable()
170 if (!vbva_ctx->vbva || in vbva_buffer_begin_update()
174 WARN_ON(vbva_ctx->buffer_overflow || vbva_ctx->record); in vbva_buffer_begin_update()
186 record = &vbva_ctx->vbva->records[vbva_ctx->vbva->record_free_index]; in vbva_buffer_begin_update()
190 vbva_ctx->record = record; in vbva_buffer_begin_update()
[all …]
H A Dvboxvideo_guest.h40 bool vbva_enable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx,
42 void vbva_disable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx,
44 bool vbva_buffer_begin_update(struct vbva_buf_ctx *vbva_ctx,
46 void vbva_buffer_end_update(struct vbva_buf_ctx *vbva_ctx);
47 bool vbva_write(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx,
49 void vbva_setup_buffer_context(struct vbva_buf_ctx *vbva_ctx,