Home
last modified time | relevance | path

Searched refs:mbxResult (Results 1 – 11 of 11) sorted by relevance

/utopia/UTPA2-700.0.x/modules/mbx/drv/mbx/ecos_nos/
H A DdrvMBX.c390 MBX_Result mbxResult = E_MBX_SUCCESS; in _MDrv_MBX_SetConfig() local
410mbxResult = MHAL_MBXINT_ResetHostCPU(_mgrMBX.eMbxRole2Cpu[_mgrMBX.eMbxHostRole], _mgrMBX.eMbxRole2… in _MDrv_MBX_SetConfig()
411 if(E_MBX_SUCCESS != mbxResult) in _MDrv_MBX_SetConfig()
413 …BX_DBG_LEVEL_CRITICAL, "[MDrv_MBX_SetConfig] Failed to reset Interrupt! result = %d\n", mbxResult); in _MDrv_MBX_SetConfig()
414 return mbxResult; in _MDrv_MBX_SetConfig()
422 return mbxResult; in _MDrv_MBX_SetConfig()
443 MBX_Result mbxResult = E_MBX_SUCCESS; in _MDrv_MBX_SendMsg() local
451 mbxResult = MHAL_MBX_Fire(pMsg, eSrcRole); in _MDrv_MBX_SendMsg()
452 if(E_MBX_SUCCESS == mbxResult) in _MDrv_MBX_SendMsg()
458 mbxResult = MHAL_MBX_GetFireStatus(eSrcRole, pMsg->eRoleID, &mbxHalFireStatus); in _MDrv_MBX_SendMsg()
[all …]
/utopia/UTPA2-700.0.x/modules/pm/drv/pm/
H A DdrvPM.c252 MBX_Result mbxResult = E_MBX_UNKNOW_ERROR; in _MDrv_PM_MailBoxHandler() local
256mbxResult = MDrv_MBX_RecvMsg(E_MBX_CLASS_PM_WAIT, &MB_Command, PM_MBX_TIMEOUT/*ms*/, MBX_CHECK_NOR… in _MDrv_PM_MailBoxHandler()
257 if (E_MBX_ERR_TIME_OUT == mbxResult) in _MDrv_PM_MailBoxHandler()
259 return mbxResult; in _MDrv_PM_MailBoxHandler()
262 if (E_MBX_SUCCESS == mbxResult) in _MDrv_PM_MailBoxHandler()
365 return mbxResult; in _MDrv_PM_MailBoxHandler()
761 MBX_Result mbxResult = E_MBX_UNKNOW_ERROR; in MDrv_PM_Init() local
809 while(E_MBX_SUCCESS != (mbxResult = MDrv_MBX_SendMsg(&MB_Command))) in MDrv_PM_Init()
820 mbxResult = _MDrv_PM_MailBoxHandler(&PmResult); in MDrv_PM_Init()
826 while(E_MBX_SUCCESS != (mbxResult = MDrv_MBX_SendMsg(&MB_Command))) in MDrv_PM_Init()
[all …]
/utopia/UTPA2-700.0.x/modules/mbx/drv/mbx/linux/
H A DdrvMBX.c290 MBX_Result mbxResult; in _MDrv_MBX_MsgArrived() local
317 mbxResult = MDrv_MBX_CheckMsg (msgClass, &mbxMsg, 0, MBX_CHECK_ALL_MSG_CLASS); in _MDrv_MBX_MsgArrived()
318 if(E_MBX_SUCCESS == mbxResult) in _MDrv_MBX_MsgArrived()
327 …G_LEVEL_MSGQ), "[_MDrv_MBX_MsgArrived]MDrv_MBX_GetMsgQueueStatus Failed! Result=%d \n", mbxResult); in _MDrv_MBX_MsgArrived()
381 stInitInfo.mbxResult = E_MBX_SUCCESS; in _MDrv_MBX_Init_()
395 if(stInitInfo.mbxResult != E_MBX_SUCCESS) in _MDrv_MBX_Init_()
397 …MBX_DBG_LEVEL_CRITICAL, "[MDrv_MBX_Init]MDrv_MBX_Init Failed! Result=%d \n", stInitInfo.mbxResult); in _MDrv_MBX_Init_()
398 return stInitInfo.mbxResult; in _MDrv_MBX_Init_()
430 return stInitInfo.mbxResult; in _MDrv_MBX_Init_()
467 if(E_MBX_ERR_HAS_MSG_PENDING == stSetBInfo.mbxResult) //there has pending mail message! in MDrv_MBX_DeInit()
[all …]
H A Dmdrv_mbx_st.h123 MBX_Result mbxResult; member
129 MBX_Result mbxResult; member
136 MBX_Result mbxResult; member
143 MBX_Result mbxResult; member
149 MBX_Result mbxResult; member
155 MBX_Result mbxResult; member
164 MBX_Result mbxResult; member
171 MBX_Result mbxResult; member
185 MBX_Result mbxResult; member
/utopia/UTPA2-700.0.x/modules/sc/drv/sc/sc2/
H A DdrvSC.c832 MBX_Result mbxResult = E_MBX_UNKNOW_ERROR; in _MDrv_SC_MailBoxHandler() local
834mbxResult = MDrv_MBX_RecvMsg(E_MBX_CLASS_PM_WAIT, &MB_Command, SC_MBX_TIMEOUT/*ms*/, MBX_CHECK_NOR… in _MDrv_SC_MailBoxHandler()
835 if (E_MBX_ERR_TIME_OUT == mbxResult) in _MDrv_SC_MailBoxHandler()
837 return mbxResult; in _MDrv_SC_MailBoxHandler()
840 if (E_MBX_SUCCESS == mbxResult) in _MDrv_SC_MailBoxHandler()
877 return mbxResult; in _MDrv_SC_MailBoxHandler()
884 MBX_Result mbxResult = E_MBX_UNKNOW_ERROR; in _SC_Send() local
932 while(E_MBX_SUCCESS != (mbxResult = MDrv_MBX_SendMsg(&MB_Command))) in _SC_Send()
943 mbxResult = _MDrv_SC_MailBoxHandler(&ScResult); in _SC_Send()
948 mbxResult = E_MBX_ERR_TIME_OUT; in _SC_Send()
[all …]
/utopia/UTPA2-700.0.x/modules/sc/drv/sc/sc1/
H A DdrvSC.c941 MBX_Result mbxResult = E_MBX_UNKNOW_ERROR; in _MDrv_SC_MailBoxHandler() local
943mbxResult = MDrv_MBX_RecvMsg(E_MBX_CLASS_PM_WAIT, &MB_Command, SC_MBX_TIMEOUT/*ms*/, MBX_CHECK_NOR… in _MDrv_SC_MailBoxHandler()
944 if (E_MBX_ERR_TIME_OUT == mbxResult) in _MDrv_SC_MailBoxHandler()
946 return mbxResult; in _MDrv_SC_MailBoxHandler()
949 if (E_MBX_SUCCESS == mbxResult) in _MDrv_SC_MailBoxHandler()
986 return mbxResult; in _MDrv_SC_MailBoxHandler()
993 MBX_Result mbxResult = E_MBX_UNKNOW_ERROR; in _SC_Send() local
1041 while(E_MBX_SUCCESS != (mbxResult = MDrv_MBX_SendMsg(&MB_Command))) in _SC_Send()
1052 mbxResult = _MDrv_SC_MailBoxHandler(&ScResult); in _SC_Send()
1057 mbxResult = E_MBX_ERR_TIME_OUT; in _SC_Send()
[all …]
/utopia/UTPA2-700.0.x/modules/xc/hal/manhattan/xc/
H A Dmhal_frc.c1651 MBX_Result mbxResult; in MHal_XC_SendCmdToFRC() local
1679 mbxResult = MApi_MBX_SendMsg(&mbxMsg); in MHal_XC_SendCmdToFRC()
1681 switch(mbxResult) in MHal_XC_SendCmdToFRC()
1698 printf("[XC]Send Cmd fail=%u\n", mbxResult); in MHal_XC_SendCmdToFRC()
1709 }while(E_MBX_SUCCESS != mbxResult); in MHal_XC_SendCmdToFRC()
1722 MBX_Result mbxResult; in MHal_XC_GetMsgFromFRC() local
1732 mbxResult = MApi_MBX_RecvMsg(E_MBX_CLASS_FRC, &mbxMsg, 0, MBX_CHECK_NORMAL_MSG); in MHal_XC_GetMsgFromFRC()
1733 if (mbxResult == E_MBX_SUCCESS) in MHal_XC_GetMsgFromFRC()
1753 else if (mbxResult != E_MBX_ERR_NO_MORE_MSG) in MHal_XC_GetMsgFromFRC()
/utopia/UTPA2-700.0.x/modules/xc/hal/maxim/xc/
H A Dmhal_frc.c2252 MBX_Result mbxResult; in MHal_XC_SendCmdToFRC() local
2280 mbxResult = MApi_MBX_SendMsg(&mbxMsg); in MHal_XC_SendCmdToFRC()
2282 switch(mbxResult) in MHal_XC_SendCmdToFRC()
2299 printf("[XC]Send Cmd fail=%u\n", mbxResult); in MHal_XC_SendCmdToFRC()
2310 }while(E_MBX_SUCCESS != mbxResult); in MHal_XC_SendCmdToFRC()
2323 MBX_Result mbxResult; in MHal_XC_GetMsgFromFRC() local
2333 mbxResult = MApi_MBX_RecvMsg(E_MBX_CLASS_FRC, &mbxMsg, 0, MBX_CHECK_NORMAL_MSG); in MHal_XC_GetMsgFromFRC()
2334 if (mbxResult == E_MBX_SUCCESS) in MHal_XC_GetMsgFromFRC()
2354 else if (mbxResult != E_MBX_ERR_NO_MORE_MSG) in MHal_XC_GetMsgFromFRC()
/utopia/UTPA2-700.0.x/modules/xc/hal/M7621/xc/
H A Dmhal_frc.c2229 MBX_Result mbxResult; in MHal_XC_SendCmdToFRC() local
2257 mbxResult = MApi_MBX_SendMsg(&mbxMsg); in MHal_XC_SendCmdToFRC()
2259 switch(mbxResult) in MHal_XC_SendCmdToFRC()
2276 printf("[XC]Send Cmd fail=%u\n", mbxResult); in MHal_XC_SendCmdToFRC()
2287 }while(E_MBX_SUCCESS != mbxResult); in MHal_XC_SendCmdToFRC()
2300 MBX_Result mbxResult; in MHal_XC_GetMsgFromFRC() local
2310 mbxResult = MApi_MBX_RecvMsg(E_MBX_CLASS_FRC, &mbxMsg, 0, MBX_CHECK_NORMAL_MSG); in MHal_XC_GetMsgFromFRC()
2311 if (mbxResult == E_MBX_SUCCESS) in MHal_XC_GetMsgFromFRC()
2331 else if (mbxResult != E_MBX_ERR_NO_MORE_MSG) in MHal_XC_GetMsgFromFRC()
/utopia/UTPA2-700.0.x/modules/xc/hal/M7821/xc/
H A Dmhal_frc.c2869 MBX_Result mbxResult; in MHal_XC_SendCmdToFRC() local
2897 mbxResult = MApi_MBX_SendMsg(&mbxMsg); in MHal_XC_SendCmdToFRC()
2898 switch(mbxResult) in MHal_XC_SendCmdToFRC()
2915 printf("[XC]Send Cmd fail=%u\n", mbxResult); in MHal_XC_SendCmdToFRC()
2926 }while(E_MBX_SUCCESS != mbxResult); in MHal_XC_SendCmdToFRC()
2939 MBX_Result mbxResult; in MHal_XC_GetMsgFromFRC() local
2949 mbxResult = MApi_MBX_RecvMsg(E_MBX_CLASS_FRC, &mbxMsg, 0, MBX_CHECK_NORMAL_MSG); in MHal_XC_GetMsgFromFRC()
2950 if (mbxResult == E_MBX_SUCCESS) in MHal_XC_GetMsgFromFRC()
2970 else if (mbxResult != E_MBX_ERR_NO_MORE_MSG) in MHal_XC_GetMsgFromFRC()
/utopia/UTPA2-700.0.x/modules/xc/hal/maserati/xc/
H A Dmhal_frc.c2909 MBX_Result mbxResult; in MHal_XC_SendCmdToFRC() local
2937 mbxResult = MApi_MBX_SendMsg(&mbxMsg); in MHal_XC_SendCmdToFRC()
2938 switch(mbxResult) in MHal_XC_SendCmdToFRC()
2955 printf("[XC]Send Cmd fail=%u\n", mbxResult); in MHal_XC_SendCmdToFRC()
2966 }while(E_MBX_SUCCESS != mbxResult); in MHal_XC_SendCmdToFRC()
2979 MBX_Result mbxResult; in MHal_XC_GetMsgFromFRC() local
2989 mbxResult = MApi_MBX_RecvMsg(E_MBX_CLASS_FRC, &mbxMsg, 0, MBX_CHECK_NORMAL_MSG); in MHal_XC_GetMsgFromFRC()
2990 if (mbxResult == E_MBX_SUCCESS) in MHal_XC_GetMsgFromFRC()
3010 else if (mbxResult != E_MBX_ERR_NO_MORE_MSG) in MHal_XC_GetMsgFromFRC()