Home
last modified time | relevance | path

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

/openbmc/qemu/include/hw/virtio/
H A Dvirtio-gpu-bswap.h74 virtio_gpu_map_blob_bswap(struct virtio_gpu_resource_map_blob *mblob) in virtio_gpu_map_blob_bswap() argument
76 virtio_gpu_ctrl_hdr_bswap(&mblob->hdr); in virtio_gpu_map_blob_bswap()
77 le32_to_cpus(&mblob->resource_id); in virtio_gpu_map_blob_bswap()
78 le64_to_cpus(&mblob->offset); in virtio_gpu_map_blob_bswap()
/openbmc/qemu/hw/display/
H A Dvirtio-gpu-rutabaga.c653 struct virtio_gpu_resource_map_blob mblob; in rutabaga_cmd_resource_map_blob() local
659 VIRTIO_GPU_FILL_CMD(mblob); in rutabaga_cmd_resource_map_blob()
661 CHECK(mblob.resource_id != 0, cmd); in rutabaga_cmd_resource_map_blob()
663 res = virtio_gpu_find_resource(g, mblob.resource_id); in rutabaga_cmd_resource_map_blob()
666 result = rutabaga_resource_map_info(vr->rutabaga, mblob.resource_id, in rutabaga_cmd_resource_map_blob()
677 result = rutabaga_resource_map(vr->rutabaga, mblob.resource_id, &mapping); in rutabaga_cmd_resource_map_blob()
697 memory_region_add_subregion(&vb->hostmem, mblob.offset, mr); in rutabaga_cmd_resource_map_blob()
698 vr->memory_regions[slot].resource_id = mblob.resource_id; in rutabaga_cmd_resource_map_blob()
704 result = rutabaga_resource_unmap(vr->rutabaga, mblob.resource_id); in rutabaga_cmd_resource_map_blob()