Lines Matching refs:agRoot
47 agsaRoot_t *agRoot,
70 agsaRoot_t *agRoot, in saFwProfile() argument
77 agsaLLRoot_t *saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in saFwProfile()
87 SA_ASSERT((agNULL != agRoot), ""); in saFwProfile()
90 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFwProfile()
96 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFwProfile()
114 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFwProfile()
117 ossaSingleThreadedEnter(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saFwProfile()
127 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saFwProfile()
129 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFwProfile()
137 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFwProfile()
147 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saFwProfile()
150 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFwProfile()
158 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFwProfile()
166 OSSA_WRITE_LE_32(agRoot, pPayload, OSSA_OFFSET_OF(agsaFwProfileIOMB_t, tag), pRequest->HTag); in saFwProfile()
167 …OSSA_WRITE_LE_32(agRoot, pPayload, OSSA_OFFSET_OF(agsaFwProfileIOMB_t, tcid_processor_cmd), tcid_p… in saFwProfile()
168 …OSSA_WRITE_LE_32(agRoot, pPayload, OSSA_OFFSET_OF(agsaFwProfileIOMB_t, codeStartAdd), fwProfileInf… in saFwProfile()
169 …OSSA_WRITE_LE_32(agRoot, pPayload, OSSA_OFFSET_OF(agsaFwProfileIOMB_t, codeEndAdd), fwProfileInfo-… in saFwProfile()
186 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saFwProfile()
191 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFwProfile()
199 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFwProfile()
223 agsaRoot_t *agRoot, in saFwFlashUpdate() argument
238 SA_ASSERT((agNULL != agRoot), ""); in saFwFlashUpdate()
239 if (agRoot == agNULL) in saFwFlashUpdate()
244 saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saFwFlashUpdate()
255 SA_ASSERT((agNULL != agRoot), ""); in saFwFlashUpdate()
257 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFwFlashUpdate()
261 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFwFlashUpdate()
279 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFwFlashUpdate()
281 ossaSingleThreadedEnter(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saFwFlashUpdate()
290 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saFwFlashUpdate()
292 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFwFlashUpdate()
300 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFwFlashUpdate()
309 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saFwFlashUpdate()
311 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFwFlashUpdate()
319 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFwFlashUpdate()
326 OSSA_WRITE_LE_32( agRoot, pPayload, in saFwFlashUpdate()
328 OSSA_WRITE_LE_32( agRoot, pPayload, in saFwFlashUpdate()
331 OSSA_WRITE_LE_32( agRoot, pPayload, in saFwFlashUpdate()
334 OSSA_WRITE_LE_32( agRoot, pPayload, in saFwFlashUpdate()
349 ossaSingleThreadedLeave( agRoot, LL_IOREQ_IBQ0_LOCK + inq ); in saFwFlashUpdate()
352 ossaSingleThreadedEnter( agRoot, LL_IOREQ_LOCKEQ_LOCK ); in saFwFlashUpdate()
360 ossaSingleThreadedLeave( agRoot, LL_IOREQ_LOCKEQ_LOCK ); in saFwFlashUpdate()
370 agsaRoot_t *agRoot, in saFlashExtExecute() argument
377 agsaLLRoot_t *saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in saFlashExtExecute()
387 SA_ASSERT((agNULL != agRoot), ""); in saFlashExtExecute()
390 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFlashExtExecute()
396 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFlashExtExecute()
415 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFlashExtExecute()
418 ossaSingleThreadedEnter(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saFlashExtExecute()
428 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saFlashExtExecute()
430 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFlashExtExecute()
438 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFlashExtExecute()
449 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saFlashExtExecute()
451 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFlashExtExecute()
460 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFlashExtExecute()
473 OSSA_WRITE_LE_32(agRoot, pPayload, OSSA_OFFSET_OF(agsaFwFlashOpExt_t, tag), pRequest->HTag); in saFlashExtExecute()
474 …OSSA_WRITE_LE_32(agRoot, pPayload, OSSA_OFFSET_OF(agsaFwFlashOpExt_t,Command ), agFlashExtExe->com… in saFlashExtExecute()
475 …OSSA_WRITE_LE_32(agRoot, pPayload, OSSA_OFFSET_OF(agsaFwFlashOpExt_t,PartOffset ), agFlashExtExe->… in saFlashExtExecute()
476 …OSSA_WRITE_LE_32(agRoot, pPayload, OSSA_OFFSET_OF(agsaFwFlashOpExt_t,DataLength ), agFlashExtExe->… in saFlashExtExecute()
477 …OSSA_WRITE_LE_32(agRoot, pPayload, OSSA_OFFSET_OF(agsaFwFlashOpExt_t,SGLAL ), agFlashExtExe->agSgl… in saFlashExtExecute()
478 …OSSA_WRITE_LE_32(agRoot, pPayload, OSSA_OFFSET_OF(agsaFwFlashOpExt_t,SGLAH ), agFlashExtExe->agSgl… in saFlashExtExecute()
479 …OSSA_WRITE_LE_32(agRoot, pPayload, OSSA_OFFSET_OF(agsaFwFlashOpExt_t,Len ), agFlashExtExe->agSgl->… in saFlashExtExecute()
480 …OSSA_WRITE_LE_32(agRoot, pPayload, OSSA_OFFSET_OF(agsaFwFlashOpExt_t,E_sgl ), agFlashExtExe->agSgl… in saFlashExtExecute()
486 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saFlashExtExecute()
492 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFlashExtExecute()
500 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saFlashExtExecute()
527 agsaRoot_t *agRoot, in mpiFwProfileRsp() argument
532 agsaLLRoot_t *saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in mpiFwProfileRsp()
556 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in mpiFwProfileRsp()
569 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in mpiFwProfileRsp()
571 ossaFwProfileCB(agRoot, agContext, status, len); in mpiFwProfileRsp()
591 agsaRoot_t *agRoot, in mpiFwFlashUpdateRsp() argument
596 agsaLLRoot_t *saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in mpiFwFlashUpdateRsp()
612 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in mpiFwFlashUpdateRsp()
626 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in mpiFwFlashUpdateRsp()
633 ossaFwFlashUpdateCB(agRoot, agContext, status); in mpiFwFlashUpdateRsp()
641 agsaRoot_t *agRoot, in mpiFwExtFlashUpdateRsp() argument
646 agsaLLRoot_t *saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in mpiFwExtFlashUpdateRsp()
668 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in mpiFwExtFlashUpdateRsp()
682 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in mpiFwExtFlashUpdateRsp()
689 ossaFlashExtExecuteCB(agRoot, agContext, Status,Command,&FlashExtRsp); in mpiFwExtFlashUpdateRsp()
714 agsaRoot_t *agRoot, in saGetControllerInfo() argument
726 if (agNULL != agRoot->sdkData) in saGetControllerInfo()
733 if(smIS_SPC6V(agRoot)) in saGetControllerInfo()
737 controllerInfo->hwRevision = (ossaHwRegReadConfig32(agRoot,8) & 0xFF); in saGetControllerInfo()
738 }else if(smIS_SPC12V(agRoot)) in saGetControllerInfo()
742 controllerInfo->hwRevision = (ossaHwRegReadConfig32(agRoot,8) & 0xFF); in saGetControllerInfo()
743 } else if(smIS_SPC(agRoot)) in saGetControllerInfo()
751 controllerInfo->hwRevision = (ossaHwRegReadConfig32(agRoot,8) & 0xFF); in saGetControllerInfo()
754 …SA_DBG1(("saGetControllerInfo: SCRATCH_PAD0 value = 0x%x\n", siHalRegReadExt(agRoot,GEN_MSGU_SCRAT… in saGetControllerInfo()
755 …SA_DBG1(("saGetControllerInfo: SCRATCH_PAD1 value = 0x%x\n", siHalRegReadExt(agRoot,GEN_MSGU_SCRAT… in saGetControllerInfo()
756 …SA_DBG1(("saGetControllerInfo: SCRATCH_PAD2 value = 0x%x\n", siHalRegReadExt(agRoot,GEN_MSGU_SCRAT… in saGetControllerInfo()
757 …SA_DBG1(("saGetControllerInfo: SCRATCH_PAD3 value = 0x%x\n", siHalRegReadExt(agRoot,GEN_MSGU_SCRAT… in saGetControllerInfo()
758 …SA_DBG1(("saGetControllerInfo: SCRATCH_PAD3 value = 0x%x\n", siHalRegReadExt(agRoot,GEN_MSGU_SCRAT… in saGetControllerInfo()
760 if(siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_PAD_0, MSGU_SCRATCH_PAD_0) == 0xFFFFFFFF) in saGetControllerInfo()
763 siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_PAD_0, MSGU_SCRATCH_PAD_0) ) ); in saGetControllerInfo()
767 if(siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_PAD_0, MSGU_SCRATCH_PAD_0) == 0xFFFFFFFF) in saGetControllerInfo()
770 siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_PAD_0, MSGU_SCRATCH_PAD_0) ) ); in saGetControllerInfo()
774 …if( SCRATCH_PAD1_V_ERROR_STATE(siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_PAD_1, MSGU_SCRATCH_PAD_1)… in saGetControllerInfo()
777 siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_PAD_1, MSGU_SCRATCH_PAD_1), in saGetControllerInfo()
778 …( SCRATCH_PAD1_V_ILA_ERROR_STATE(siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_PAD_1, MSGU_SCRATCH_PAD_1… in saGetControllerInfo()
779 …( SCRATCH_PAD1_V_RAAE_ERROR_STATE(siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_PAD_1,MSGU_SCRATCH_PAD_1… in saGetControllerInfo()
780 …( SCRATCH_PAD1_V_IOP0_ERROR_STATE(siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_PAD_1,MSGU_SCRATCH_PAD_1… in saGetControllerInfo()
781 …( SCRATCH_PAD1_V_IOP1_ERROR_STATE(siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_PAD_1,MSGU_SCRATCH_PAD_1… in saGetControllerInfo()
785 if(smIS_SPC(agRoot)) in saGetControllerInfo()
788 …value = ossaHwRegReadExt(agRoot, PCIBAR3, HDA_RSP_OFFSET1MB+HDA_CMD_CODE_OFFSET) & HDA_STATUS_BITS; in saGetControllerInfo()
799 …if(siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_PAD_1, MSGU_SCRATCH_PAD_1) & SCRATCH_PAD1_V_RESERVED… in saGetControllerInfo()
801 … Warning SCRATCH_PAD1 reserved bits set value = 0x%x\n", siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_P… in saGetControllerInfo()
803 if( si_check_V_HDA(agRoot)) in saGetControllerInfo()
817 if(smIS_SPCV(agRoot)) in saGetControllerInfo()
821 ossaStallThread(agRoot, WAIT_INCREMENT); in saGetControllerInfo()
822 value = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_1, MSGU_SCRATCH_PAD_1); in saGetControllerInfo()
823 value1 =siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_2, MSGU_SCRATCH_PAD_2); in saGetControllerInfo()
824 if(smIS_SPCV(agRoot)) in saGetControllerInfo()
847 ossaStallThread(agRoot, WAIT_INCREMENT); in saGetControllerInfo()
848 value = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_1, MSGU_SCRATCH_PAD_1); in saGetControllerInfo()
856 value1 =siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_2,MSGU_SCRATCH_PAD_2); in saGetControllerInfo()
883 MSGUCfgTblBase = siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_PAD_0, MSGU_SCRATCH_PAD_0); in saGetControllerInfo()
890 pcibar = (bit8)mpiGetPCIBarIndex(agRoot, MSGUCfgTblBase); in saGetControllerInfo()
893 controllerInfo->signature = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx); in saGetControllerInfo()
894 …controllerInfo->fwInterfaceRev = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_INT… in saGetControllerInfo()
895 …controllerInfo->fwRevision = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_FW_… in saGetControllerInfo()
896 …controllerInfo->ilaRevision = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_ILA… in saGetControllerInfo()
897 …controllerInfo->maxPendingIO = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_MAX… in saGetControllerInfo()
898 …controllerInfo->maxDevices = (ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_MAX… in saGetControllerInfo()
900 …controllerInfo->maxSgElements = (ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_MAX… in saGetControllerInfo()
902 if( smIS_SPC(agRoot)) in saGetControllerInfo()
904 …saGetControllerInfo: LINK_CTRL 0x%08x Speed 0x%X Lanes 0x%X \n", ossaHwRegReadConfig32(agRoot,128), in saGetControllerInfo()
905 ((ossaHwRegReadConfig32(agRoot,128) & 0x000F0000) >> 16), in saGetControllerInfo()
906 ((ossaHwRegReadConfig32(agRoot,128) & 0x0FF00000) >> 20) )); in saGetControllerInfo()
907 controllerInfo->PCILinkRate = ((ossaHwRegReadConfig32(agRoot,128) & 0x000F0000) >> 16); in saGetControllerInfo()
908 controllerInfo->PCIWidth = ((ossaHwRegReadConfig32(agRoot,128) & 0x0FF00000) >> 20); in saGetControllerInfo()
912 …saGetControllerInfo: LINK_CTRL 0x%08x Speed 0x%X Lanes 0x%X \n", ossaHwRegReadConfig32(agRoot,208), in saGetControllerInfo()
913 ((ossaHwRegReadConfig32(agRoot,208) & 0x000F0000) >> 16), in saGetControllerInfo()
914 ((ossaHwRegReadConfig32(agRoot,208) & 0x0FF00000) >> 20) )); in saGetControllerInfo()
915 controllerInfo->PCILinkRate = ((ossaHwRegReadConfig32(agRoot,208) & 0x000F0000) >> 16); in saGetControllerInfo()
916 controllerInfo->PCIWidth = ((ossaHwRegReadConfig32(agRoot,208) & 0x0FF00000) >> 20); in saGetControllerInfo()
920 …ContrlCapFlag = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_CNT… in saGetControllerInfo()
925 if(smIS_SPCV(agRoot)) in saGetControllerInfo()
927 …controllerInfo->controllerSetting = (bit8)((siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_PAD_1, MSGU_S… in saGetControllerInfo()
931 …controllerInfo->controllerSetting = (bit8)(ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + M… in saGetControllerInfo()
952 if (agNULL != agRoot->sdkData) in saGetControllerInfo()
974 agsaRoot_t *agRoot, in saGetControllerStatus() argument
979 agsaLLRoot_t *saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in saGetControllerStatus()
992 if(siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_PAD_0, MSGU_SCRATCH_PAD_0) == 0xFFFFFFFF) in saGetControllerStatus()
994 …llerStatus:AGSA_RC_FAILURE SCRATCH_PAD0 value = 0x%x\n", siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_P… in saGetControllerStatus()
998 …if(siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_PAD_1, MSGU_SCRATCH_PAD_3) & (OSSA_ENCRYPT_ENGINE_FAI… in saGetControllerStatus()
1000 …SA_DBG1(("saGetControllerStatus: BIST error in SCRATCHPAD 3 0x%x\n", siHalRegReadExt(agRoot,GEN_MS… in saGetControllerStatus()
1003 if(smIS_SPC(agRoot)) in saGetControllerStatus()
1007 controllerStatus->fatalErrorInfo.errorInfo0 = ossaHwRegRead(agRoot, MSGU_SCRATCH_PAD_0); in saGetControllerStatus()
1008 controllerStatus->fatalErrorInfo.errorInfo1 = ossaHwRegRead(agRoot, MSGU_SCRATCH_PAD_1); in saGetControllerStatus()
1009 controllerStatus->fatalErrorInfo.errorInfo2 = ossaHwRegRead(agRoot, MSGU_SCRATCH_PAD_2); in saGetControllerStatus()
1010 controllerStatus->fatalErrorInfo.errorInfo3 = ossaHwRegRead(agRoot, MSGU_SCRATCH_PAD_3); in saGetControllerStatus()
1020 …value = ossaHwRegReadExt(agRoot, PCIBAR3, HDA_RSP_OFFSET1MB+HDA_CMD_CODE_OFFSET) & HDA_STATUS_BITS; in saGetControllerStatus()
1030 value = ossaHwRegRead(agRoot, MSGU_SCRATCH_PAD_1); in saGetControllerStatus()
1031 value1 = ossaHwRegRead(agRoot, MSGU_SCRATCH_PAD_2); in saGetControllerStatus()
1068 ossaStallThread(agRoot, WAIT_INCREMENT); in saGetControllerStatus()
1069 value = ossaHwRegRead(agRoot, MSGU_SCRATCH_PAD_1); in saGetControllerStatus()
1078 value1 = ossaHwRegRead(agRoot, MSGU_SCRATCH_PAD_2); in saGetControllerStatus()
1105 value = ossaHwRegRead(agRoot, MSGU_SCRATCH_PAD_0); in saGetControllerStatus()
1112 mpiReadGSTable(agRoot, &GSTable); in saGetControllerStatus()
1118 value = (bit8)mpiGetPCIBarIndex(agRoot, value); in saGetControllerStatus()
1119 …controllerStatus->fatalErrorInfo.regDumpOffset0 = ossaHwRegReadExt(agRoot, value, value1 + MAIN_FA… in saGetControllerStatus()
1120 …controllerStatus->fatalErrorInfo.regDumpLen0 = ossaHwRegReadExt(agRoot, value, value1 + MAIN_FA… in saGetControllerStatus()
1121 …controllerStatus->fatalErrorInfo.regDumpOffset1 = ossaHwRegReadExt(agRoot, value, value1 + MAIN_FA… in saGetControllerStatus()
1122 …controllerStatus->fatalErrorInfo.regDumpLen1 = ossaHwRegReadExt(agRoot, value, value1 + MAIN_FA… in saGetControllerStatus()
1154 …if(siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_PAD_1, MSGU_SCRATCH_PAD_1) & SCRATCH_PAD1_V_RESERVED… in saGetControllerStatus()
1156 … Warning SCRATCH_PAD1 reserved bits set value = 0x%x\n", siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_P… in saGetControllerStatus()
1158 if( si_check_V_HDA(agRoot)) in saGetControllerStatus()
1162 controllerStatus->fatalErrorInfo.errorInfo0 = ossaHwRegRead(agRoot,V_Scratchpad_0_Register ); in saGetControllerStatus()
1163 controllerStatus->fatalErrorInfo.errorInfo1 = ossaHwRegRead(agRoot,V_Scratchpad_1_Register ); in saGetControllerStatus()
1164 controllerStatus->fatalErrorInfo.errorInfo2 = ossaHwRegRead(agRoot,V_Scratchpad_2_Register ); in saGetControllerStatus()
1165 controllerStatus->fatalErrorInfo.errorInfo3 = ossaHwRegRead(agRoot,V_Scratchpad_3_Register ); in saGetControllerStatus()
1170 ret = si_check_V_Ready(agRoot); in saGetControllerStatus()
1175 mpiReadGSTable(agRoot, &GSTable); in saGetControllerStatus()
1193 if( IS_SDKDATA(agRoot)) in saGetControllerStatus()
1212 …SA_DBG1(("saGetControllerStatus: SCRATCH_PAD0 value = 0x%x\n", ossaHwRegRead(agRoot, V_Scratchpad_… in saGetControllerStatus()
1213 …SA_DBG1(("saGetControllerStatus: SCRATCH_PAD1 value = 0x%x\n", ossaHwRegRead(agRoot, V_Scratchpad_… in saGetControllerStatus()
1214 …SA_DBG1(("saGetControllerStatus: SCRATCH_PAD2 value = 0x%x\n", ossaHwRegRead(agRoot, V_Scratchpad_… in saGetControllerStatus()
1215 …SA_DBG1(("saGetControllerStatus: SCRATCH_PAD3 value = 0x%x\n", ossaHwRegRead(agRoot, V_Scratchpad_… in saGetControllerStatus()
1217 controllerStatus->fatalErrorInfo.errorInfo0 = ossaHwRegRead(agRoot,V_Scratchpad_0_Register ); in saGetControllerStatus()
1218 controllerStatus->fatalErrorInfo.errorInfo1 = ossaHwRegRead(agRoot,V_Scratchpad_1_Register ); in saGetControllerStatus()
1219 controllerStatus->fatalErrorInfo.errorInfo2 = ossaHwRegRead(agRoot,V_Scratchpad_2_Register ); in saGetControllerStatus()
1220 controllerStatus->fatalErrorInfo.errorInfo3 = ossaHwRegRead(agRoot,V_Scratchpad_3_Register ); in saGetControllerStatus()
1345 agsaRoot_t *agRoot, in saGetControllerEventLogInfo() argument
1350 agsaLLRoot_t *saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in saGetControllerEventLogInfo()
1355 SA_ASSERT((agNULL != agRoot), ""); in saGetControllerEventLogInfo()
1384 agsaRoot_t *agRoot, in saGpioEventSetup() argument
1391 agsaLLRoot_t *saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in saGpioEventSetup()
1398 SA_ASSERT((agNULL != agRoot), ""); in saGpioEventSetup()
1401 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGpioEventSetup()
1407 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGpioEventSetup()
1425 OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGPIOCmd_t, tag), pRequest->HTag); in saGpioEventSetup()
1426 OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGPIOCmd_t, eOBIDGeGsGrGw), GPIO_GE_BIT); in saGpioEventSetup()
1427 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGPIOCmd_t, GPIEVChange), gpioEventSetupInfo-… in saGpioEventSetup()
1428 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGPIOCmd_t, GPIEVFall), gpioEventSetupInfo->g… in saGpioEventSetup()
1429 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGPIOCmd_t, GPIEVRise), gpioEventSetupInfo->g… in saGpioEventSetup()
1430 …ret = mpiBuildCmd(agRoot, (bit32 *)&payload, MPI_CATEGORY_SAS_SATA, OPC_INB_GPIO, IOMB_SIZE64, que… in saGpioEventSetup()
1454 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGpioEventSetup()
1477 agsaRoot_t *agRoot, in saGpioPinSetup() argument
1484 agsaLLRoot_t *saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in saGpioPinSetup()
1491 SA_ASSERT((agNULL != agRoot), ""); in saGpioPinSetup()
1494 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGpioPinSetup()
1500 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGpioPinSetup()
1517 OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGPIOCmd_t, tag), pRequest->HTag); in saGpioPinSetup()
1518 OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGPIOCmd_t, eOBIDGeGsGrGw), GPIO_GS_BIT); in saGpioPinSetup()
1519 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGPIOCmd_t, GpioIe), gpioPinSetupInfo->gpioIn… in saGpioPinSetup()
1520 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGPIOCmd_t, OT11_0), gpioPinSetupInfo->gpioTy… in saGpioPinSetup()
1521 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGPIOCmd_t, OT19_12), gpioPinSetupInfo->gpioT… in saGpioPinSetup()
1522 …ret = mpiBuildCmd(agRoot, (bit32 *)&payload, MPI_CATEGORY_SAS_SATA, OPC_INB_GPIO, IOMB_SIZE64, que… in saGpioPinSetup()
1545 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGpioPinSetup()
1567 agsaRoot_t *agRoot, in saGpioRead() argument
1573 agsaLLRoot_t *saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in saGpioRead()
1580 SA_ASSERT((agNULL != agRoot), ""); in saGpioRead()
1583 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGpioRead()
1589 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGpioRead()
1608 OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGPIOCmd_t, tag), pRequest->HTag); in saGpioRead()
1609 OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGPIOCmd_t, eOBIDGeGsGrGw), GPIO_GR_BIT); in saGpioRead()
1610 …ret = mpiBuildCmd(agRoot, (bit32 *)&payload, MPI_CATEGORY_SAS_SATA, OPC_INB_GPIO, IOMB_SIZE64, que… in saGpioRead()
1632 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGpioRead()
1657 agsaRoot_t *agRoot, in saGpioWrite() argument
1665 agsaLLRoot_t *saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in saGpioWrite()
1672 SA_ASSERT((agNULL != agRoot), ""); in saGpioWrite()
1675 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGpioWrite()
1681 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGpioWrite()
1700 OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGPIOCmd_t, tag), pRequest->HTag); in saGpioWrite()
1701 OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGPIOCmd_t, eOBIDGeGsGrGw), GPIO_GW_BIT); in saGpioWrite()
1702 OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGPIOCmd_t, GpioWrMsk), gpioWriteMask); in saGpioWrite()
1703 OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGPIOCmd_t, GpioWrVal), gpioWriteValue); in saGpioWrite()
1704 …ret = mpiBuildCmd(agRoot, (bit32 *)&payload, MPI_CATEGORY_SAS_SATA, OPC_INB_GPIO, IOMB_SIZE64, que… in saGpioWrite()
1728 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGpioWrite()
1751 agsaRoot_t *agRoot, in saSASDiagExecute() argument
1762 SA_ASSERT((agNULL != agRoot), ""); in saSASDiagExecute()
1764 saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in saSASDiagExecute()
1778 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saSASDiagExecute()
1784 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saSASDiagExecute()
1798 if(smIS_SPC(agRoot)) in saSASDiagExecute()
1806 if(smIS_SPCV(agRoot)) in saSASDiagExecute()
1809 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSASDiagExecuteCmd_t, tag), pRequ… in saSASDiagExecute()
1810 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSASDiagExecuteCmd_t, CmdTypeDescPhyId),diag-… in saSASDiagExecute()
1811 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSASDiagExecuteCmd_t, Pat1Pat2), diag-… in saSASDiagExecute()
1812 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSASDiagExecuteCmd_t, Threshold), diag-… in saSASDiagExecute()
1813 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSASDiagExecuteCmd_t, CodePatErrMsk), diag-… in saSASDiagExecute()
1814 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSASDiagExecuteCmd_t, Pmon), diag-… in saSASDiagExecute()
1815 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSASDiagExecuteCmd_t, PERF1CTL), diag-… in saSASDiagExecute()
1816 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSASDiagExecuteCmd_t, THRSHLD1), diag-… in saSASDiagExecute()
1817 …ret = mpiBuildCmd(agRoot, (bit32 *)&payload, MPI_CATEGORY_SAS_SATA, OPC_INB_SAS_DIAG_EXECUTE, IOMB… in saSASDiagExecute()
1822 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsa_SPC_SASDiagExecuteCmd_t, tag), … in saSASDiagExecute()
1823 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsa_SPC_SASDiagExecuteCmd_t, CmdTypeDescPhyId),… in saSASDiagExecute()
1824 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsa_SPC_SASDiagExecuteCmd_t, Pat1Pat2), … in saSASDiagExecute()
1825 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsa_SPC_SASDiagExecuteCmd_t, Threshold), … in saSASDiagExecute()
1826 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsa_SPC_SASDiagExecuteCmd_t, CodePatErrMsk), … in saSASDiagExecute()
1827 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsa_SPC_SASDiagExecuteCmd_t, Pmon), … in saSASDiagExecute()
1828 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsa_SPC_SASDiagExecuteCmd_t, PERF1CTL), … in saSASDiagExecute()
1829 …ret = mpiBuildCmd(agRoot, (bit32 *)&payload, MPI_CATEGORY_SAS_SATA, OPC_INB_SAS_DIAG_EXECUTE, IOMB… in saSASDiagExecute()
1852 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saSASDiagExecute()
1858 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saSASDiagExecute()
1880 agsaRoot_t *agRoot, in saSASDiagStartEnd() argument
1893 SA_ASSERT((agNULL != agRoot), ""); in saSASDiagStartEnd()
1894 if (agRoot == agNULL) in saSASDiagStartEnd()
1899 saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saSASDiagStartEnd()
1912 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saSASDiagStartEnd()
1918 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saSASDiagStartEnd()
1936 … OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSASDiagStartEndCmd_t, tag), pRequest->HTag); in saSASDiagStartEnd()
1937 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSASDiagStartEndCmd_t, OperationPhyId), ((phy… in saSASDiagStartEnd()
1938 …ret = mpiBuildCmd(agRoot, (bit32 *)&payload, MPI_CATEGORY_SAS_SATA, OPC_INB_SAS_DIAG_MODE_START_EN… in saSASDiagStartEnd()
1963 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saSASDiagStartEnd()
1982 agsaRoot_t *agRoot, in saGetTimeStamp() argument
1991 SA_ASSERT((agNULL != agRoot), ""); in saGetTimeStamp()
1992 if (agRoot == agNULL) in saGetTimeStamp()
1997 saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saGetTimeStamp()
2008 SA_ASSERT((agNULL != agRoot), ""); in saGetTimeStamp()
2013 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGetTimeStamp()
2019 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGetTimeStamp()
2039 OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGetTimeStampCmd_t, tag), pRequest->HTag); in saGetTimeStamp()
2042 …ret = mpiBuildCmd(agRoot, (bit32 *)&payload, MPI_CATEGORY_SAS_SATA, OPC_INB_GET_TIME_STAMP, IOMB_S… in saGetTimeStamp()
2066 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGetTimeStamp()
2112 agsaRoot_t *agRoot, in saGetRequestFromFreePool() argument
2116 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saGetRequestFromFreePool()
2120 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGetRequestFromFreePool()
2130 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGetRequestFromFreePool()
2139 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGetRequestFromFreePool()
2158 agsaRoot_t *agRoot, in saReturnRequestToFreePool() argument
2162 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saReturnRequestToFreePool()
2171 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saReturnRequestToFreePool()
2185 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saReturnRequestToFreePool()
2203 agsaRoot_t *agRoot, in saSgpio() argument
2217 SA_ASSERT((agNULL != agRoot), ""); in saSgpio()
2222 pRequest = saGetRequestFromFreePool(agRoot, agContext); in saSgpio()
2234 OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSGpioCmd_t, tag), pRequest->HTag); in saSgpio()
2235 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSGpioCmd_t, regIndexRegTypeFunctionFrameType… in saSgpio()
2240 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSGpioCmd_t, regCount), pSGpioReq->registerCo… in saSgpio()
2246 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSGpioCmd_t, writeData) + (i * 4), pSGpioReq-… in saSgpio()
2251 …ret = mpiBuildCmd(agRoot, (bit32 *)&payload, MPI_CATEGORY_SAS_SATA, OPC_INB_SGPIO, IOMB_SIZE64, qu… in saSgpio()
2255 saReturnRequestToFreePool(agRoot, pRequest); in saSgpio()
2276 agsaRoot_t *agRoot in siSpcGetErrorContent() argument
2280 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in siSpcGetErrorContent()
2283 …value = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_1, MSGU_SCRATCH_PAD_1) & SCRATCH_PAD_STATE_MA… in siSpcGetErrorContent()
2284 …value1 = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_2, MSGU_SCRATCH_PAD_2) & SCRATCH_PAD_STATE_M… in siSpcGetErrorContent()
2290 siGetRegisterDumpGSM(agRoot, (void *)&saRoot->registerDump0[0], in siSpcGetErrorContent()
2292 siGetRegisterDumpGSM(agRoot, (void *)&saRoot->registerDump1[0], in siSpcGetErrorContent()
2309 agsaRoot_t *agRoot in siSpcvGetErrorContent() argument
2313 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in siSpcvGetErrorContent()
2317 value = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_1, MSGU_SCRATCH_PAD_1); in siSpcvGetErrorContent()
2326 siGetRegisterDumpGSM(agRoot, (void *)&saRoot->registerDump0[0], in siSpcvGetErrorContent()
2328 siGetRegisterDumpGSM(agRoot, (void *)&saRoot->registerDump1[0], in siSpcvGetErrorContent()
2359 LOCAL bit32 siWaitForNonFatalTransfer( agsaRoot_t *agRoot,bit32 pcibar) in siWaitForNonFatalTransfer() argument
2367 …SA_DBG4(("siWaitForNonFatalTransfer:0 IBDBS 0x%x\n",ossaHwRegReadExt(agRoot,0 ,V_Inbound_Doorbell_… in siWaitForNonFatalTransfer()
2372 …ossaHwRegWriteExt(agRoot, 0,V_Inbound_Doorbell_Set_Register, SPCV_MSGU_CFG_TABLE_TRANSFER_DEBUG_IN… in siWaitForNonFatalTransfer()
2373 …SA_DBG4(("siWaitForNonFatalTransfer:1 IBDBS 0x%x\n",ossaHwRegReadExt(agRoot,0 ,V_Inbound_Doorbell_… in siWaitForNonFatalTransfer()
2380 ossaStallThread(agRoot, WAIT_INCREMENT); in siWaitForNonFatalTransfer()
2381 ready = ossaHwRegReadExt(agRoot,0 ,V_Inbound_Doorbell_Set_Register ); in siWaitForNonFatalTransfer()
2385 …SA_DBG1(("siWaitForNonFatalTransfer:Timeout IBDBS 0x%x\n",ossaHwRegReadExt(agRoot,0 ,V_Inbound_Doo… in siWaitForNonFatalTransfer()
2389 …SA_DBG4(("siWaitForNonFatalTransfer:3 IBDBS 0x%x\n",ossaHwRegReadExt(agRoot,0 ,V_Inbound_Doorbell_… in siWaitForNonFatalTransfer()
2395 LOCAL bit32 siWaitForFatalTransfer( agsaRoot_t *agRoot,bit32 pcibar) in siWaitForFatalTransfer() argument
2405 ErrorTableOffset = siGetTableOffset( agRoot, MAIN_MERRDCTO_MERRDCES ); in siWaitForFatalTransfer()
2407 … 0x%x\n",ErrorTableOffset+MPI_FATAL_EDUMP_TABLE_STATUS, ossaHwRegReadExt(agRoot,pcibar ,ErrorTable… in siWaitForFatalTransfer()
2408 …%x\n",ErrorTableOffset+MPI_FATAL_EDUMP_TABLE_ACCUM_LEN, ossaHwRegReadExt(agRoot,pcibar ,ErrorTable… in siWaitForFatalTransfer()
2418 …ossaHwRegWriteExt(agRoot,pcibar ,ErrorTableOffset+MPI_FATAL_EDUMP_TABLE_HANDSHAKE, MPI_FATAL_EDUMP… in siWaitForFatalTransfer()
2419 …FatalTransfer:1 MPI_FATAL_EDUMP_TABLE_HANDSHAKE 0x%x\n",ossaHwRegReadExt(agRoot,pcibar ,ErrorTable… in siWaitForFatalTransfer()
2426 ossaStallThread(agRoot, WAIT_INCREMENT); in siWaitForFatalTransfer()
2427 ready = ossaHwRegReadExt(agRoot,0 ,ErrorTableOffset+MPI_FATAL_EDUMP_TABLE_HANDSHAKE ); in siWaitForFatalTransfer()
2442 agsaRoot_t *agRoot, in siFatalErrorBuffer() argument
2453 SA_ASSERT( (agNULL != agRoot), ""); in siFatalErrorBuffer()
2454 saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in siFatalErrorBuffer()
2474 pcibar = siGetPciBar(agRoot); in siFatalErrorBuffer()
2475 ErrorTableOffset = siGetTableOffset( agRoot, MAIN_MERRDCTO_MERRDCES ); in siFatalErrorBuffer()
2478 ossaHwRegReadExt(agRoot,pcibar ,ErrorTableOffset+MPI_FATAL_EDUMP_TABLE_STATUS), in siFatalErrorBuffer()
2479 ossaHwRegReadExt(agRoot,pcibar ,ErrorTableOffset+ MPI_FATAL_EDUMP_TABLE_ACCUM_LEN) )); in siFatalErrorBuffer()
2501 …ossaHwRegWriteExt(agRoot, pcibar,V_MEMBASE_II_ShiftRegister, saRoot->FatalForensicShiftOffset); //… in siFatalErrorBuffer()
2508 …SA_DBG1(("siFatalErrorBuffer: directOffset zero SCRATCH_PAD1 0x%x\n", siHalRegReadExt(agRoot,GEN_M… in siFatalErrorBuffer()
2512 Accum_len = ossaHwRegReadExt(agRoot,pcibar ,ErrorTableOffset+ MPI_FATAL_EDUMP_TABLE_ACCUM_LEN); in siFatalErrorBuffer()
2532 …siPciCpyMem(agRoot,saRoot->FatalBarLoc ,forensicData->BufferType.dataBuf.directData,forensicData->… in siFatalErrorBuffer()
2565 … ossaHwRegWriteExt(agRoot, pcibar,V_MEMBASE_II_ShiftRegister, saRoot->FatalForensicShiftOffset); in siFatalErrorBuffer()
2594 … ossaHwRegReadExt(agRoot,pcibar ,ErrorTableOffset+ MPI_FATAL_EDUMP_TABLE_ACCUM_LEN))); in siFatalErrorBuffer()
2600 ossaHwRegWriteExt(agRoot, pcibar,V_MEMBASE_II_ShiftRegister ,saRoot->FatalForensicShiftOffset); in siFatalErrorBuffer()
2609 siWaitForFatalTransfer( agRoot,pcibar); in siFatalErrorBuffer()
2616 …if( ossaHwRegReadExt(agRoot,pcibar ,ErrorTableOffset+ MPI_FATAL_EDUMP_TABLE_STATUS) != MPI_FATAL_E… in siFatalErrorBuffer()
2620 …rrorBuffer:Step 3 MPI_FATAL_EDUMP_TABLE_STATUS 0x%x\n", ossaHwRegReadExt(agRoot,pcibar ,ErrorTable… in siFatalErrorBuffer()
2625 ossaHwRegWriteExt(agRoot,pcibar ,ErrorTableOffset+MPI_FATAL_EDUMP_TABLE_STATUS, 0 ); in siFatalErrorBuffer()
2647 … ossaHwRegReadExt(agRoot,pcibar ,ErrorTableOffset+ MPI_FATAL_EDUMP_TABLE_ACCUM_LEN))); in siFatalErrorBuffer()
2650 …H_PAD1_V_ERROR_STATE 0x%x\n",SCRATCH_PAD1_V_ERROR_STATE( siHalRegReadExt(agRoot,GEN_MSGU_SCRATCH_P… in siFatalErrorBuffer()
2651 …SA_DBG1(("siFatalErrorBuffer: SCRATCH_PAD0 value = 0x%x\n", siHalRegReadExt(agRoot,GEN_MSGU_SCRATC… in siFatalErrorBuffer()
2652 …SA_DBG1(("siFatalErrorBuffer: SCRATCH_PAD1 value = 0x%x\n", siHalRegReadExt(agRoot,GEN_MSGU_SCRATC… in siFatalErrorBuffer()
2653 …SA_DBG1(("siFatalErrorBuffer: SCRATCH_PAD2 value = 0x%x\n", siHalRegReadExt(agRoot,GEN_MSGU_SCRATC… in siFatalErrorBuffer()
2654 …SA_DBG1(("siFatalErrorBuffer: SCRATCH_PAD3 value = 0x%x\n", siHalRegReadExt(agRoot,GEN_MSGU_SCRATC… in siFatalErrorBuffer()
2675 agsaRoot_t *agRoot, in siNonFatalErrorBuffer() argument
2690 SA_ASSERT( (agNULL != agRoot), "agRoot"); in siNonFatalErrorBuffer()
2691 saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in siNonFatalErrorBuffer()
2700 pcibar = siGetPciBar(agRoot); in siNonFatalErrorBuffer()
2701 ErrorTableOffset = siGetTableOffset( agRoot, MAIN_MERRDCTO_MERRDCES ); in siNonFatalErrorBuffer()
2707 ossaHwRegReadExt(agRoot,pcibar,ErrorTableOffset + MPI_FATAL_EDUMP_TABLE_STATUS))); in siNonFatalErrorBuffer()
2710 ossaHwRegReadExt(agRoot,pcibar,ErrorTableOffset + MPI_FATAL_EDUMP_TABLE_ACCUM_LEN))); in siNonFatalErrorBuffer()
2740 ossaHwRegWriteExt(agRoot, pcibar, ErrorTableOffset + MPI_FATAL_EDUMP_TABLE_STATUS, 0); in siNonFatalErrorBuffer()
2752 ossaHwRegReadExt(agRoot,pcibar ,ErrorTableOffset+MPI_FATAL_EDUMP_TABLE_STATUS), in siNonFatalErrorBuffer()
2753 ossaHwRegReadExt(agRoot,pcibar ,ErrorTableOffset+ MPI_FATAL_EDUMP_TABLE_ACCUM_LEN) )); in siNonFatalErrorBuffer()
2756 ossaHwRegReadExt(agRoot, 0,V_Scratchpad_Rsvd_0_Register) )); in siNonFatalErrorBuffer()
2757 ossaHwRegWriteExt(agRoot, 0,V_Scratchpad_Rsvd_0_Register ,0); in siNonFatalErrorBuffer()
2765 …ossaHwRegWriteExt(agRoot, pcibar, ErrorTableOffset + MPI_FATAL_EDUMP_TABLE_LO_OFFSET, saRoot->memo… in siNonFatalErrorBuffer()
2766 …ossaHwRegWriteExt(agRoot, pcibar, ErrorTableOffset + MPI_FATAL_EDUMP_TABLE_HI_OFFSET, saRoot->memo… in siNonFatalErrorBuffer()
2767 ossaHwRegWriteExt(agRoot, pcibar, ErrorTableOffset + MPI_FATAL_EDUMP_TABLE_LENGTH, biggest); in siNonFatalErrorBuffer()
2770 ossaHwRegWriteExt(agRoot, pcibar, ErrorTableOffset + MPI_FATAL_EDUMP_TABLE_STATUS, 0); in siNonFatalErrorBuffer()
2771 ossaHwRegWriteExt(agRoot, pcibar, ErrorTableOffset + MPI_FATAL_EDUMP_TABLE_ACCUM_LEN, 0); in siNonFatalErrorBuffer()
2775 ossaHwRegReadExt(agRoot,pcibar,ErrorTableOffset + MPI_FATAL_EDUMP_TABLE_STATUS ))); in siNonFatalErrorBuffer()
2778 ossaHwRegReadExt(agRoot, pcibar, ErrorTableOffset + MPI_FATAL_EDUMP_TABLE_ACCUM_LEN))); in siNonFatalErrorBuffer()
2780 if( 0 != ossaHwRegReadExt(agRoot, pcibar, ErrorTableOffset + MPI_FATAL_EDUMP_TABLE_ACCUM_LEN)) in siNonFatalErrorBuffer()
2784 ossaHwRegReadExt(agRoot, pcibar, ErrorTableOffset + MPI_FATAL_EDUMP_TABLE_ACCUM_LEN))); in siNonFatalErrorBuffer()
2797 siWaitForNonFatalTransfer(agRoot,pcibar); in siNonFatalErrorBuffer()
2800 ossaHwRegReadExt(agRoot,pcibar ,ErrorTableOffset+MPI_FATAL_EDUMP_TABLE_STATUS), in siNonFatalErrorBuffer()
2801 ossaHwRegReadExt(agRoot,pcibar ,ErrorTableOffset+ MPI_FATAL_EDUMP_TABLE_ACCUM_LEN) )); in siNonFatalErrorBuffer()
2807 ready = ossaHwRegReadExt(agRoot,pcibar,ErrorTableOffset + MPI_FATAL_EDUMP_TABLE_STATUS ); in siNonFatalErrorBuffer()
2810 ossaStallThread(agRoot, WAIT_INCREMENT); in siNonFatalErrorBuffer()
2811 ready = ossaHwRegReadExt(agRoot,pcibar ,ErrorTableOffset + MPI_FATAL_EDUMP_TABLE_STATUS ); in siNonFatalErrorBuffer()
2812 …forensicData->BufferType.dataBuf.directOffset = ossaHwRegReadExt(agRoot,pcibar,ErrorTableOffset + … in siNonFatalErrorBuffer()
2815 …data available MPI_FATAL_EDUMP_TABLE_ACCUM_LEN 0x%x\n", ossaHwRegReadExt(agRoot,pcibar,ErrorTableO… in siNonFatalErrorBuffer()
2857 agsaRoot_t *agRoot, in siGetForensicData() argument
2863 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in siGetForensicData()
2886 if(smIS_SPC(agRoot)) in siGetForensicData()
2900 …if (AGSA_RC_FAILURE == siBar4Shift(agRoot, BAR_SHIFT_GSM_OFFSET + forensicData->BufferType.dataBuf… in siGetForensicData()
2915 status = siGSMDump( agRoot, in siGetForensicData()
2975 status = siNonFatalErrorBuffer(agRoot,forensicData); in siGetForensicData()
2985 status = siFatalErrorBuffer(agRoot,forensicData ); in siGetForensicData()
3004 agsaRoot_t *agRoot, in saGetForensicData() argument
3010 status = siGetForensicData(agRoot, agContext, forensicData); in saGetForensicData()
3011 ossaGetForensicDataCB(agRoot, agContext, status, forensicData); in saGetForensicData()
3016 agsaRoot_t *agRoot, in saGetIOErrorStats() argument
3021 agsaLLRoot_t *saRoot = (agsaLLRoot_t*)agRoot->sdkData; in saGetIOErrorStats()
3024 ossaGetIOErrorStatsCB(agRoot, agContext, status, &saRoot->IoErrorCount); in saGetIOErrorStats()
3036 agsaRoot_t *agRoot, in saGetIOEventStats() argument
3041 agsaLLRoot_t *saRoot = (agsaLLRoot_t*)agRoot->sdkData; in saGetIOEventStats()
3044 ossaGetIOEventStatsCB(agRoot, agContext, status, &saRoot->IoEventCount); in saGetIOEventStats()
3071 agsaRoot_t *agRoot, in saGetRegisterDump() argument
3084 SA_ASSERT((agNULL != agRoot), ""); in saGetRegisterDump()
3086 saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saGetRegisterDump()
3101 ossaGetRegisterDumpCB(agRoot, agContext, OSSA_FAILURE); in saGetRegisterDump()
3112 …ret = siGSMDump(agRoot, regDumpInfo->regDumpOffset, regDumpInfo->directLen, regDumpInfo->directDat… in saGetRegisterDump()
3114 ossaGetRegisterDumpCB(agRoot, agContext, ret); in saGetRegisterDump()
3123 if(smIS_SPC(agRoot)) in saGetRegisterDump()
3126 }else if(smIS_SPCV(agRoot)) in saGetRegisterDump()
3135 ret = siGSMDump(agRoot, offset, regDumpInfo->directLen, regDumpInfo->directData); in saGetRegisterDump()
3137 ossaGetRegisterDumpCB(agRoot, agContext, ret); in saGetRegisterDump()
3142 if(smIS_SPC(agRoot)) { in saGetRegisterDump()
3143 siSpcGetErrorContent(agRoot); in saGetRegisterDump()
3145 else if(smIS_SPCV(agRoot)) { in saGetRegisterDump()
3146 siSpcvGetErrorContent(agRoot); in saGetRegisterDump()
3173 ossaGetRegisterDumpCB(agRoot, agContext, OSSA_SUCCESS); in saGetRegisterDump()
3178 ret = mpiNVMReadRegDumpCmd(agRoot, agContext, queueNum, in saGetRegisterDump()
3213 agsaRoot_t *agRoot, in siGetRegisterDumpGSM() argument
3220 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in siGetRegisterDumpGSM()
3228 SA_ASSERT((agNULL != agRoot), ""); in siGetRegisterDumpGSM()
3268 ret = siGSMDump(agRoot, rDumpOffset, len, dst); in siGetRegisterDumpGSM()
3292 agsaRoot_t *agRoot, in saGetNVMDCommand() argument
3301 SA_ASSERT((agNULL != agRoot), ""); in saGetNVMDCommand()
3304 ret = mpiGetNVMDCmd(agRoot, agContext, NVMDInfo, queueNum); in saGetNVMDCommand()
3327 agsaRoot_t *agRoot, in saSetNVMDCommand() argument
3336 SA_ASSERT((agNULL != agRoot), ""); in saSetNVMDCommand()
3339 ret = mpiSetNVMDCmd(agRoot, agContext, NVMDInfo, queueNum); in saSetNVMDCommand()
3346 agsaRoot_t *agRoot, in saSendSMPIoctl() argument
3367 saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saSendSMPIoctl()
3371 SA_ASSERT((agNULL != agRoot), ""); in saSendSMPIoctl()
3376 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saSendSMPIoctl()
3391 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saSendSMPIoctl()
3409 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saSendSMPIoctl()
3436 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saSendSMPIoctl()
3454 ossaSingleThreadedEnter(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saSendSMPIoctl()
3465 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saSendSMPIoctl()
3468 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saSendSMPIoctl()
3472 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saSendSMPIoctl()
3483 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saSendSMPIoctl()
3486 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saSendSMPIoctl()
3490 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saSendSMPIoctl()
3497 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saSendSMPIoctl()
3501 if(smIS_SPC(agRoot)) in saSendSMPIoctl()
3509 OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSMPCmd_t, tag), pRequest->HTag); in saSendSMPIoctl()
3510 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSMPCmd_t, deviceId), pDevice->DeviceMapIndex… in saSendSMPIoctl()
3526 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSMPCmd_t, SMPCmd[4]), (pSMPFrame->outFrameAd… in saSendSMPIoctl()
3527 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSMPCmd_t, SMPCmd[5]), (pSMPFrame->outFrameAd… in saSendSMPIoctl()
3528 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSMPCmd_t, SMPCmd[6]), (pSMPFrame->outFrameLe… in saSendSMPIoctl()
3530 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSMPCmd_t, SMPCmd[8]), (pSMPFrame->inFrameAdd… in saSendSMPIoctl()
3531 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSMPCmd_t, SMPCmd[9]), (pSMPFrame->inFrameAdd… in saSendSMPIoctl()
3532 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSMPCmd_t, SMPCmd[10]), (pSMPFrame->inFrameLe… in saSendSMPIoctl()
3539 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSMPCmd_t, IR_IP_OV_res_phyId_DPdLen_res), IR… in saSendSMPIoctl()
3548 ossaSingleThreadedEnter(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saSendSMPIoctl()
3551 ret = mpiSMPCmd(agRoot, pMessage, OPC_INB_SMP_REQUEST, (agsaSMPCmd_t *)payload_ptr, inq, outq); in saSendSMPIoctl()
3554 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saSendSMPIoctl()
3567 OSSA_WRITE_LE_32(agRoot, &vpayload, OSSA_OFFSET_OF(agsaSMPCmd_V_t, tag), pRequest->HTag); in saSendSMPIoctl()
3568 …OSSA_WRITE_LE_32(agRoot, &vpayload, OSSA_OFFSET_OF(agsaSMPCmd_V_t, deviceId), pDevice->DeviceMapIn… in saSendSMPIoctl()
3569 …OSSA_WRITE_LE_32(agRoot, &vpayload, OSSA_OFFSET_OF(agsaSMPCmd_V_t,SMPHDR ), *((bit32*)pSMPFrame->o… in saSendSMPIoctl()
3583 …OSSA_WRITE_LE_32(agRoot, &vpayload, OSSA_OFFSET_OF(agsaSMPCmd_V_t,IndirL_SMPRF15_12 ), (pSMPFrame-… in saSendSMPIoctl()
3584 …OSSA_WRITE_LE_32(agRoot, &vpayload, OSSA_OFFSET_OF(agsaSMPCmd_V_t,IndirH_or_SMPRF19_16 ), (pSMPFra… in saSendSMPIoctl()
3585 …OSSA_WRITE_LE_32(agRoot, &vpayload, OSSA_OFFSET_OF(agsaSMPCmd_V_t,IndirLen_or_SMPRF23_20 ), (pSMPF… in saSendSMPIoctl()
3587 …OSSA_WRITE_LE_32(agRoot, &vpayload, OSSA_OFFSET_OF(agsaSMPCmd_V_t,ISRAL_or_SMPRF31_28), (pSMPFrame… in saSendSMPIoctl()
3588 …OSSA_WRITE_LE_32(agRoot, &vpayload, OSSA_OFFSET_OF(agsaSMPCmd_V_t,ISRAH_or_SMPRF35_32), (pSMPFrame… in saSendSMPIoctl()
3589 …OSSA_WRITE_LE_32(agRoot, &vpayload, OSSA_OFFSET_OF(agsaSMPCmd_V_t,ISRL_or_SMPRF39_36), (pSMPFrame-… in saSendSMPIoctl()
3602 …OSSA_WRITE_LE_32(agRoot, &vpayload, OSSA_OFFSET_OF(agsaSMPCmd_V_t, IR_IP_OV_res_phyId_DPdLen_res),… in saSendSMPIoctl()
3604 …OSSA_WRITE_LE_32(agRoot, &vpayload, OSSA_OFFSET_OF(agsaSMPCmd_V_t, ISRAL_or_SMPRF31_28 ), (pSMPFra… in saSendSMPIoctl()
3605 …OSSA_WRITE_LE_32(agRoot, &vpayload, OSSA_OFFSET_OF(agsaSMPCmd_V_t, ISRAH_or_SMPRF35_32 ), (pSMPFra… in saSendSMPIoctl()
3606 …OSSA_WRITE_LE_32(agRoot, &vpayload, OSSA_OFFSET_OF(agsaSMPCmd_V_t, ISRL_or_SMPRF39_36 ), (pSMPFram… in saSendSMPIoctl()
3611 …OSSA_WRITE_LE_32(agRoot, &vpayload, OSSA_OFFSET_OF(agsaSMPCmd_V_t, IR_IP_OV_res_phyId_DPdLen_res),… in saSendSMPIoctl()
3618 ossaSingleThreadedEnter(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saSendSMPIoctl()
3622 ret = mpiSMPCmd(agRoot, pMessage, OPC_INB_SMP_REQUEST, (agsaSMPCmd_t *)payload_ptr, inq, outq); in saSendSMPIoctl()
3625 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); in saSendSMPIoctl()
3654 agsaRoot_t *agRoot, in saReconfigSASParams() argument
3663 SA_ASSERT((agNULL != agRoot), ""); in saReconfigSASParams()
3665 if(smIS_SPCV(agRoot)) in saReconfigSASParams()
3672 ret = mpiSasReinitializeCmd(agRoot, agContext, agSASConfig, queueNum); in saReconfigSASParams()
3693 agsaRoot_t *agRoot, in siGSMDump() argument
3724 if( smIS_SPCV(agRoot)) in siGSMDump()
3728 else if( smIS_SPC(agRoot)) in siGSMDump()
3754 value = ossaHwRegReadExt(agRoot, bar, (workOffset + offset) & 0x0000FFFF); in siGSMDump()
3763 value = ossaHwRegReadExt(agRoot, bar, (workOffset + offset) & 0x0000FFFF); in siGSMDump()
3772 if (AGSA_RC_FAILURE == siBar4Shift(agRoot, 0x0)) in siGSMDump()
3783 agsaRoot_t *agRoot, in saPCIeDiagExecute() argument
3796 SA_ASSERT((agNULL != agRoot), ""); in saPCIeDiagExecute()
3798 saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in saPCIeDiagExecute()
3835 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saPCIeDiagExecute()
3841 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saPCIeDiagExecute()
3854 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saPCIeDiagExecute()
3859 if(smIS_SPCV(agRoot)) in saPCIeDiagExecute()
3867 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaPCIeDiagExecuteCmd_t, tag) , pRequest… in saPCIeDiagExecute()
3868 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaPCIeDiagExecuteCmd_t, CmdTypeDesc), diag->co… in saPCIeDiagExecute()
3869 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaPCIeDiagExecuteCmd_t, UUM_EDA) , diag->fl… in saPCIeDiagExecute()
3870 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaPCIeDiagExecuteCmd_t, UDTR1_UDT0) , UDTR1_UD… in saPCIeDiagExecute()
3871 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaPCIeDiagExecuteCmd_t, UDT5_UDT2) , UDT5_UDT… in saPCIeDiagExecute()
3872 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaPCIeDiagExecuteCmd_t, UDTR5_UDTR2), UDTR5_UD… in saPCIeDiagExecute()
3873 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaPCIeDiagExecuteCmd_t, Res_IOS) , diag->in… in saPCIeDiagExecute()
3874 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaPCIeDiagExecuteCmd_t, rdAddrLower), diag->rd… in saPCIeDiagExecute()
3875 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaPCIeDiagExecuteCmd_t, rdAddrUpper), diag->rd… in saPCIeDiagExecute()
3876 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaPCIeDiagExecuteCmd_t, wrAddrLower), diag->wr… in saPCIeDiagExecute()
3877 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaPCIeDiagExecuteCmd_t, wrAddrUpper), diag->wr… in saPCIeDiagExecute()
3878 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaPCIeDiagExecuteCmd_t, len), diag->le… in saPCIeDiagExecute()
3879 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaPCIeDiagExecuteCmd_t, pattern), diag->pa… in saPCIeDiagExecute()
3880 …ret = mpiBuildCmd(agRoot, (bit32 *)&payload, MPI_CATEGORY_SAS_SATA, OPC_INB_PCIE_DIAG_EXECUTE, IOM… in saPCIeDiagExecute()
3885 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsa_SPC_PCIDiagExecuteCmd_t, tag), pReq… in saPCIeDiagExecute()
3886 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsa_SPC_PCIDiagExecuteCmd_t, CmdTypeDesc), diag… in saPCIeDiagExecute()
3887 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsa_SPC_PCIDiagExecuteCmd_t, rdAddrLower), diag… in saPCIeDiagExecute()
3888 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsa_SPC_PCIDiagExecuteCmd_t, rdAddrUpper), diag… in saPCIeDiagExecute()
3889 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsa_SPC_PCIDiagExecuteCmd_t, wrAddrLower), diag… in saPCIeDiagExecute()
3890 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsa_SPC_PCIDiagExecuteCmd_t, wrAddrUpper), diag… in saPCIeDiagExecute()
3891 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsa_SPC_PCIDiagExecuteCmd_t, len), diag… in saPCIeDiagExecute()
3892 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsa_SPC_PCIDiagExecuteCmd_t, pattern), diag… in saPCIeDiagExecute()
3893 …ret = mpiBuildCmd(agRoot, (bit32 *)&payload, MPI_CATEGORY_SAS_SATA, OPC_INB_PCIE_DIAG_EXECUTE, IOM… in saPCIeDiagExecute()
3903 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saPCIeDiagExecute()
3909 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saPCIeDiagExecute()
3923 agsaRoot_t *agRoot, in saGetDFEData() argument
3939 SA_ASSERT((agNULL != agRoot), ""); in saGetDFEData()
3940 saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in saGetDFEData()
3945 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGetDFEData()
3951 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGetDFEData()
3964 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGetDFEData()
3969 if(smIS_SPCV(agRoot)) in saGetDFEData()
3972 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGetDDEFDataCmd_t, tag) , pRequest->HT… in saGetDFEData()
3973 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGetDDEFDataCmd_t, reserved_In_Ln) , r… in saGetDFEData()
3974 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGetDDEFDataCmd_t, MCNT) , interations… in saGetDFEData()
3975 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGetDDEFDataCmd_t, Buf_AddrL) , agSgl-… in saGetDFEData()
3976 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGetDDEFDataCmd_t, Buf_AddrH) , agSgl-… in saGetDFEData()
3977 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGetDDEFDataCmd_t, Buf_Len) , agSgl->l… in saGetDFEData()
3978 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaGetDDEFDataCmd_t, E_reserved) , agSgl… in saGetDFEData()
3979 …ret = mpiBuildCmd(agRoot, (bit32 *)&payload, MPI_CATEGORY_SAS_SATA, OPC_INB_GET_DFE_DATA, IOMB_SIZ… in saGetDFEData()
3995 ossaSingleThreadedEnter(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGetDFEData()
3999 ossaSingleThreadedLeave(agRoot, LL_IOREQ_LOCKEQ_LOCK); in saGetDFEData()