Home | History | Annotate | Download | only in dev

Lines Matching refs:cmd

83 #define gsp_out(ba,cmd,len) gsp_dump(cmd,len); gsp_write(ba,cmd,len)
85 #define gsp_out(ba,cmd,len) gsp_write(ba,cmd,len)
145 u_int16_t cmd[8];
193 cmd[0] = GCMD_FNTMIR;
194 gsp_out(ba, cmd, 1);
229 u_int16_t cmd[7];
250 cmd[0] = GCMD_PIXBLT;
251 cmd[1] = 1024 - ip->ftwidth;
252 cmd[2] = 1024 - ip->ftheight;
253 cmd[3] = ip->ftwidth;
254 cmd[4] = ip->ftheight;
255 cmd[5] = ip->cursorx * ip->ftwidth;
256 cmd[6] = ip->cursory * ip->ftheight;
257 gsp_out(ba, cmd, 7);
259 cmd[0] = GCMD_FILL;
260 cmd[1] = UL_FG(ip);
261 cmd[2] = ip->cursorx * ip->ftwidth;
262 cmd[3] = ip->cursory * ip->ftheight;
263 cmd[4] = ip->ftwidth;
264 cmd[5] = ip->ftheight;
265 cmd[6] = 10; /* thats src xor dst */
266 gsp_out(ba, cmd, 7);
278 cmd[0] = GCMD_PIXBLT;
279 cmd[1] = ip->cursorx * ip->ftwidth;
280 cmd[2] = ip->cursory * ip->ftheight;
281 cmd[3] = ip->ftwidth;
282 cmd[4] = ip->ftheight;
283 cmd[5] = 1024 - ip->ftwidth;
284 cmd[6] = 1024 - ip->ftheight;
285 gsp_out(ba, cmd, 7);
287 cmd[0] = GCMD_FILL;
288 cmd[1] = UL_FG(ip);
289 cmd[2] = ip->cursorx * ip->ftwidth;
290 cmd[3] = ip->cursory * ip->ftheight;
291 cmd[4] = ip->ftwidth;
292 cmd[5] = ip->ftheight;
293 cmd[6] = 10; /* thats src xor dst */
294 gsp_out(ba, cmd, 7);
304 u_int16_t cmd[7];
322 cmd[0] = GCMD_PIXBLT;
323 cmd[1] = 0; /* x */
324 cmd[2] = top * ip->ftheight; /* y */
325 cmd[3] = ip->cols * ip->ftwidth; /* w */
326 cmd[4] = (bottom-top+1) * ip->ftheight; /* h */
327 cmd[5] = 0; /* dst x */
328 cmd[6] = (top-lines) * ip->ftheight; /* dst y */
329 gsp_out(ba, cmd, 7);
338 u_int16_t cmd[7];
357 cmd[0] = GCMD_PIXBLT;
358 cmd[1] = 0; /* x */
359 cmd[2] = top * ip->ftheight; /* y */
360 cmd[3] = ip->cols * ip->ftwidth; /* w */
361 cmd[4] = (bottom - top - lines) * ip->ftheight; /* h */
362 cmd[5] = 0; /* dst x */
363 cmd[6] = (top + lines) * ip->ftheight; /* dst y */
364 gsp_out(ba, cmd, 7);
378 u_int16_t cmd[8];
382 cmd[0] = GCMD_CHAR;
383 cmd[1] = c & 0xff;
384 cmd[2] = 0x0;
385 cmd[3] = UL_FG(ip);
386 cmd[4] = dx * ip->ftwidth;
387 cmd[5] = dy * ip->ftheight;
388 cmd[6] = mode;
389 gsp_write(ba, cmd, 7);
397 u_int16_t cmd[7];
404 cmd[0] = GCMD_FILL;
405 cmd[1] = 0x0; /* XXX */
406 cmd[2] = sx * ip->ftwidth;
407 cmd[3] = sy * ip->ftheight;
408 cmd[4] = w * ip->ftwidth;
409 cmd[5] = h * ip->ftheight;
410 cmd[6] = 0;
412 gsp_out(ba, cmd, 7);
418 u_int16_t cmd[7];
433 cmd[0] = GCMD_PIXBLT;
434 cmd[1] = sx * ip->ftwidth;
435 cmd[2] = sy * ip->ftheight;
436 cmd[3] = (ip->cols - sx - count) * ip->ftwidth;
437 cmd[4] = ip->ftheight;
438 cmd[5] = (sx + count) * ip->ftwidth;
439 cmd[6] = sy * ip->ftheight;
440 gsp_out(ba,cmd,7);
443 cmd[0] = GCMD_PIXBLT;
444 cmd[1] = sx * ip->ftwidth;
445 cmd[2] = sy * ip->ftheight;
446 cmd[3] = (ip->cols - sx) * ip->ftwidth;
447 cmd[4] = ip->ftheight;
448 cmd[5] = (sx - count) * ip->ftwidth;
449 cmd[6] = sy * ip->ftheight;
450 gsp_out(ba,cmd,7);
457 gsp_dump(u_int16_t *cmd,int len)
461 printf(" %hx",*cmd++);