Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/vboxvideo/
Dvbva_base.c29 static void vbva_buffer_place_data_at(struct vbva_buf_ctx *vbva_ctx, in vbva_buffer_place_data_at() argument
32 struct vbva_buffer *vbva = vbva_ctx->vbva; in vbva_buffer_place_data_at()
61 bool vbva_write(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, in vbva_write() argument
68 vbva = vbva_ctx->vbva; in vbva_write()
69 record = vbva_ctx->record; in vbva_write()
71 if (!vbva || vbva_ctx->buffer_overflow || in vbva_write()
87 vbva_ctx->buffer_overflow = true; in vbva_write()
93 vbva_buffer_place_data_at(vbva_ctx, p, chunk, in vbva_write()
107 static bool vbva_inform_host(struct vbva_buf_ctx *vbva_ctx, in vbva_inform_host() argument
118 p->base.offset = vbva_ctx->buffer_offset; in vbva_inform_host()
[all …]
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,