Home
last modified time | relevance | path

Searched refs:pGECtxLocal (Results 1 – 2 of 2) sorted by relevance

/utopia/UTPA2-700.0.x/modules/graphic/drv/ge/
H A DdrvGE.c237 … GE_CTX_LOCAL *pGECtxLocal = (GE_CTX_LOCAL*)pGECtx; \
238 … if(pGECtxLocal->u32CTXInitMagic != 0x55aabeef) {return;} \
239 if (0 > pGECtxLocal->s32GEMutex) \
241 …if((pGECtxLocal->s32GE_Recursive_Lock_Cnt > 0) && (pGECtxLocal->s32GELock == MsOS_GetOSThreadID())…
243pGECtxLocal->s32GE_Recursive_Lock_Cnt++; \
248 … while(!MsOS_ObtainMutex(pGECtxLocal->s32GEMutex, MSOS_WAIT_FOREVER)) \
256 … while (MDrv_SEM_Get_Resource(GESEMID, pGECtxLocal->u32GESEMID) == FALSE)\
262 …;\n",__FUNCTION__,__LINE__, (ptrdiff_t)GE_GetHWSemaphoreID, (ptrdiff_t)pGECtxLocal->u32GESEMID,MsO…
268pGECtxLocal->s32GELock = MsOS_GetOSThreadID(); \
269pGECtxLocal->s32GE_Recursive_Lock_Cnt++; \
[all …]
/utopia/UTPA2-700.0.x/modules/graphic/api/gfx/
H A DmapiGFX.c3572 GE_CTX_LOCAL *pGECtxLocal = (GE_CTX_LOCAL*)g_apiGFXLocal.g_pGEContext; in Ioctl_GFX_PowerState() local
3573 pGECtxLocal->s32GELock=MsOS_GetOSThreadID(); in Ioctl_GFX_PowerState()
3574 MsOS_EnableCrossThreadReleaseMutex(pGECtxLocal->s32GEMutex,TRUE); in Ioctl_GFX_PowerState()
3576 MsOS_EnableCrossThreadReleaseMutex(pGECtxLocal->s32GEMutex,FALSE); in Ioctl_GFX_PowerState()