Lines Matching refs:items
109 } *items;
117 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items;
124 items = (typeof(items))&cmds[1];
125 flush = (struct vmw_escape_video_flush *)&items[num_items];
127 /* the size is header + number of items */
128 fill_escape(&cmds->escape, sizeof(*items) * (num_items + 1));
135 items[i].registerId = i;
140 items[SVGA_VIDEO_ENABLED].value = true;
141 items[SVGA_VIDEO_FLAGS].value = arg->flags;
142 items[SVGA_VIDEO_DATA_OFFSET].value = ptr.offset;
143 items[SVGA_VIDEO_FORMAT].value = arg->format;
144 items[SVGA_VIDEO_COLORKEY].value = arg->color_key;
145 items[SVGA_VIDEO_SIZE].value = arg->size;
146 items[SVGA_VIDEO_WIDTH].value = arg->width;
147 items[SVGA_VIDEO_HEIGHT].value = arg->height;
148 items[SVGA_VIDEO_SRC_X].value = arg->src.x;
149 items[SVGA_VIDEO_SRC_Y].value = arg->src.y;
150 items[SVGA_VIDEO_SRC_WIDTH].value = arg->src.w;
151 items[SVGA_VIDEO_SRC_HEIGHT].value = arg->src.h;
152 items[SVGA_VIDEO_DST_X].value = arg->dst.x;
153 items[SVGA_VIDEO_DST_Y].value = arg->dst.y;
154 items[SVGA_VIDEO_DST_WIDTH].value = arg->dst.w;
155 items[SVGA_VIDEO_DST_HEIGHT].value = arg->dst.h;
156 items[SVGA_VIDEO_PITCH_1].value = arg->pitch[0];
157 items[SVGA_VIDEO_PITCH_2].value = arg->pitch[1];
158 items[SVGA_VIDEO_PITCH_3].value = arg->pitch[2];
160 items[SVGA_VIDEO_DATA_GMRID].value = ptr.gmrId;
161 items[SVGA_VIDEO_DST_SCREEN_ID].value = SVGA_ID_INVALID;
204 cmds->body.items[0].registerId = SVGA_VIDEO_ENABLED;
205 cmds->body.items[0].value = false;