Home
last modified time | relevance | path

Searched refs:vbva (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/vboxvideo/
Dvbva_base.c22 static u32 vbva_buffer_available(const struct vbva_buffer *vbva) in vbva_buffer_available() argument
24 s32 diff = vbva->data_offset - vbva->free_offset; in vbva_buffer_available()
26 return diff > 0 ? diff : vbva->data_len + diff; in vbva_buffer_available()
32 struct vbva_buffer *vbva = vbva_ctx->vbva; in vbva_buffer_place_data_at() local
33 u32 bytes_till_boundary = vbva->data_len - offset; in vbva_buffer_place_data_at()
34 u8 *dst = &vbva->data[offset]; in vbva_buffer_place_data_at()
43 memcpy(&vbva->data[0], (u8 *)p + bytes_till_boundary, diff); in vbva_buffer_place_data_at()
65 struct vbva_buffer *vbva; in vbva_write() local
68 vbva = vbva_ctx->vbva; in vbva_write()
71 if (!vbva || vbva_ctx->buffer_overflow || in vbva_write()
[all …]
Dvbox_main.c36 struct vbva_buffer *vbva; in vbox_accel_init() local
59 vbva = (void __force *)vbox->vbva_buffers + in vbox_accel_init()
62 vbox->guest_pool, vbva, i)) { in vbox_accel_init()
Dvboxvideo_guest.h27 struct vbva_buffer *vbva; member
41 struct vbva_buffer *vbva, s32 screen);