Searched refs:pbox (Results 1 – 7 of 7) sorted by relevance
594 struct drm_clip_rect *pbox = sarea_priv->boxes; in i810_dma_dispatch_clear() local615 for (i = 0; i < nbox; i++, pbox++) { in i810_dma_dispatch_clear()616 unsigned int x = pbox->x1; in i810_dma_dispatch_clear()617 unsigned int y = pbox->y1; in i810_dma_dispatch_clear()618 unsigned int width = (pbox->x2 - x) * cpp; in i810_dma_dispatch_clear()619 unsigned int height = pbox->y2 - y; in i810_dma_dispatch_clear()622 if (pbox->x1 > pbox->x2 || in i810_dma_dispatch_clear()623 pbox->y1 > pbox->y2 || in i810_dma_dispatch_clear()624 pbox->x2 > dev_priv->w || pbox->y2 > dev_priv->h) in i810_dma_dispatch_clear()667 struct drm_clip_rect *pbox = sarea_priv->boxes; in i810_dma_dispatch_swap() local[all …]
487 struct drm_clip_rect *pbox = sarea_priv->boxes; in mga_dma_dispatch_clear() local502 struct drm_clip_rect *box = &pbox[i]; in mga_dma_dispatch_clear()575 struct drm_clip_rect *pbox = sarea_priv->boxes; in mga_dma_dispatch_swap() local600 struct drm_clip_rect *box = &pbox[i]; in mga_dma_dispatch_swap()773 struct drm_clip_rect *pbox = sarea_priv->boxes; in mga_dma_dispatch_blit() local795 int srcx = pbox[i].x1 + blit->delta_sx; in mga_dma_dispatch_blit()796 int srcy = pbox[i].y1 + blit->delta_sy; in mga_dma_dispatch_blit()797 int dstx = pbox[i].x1 + blit->delta_dx; in mga_dma_dispatch_blit()798 int dsty = pbox[i].y1 + blit->delta_dy; in mga_dma_dispatch_blit()799 int h = pbox[i].y2 - pbox[i].y1; in mga_dma_dispatch_blit()[all …]
884 struct drm_clip_rect *pbox = sarea_priv->boxes; in radeon_cp_dispatch_clear() local928 int x = pbox[i].x1; in radeon_cp_dispatch_clear()929 int y = pbox[i].y1; in radeon_cp_dispatch_clear()930 int w = pbox[i].x2 - x; in radeon_cp_dispatch_clear()931 int h = pbox[i].y2 - y; in radeon_cp_dispatch_clear()1059 ((pbox[i].y1 >> 3) * depthpixperline + in radeon_cp_dispatch_clear()1060 pbox[i].x1) >> 6; in radeon_cp_dispatch_clear()1062 ((pbox[i].x2 & ~63) - in radeon_cp_dispatch_clear()1063 (pbox[i].x1 & ~63)) >> 4; in radeon_cp_dispatch_clear()1065 (pbox[i].y2 >> 3) - (pbox[i].y1 >> 3); in radeon_cp_dispatch_clear()[all …]
2424 struct drm_clip_rect *pbox = sarea_priv->boxes; in r600_cp_dispatch_swap() local2452 int x = pbox[i].x1; in r600_cp_dispatch_swap()2453 int y = pbox[i].y1; in r600_cp_dispatch_swap()2454 int w = pbox[i].x2 - x; in r600_cp_dispatch_swap()2455 int h = pbox[i].y2 - y; in r600_cp_dispatch_swap()
357 struct drm_clip_rect *pbox = sarea_priv->boxes; in r128_cce_dispatch_clear() local374 int x = pbox[i].x1; in r128_cce_dispatch_clear()375 int y = pbox[i].y1; in r128_cce_dispatch_clear()376 int w = pbox[i].x2 - x; in r128_cce_dispatch_clear()377 int h = pbox[i].y2 - y; in r128_cce_dispatch_clear()380 pbox[i].x1, pbox[i].y1, pbox[i].x2, in r128_cce_dispatch_clear()381 pbox[i].y2, flags); in r128_cce_dispatch_clear()462 struct drm_clip_rect *pbox = sarea_priv->boxes; in r128_cce_dispatch_swap() local474 int x = pbox[i].x1; in r128_cce_dispatch_swap()475 int y = pbox[i].y1; in r128_cce_dispatch_swap()[all …]
30 const struct drm_clip_rect * pbox) in savage_emit_clip_rect_s3d() argument35 ((uint32_t) pbox->x1 & 0x000007ff) | in savage_emit_clip_rect_s3d()36 (((uint32_t) pbox->y1 << 16) & 0x07ff0000); in savage_emit_clip_rect_s3d()38 (((uint32_t) pbox->x2 - 1) & 0x000007ff) | in savage_emit_clip_rect_s3d()39 ((((uint32_t) pbox->y2 - 1) << 16) & 0x07ff0000); in savage_emit_clip_rect_s3d()56 const struct drm_clip_rect * pbox) in savage_emit_clip_rect_s4() argument61 ((uint32_t) pbox->x1 & 0x000007ff) | in savage_emit_clip_rect_s4()62 (((uint32_t) pbox->y1 << 12) & 0x00fff000); in savage_emit_clip_rect_s4()64 (((uint32_t) pbox->x2 - 1) & 0x000007ff) | in savage_emit_clip_rect_s4()65 ((((uint32_t) pbox->y2 - 1) << 12) & 0x00fff000); in savage_emit_clip_rect_s4()
194 const struct drm_clip_rect * pbox);219 const struct drm_clip_rect * pbox);221 const struct drm_clip_rect * pbox);