Lines Matching defs:resourceId
105 uint32_t resourceId;
113 uint32_t resourceId;
333 uint32_t resourceId;
338 static bool CMDResourceCreate2D(uint32_t resourceId)
342 .resourceId = resourceId,
344 .width = (resourceId == RESOURCEID_FB) ? g_virtGpu->screen.width : 0,
345 .height = (resourceId == RESOURCEID_FB) ? g_virtGpu->screen.height : 0
356 uint32_t resourceId;
363 .resourceId = RESOURCEID_FB
370 static bool CMDTransferToHost(uint32_t resourceId, const struct VirtgpuRect *r)
377 .resourceId = resourceId,
389 .resourceId = RESOURCEID_FB,
398 uint32_t resourceId;
408 static bool CMDResourceAttachBacking(uint32_t resourceId, uint64_t vaddr, uint32_t len)
412 .resourceId = resourceId,
464 g_virtGpu->transReq.resourceId = RESOURCEID_FB;
468 g_virtGpu->flushReq.resourceId = RESOURCEID_FB;
618 static bool VirtgpuInitResourceHelper(uint32_t resourceId)
623 if (!CMDResourceCreate2D(resourceId)) {
627 if (resourceId == RESOURCEID_FB) {
632 HDF_LOGE("[%s]error resource ID: %u", __func__, resourceId);
636 if (!CMDResourceAttachBacking(resourceId, va, len)) {
640 if (resourceId == RESOURCEID_FB) {