Lines Matching refs:cmds
105 } *cmds; in vmw_overlay_send_put() local
117 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; in vmw_overlay_send_put()
119 cmds = VMW_CMD_RESERVE(dev_priv, fifo_size); in vmw_overlay_send_put()
121 if (!cmds) in vmw_overlay_send_put()
124 items = (typeof(items))&cmds[1]; in vmw_overlay_send_put()
128 fill_escape(&cmds->escape, sizeof(*items) * (num_items + 1)); in vmw_overlay_send_put()
130 cmds->header.cmdType = SVGA_ESCAPE_VMWARE_VIDEO_SET_REGS; in vmw_overlay_send_put()
131 cmds->header.streamId = arg->stream_id; in vmw_overlay_send_put()
185 } *cmds; in vmw_overlay_send_stop() local
189 cmds = VMW_CMD_RESERVE(dev_priv, sizeof(*cmds)); in vmw_overlay_send_stop()
190 if (cmds) in vmw_overlay_send_stop()
201 fill_escape(&cmds->escape, sizeof(cmds->body)); in vmw_overlay_send_stop()
202 cmds->body.header.cmdType = SVGA_ESCAPE_VMWARE_VIDEO_SET_REGS; in vmw_overlay_send_stop()
203 cmds->body.header.streamId = stream_id; in vmw_overlay_send_stop()
204 cmds->body.items[0].registerId = SVGA_VIDEO_ENABLED; in vmw_overlay_send_stop()
205 cmds->body.items[0].value = false; in vmw_overlay_send_stop()
206 fill_flush(&cmds->flush, stream_id); in vmw_overlay_send_stop()
208 vmw_cmd_commit(dev_priv, sizeof(*cmds)); in vmw_overlay_send_stop()