Lines Matching refs:body

123 	SVGA3dCmdSurfaceDMA body;  member
133 SVGA3dCmdDefineSurface body; member
141 SVGA3dCmdDestroySurface body; member
198 cmd->header.size = sizeof(cmd->body); in vmw_surface_destroy_encode()
199 cmd->body.sid = id; in vmw_surface_destroy_encode()
218 cmd_len = sizeof(cmd->body) + srf->num_sizes * sizeof(SVGA3dSize); in vmw_surface_define_encode()
222 cmd->body.sid = srf->res.id; in vmw_surface_define_encode()
223 cmd->body.surfaceFlags = srf->flags; in vmw_surface_define_encode()
224 cmd->body.format = cpu_to_le32(srf->format); in vmw_surface_define_encode()
226 cmd->body.face[i].numMipLevels = srf->mip_levels[i]; in vmw_surface_define_encode()
260 SVGA3dCmdSurfaceDMA *body = &cmd->body; in vmw_surface_dma_encode() local
267 header->size = sizeof(*body) + sizeof(*cb) + sizeof(*suffix); in vmw_surface_dma_encode()
269 body->guest.ptr = *ptr; in vmw_surface_dma_encode()
270 body->guest.ptr.offset += cur_offset->bo_offset; in vmw_surface_dma_encode()
271 body->guest.pitch = svga3dsurface_calculate_pitch(desc, in vmw_surface_dma_encode()
273 body->host.sid = srf->res.id; in vmw_surface_dma_encode()
274 body->host.face = cur_offset->face; in vmw_surface_dma_encode()
275 body->host.mipmap = cur_offset->mip; in vmw_surface_dma_encode()
276 body->transfer = ((to_surface) ? SVGA3D_WRITE_HOST_VRAM : in vmw_surface_dma_encode()
291 body->guest.pitch); in vmw_surface_dma_encode()
1029 SVGA3dCmdDefineGBSurface body; in vmw_gb_surface_create() member
1047 cmd_len = sizeof(cmd->body); in vmw_gb_surface_create()
1059 cmd->body.sid = srf->res.id; in vmw_gb_surface_create()
1060 cmd->body.surfaceFlags = srf->flags; in vmw_gb_surface_create()
1061 cmd->body.format = cpu_to_le32(srf->format); in vmw_gb_surface_create()
1062 cmd->body.numMipLevels = srf->mip_levels[0]; in vmw_gb_surface_create()
1063 cmd->body.multisampleCount = srf->multisample_count; in vmw_gb_surface_create()
1064 cmd->body.autogenFilter = srf->autogen_filter; in vmw_gb_surface_create()
1065 cmd->body.size.width = srf->base_size.width; in vmw_gb_surface_create()
1066 cmd->body.size.height = srf->base_size.height; in vmw_gb_surface_create()
1067 cmd->body.size.depth = srf->base_size.depth; in vmw_gb_surface_create()
1086 SVGA3dCmdBindGBSurface body; in vmw_gb_surface_bind() member
1090 SVGA3dCmdUpdateGBSurface body; in vmw_gb_surface_bind() member
1107 cmd1->header.size = sizeof(cmd1->body); in vmw_gb_surface_bind()
1108 cmd1->body.sid = res->id; in vmw_gb_surface_bind()
1109 cmd1->body.mobid = bo->mem.start; in vmw_gb_surface_bind()
1113 cmd2->header.size = sizeof(cmd2->body); in vmw_gb_surface_bind()
1114 cmd2->body.sid = res->id; in vmw_gb_surface_bind()
1132 SVGA3dCmdReadbackGBSurface body; in vmw_gb_surface_unbind() member
1136 SVGA3dCmdInvalidateGBSurface body; in vmw_gb_surface_unbind() member
1140 SVGA3dCmdBindGBSurface body; in vmw_gb_surface_unbind() member
1159 cmd1->header.size = sizeof(cmd1->body); in vmw_gb_surface_unbind()
1160 cmd1->body.sid = res->id; in vmw_gb_surface_unbind()
1165 cmd2->header.size = sizeof(cmd2->body); in vmw_gb_surface_unbind()
1166 cmd2->body.sid = res->id; in vmw_gb_surface_unbind()
1171 cmd3->header.size = sizeof(cmd3->body); in vmw_gb_surface_unbind()
1172 cmd3->body.sid = res->id; in vmw_gb_surface_unbind()
1173 cmd3->body.mobid = SVGA3D_INVALID_ID; in vmw_gb_surface_unbind()
1197 SVGA3dCmdDestroyGBSurface body; in vmw_gb_surface_destroy() member
1215 cmd->header.size = sizeof(cmd->body); in vmw_gb_surface_destroy()
1216 cmd->body.sid = res->id; in vmw_gb_surface_destroy()