Lines Matching refs:pSAREA

452                    (drmAddressPtr) (&pDRIPriv->pSAREA)) < 0) {  in DRIScreenInit()
460 (void *) (uintptr_t) pDRIPriv->hSAREA, pDRIPriv->pSAREA); in DRIScreenInit()
461 memset(pDRIPriv->pSAREA, 0, pDRIPriv->pDriverInfo->SAREASize); in DRIScreenInit()
467 pDRIPriv->pSAREA = (XF86DRISAREAPtr) pDRIEntPriv->pLSAREA; in DRIScreenInit()
482 drmUnmap(pDRIPriv->pSAREA, pDRIPriv->pDriverInfo->SAREASize); in DRIScreenInit()
528 pDRIPriv->pSAREA->drawableTable[i].stamp = 0; in DRIScreenInit()
529 pDRIPriv->pSAREA->drawableTable[i].flags = 0; in DRIScreenInit()
761 … (int) pDRIInfo->SAREASize, (void *) (uintptr_t) pDRIPriv->hSAREA, pDRIPriv->pSAREA); in DRICloseScreen()
762 if (drmUnmap(pDRIPriv->pSAREA, pDRIInfo->SAREASize)) { in DRICloseScreen()
767 (void *) (uintptr_t) pDRIPriv->hSAREA, pDRIPriv->pSAREA); in DRICloseScreen()
1004 DRICreateContextPriv(pScreen, &pDRIPriv->pSAREA->dummy_context, 0))) { in DRICreateDummyContext()
1011 pDRIPriv->pSAREA-> in DRICreateDummyContext()
1123 pDRIPriv->pSAREA->drawableTable[i].stamp = DRIDrawableValidationStamp++; in DRIClipNotifyAllDrawables()
1345 pDRIPriv->pSAREA->drawableTable[pDRIDrawablePriv->drawableIndex].stamp in DRIDrawablePrivDestroy()
1458 pDRIPriv->pSAREA->drawableTable[i].stamp = in DRIGetDrawableInfo()
1472 if (pDRIPriv->pSAREA->drawableTable[i].stamp < in DRIGetDrawableInfo()
1476 pDRIPriv->pSAREA->drawableTable[i].stamp; in DRIGetDrawableInfo()
1490 pDRIPriv->pSAREA->drawableTable[oldestIndex].stamp = in DRIGetDrawableInfo()
1500 pDRIPriv->pSAREA->drawableTable[i].stamp = in DRIGetDrawableInfo()
1525 *stamp = pDRIPriv->pSAREA->drawableTable[*index].stamp; in DRIGetDrawableInfo()
1710 DRM_SPINUNLOCK(&pDRIPriv->pSAREA->drawable_lock, 1); in DRIDoBlockHandler()
2072 DRISpinLockTimeout(&pDRIPriv->pSAREA->drawable_lock, 1, 10000); /*10 secs */ in DRILockTree()
2116 pDRIPriv->pSAREA->drawableTable[pDRIDrawablePriv->drawableIndex].stamp in DRIClipNotify()
2162 return pDRIPriv->pSAREA->drawableTable[drawable_index].stamp; in DRIGetDrawableStamp()
2170 ErrorF("%s: %d\n", msg, pDRIPriv->pSAREA->drawable_lock.lock); in DRIPrintDrawableLock()
2230 return (void *) (((char *) pDRIPriv->pSAREA) + sizeof(XF86DRISAREARec)); in DRIGetSAREAPrivate()
2280 pDRIPriv->pSAREA->frame.x = x; in _DRIAdjustFrame()
2281 pDRIPriv->pSAREA->frame.y = y; in _DRIAdjustFrame()
2282 pDRIPriv->pSAREA->frame.width = pScrn->frameX1 - x + 1; in _DRIAdjustFrame()
2283 pDRIPriv->pSAREA->frame.height = pScrn->frameY1 - y + 1; in _DRIAdjustFrame()
2293 if (!pDRIPriv || !pDRIPriv->pSAREA) { in DRIAdjustFrame()
2295 pDRIPriv, pDRIPriv ? pDRIPriv->pSAREA : NULL); in DRIAdjustFrame()
2301 pScrn->frameX0 = pDRIPriv->pSAREA->frame.x; in DRIAdjustFrame()
2302 pScrn->frameY0 = pDRIPriv->pSAREA->frame.y; in DRIAdjustFrame()
2303 pScrn->frameX1 = pScrn->frameX0 + pDRIPriv->pSAREA->frame.width - 1; in DRIAdjustFrame()
2304 pScrn->frameY1 = pScrn->frameY0 + pDRIPriv->pSAREA->frame.height - 1; in DRIAdjustFrame()