Lines Matching refs:box
384 struct drm_clip_rect *box,
390 if (box->y2 <= box->y1 || box->x2 <= box->x1 ||
391 (unsigned) box->y2 <= 0 || (unsigned) box->x2 <= 0) {
392 DRM_ERROR("Bad box %d,%d..%d,%d\n",
393 box->x1, box->y1, box->x2, box->y2);
403 OUT_RING((box->x1 & 0xffff) | (box->y1 << 16));
404 OUT_RING(((box->x2 - 1) & 0xffff) | ((box->y2 - 1) << 16));
413 OUT_RING((box->x1 & 0xffff) | (box->y1 << 16));
414 OUT_RING(((box->x2 - 1) & 0xffff) | ((box->y2 - 1) << 16));