Lines Matching refs:cmds
113 } *cmds; in vmw_overlay_send_put() local
125 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; in vmw_overlay_send_put()
127 cmds = vmw_fifo_reserve(dev_priv, fifo_size); in vmw_overlay_send_put()
129 if (!cmds) in vmw_overlay_send_put()
132 items = (typeof(items))&cmds[1]; in vmw_overlay_send_put()
136 fill_escape(&cmds->escape, sizeof(*items) * (num_items + 1)); in vmw_overlay_send_put()
138 cmds->header.cmdType = SVGA_ESCAPE_VMWARE_VIDEO_SET_REGS; in vmw_overlay_send_put()
139 cmds->header.streamId = arg->stream_id; in vmw_overlay_send_put()
193 } *cmds; in vmw_overlay_send_stop() local
197 cmds = vmw_fifo_reserve(dev_priv, sizeof(*cmds)); in vmw_overlay_send_stop()
198 if (cmds) in vmw_overlay_send_stop()
209 fill_escape(&cmds->escape, sizeof(cmds->body)); in vmw_overlay_send_stop()
210 cmds->body.header.cmdType = SVGA_ESCAPE_VMWARE_VIDEO_SET_REGS; in vmw_overlay_send_stop()
211 cmds->body.header.streamId = stream_id; in vmw_overlay_send_stop()
212 cmds->body.items[0].registerId = SVGA_VIDEO_ENABLED; in vmw_overlay_send_stop()
213 cmds->body.items[0].value = false; in vmw_overlay_send_stop()
214 fill_flush(&cmds->flush, stream_id); in vmw_overlay_send_stop()
216 vmw_fifo_commit(dev_priv, sizeof(*cmds)); in vmw_overlay_send_stop()