Lines Matching refs:cmd1
377 } *cmd1; in vmw_gb_context_unbind() local
391 submit_size = sizeof(*cmd2) + (readback ? sizeof(*cmd1) : 0); in vmw_gb_context_unbind()
401 cmd1 = (void *) cmd; in vmw_gb_context_unbind()
402 cmd1->header.id = SVGA_3D_CMD_READBACK_GB_CONTEXT; in vmw_gb_context_unbind()
403 cmd1->header.size = sizeof(cmd1->body); in vmw_gb_context_unbind()
404 cmd1->body.cid = res->id; in vmw_gb_context_unbind()
405 cmd2 = (void *) (&cmd1[1]); in vmw_gb_context_unbind()
586 } *cmd1; in vmw_dx_context_unbind() local
607 submit_size = sizeof(*cmd2) + (readback ? sizeof(*cmd1) : 0); in vmw_dx_context_unbind()
617 cmd1 = (void *) cmd; in vmw_dx_context_unbind()
618 cmd1->header.id = SVGA_3D_CMD_DX_READBACK_CONTEXT; in vmw_dx_context_unbind()
619 cmd1->header.size = sizeof(cmd1->body); in vmw_dx_context_unbind()
620 cmd1->body.cid = res->id; in vmw_dx_context_unbind()
621 cmd2 = (void *) (&cmd1[1]); in vmw_dx_context_unbind()