• Home
  • Raw
  • Download

Lines Matching refs:arg

98 				struct drm_vmw_control_stream_arg *arg,  in vmw_overlay_send_put()  argument
139 cmds->header.streamId = arg->stream_id; in vmw_overlay_send_put()
146 ptr.offset += arg->offset; in vmw_overlay_send_put()
149 items[SVGA_VIDEO_FLAGS].value = arg->flags; in vmw_overlay_send_put()
151 items[SVGA_VIDEO_FORMAT].value = arg->format; in vmw_overlay_send_put()
152 items[SVGA_VIDEO_COLORKEY].value = arg->color_key; in vmw_overlay_send_put()
153 items[SVGA_VIDEO_SIZE].value = arg->size; in vmw_overlay_send_put()
154 items[SVGA_VIDEO_WIDTH].value = arg->width; in vmw_overlay_send_put()
155 items[SVGA_VIDEO_HEIGHT].value = arg->height; in vmw_overlay_send_put()
156 items[SVGA_VIDEO_SRC_X].value = arg->src.x; in vmw_overlay_send_put()
157 items[SVGA_VIDEO_SRC_Y].value = arg->src.y; in vmw_overlay_send_put()
158 items[SVGA_VIDEO_SRC_WIDTH].value = arg->src.w; in vmw_overlay_send_put()
159 items[SVGA_VIDEO_SRC_HEIGHT].value = arg->src.h; in vmw_overlay_send_put()
160 items[SVGA_VIDEO_DST_X].value = arg->dst.x; in vmw_overlay_send_put()
161 items[SVGA_VIDEO_DST_Y].value = arg->dst.y; in vmw_overlay_send_put()
162 items[SVGA_VIDEO_DST_WIDTH].value = arg->dst.w; in vmw_overlay_send_put()
163 items[SVGA_VIDEO_DST_HEIGHT].value = arg->dst.h; in vmw_overlay_send_put()
164 items[SVGA_VIDEO_PITCH_1].value = arg->pitch[0]; in vmw_overlay_send_put()
165 items[SVGA_VIDEO_PITCH_2].value = arg->pitch[1]; in vmw_overlay_send_put()
166 items[SVGA_VIDEO_PITCH_3].value = arg->pitch[2]; in vmw_overlay_send_put()
172 fill_flush(flush, arg->stream_id); in vmw_overlay_send_put()
301 struct drm_vmw_control_stream_arg *arg, in vmw_overlay_update_stream() argument
305 struct vmw_stream *stream = &overlay->stream[arg->stream_id]; in vmw_overlay_update_stream()
315 ret = vmw_overlay_stop(dev_priv, arg->stream_id, in vmw_overlay_update_stream()
323 ret = vmw_overlay_send_put(dev_priv, buf, arg, interruptible); in vmw_overlay_update_stream()
325 stream->saved = *arg; in vmw_overlay_update_stream()
339 ret = vmw_overlay_send_put(dev_priv, buf, arg, interruptible); in vmw_overlay_update_stream()
351 stream->saved = *arg; in vmw_overlay_update_stream()
467 struct drm_vmw_control_stream_arg *arg = in vmw_overlay_ioctl() local
476 ret = vmw_user_stream_lookup(dev_priv, tfile, &arg->stream_id, &res); in vmw_overlay_ioctl()
482 if (!arg->enabled) { in vmw_overlay_ioctl()
483 ret = vmw_overlay_stop(dev_priv, arg->stream_id, false, true); in vmw_overlay_ioctl()
487 ret = vmw_user_dmabuf_lookup(tfile, arg->handle, &buf, NULL); in vmw_overlay_ioctl()
491 ret = vmw_overlay_update_stream(dev_priv, buf, arg, true); in vmw_overlay_ioctl()