Lines Matching refs:header

54 		SVGA3dCmdHeader header;                                       \
572 SVGA3dCmdHeader *header)
579 SVGA3dCmdHeader *header)
722 cmd->header.id = SVGA_3D_CMD_DX_BIND_ALL_QUERY;
723 cmd->header.size = sizeof(cmd->body);
814 * vmw_cmd_cid_check - Check a command header for valid context information.
818 * @header: A command header with an embedded user-space context handle.
821 * handle embedded in @header.
825 SVGA3dCmdHeader *header)
828 container_of(header, typeof(*cmd), header);
865 SVGA3dCmdHeader *header)
872 cmd = container_of(header, typeof(*cmd), header);
912 SVGA3dCmdHeader *header)
917 cmd = container_of(header, typeof(*cmd), header);
932 SVGA3dCmdHeader *header)
937 cmd = container_of(header, typeof(*cmd), header);
951 SVGA3dCmdHeader *header)
956 cmd = container_of(header, typeof(*cmd), header);
970 SVGA3dCmdHeader *header)
975 cmd = container_of(header, typeof(*cmd), header);
989 SVGA3dCmdHeader *header)
992 container_of(header, typeof(*cmd), header);
1001 SVGA3dCmdHeader *header)
1004 container_of(header, typeof(*cmd), header);
1246 * @header: Pointer to the command header in the command stream.
1252 SVGA3dCmdHeader *header)
1262 cmd = container_of(header, typeof(*cmd), header);
1281 * @header: Pointer to the command header in the command stream.
1289 SVGA3dCmdHeader *header)
1295 cmd = container_of(header, typeof(*cmd), header);
1317 * @header: Pointer to the command header in the command stream.
1321 SVGA3dCmdHeader *header)
1324 container_of(header, typeof(*cmd), header);
1336 * @header: Pointer to the command header in the command stream.
1340 SVGA3dCmdHeader *header)
1343 container_of(header, typeof(*cmd), header);
1350 gb_cmd.header.id = SVGA_3D_CMD_BEGIN_GB_QUERY;
1351 gb_cmd.header.size = cmd->header.size;
1356 return vmw_cmd_begin_gb_query(dev_priv, sw_context, header);
1369 * @header: Pointer to the command header in the command stream.
1373 SVGA3dCmdHeader *header)
1379 cmd = container_of(header, typeof(*cmd), header);
1380 ret = vmw_cmd_cid_check(dev_priv, sw_context, header);
1399 * @header: Pointer to the command header in the command stream.
1403 SVGA3dCmdHeader *header)
1409 cmd = container_of(header, typeof(*cmd), header);
1415 gb_cmd.header.id = SVGA_3D_CMD_END_GB_QUERY;
1416 gb_cmd.header.size = cmd->header.size;
1423 return vmw_cmd_end_gb_query(dev_priv, sw_context, header);
1426 ret = vmw_cmd_cid_check(dev_priv, sw_context, header);
1445 * @header: Pointer to the command header in the command stream.
1449 SVGA3dCmdHeader *header)
1455 cmd = container_of(header, typeof(*cmd), header);
1456 ret = vmw_cmd_cid_check(dev_priv, sw_context, header);
1473 * @header: Pointer to the command header in the command stream.
1477 SVGA3dCmdHeader *header)
1483 cmd = container_of(header, typeof(*cmd), header);
1489 gb_cmd.header.id = SVGA_3D_CMD_WAIT_FOR_GB_QUERY;
1490 gb_cmd.header.size = cmd->header.size;
1497 return vmw_cmd_wait_gb_query(dev_priv, sw_context, header);
1500 ret = vmw_cmd_cid_check(dev_priv, sw_context, header);
1514 SVGA3dCmdHeader *header)
1524 cmd = container_of(header, typeof(*cmd), header);
1526 header->size - sizeof(*suffix));
1563 vmw_kms_cursor_snoop(srf, sw_context->fp->tfile, &vmw_bo->tbo, header);
1570 SVGA3dCmdHeader *header)
1574 (unsigned long)header + sizeof(*cmd));
1580 ret = vmw_cmd_cid_check(dev_priv, sw_context, header);
1584 cmd = container_of(header, typeof(*cmd), header);
1585 maxnum = (header->size - sizeof(cmd->body)) / sizeof(*decl);
1601 maxnum = (header->size - sizeof(cmd->body) -
1622 SVGA3dCmdHeader *header)
1626 ((unsigned long) header + header->size + sizeof(*header));
1628 ((unsigned long) header + sizeof(*cmd));
1633 cmd = container_of(header, typeof(*cmd), header);
1685 uint32_t header;
1770 * @header: Pointer to the command header in the command stream.
1774 SVGA3dCmdHeader *header)
1777 container_of(header, typeof(*cmd), header);
1789 * @header: Pointer to the command header in the command stream.
1793 SVGA3dCmdHeader *header)
1796 container_of(header, typeof(*cmd), header);
1808 * @header: Pointer to the command header in the command stream.
1812 SVGA3dCmdHeader *header)
1815 container_of(header, typeof(*cmd), header);
1827 * @header: Pointer to the command header in the command stream.
1831 SVGA3dCmdHeader *header)
1834 container_of(header, typeof(*cmd), header);
1847 * @header: Pointer to the command header in the command stream.
1851 SVGA3dCmdHeader *header)
1854 container_of(header, typeof(*cmd), header);
1867 * @header: Pointer to the command header in the command stream.
1871 SVGA3dCmdHeader *header)
1874 container_of(header, typeof(*cmd), header);
1887 * @header: Pointer to the command header in the command stream.
1891 SVGA3dCmdHeader *header)
1894 container_of(header, typeof(*cmd), header);
1906 * @header: Pointer to the command header in the command stream.
1910 SVGA3dCmdHeader *header)
1917 cmd = container_of(header, typeof(*cmd), header);
1928 size = cmd->header.size - sizeof(cmd->body);
1937 &cmd->header.id),
1946 * @header: Pointer to the command header in the command stream.
1950 SVGA3dCmdHeader *header)
1956 cmd = container_of(header, typeof(*cmd), header);
1974 &cmd->header.id),
1983 * @header: Pointer to the command header in the command stream.
1987 SVGA3dCmdHeader *header)
1995 cmd = container_of(header, typeof(*cmd), header);
2064 * @header: Pointer to the command header in the command stream.
2068 SVGA3dCmdHeader *header)
2073 cmd = container_of(header, typeof(*cmd), header);
2082 header->id = SVGA_3D_CMD_SET_GB_SHADERCONSTS_INLINE;
2092 * @header: Pointer to the command header in the command stream.
2096 SVGA3dCmdHeader *header)
2099 container_of(header, typeof(*cmd), header);
2112 * @header: Pointer to the command header in the command stream.
2117 SVGA3dCmdHeader *header)
2129 cmd = container_of(header, typeof(*cmd), header);
2164 * @header: Pointer to the command header in the command stream.
2169 SVGA3dCmdHeader *header)
2182 cmd = container_of(header, typeof(*cmd), header);
2189 shader_slot = cmd->header.id - SVGA_3D_CMD_DX_SET_VS_CONSTANT_BUFFER_OFFSET;
2202 * @header: Pointer to the command header in the command stream.
2206 SVGA3dCmdHeader *header)
2209 container_of(header, typeof(*cmd), header);
2211 u32 num_sr_view = (cmd->header.size - sizeof(cmd->body)) /
2233 * @header: Pointer to the command header in the command stream.
2237 SVGA3dCmdHeader *header)
2248 cmd = container_of(header, typeof(*cmd), header);
2286 * @header: Pointer to the command header in the command stream.
2290 SVGA3dCmdHeader *header)
2296 SVGA3dCmdHeader header;
2305 cmd = container_of(header, typeof(*cmd), header);
2306 num = (cmd->header.size - sizeof(cmd->body)) /
2341 * @header: Pointer to the command header in the command stream.
2345 SVGA3dCmdHeader *header)
2356 cmd = container_of(header, typeof(*cmd), header);
2380 * @header: Pointer to the command header in the command stream.
2384 SVGA3dCmdHeader *header)
2387 container_of(header, typeof(*cmd), header);
2388 u32 num_rt_view = (cmd->header.size - sizeof(cmd->body)) /
2413 * @header: Pointer to the command header in the command stream.
2417 SVGA3dCmdHeader *header)
2420 container_of(header, typeof(*cmd), header);
2435 * @header: Pointer to the command header in the command stream.
2439 SVGA3dCmdHeader *header)
2442 container_of(header, typeof(*cmd), header);
2453 SVGA3dCmdHeader *header)
2465 SVGA3dCmdHeader header;
2473 view_type = vmw_view_cmd_to_type(header->id);
2477 cmd = container_of(header, typeof(*cmd), header);
2496 cmd->defined_id, header,
2497 header->size + sizeof(*header),
2506 * @header: Pointer to the command header in the command stream.
2510 SVGA3dCmdHeader *header)
2516 SVGA3dCmdHeader header;
2525 cmd = container_of(header, typeof(*cmd), header);
2526 num = (cmd->header.size - sizeof(cmd->body)) / sizeof(SVGA3dSoTarget);
2556 SVGA3dCmdHeader *header)
2565 SVGA3dCmdHeader header;
2574 so_type = vmw_so_cmd_to_type(header->id);
2578 cmd = container_of(header, typeof(*cmd), header);
2590 * @header: Pointer to the command header in the command stream.
2594 SVGA3dCmdHeader *header)
2597 SVGA3dCmdHeader header;
2613 cmd = container_of(header, typeof(*cmd), header);
2621 SVGA3dCmdHeader *header)
2637 * @header: Pointer to the command header in the command stream.
2644 SVGA3dCmdHeader *header)
2648 SVGA3dCmdHeader header;
2650 } *cmd = container_of(header, typeof(*cmd), header);
2651 enum vmw_view_type view_type = vmw_view_cmd_to_type(header->id);
2671 &cmd->header.id),
2680 * @header: Pointer to the command header in the command stream.
2684 SVGA3dCmdHeader *header)
2689 container_of(header, typeof(*cmd), header);
2712 * @header: Pointer to the command header in the command stream.
2716 SVGA3dCmdHeader *header)
2720 container_of(header, typeof(*cmd), header);
2737 * @header: Pointer to the command header in the command stream.
2741 SVGA3dCmdHeader *header)
2746 container_of(header, typeof(*cmd), header);
2789 * @header: Pointer to the command header in the command stream.
2793 SVGA3dCmdHeader *header)
2796 container_of(header, typeof(*cmd), header);
2823 * @header: Pointer to the command header in the command stream.
2827 SVGA3dCmdHeader *header)
2830 container_of(header, typeof(*cmd), header);
2849 * @header: Pointer to the command header in the command stream.
2853 SVGA3dCmdHeader *header)
2856 container_of(header, typeof(*cmd), header);
2868 SVGA3dCmdHeader *header)
2878 SVGA3dCmdHeader *header)
2883 return vmw_cmd_dx_view_define(dev_priv, sw_context, header);
2888 SVGA3dCmdHeader *header)
2893 return vmw_cmd_dx_view_remove(dev_priv, sw_context, header);
2898 SVGA3dCmdHeader *header)
2901 SVGA3dCmdHeader header;
2903 } *cmd = container_of(header, typeof(*cmd), header);
2917 SVGA3dCmdHeader *header)
2920 SVGA3dCmdHeader header;
2922 } *cmd = container_of(header, typeof(*cmd), header);
2936 SVGA3dCmdHeader *header)
2939 SVGA3dCmdHeader header;
2941 } *cmd = container_of(header, typeof(*cmd), header);
2942 u32 num_uav = (cmd->header.size - sizeof(cmd->body)) /
2968 SVGA3dCmdHeader *header)
2971 SVGA3dCmdHeader header;
2973 } *cmd = container_of(header, typeof(*cmd), header);
2974 u32 num_uav = (cmd->header.size - sizeof(cmd->body)) /
3000 SVGA3dCmdHeader *header)
3005 SVGA3dCmdHeader header;
3007 } *cmd = container_of(header, typeof(*cmd), header);
3032 SVGA3dCmdHeader *header)
3037 SVGA3dCmdHeader header;
3039 } *cmd = container_of(header, typeof(*cmd), header);
3068 SVGA3dCmdHeader *header)
3073 SVGA3dCmdHeader header;
3075 } *cmd = container_of(header, typeof(*cmd), header);
3109 SVGA3dCmdHeader *header)
3115 SVGA3dCmdHeader header;
3117 } *cmd = container_of(header, typeof(*cmd), header);
3165 SVGA3dCmdHeader *header)
3168 SVGA3dCmdHeader header;
3170 } *cmd = container_of(header, typeof(*cmd), header);
3182 SVGA3dCmdHeader *header)
3185 SVGA3dCmdHeader header;
3187 } *cmd = container_of(header, typeof(*cmd), header);
3199 SVGA3dCmdHeader *header)
3202 SVGA3dCmdHeader header;
3204 } *cmd = container_of(header, typeof(*cmd), header);
3623 SVGA3dCmdHeader *header = (SVGA3dCmdHeader *) buf;
3626 *size = header->size + sizeof(SVGA3dCmdHeader);
3627 cmd_id = header->id;
3669 SVGA3dCmdHeader *header = (SVGA3dCmdHeader *) buf;
3680 cmd_id = header->id;
3681 *size = header->size + sizeof(SVGA3dCmdHeader);
3703 ret = entry->func(dev_priv, sw_context, header);
3964 * @header: Opaque handle to the command buffer allocation.
3969 * by @header will have been modified.
3972 struct vmw_cmdbuf_header *header,
3979 header);
3984 vmw_cmdbuf_commit(dev_priv->cman, command_size, header, false);
3996 * @header: Out parameter returning the opaque pointer to the command buffer.
4003 * command buffer and *@header is set to non-NULL.
4007 * NULL. In that case, the value of *@header will be set to NULL.
4016 struct vmw_cmdbuf_header **header)
4021 *header = NULL;
4034 header);
4041 vmw_cmdbuf_header_free(*header);
4042 *header = NULL;
4098 struct vmw_cmdbuf_header *header;
4119 &header);
4146 } else if (!header) {
4207 if (!header) {
4211 ret = vmw_execbuf_submit_cmdbuf(dev_priv, header, command_size,
4213 header = NULL;
4313 if (header)
4314 vmw_cmdbuf_header_free(header);