Lines Matching refs:cmds
111 } *cmds; in vmw_overlay_send_put() local
123 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; in vmw_overlay_send_put()
125 cmds = VMW_CMD_RESERVE(dev_priv, fifo_size); in vmw_overlay_send_put()
127 if (!cmds) in vmw_overlay_send_put()
130 items = (typeof(items))&cmds[1]; in vmw_overlay_send_put()
134 fill_escape(&cmds->escape, sizeof(*items) * (num_items + 1)); in vmw_overlay_send_put()
136 cmds->header.cmdType = SVGA_ESCAPE_VMWARE_VIDEO_SET_REGS; in vmw_overlay_send_put()
137 cmds->header.streamId = arg->stream_id; in vmw_overlay_send_put()
191 } *cmds; in vmw_overlay_send_stop() local
195 cmds = VMW_CMD_RESERVE(dev_priv, sizeof(*cmds)); in vmw_overlay_send_stop()
196 if (cmds) in vmw_overlay_send_stop()
207 fill_escape(&cmds->escape, sizeof(cmds->body)); in vmw_overlay_send_stop()
208 cmds->body.header.cmdType = SVGA_ESCAPE_VMWARE_VIDEO_SET_REGS; in vmw_overlay_send_stop()
209 cmds->body.header.streamId = stream_id; in vmw_overlay_send_stop()
210 cmds->body.items[0].registerId = SVGA_VIDEO_ENABLED; in vmw_overlay_send_stop()
211 cmds->body.items[0].value = false; in vmw_overlay_send_stop()
212 fill_flush(&cmds->flush, stream_id); in vmw_overlay_send_stop()
214 vmw_cmd_commit(dev_priv, sizeof(*cmds)); in vmw_overlay_send_stop()