Home
last modified time | relevance | path

Searched refs:pbox (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/i810/
Di810_dma.c597 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
[all …]
/linux-6.1.9/drivers/gpu/drm/mga/
Dmga_state.c485 struct drm_clip_rect *pbox = sarea_priv->boxes; in mga_dma_dispatch_clear() local
500 struct drm_clip_rect *box = &pbox[i]; in mga_dma_dispatch_clear()
573 struct drm_clip_rect *pbox = sarea_priv->boxes; in mga_dma_dispatch_swap() local
598 struct drm_clip_rect *box = &pbox[i]; in mga_dma_dispatch_swap()
771 struct drm_clip_rect *pbox = sarea_priv->boxes; in mga_dma_dispatch_blit() local
793 int srcx = pbox[i].x1 + blit->delta_sx; in mga_dma_dispatch_blit()
794 int srcy = pbox[i].y1 + blit->delta_sy; in mga_dma_dispatch_blit()
795 int dstx = pbox[i].x1 + blit->delta_dx; in mga_dma_dispatch_blit()
796 int dsty = pbox[i].y1 + blit->delta_dy; in mga_dma_dispatch_blit()
797 int h = pbox[i].y2 - pbox[i].y1; in mga_dma_dispatch_blit()
[all …]
/linux-6.1.9/drivers/gpu/drm/r128/
Dr128_state.c364 struct drm_clip_rect *pbox = sarea_priv->boxes; in r128_cce_dispatch_clear() local
381 int x = pbox[i].x1; in r128_cce_dispatch_clear()
382 int y = pbox[i].y1; in r128_cce_dispatch_clear()
383 int w = pbox[i].x2 - x; in r128_cce_dispatch_clear()
384 int h = pbox[i].y2 - y; in r128_cce_dispatch_clear()
387 pbox[i].x1, pbox[i].y1, pbox[i].x2, in r128_cce_dispatch_clear()
388 pbox[i].y2, flags); in r128_cce_dispatch_clear()
469 struct drm_clip_rect *pbox = sarea_priv->boxes; in r128_cce_dispatch_swap() local
481 int x = pbox[i].x1; in r128_cce_dispatch_swap()
482 int y = pbox[i].y1; in r128_cce_dispatch_swap()
[all …]
/linux-6.1.9/drivers/gpu/drm/savage/
Dsavage_state.c37 const struct drm_clip_rect * pbox) in savage_emit_clip_rect_s3d() argument
42 ((uint32_t) pbox->x1 & 0x000007ff) | in savage_emit_clip_rect_s3d()
43 (((uint32_t) pbox->y1 << 16) & 0x07ff0000); in savage_emit_clip_rect_s3d()
45 (((uint32_t) pbox->x2 - 1) & 0x000007ff) | in savage_emit_clip_rect_s3d()
46 ((((uint32_t) pbox->y2 - 1) << 16) & 0x07ff0000); in savage_emit_clip_rect_s3d()
63 const struct drm_clip_rect * pbox) in savage_emit_clip_rect_s4() argument
68 ((uint32_t) pbox->x1 & 0x000007ff) | in savage_emit_clip_rect_s4()
69 (((uint32_t) pbox->y1 << 12) & 0x00fff000); in savage_emit_clip_rect_s4()
71 (((uint32_t) pbox->x2 - 1) & 0x000007ff) | in savage_emit_clip_rect_s4()
72 ((((uint32_t) pbox->y2 - 1) << 12) & 0x00fff000); in savage_emit_clip_rect_s4()
Dsavage_drv.h198 const struct drm_clip_rect * pbox);
223 const struct drm_clip_rect * pbox);
225 const struct drm_clip_rect * pbox);