Lines Matching refs:pbox
594 struct drm_clip_rect *pbox = sarea_priv->boxes; in i810_dma_dispatch_clear() local
615 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
680 for (i = 0; i < nbox; i++, pbox++) { in i810_dma_dispatch_swap()
681 unsigned int w = pbox->x2 - pbox->x1; in i810_dma_dispatch_swap()
682 unsigned int h = pbox->y2 - pbox->y1; in i810_dma_dispatch_swap()
683 unsigned int dst = pbox->x1 * cpp + pbox->y1 * pitch; in i810_dma_dispatch_swap()
686 if (pbox->x1 > pbox->x2 || in i810_dma_dispatch_swap()
687 pbox->y1 > pbox->y2 || in i810_dma_dispatch_swap()
688 pbox->x2 > dev_priv->w || pbox->y2 > dev_priv->h) in i810_dma_dispatch_swap()