Lines Matching refs:cmd

160 	u8 *cmd;  member
175 u8 cmd[VMW_CMDBUF_INLINE_SIZE] __aligned(VMW_CMDBUF_INLINE_ALIGN);
532 (entry->cmd + cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
568 entry->cmd += new_start_offset; in vmw_cmdbuf_work_func()
887 header->cmd = man->map + offset; in vmw_cmdbuf_space_pool()
933 header->cmd = dheader->cmd; in vmw_cmdbuf_space_inline()
937 (u64)offsetof(struct vmw_cmdbuf_dheader, cmd); in vmw_cmdbuf_space_inline()
983 return header->cmd; in vmw_cmdbuf_alloc()
1034 return (void *) (man->cur->cmd + man->cur_pos); in vmw_cmdbuf_reserve_cur()
1089 return header->cmd; in vmw_cmdbuf_reserve()
1137 void *cmd = vmw_cmdbuf_alloc(man, size, false, &header); in vmw_cmdbuf_send_device_command() local
1139 if (IS_ERR(cmd)) in vmw_cmdbuf_send_device_command()
1140 return PTR_ERR(cmd); in vmw_cmdbuf_send_device_command()
1142 memcpy(cmd, command, size); in vmw_cmdbuf_send_device_command()
1173 } __packed cmd; in vmw_cmdbuf_preempt() local
1175 cmd.id = SVGA_DC_CMD_PREEMPT; in vmw_cmdbuf_preempt()
1176 cmd.body.context = SVGA_CB_CONTEXT_0 + context; in vmw_cmdbuf_preempt()
1177 cmd.body.ignoreIDZero = 0; in vmw_cmdbuf_preempt()
1179 return vmw_cmdbuf_send_device_command(man, &cmd, sizeof(cmd)); in vmw_cmdbuf_preempt()
1199 } __packed cmd; in vmw_cmdbuf_startstop() local
1201 cmd.id = SVGA_DC_CMD_START_STOP_CONTEXT; in vmw_cmdbuf_startstop()
1202 cmd.body.enable = (enable) ? 1 : 0; in vmw_cmdbuf_startstop()
1203 cmd.body.context = SVGA_CB_CONTEXT_0 + context; in vmw_cmdbuf_startstop()
1205 return vmw_cmdbuf_send_device_command(man, &cmd, sizeof(cmd)); in vmw_cmdbuf_startstop()