Lines Matching refs:body
126 SVGA3dCmdSurfaceDMA body; member
136 SVGA3dCmdDefineSurface body; member
144 SVGA3dCmdDestroySurface body; member
201 cmd->header.size = sizeof(cmd->body); in vmw_surface_destroy_encode()
202 cmd->body.sid = id; in vmw_surface_destroy_encode()
221 cmd_len = sizeof(cmd->body) + srf->num_sizes * sizeof(SVGA3dSize); in vmw_surface_define_encode()
225 cmd->body.sid = srf->res.id; in vmw_surface_define_encode()
226 cmd->body.surfaceFlags = srf->flags; in vmw_surface_define_encode()
227 cmd->body.format = srf->format; in vmw_surface_define_encode()
229 cmd->body.face[i].numMipLevels = srf->mip_levels[i]; in vmw_surface_define_encode()
263 SVGA3dCmdSurfaceDMA *body = &cmd->body; in vmw_surface_dma_encode() local
270 header->size = sizeof(*body) + sizeof(*cb) + sizeof(*suffix); in vmw_surface_dma_encode()
272 body->guest.ptr = *ptr; in vmw_surface_dma_encode()
273 body->guest.ptr.offset += cur_offset->bo_offset; in vmw_surface_dma_encode()
274 body->guest.pitch = svga3dsurface_calculate_pitch(desc, in vmw_surface_dma_encode()
276 body->host.sid = srf->res.id; in vmw_surface_dma_encode()
277 body->host.face = cur_offset->face; in vmw_surface_dma_encode()
278 body->host.mipmap = cur_offset->mip; in vmw_surface_dma_encode()
279 body->transfer = ((to_surface) ? SVGA3D_WRITE_HOST_VRAM : in vmw_surface_dma_encode()
294 body->guest.pitch); in vmw_surface_dma_encode()
1040 SVGA3dCmdDefineGBSurface body; in vmw_gb_surface_create() member
1044 SVGA3dCmdDefineGBSurface_v2 body; in vmw_gb_surface_create() member
1065 cmd_len = sizeof(cmd2->body); in vmw_gb_surface_create()
1069 cmd_len = sizeof(cmd->body); in vmw_gb_surface_create()
1085 cmd2->body.sid = srf->res.id; in vmw_gb_surface_create()
1086 cmd2->body.surfaceFlags = srf->flags; in vmw_gb_surface_create()
1087 cmd2->body.format = cpu_to_le32(srf->format); in vmw_gb_surface_create()
1088 cmd2->body.numMipLevels = srf->mip_levels[0]; in vmw_gb_surface_create()
1089 cmd2->body.multisampleCount = srf->multisample_count; in vmw_gb_surface_create()
1090 cmd2->body.autogenFilter = srf->autogen_filter; in vmw_gb_surface_create()
1091 cmd2->body.size.width = srf->base_size.width; in vmw_gb_surface_create()
1092 cmd2->body.size.height = srf->base_size.height; in vmw_gb_surface_create()
1093 cmd2->body.size.depth = srf->base_size.depth; in vmw_gb_surface_create()
1094 cmd2->body.arraySize = srf->array_size; in vmw_gb_surface_create()
1098 cmd->body.sid = srf->res.id; in vmw_gb_surface_create()
1099 cmd->body.surfaceFlags = srf->flags; in vmw_gb_surface_create()
1100 cmd->body.format = cpu_to_le32(srf->format); in vmw_gb_surface_create()
1101 cmd->body.numMipLevels = srf->mip_levels[0]; in vmw_gb_surface_create()
1102 cmd->body.multisampleCount = srf->multisample_count; in vmw_gb_surface_create()
1103 cmd->body.autogenFilter = srf->autogen_filter; in vmw_gb_surface_create()
1104 cmd->body.size.width = srf->base_size.width; in vmw_gb_surface_create()
1105 cmd->body.size.height = srf->base_size.height; in vmw_gb_surface_create()
1106 cmd->body.size.depth = srf->base_size.depth; in vmw_gb_surface_create()
1127 SVGA3dCmdBindGBSurface body; in vmw_gb_surface_bind() member
1131 SVGA3dCmdUpdateGBSurface body; in vmw_gb_surface_bind() member
1148 cmd1->header.size = sizeof(cmd1->body); in vmw_gb_surface_bind()
1149 cmd1->body.sid = res->id; in vmw_gb_surface_bind()
1150 cmd1->body.mobid = bo->mem.start; in vmw_gb_surface_bind()
1154 cmd2->header.size = sizeof(cmd2->body); in vmw_gb_surface_bind()
1155 cmd2->body.sid = res->id; in vmw_gb_surface_bind()
1173 SVGA3dCmdReadbackGBSurface body; in vmw_gb_surface_unbind() member
1177 SVGA3dCmdInvalidateGBSurface body; in vmw_gb_surface_unbind() member
1181 SVGA3dCmdBindGBSurface body; in vmw_gb_surface_unbind() member
1200 cmd1->header.size = sizeof(cmd1->body); in vmw_gb_surface_unbind()
1201 cmd1->body.sid = res->id; in vmw_gb_surface_unbind()
1206 cmd2->header.size = sizeof(cmd2->body); in vmw_gb_surface_unbind()
1207 cmd2->body.sid = res->id; in vmw_gb_surface_unbind()
1212 cmd3->header.size = sizeof(cmd3->body); in vmw_gb_surface_unbind()
1213 cmd3->body.sid = res->id; in vmw_gb_surface_unbind()
1214 cmd3->body.mobid = SVGA3D_INVALID_ID; in vmw_gb_surface_unbind()
1239 SVGA3dCmdDestroyGBSurface body; in vmw_gb_surface_destroy() member
1258 cmd->header.size = sizeof(cmd->body); in vmw_gb_surface_destroy()
1259 cmd->body.sid = res->id; in vmw_gb_surface_destroy()