Home
last modified time | relevance | path

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

/drivers/gpu/drm/i810/
Di810_dma.c594 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
[all …]
/drivers/gpu/drm/mga/
Dmga_state.c487 struct drm_clip_rect *pbox = sarea_priv->boxes; in mga_dma_dispatch_clear() local
502 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() local
600 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() local
795 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 …]
/drivers/gpu/drm/r128/
Dr128_state.c357 struct drm_clip_rect *pbox = sarea_priv->boxes; in r128_cce_dispatch_clear() local
374 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() local
474 int x = pbox[i].x1; in r128_cce_dispatch_swap()
475 int y = pbox[i].y1; in r128_cce_dispatch_swap()
[all …]
/drivers/gpu/drm/savage/
Dsavage_state.c30 const struct drm_clip_rect * pbox) in savage_emit_clip_rect_s3d() argument
35 ((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() argument
61 ((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()
Dsavage_drv.h194 const struct drm_clip_rect * pbox);
219 const struct drm_clip_rect * pbox);
221 const struct drm_clip_rect * pbox);