Lines Matching defs:box
47 struct drm_clip_rect *box)
65 MGA_CXBNDRY, ((box->x2 - 1) << 16) | box->x1,
66 MGA_YTOP, box->y1 * pitch, MGA_YBOT, (box->y2 - 1) * pitch);
505 struct drm_clip_rect *box = &pbox[i];
506 u32 height = box->y2 - box->y1;
509 box->x1, box->y1, box->x2, box->y2);
516 MGA_YDSTLEN, (box->y1 << 16) | height,
517 MGA_FXBNDRY, (box->x2 << 16) | box->x1);
532 MGA_YDSTLEN, (box->y1 << 16) | height,
533 MGA_FXBNDRY, (box->x2 << 16) | box->x1);
548 MGA_YDSTLEN, (box->y1 << 16) | height,
549 MGA_FXBNDRY, (box->x2 << 16) | box->x1);
603 struct drm_clip_rect *box = &pbox[i];
604 u32 height = box->y2 - box->y1;
605 u32 start = box->y1 * dev_priv->front_pitch;
608 box->x1, box->y1, box->x2, box->y2);
610 DMA_BLOCK(MGA_AR0, start + box->x2 - 1,
611 MGA_AR3, start + box->x1,
612 MGA_FXBNDRY, ((box->x2 - 1) << 16) | box->x1,
613 MGA_YDSTLEN + MGA_EXEC, (box->y1 << 16) | height);