Lines Matching refs:u32fbId

203 static void _GOP_MAP_FBID_AFBCCmd(void* pInstance,MS_U32 u32fbId,EN_DRV_GOP_AFBC_CNTL* AFBC_Cmd, MS…  in _GOP_MAP_FBID_AFBCCmd()  argument
211 pwinFB = _GetWinFB(pInstance,u32fbId); in _GOP_MAP_FBID_AFBCCmd()
214 … GOP_M_ERR("[%s][%d]GetWinFB Fail : WrongFBID=%td\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in _GOP_MAP_FBID_AFBCCmd()
2341 static void _GOP_FreePoolMem(void* pInstance,GOP_FB_POOL *pFBPool, MS_U32 u32fbId) in _GOP_FreePoolMem() argument
2348 if (!_GOP_IsFbIdValid(pInstance,u32fbId)) in _GOP_FreePoolMem()
2350 GOP_M_ERR("[%s][%d]FbId %td is out of range\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in _GOP_FreePoolMem()
2376 if(u32CurFBId == u32fbId) in _GOP_FreePoolMem()
2410 static MS_U8 _GOP_GWIN_CreatePoolFB(void* pInstance,MS_U32 u32fbId, MS_U16 dispX, MS_U16 dispY, MS_… in _GOP_GWIN_CreatePoolFB() argument
2426 if (!_GOP_IsFbIdValid(pInstance,u32fbId)) in _GOP_GWIN_CreatePoolFB()
2428 GOP_M_ERR("[%s][%d]FbId %td is out of range\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in _GOP_GWIN_CreatePoolFB()
2432 pwinFB = _GetWinFB(pInstance,u32fbId); in _GOP_GWIN_CreatePoolFB()
2436 … GOP_M_ERR("[%s][%d]GetWinFB Fail : WrongFBID=%td\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in _GOP_GWIN_CreatePoolFB()
2443 GOP_M_ERR("[%s][%d]FbId %td is already exist\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in _GOP_GWIN_CreatePoolFB()
2543 pFBPool->u32FirstFBIdInPool = u32fbId; in _GOP_GWIN_CreatePoolFB()
2554 pPrewinFB->nextFBIdInPool = u32fbId; in _GOP_GWIN_CreatePoolFB()
2925 static MS_U32 GOP_FB_Destroy(void* pInstance,MS_U32 u32fbId) in GOP_FB_Destroy() argument
2933 pwinFB = _GetWinFB(pInstance,u32fbId); in GOP_FB_Destroy()
2939 _GOP_FreePoolMem(pInstance,&g_pGOPCtxLocal->pGOPCtxShared->fbPool1, u32fbId); in GOP_FB_Destroy()
2942 _GOP_FreePoolMem(pInstance,&g_pGOPCtxLocal->pGOPCtxShared->fbPool1, u32fbId); in GOP_FB_Destroy()
3016 MS_U32 u32fbId; in GOP_Win_Destroy() local
3040 u32fbId = g_pGOPCtxLocal->pGOPCtxShared->gwinMap[gId].u32CurFBId; in GOP_Win_Destroy()
3042 pwinFB = _GetWinFB(pInstance,u32fbId); in GOP_Win_Destroy()
3043 if (!_GOP_IsFbIdValid(pInstance,u32fbId)) in GOP_Win_Destroy()
3045 GOP_M_ERR("[%s][%d]FbId %td is out of range\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in GOP_Win_Destroy()
3049 if ((GOP_WINFB_POOL_NULL!=pwinFB->poolId) && (GOP_FB_Destroy(pInstance,u32fbId) != GWIN_OK)) in GOP_Win_Destroy()
3051 …SG( GOP_M_ERR( "[%s][%d], failed to delete FB %td\n",__FUNCTION__,__LINE__, (ptrdiff_t)u32fbId ) ); in GOP_Win_Destroy()
3305 MS_U32 GOP_MapFB2Win(void* pInstance,MS_U32 u32fbId, MS_U32 GwinId) in GOP_MapFB2Win() argument
3322 if (u32fbId >= DRV_MAX_GWIN_FB_SUPPORT) in GOP_MapFB2Win()
3325 …ady reached! FBId: %td, winId: %td\n",__FUNCTION__, __LINE__, (ptrdiff_t)u32fbId, (ptrdiff_t)GwinI… in GOP_MapFB2Win()
3335 pwinFB = _GetWinFB(pInstance,u32fbId); in GOP_MapFB2Win()
3339 … GOP_M_ERR("[%s][%d]GetWinFB Fail : WrongFBID=%td\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in GOP_MapFB2Win()
3346 g_pGOPCtxLocal->pGOPCtxShared->gwinMap[GwinId].u32CurFBId = u32fbId; in GOP_MapFB2Win()
3370 …ssigned to fbId2(%td), fbId(%td)\n",__FUNCTION__,__LINE__, (ptrdiff_t)u32Temp, (ptrdiff_t)u32fbId); in GOP_MapFB2Win()
3374 g_pGOPCtxLocal->pGOPCtxShared->gwinMap[GwinId].u32CurFBId= u32fbId; in GOP_MapFB2Win()
3409 _GOP_MAP_FBID_AFBCCmd(pInstance,u32fbId,&eAFBC_cmd,&bAFBC_Enable); in GOP_MapFB2Win()
3972 MS_BOOL GOP_SwitchByFBID(void* pInstance,MS_U32 gWinId, MS_U32 u32fbId, MS_U32 u32WaitTagID, MS_U32… in GOP_SwitchByFBID() argument
3985 if (!_GOP_IsFbIdValid(pInstance,u32fbId)) in GOP_SwitchByFBID()
3987 GOP_M_ERR("[%s][%d]FbId %td is out of range\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in GOP_SwitchByFBID()
4002 pwinFB = _GetWinFB(pInstance,u32fbId); in GOP_SwitchByFBID()
4006 … GOP_M_ERR("[%s][%d]GetWinFB Fail : WrongFBID=%td\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in GOP_SwitchByFBID()
4013 GOP_M_ERR("%s: fbId=%td is not in existence\n",__FUNCTION__,(ptrdiff_t)u32fbId); in GOP_SwitchByFBID()
4080 g_pGOPCtxLocal->pGOPCtxShared->gwinMap[gWinId].u32CurFBId = u32fbId; in GOP_SwitchByFBID()
4390 MS_U32 GOP_CreateBufferByAddr(void* pInstance,PGOP_BUFFER_INFO pBuff,MS_U32 u32fbId) in GOP_CreateBufferByAddr() argument
4403 if (!_GOP_IsFbIdValid(pInstance,u32fbId)) in GOP_CreateBufferByAddr()
4405 GOP_M_ERR("[%s][%d]FbId %td is out of range\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in GOP_CreateBufferByAddr()
4409 pwinFB = _GetWinFB(pInstance,u32fbId); in GOP_CreateBufferByAddr()
4413 … GOP_M_ERR("[%s][%d]GetWinFB Fail : WrongFBID=%td\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in GOP_CreateBufferByAddr()
4420 … GOP_M_ERR("[%s][%d]FbId %td is already allocated\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in GOP_CreateBufferByAddr()
4425 GOP_M_INFO("[%s][%d]: new gwinFBId = %td \n",__FUNCTION__,__LINE__, (ptrdiff_t)u32fbId); in GOP_CreateBufferByAddr()
4467 GOP_M_INFO("\33[0;36m %s:%d FBId = %td \33[m \n",__FUNCTION__,__LINE__, (ptrdiff_t)u32fbId); in GOP_CreateBufferByAddr()
4475 MS_U32 u32fbId; in GOP_Win_Destroy_Abnormal() local
4494 u32fbId = g_pGOPCtxLocal->pGOPCtxShared->gwinMap[gId].u32CurFBId; in GOP_Win_Destroy_Abnormal()
4496 pwinFB = _GetWinFB(pInstance,u32fbId); in GOP_Win_Destroy_Abnormal()
4497 if (!_GOP_IsFbIdValid(pInstance,u32fbId)) in GOP_Win_Destroy_Abnormal()
4499 GOP_M_ERR("[%s][%d]FbId %td is out of range\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in GOP_Win_Destroy_Abnormal()
4503 if ((GOP_WINFB_POOL_NULL!=pwinFB->poolId) && (GOP_FB_Destroy(pInstance,u32fbId) != GWIN_OK)) in GOP_Win_Destroy_Abnormal()
4505 …G( GOP_M_INFO( "[%s][%d], failed to delete FB %td\n",__FUNCTION__,__LINE__, (ptrdiff_t)u32fbId ) ); in GOP_Win_Destroy_Abnormal()
5040 MS_U32 u32fbId; in GOP_GWIN_SetEnable() local
5060 u32fbId = g_pGOPCtxLocal->pGOPCtxShared->gwinMap[winId].u32CurFBId; in GOP_GWIN_SetEnable()
5061 pwinFB = _GetWinFB(pInstance,u32fbId); in GOP_GWIN_SetEnable()
5065 … GOP_M_ERR("[%s][%d]GetWinFB Fail : WrongFBID=%d\n",__FUNCTION__,__LINE__,(unsigned int)u32fbId); in GOP_GWIN_SetEnable()
5069 if (!_GOP_IsFbIdValid(pInstance,u32fbId)) in GOP_GWIN_SetEnable()
5071 GOP_M_ERR("[%s][%d]FbId %d is out of range\n",__FUNCTION__,__LINE__,(unsigned int)u32fbId); in GOP_GWIN_SetEnable()
5499 MS_U32 u32fbId; in GOP_GWIN_Switch2Gwin() local
5521 u32fbId = g_pGOPCtxLocal->pGOPCtxShared->gwinMap[winId].u32CurFBId; in GOP_GWIN_Switch2Gwin()
5522 pwinFB = _GetWinFB(pInstance,u32fbId); in GOP_GWIN_Switch2Gwin()
5526 … GOP_M_ERR("[%s][%d]GetWinFB Fail : WrongFBID=%td\n",__FUNCTION__,__LINE__, (ptrdiff_t)u32fbId); in GOP_GWIN_Switch2Gwin()
5529 if (!_GOP_IsFbIdValid(pInstance,u32fbId)) in GOP_GWIN_Switch2Gwin()
5531 GOP_M_ERR("[%s][%d]FbId %td is out of range\n",__FUNCTION__,__LINE__, (ptrdiff_t)u32fbId); in GOP_GWIN_Switch2Gwin()
5537 GOP_M_ERR("[%s][%d]FbId %td is not allocated\n",__FUNCTION__,__LINE__, (ptrdiff_t)u32fbId); in GOP_GWIN_Switch2Gwin()
5728 MS_U32 GOP_GWIN_Is32FBExist(void* pInstance,MS_U32 u32fbId) in GOP_GWIN_Is32FBExist() argument
5732 if (!_GOP_IsFbIdValid(pInstance,u32fbId)) in GOP_GWIN_Is32FBExist()
5734 GOP_M_ERR("[%s][%d]FbId %td is out of range\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in GOP_GWIN_Is32FBExist()
5738 pwinFB = _GetWinFB(pInstance,u32fbId); in GOP_GWIN_Is32FBExist()
5742 … GOP_M_ERR("[%s][%d]GetWinFB Fail : WrongFBID=%td\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in GOP_GWIN_Is32FBExist()
9608 MS_U32 u32fbId; in Ioctl_GOP_Win_Enable() local
9633 u32fbId = g_pGOPCtxLocal->pGOPCtxShared->gwinMap[gwinId].u32CurFBId; in Ioctl_GOP_Win_Enable()
9634 pwinFB = _GetWinFB(pInstance,u32fbId); in Ioctl_GOP_Win_Enable()
9638 … GOP_M_ERR("[%s][%d]GetWinFB Fail : WrongFBID=%td\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in Ioctl_GOP_Win_Enable()
9642 if (!_GOP_IsFbIdValid(pInstance,u32fbId)) in Ioctl_GOP_Win_Enable()
9644 GOP_M_ERR("[%s][%d]FbId %td is out of range\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in Ioctl_GOP_Win_Enable()
9850 MS_U32 u32fbId; in Ioctl_GOP_FBDestroy() local
9852 u32fbId = *pId; in Ioctl_GOP_FBDestroy()
9854 if (DRV_MAX_GWIN_FB_SUPPORT <= u32fbId) in Ioctl_GOP_FBDestroy()
9857 …EBUG_MSG( GOP_M_ERR( "%s(u32fbId:%d....), fbId out of bound\n",__FUNCTION__, (ptrdiff_t)u32fbId) ); in Ioctl_GOP_FBDestroy()
9861 pwinFB = _GetWinFB(pInstance,u32fbId); in Ioctl_GOP_FBDestroy()
9865 … GOP_M_ERR("[%s][%d]GetWinFB Fail : WrongFBID=%td\n",__FUNCTION__,__LINE__, (ptrdiff_t)u32fbId); in Ioctl_GOP_FBDestroy()
9872 …GOP_M_ERR("[%s][%d]: u32fbId=%d is not in existence\n",__FUNCTION__,__LINE__, (ptrdiff_t)u32fbId)); in Ioctl_GOP_FBDestroy()
9877 GOP_FB_Destroy(pInstance,u32fbId); in Ioctl_GOP_FBDestroy()
9883 MS_U32 Ioctl_GOP_GetFBInfo(void* pInstance,MS_U32 u32fbId, PGOP_BUFFER_INFO pBuff) in Ioctl_GOP_GetFBInfo() argument
9888 if (!_GOP_IsFbIdValid(pInstance,u32fbId)) in Ioctl_GOP_GetFBInfo()
9890 GOP_M_ERR("[%s][%d]FbId %td is out of range\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in Ioctl_GOP_GetFBInfo()
9894 pwinFB = _GetWinFB(pInstance,u32fbId); in Ioctl_GOP_GetFBInfo()
9898 … GOP_M_ERR("[%s][%d]GetWinFB Fail : WrongFBID=%td\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in Ioctl_GOP_GetFBInfo()
9905 … GOP_M_ERR("[%s][%d]: u32fbId=%td is not in existence\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in Ioctl_GOP_GetFBInfo()
9923 MS_U32 Ioctl_GOP_SetFBInfo(void* pInstance,MS_U32 u32fbId, PGOP_BUFFER_INFO pBuff) in Ioctl_GOP_SetFBInfo() argument
9928 if (!_GOP_IsFbIdValid(pInstance,u32fbId)) in Ioctl_GOP_SetFBInfo()
9930 GOP_M_ERR("[%s][%d]FbId %td is out of range\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in Ioctl_GOP_SetFBInfo()
9933 pwinFB = _GetWinFB(pInstance,u32fbId); in Ioctl_GOP_SetFBInfo()
9937 … GOP_M_ERR("[%s][%d]GetWinFB Fail : WrongFBID=%td\n",__FUNCTION__,__LINE__,(ptrdiff_t)u32fbId); in Ioctl_GOP_SetFBInfo()