Home
last modified time | relevance | path

Searched refs:pPwork (Results 1 – 4 of 4) sorted by relevance

/TwlSDK-5.1.0/build/libraries/mb/common/src/
Dmb_parent.c71 SDK_ASSERT(pPwork != 0); in MB_CommSetParentStateCallback()
75 pPwork->parent_callback = callback; in MB_CommSetParentStateCallback()
93 if (pPwork && IsChildAidValid(child_aid)) in MB_CommGetParentState()
95 return pPwork->p_comm_state[child_aid - 1]; in MB_CommGetParentState()
115 if (pPwork && IsChildAidValid(child_aid)) in MB_CommGetChildUser()
117 MI_CpuCopy8(&pPwork->childUser[child_aid - 1], &pPwork->childUserBuf, sizeof(MBUserInfo)); in MB_CommGetChildUser()
119 return &pPwork->childUserBuf; in MB_CommGetChildUser()
137 if (pPwork) in MB_CommGetChildrenNumber()
139 return pPwork->child_num; in MB_CommGetChildrenNumber()
164 if ((pPwork->fileinfo[i].active) && ((u32)pPwork->fileinfo[i].game_reg == (u32)game_reg)) in MB_GetGameEntryBitmap()
[all …]
Dmb_fileinfo.c488 if (pPwork->file_num + 1 > MB_MAX_FILE) in MB_RegisterFile()
499 if (pPwork->fileinfo[i].game_reg == (MBGameRegistry *)game_reg) in MB_RegisterFile()
506 if (pPwork->fileinfo[i].active == 0) in MB_RegisterFile()
523 pPwork->fileinfo[fileID].game_reg = (MBGameRegistry *)game_reg; in MB_RegisterFile()
526 mdfi = &pPwork->fileinfo[fileID].dl_fileinfo.header; in MB_RegisterFile()
535 if (FALSE == MBi_MakeBlockInfoTable(&pPwork->fileinfo[fileID].blockinfo_table, mdfi)) in MB_RegisterFile()
543 MBi_MakeGameInfo(&pPwork->fileinfo[fileID].game_info, game_reg, &pPwork->common.user); in MB_RegisterFile()
546 pPwork->fileinfo[fileID].game_info.fileNo = fileID; in MB_RegisterFile()
549 MB_AddGameInfo(&pPwork->fileinfo[fileID].game_info); in MB_RegisterFile()
552 pPwork->fileinfo[fileID].game_info.seqNoFixed = update++; in MB_RegisterFile()
[all …]
Dmb_wm_base.c249 if (pPwork->p_comm_state[i] != MB_COMM_PSTATE_NONE) in MbWaitForWvr()
459 if (pPwork->useWvrFlag) in MBi_ParentCallback()
1279 cb_tmp = pPwork->parent_callback; in MBi_StartParentCore()
1282 MI_CpuClear16((void *)((u32)pPwork + sizeof(MB_CommCommonWork)), in MBi_StartParentCore()
1290 MBi_SetParentPieceBuffer(&pPwork->req_data_buf); in MBi_StartParentCore()
1294 pPwork->p_comm_state[i] = MB_COMM_PSTATE_NONE; in MBi_StartParentCore()
1295pPwork->fileid_of_child[i] = -1; /* Initialize the requested FileID from the child. */ in MBi_StartParentCore()
1297 pPwork->file_num = 0; in MBi_StartParentCore()
1299 MI_CpuClear16(&pPwork->fileinfo[0], sizeof(pPwork->fileinfo)); in MBi_StartParentCore()
1300 MI_CpuClear8(&pPwork->req2child[0], sizeof(pPwork->req2child)); in MBi_StartParentCore()
[all …]
/TwlSDK-5.1.0/build/libraries/mb/common/include/
Dmb_private.h197 #define pPwork ((MB_CommPWork*)mbc) macro