Lines Matching refs:cmd

186 static void qxl_log_cmd_surface(PCIQXLDevice *qxl, QXLSurfaceCmd *cmd)  in qxl_log_cmd_surface()  argument
189 qxl_name(qxl_surface_cmd, cmd->type), in qxl_log_cmd_surface()
190 cmd->surface_id); in qxl_log_cmd_surface()
191 if (cmd->type == QXL_SURFACE_CMD_CREATE) { in qxl_log_cmd_surface()
193 cmd->u.surface_create.width, in qxl_log_cmd_surface()
194 cmd->u.surface_create.height, in qxl_log_cmd_surface()
195 cmd->u.surface_create.stride, in qxl_log_cmd_surface()
196 qxl_name(spice_surface_fmt, cmd->u.surface_create.format), in qxl_log_cmd_surface()
199 if (cmd->type == QXL_SURFACE_CMD_DESTROY) { in qxl_log_cmd_surface()
204 int qxl_log_cmd_cursor(PCIQXLDevice *qxl, QXLCursorCmd *cmd, int group_id) in qxl_log_cmd_cursor() argument
209 qxl_name(qxl_cursor_cmd, cmd->type)); in qxl_log_cmd_cursor()
210 switch (cmd->type) { in qxl_log_cmd_cursor()
213 cmd->u.set.position.x, in qxl_log_cmd_cursor()
214 cmd->u.set.position.y, in qxl_log_cmd_cursor()
215 cmd->u.set.visible ? "yes" : "no", in qxl_log_cmd_cursor()
216 cmd->u.set.shape); in qxl_log_cmd_cursor()
217 cursor = qxl_phys2virt(qxl, cmd->u.set.shape, group_id, in qxl_log_cmd_cursor()
230 fprintf(stderr, " +%d+%d", cmd->u.position.x, cmd->u.position.y); in qxl_log_cmd_cursor()
248 fprintf(stderr, " cmd @ 0x%" PRIx64 " %s%s", ext->cmd.data, in qxl_log_command()
249 qxl_name(qxl_type, ext->cmd.type), in qxl_log_command()
252 switch (ext->cmd.type) { in qxl_log_command()
265 data = qxl_phys2virt(qxl, ext->cmd.data, ext->group_id, datasz); in qxl_log_command()
269 switch (ext->cmd.type) { in qxl_log_command()