Lines Matching refs:width

170 	uint32_t width;  member
203 uint32_t width; member
214 uint32_t width; member
339 uint32_t width; member
599 resp.pmodes[i].r.width = info.width; in virtio_gpu_cmd_get_display_info()
712 r2d->width = req.width; in virtio_gpu_cmd_resource_create_2d()
716 r2d->format, r2d->width, r2d->height, NULL, 0); in virtio_gpu_cmd_resource_create_2d()
721 r2d->width, in virtio_gpu_cmd_resource_create_2d()
898 if ((req.r.x > r2d->width) || in virtio_gpu_cmd_set_scanout()
900 (req.r.width > r2d->width) || in virtio_gpu_cmd_set_scanout()
902 (req.r.x + req.r.width) > (r2d->width) || in virtio_gpu_cmd_set_scanout()
914 surf.width = req.r.width; in virtio_gpu_cmd_set_scanout()
943 int width, height; in virtio_gpu_cmd_transfer_to_host_2d() local
964 if ((req.r.x > r2d->width) || in virtio_gpu_cmd_transfer_to_host_2d()
966 (req.r.width > r2d->width) || in virtio_gpu_cmd_transfer_to_host_2d()
968 (req.r.x + req.r.width > r2d->width) || in virtio_gpu_cmd_transfer_to_host_2d()
978 width = (req.r.width < r2d->width) ? req.r.width : r2d->width; in virtio_gpu_cmd_transfer_to_host_2d()
985 total = width * bpp; in virtio_gpu_cmd_transfer_to_host_2d()
1034 gpu_scanout->scanout_rect.width, in virtio_gpu_scanout_needs_flush()
1038 flush_rect->width, flush_rect->height); in virtio_gpu_scanout_needs_flush()
1104 surf.width = gpu_scanout->scanout_rect.width; in virtio_gpu_cmd_resource_flush()
1288 r2d->width = 64; in virtio_gpu_cmd_create_blob()
1292 r2d->format, r2d->width, r2d->height, NULL, 0); in virtio_gpu_cmd_create_blob()
1371 surf.width = req.r.width; in virtio_gpu_cmd_set_scanout_blob()
1521 cur.width = r2d->width; in virtio_gpu_cmd_update_cursor()
1602 if ((gpu->vga.surf.width != gpu->vga.gc->gc_image->width) || in virtio_gpu_vga_bh()
1604 gpu->vga.surf.width = gpu->vga.gc->gc_image->width; in virtio_gpu_vga_bh()
1606 gpu->vga.surf.stride = gpu->vga.gc->gc_image->width * 4; in virtio_gpu_vga_bh()
1622 gpu->vga.surf.width = 0; in virtio_gpu_vga_render()
1631 if(gpu->vga.gc->gc_image->width != gpu->vga.vberegs.xres || in virtio_gpu_vga_render()
1793 gpu->vga.gc = gc_init(info.width, info.height, ctx->fb_base); in virtio_gpu_init()
1800 gpu->vga.vberegs.xres = info.width; in virtio_gpu_init()
1857 gpu->vga.surf.width = 0; in virtio_gpu_init()