Lines Matching defs:resourceId
104 uint32_t resourceId;
112 uint32_t resourceId;
332 uint32_t resourceId;
337 static bool CMDResourceCreate2D(uint32_t resourceId)
341 .resourceId = resourceId,
343 .width = (resourceId == RESOURCEID_FB) ? g_virtGpu->screen.width : 0,
344 .height = (resourceId == RESOURCEID_FB) ? g_virtGpu->screen.height : 0
355 uint32_t resourceId;
362 .resourceId = RESOURCEID_FB
369 static bool CMDTransferToHost(uint32_t resourceId, const struct VirtgpuRect *r)
376 .resourceId = resourceId,
388 .resourceId = RESOURCEID_FB,
397 uint32_t resourceId;
405 static bool CMDResourceAttachBacking(uint32_t resourceId, uint64_t vaddr, uint32_t len)
409 .resourceId = resourceId,
461 g_virtGpu->transReq.resourceId = RESOURCEID_FB;
465 g_virtGpu->flushReq.resourceId = RESOURCEID_FB;
606 static bool VirtgpuInitResourceHelper(uint32_t resourceId)
611 if (!CMDResourceCreate2D(resourceId)) {
615 if (resourceId == RESOURCEID_FB) {
620 HDF_LOGE("[%s]error resource ID: %u", __func__, resourceId);
624 if (!CMDResourceAttachBacking(resourceId, va, len)) {
628 if (resourceId == RESOURCEID_FB) {