Home
last modified time | relevance | path

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

/openbmc/qemu/hw/display/
H A Dvhost-user-gpu.c472 struct virtio_gpu_config *vgconfig = in vhost_user_gpu_get_config() local
488 vgconfig->num_scanouts = b->virtio_config.num_scanouts; in vhost_user_gpu_get_config()
489 vgconfig->events_read = b->virtio_config.events_read; in vhost_user_gpu_get_config()
490 vgconfig->events_clear = b->virtio_config.events_clear; in vhost_user_gpu_get_config()
499 const struct virtio_gpu_config *vgconfig = in vhost_user_gpu_set_config() local
503 if (vgconfig->events_clear) { in vhost_user_gpu_set_config()
504 b->virtio_config.events_read &= ~vgconfig->events_clear; in vhost_user_gpu_set_config()
H A Dvirtio-gpu.c1611 const struct virtio_gpu_config *vgconfig = in virtio_gpu_set_config() local
1614 if (vgconfig->events_clear) { in virtio_gpu_set_config()
1615 g->virtio_config.events_read &= ~vgconfig->events_clear; in virtio_gpu_set_config()