Lines Matching refs:header
35 SVGA3dCmdHeader *header)
42 SVGA3dCmdHeader *header)
49 SVGA3dCmdHeader *header)
52 SVGA3dCmdHeader header;
57 cmd = container_of(header, struct vmw_cid_cmd, header);
108 SVGA3dCmdHeader *header)
111 SVGA3dCmdHeader header;
116 ret = vmw_cmd_cid_check(dev_priv, sw_context, header);
120 cmd = container_of(header, struct vmw_sid_cmd, header);
127 SVGA3dCmdHeader *header)
130 SVGA3dCmdHeader header;
135 cmd = container_of(header, struct vmw_sid_cmd, header);
144 SVGA3dCmdHeader *header)
147 SVGA3dCmdHeader header;
152 cmd = container_of(header, struct vmw_sid_cmd, header);
161 SVGA3dCmdHeader *header)
164 SVGA3dCmdHeader header;
168 cmd = container_of(header, struct vmw_sid_cmd, header);
174 SVGA3dCmdHeader *header)
177 SVGA3dCmdHeader header;
181 cmd = container_of(header, struct vmw_sid_cmd, header);
242 SVGA3dCmdHeader *header)
246 SVGA3dCmdHeader header;
251 cmd = container_of(header, struct vmw_query_cmd, header);
252 ret = vmw_cmd_cid_check(dev_priv, sw_context, header);
268 SVGA3dCmdHeader *header)
272 SVGA3dCmdHeader header;
277 cmd = container_of(header, struct vmw_query_cmd, header);
278 ret = vmw_cmd_cid_check(dev_priv, sw_context, header);
295 SVGA3dCmdHeader *header)
301 SVGA3dCmdHeader header;
306 cmd = container_of(header, struct vmw_dma_cmd, header);
326 vmw_kms_cursor_snoop(srf, sw_context->tfile, bo, header);
336 SVGA3dCmdHeader *header)
339 SVGA3dCmdHeader header;
343 (unsigned long)header + sizeof(*cmd));
349 ret = vmw_cmd_cid_check(dev_priv, sw_context, header);
353 cmd = container_of(header, struct vmw_draw_cmd, header);
354 maxnum = (header->size - sizeof(cmd->body)) / sizeof(*decl);
368 maxnum = (header->size - sizeof(cmd->body) -
388 SVGA3dCmdHeader *header)
391 SVGA3dCmdHeader header;
396 ((unsigned long) header + header->size + sizeof(header));
398 ((unsigned long) header + sizeof(struct vmw_tex_state_cmd));
401 ret = vmw_cmd_cid_check(dev_priv, sw_context, header);
467 SVGA3dCmdHeader *header = (SVGA3dCmdHeader *) buf;
476 cmd_id = le32_to_cpu(header->id);
477 *size = le32_to_cpu(header->size) + sizeof(SVGA3dCmdHeader);
486 ret = vmw_cmd_funcs[cmd_id](dev_priv, sw_context, header);