Lines Matching refs:pbox
597 struct drm_clip_rect *pbox = sarea_priv->boxes; in i810_dma_dispatch_clear() local
618 for (i = 0; i < nbox; i++, pbox++) { in i810_dma_dispatch_clear()
619 unsigned int x = pbox->x1; in i810_dma_dispatch_clear()
620 unsigned int y = pbox->y1; in i810_dma_dispatch_clear()
621 unsigned int width = (pbox->x2 - x) * cpp; in i810_dma_dispatch_clear()
622 unsigned int height = pbox->y2 - y; in i810_dma_dispatch_clear()
625 if (pbox->x1 > pbox->x2 || in i810_dma_dispatch_clear()
626 pbox->y1 > pbox->y2 || in i810_dma_dispatch_clear()
627 pbox->x2 > dev_priv->w || pbox->y2 > dev_priv->h) in i810_dma_dispatch_clear()
670 struct drm_clip_rect *pbox = sarea_priv->boxes; in i810_dma_dispatch_swap() local
683 for (i = 0; i < nbox; i++, pbox++) { in i810_dma_dispatch_swap()
684 unsigned int w = pbox->x2 - pbox->x1; in i810_dma_dispatch_swap()
685 unsigned int h = pbox->y2 - pbox->y1; in i810_dma_dispatch_swap()
686 unsigned int dst = pbox->x1 * cpp + pbox->y1 * pitch; in i810_dma_dispatch_swap()
689 if (pbox->x1 > pbox->x2 || in i810_dma_dispatch_swap()
690 pbox->y1 > pbox->y2 || in i810_dma_dispatch_swap()
691 pbox->x2 > dev_priv->w || pbox->y2 > dev_priv->h) in i810_dma_dispatch_swap()