Lines Matching refs:agRoot

74   agsaRoot_t              *agRoot,  in saGetRequirements()  argument
96 …ot %p swConfig %p memoryRequirement %p usecsPerTick %p maxNumLocks %p\n",agRoot, swConfig,memoryRe… in saGetRequirements()
101 siConfiguration(agRoot, &mpiConfig, agNULL, swConfig); in saGetRequirements()
303 agsaRoot_t *agRoot, in saInitialize() argument
331 SA_ASSERT((agNULL != agRoot), ""); in saInitialize()
342 si_macro_check(agRoot); in saInitialize()
346 if(! smIS_SPC(agRoot)) in saInitialize()
348 if(! smIS_SPCV(agRoot)) in saInitialize()
350 …G1(("saInitialize: ossaHwRegReadConfig32 ID reads as %08X\n", ossaHwRegReadConfig32(agRoot,0 ) )); in saInitialize()
358 if( smIS_SPC(agRoot) && smIS_SPCV(agRoot)) in saInitialize()
360 …rror !smIS_SPC %d smIS_SPCv %d smIS_SFC %d\n",smIS_SPC(agRoot),smIS_SPCV(agRoot), smIS_SFC(agRoot)… in saInitialize()
402 agRoot->sdkData = (void *) saRoot; in saInitialize()
436 siEnableTracing ( agRoot ); in saInitialize()
473 …SA_DBG1(("saInitialize: hwDEVICE_ID_VENDID 0x%08x\n", ossaHwRegReadConfig32(agRoot,0))); in saInitialize()
474 …SA_DBG1(("saInitialize: CFGSTAT CFGCMD 0x%08x\n", ossaHwRegReadConfig32(agRoot,4))); in saInitialize()
475 …SA_DBG1(("saInitialize: CLSCODE REVID 0x%08x\n", ossaHwRegReadConfig32(agRoot,8))); in saInitialize()
476 …SA_DBG1(("saInitialize: BIST DT HDRTYPE LATTIM CLSIZE 0x%08x\n", ossaHwRegReadConfig32(agRoot,12))… in saInitialize()
477 …SA_DBG1(("saInitialize: hwSVID 0x%08x\n", ossaHwRegReadConfig32(agRoot,44))… in saInitialize()
488 siPCITriger(agRoot); in saInitialize()
493 saRoot->ChipId = (ossaHwRegReadConfig32(agRoot,0) & 0xFFFF0000); in saInitialize()
496 siUpdateBarOffsetTable(agRoot,saRoot->ChipId); in saInitialize()
500 if(! smIS_SPC(agRoot)) in saInitialize()
512 if(! smIS_SPC(agRoot)) in saInitialize()
522 if(! smIS_SPCV(agRoot)) in saInitialize()
532 if(! smIS_SPCV(agRoot)) in saInitialize()
542 if(! smIS_SPCV(agRoot)) in saInitialize()
552 if(! smIS_SPCV(agRoot)) in saInitialize()
570 if(! smIS_SPCV(agRoot)) in saInitialize()
580 if(! smIS_SPCV(agRoot)) in saInitialize()
590 if(! smIS_SPCV(agRoot)) in saInitialize()
600 if(! smIS_SPCV(agRoot)) in saInitialize()
610 if(! smIS_SPCV(agRoot)) in saInitialize()
620 if(! smIS_SPCV(agRoot)) in saInitialize()
630 if(! smIS_SPCV(agRoot)) in saInitialize()
640 if(! smIS_SPCV(agRoot)) in saInitialize()
650 if(! smIS_SPCV(agRoot)) in saInitialize()
660 if(! smIS_SPCV(agRoot)) in saInitialize()
670 if(! smIS_SPCV(agRoot)) in saInitialize()
689 if( smIS_SPC(agRoot)) in saInitialize()
691 …ialize: Rev is A %d B %d C %d\n",smIsCfgSpcREV_A(agRoot),smIsCfgSpcREV_B(agRoot),smIsCfgSpcREV_C(a… in saInitialize()
695 …Initialize: Rev is A %d B %d C %d\n",smIsCfgVREV_A(agRoot),smIsCfgVREV_B(agRoot),smIsCfgVREV_C(agR… in saInitialize()
698 if( smIS_SPC(agRoot)) in saInitialize()
700 …DBG1(("saInitialize: LINK_CTRL 0x%08x Speed 0x%X Lanes 0x%X \n", ossaHwRegReadConfig32(agRoot,128), in saInitialize()
701 ((ossaHwRegReadConfig32(agRoot,128) & 0x000F0000) >> 16), in saInitialize()
702 ((ossaHwRegReadConfig32(agRoot,128) & 0x0FF00000) >> 20) )); in saInitialize()
706 …DBG1(("saInitialize: LINK_CTRL 0x%08x Speed 0x%X Lanes 0x%X \n", ossaHwRegReadConfig32(agRoot,208), in saInitialize()
707 ((ossaHwRegReadConfig32(agRoot,208) & 0x000F0000) >> 16), in saInitialize()
708 ((ossaHwRegReadConfig32(agRoot,208) & 0x0FF00000) >> 20) )); in saInitialize()
711 …SA_DBG1(("saInitialize: V_SoftResetRegister %08X\n", ossaHwRegReadExt(agRoot, PCIBAR0, V_SoftRes… in saInitialize()
953 siConfiguration(agRoot, &saRoot->mpiConfig, hwConfig, swConfig); in saInitialize()
974 if(smIS_SPC(agRoot)) in saInitialize()
983 ret = siConfiguration(agRoot, &saRoot->mpiConfig, hwConfig, swConfig); in saInitialize()
987 agRoot->sdkData = agNULL; in saInitialize()
1041 agRoot->sdkData = agNULL; in saInitialize()
1049 agRoot->sdkData = agNULL; in saInitialize()
1057 agRoot->sdkData = agNULL; in saInitialize()
1065 agRoot->sdkData = agNULL; in saInitialize()
1073 if(smIS_SPC(agRoot)) in saInitialize()
1139 if( smIS64bInt(agRoot)) in saInitialize()
1153 saRoot->DisableInterrupts(agRoot, 0); in saInitialize()
1174 …SA_DBG1(("saInitialize: SCRATCH_PAD0 value = 0x%x\n", ossaHwRegReadExt(agRoot, PCIBAR0, MSGU_SCRAT… in saInitialize()
1175 …SA_DBG1(("saInitialize: SCRATCH_PAD1 value = 0x%x\n", ossaHwRegReadExt(agRoot, PCIBAR0, MSGU_SCRAT… in saInitialize()
1176 …SA_DBG1(("saInitialize: SCRATCH_PAD2 value = 0x%x\n", ossaHwRegReadExt(agRoot, PCIBAR0, MSGU_SCRAT… in saInitialize()
1177 …SA_DBG1(("saInitialize: SCRATCH_PAD3 value = 0x%x\n", ossaHwRegReadExt(agRoot, PCIBAR0, MSGU_SCRAT… in saInitialize()
1180 if(smIS_SPCV(agRoot)) in saInitialize()
1185 ScratchPad1 = ossaHwRegRead(agRoot,V_Scratchpad_1_Register); in saInitialize()
1186 ScratchPad3 = ossaHwRegRead(agRoot,V_Scratchpad_3_Register); in saInitialize()
1192 …:Warning Encryption Issue SCRATCH_PAD3 value = 0x%x\n", ossaHwRegReadExt(agRoot, PCIBAR0, MSGU_SCR… in saInitialize()
1197 if( smIS_SPC(agRoot)) in saInitialize()
1205 …if (AGSA_RC_FAILURE == siHDAMode(agRoot, swConfig->hostDirectAccessMode, (agsaFwImg_t *)swConfig->… in saInitialize()
1208 agRoot->sdkData = agNULL; in saInitialize()
1214 …SA_DBG1(("saInitialize:1 Going to HDA mode HDA 0x%X \n",ossaHwRegReadExt(agRoot, PCIBAR3, HDA_RSP_… in saInitialize()
1217 siSpcSoftReset(agRoot, SPC_HDASOFT_RESET_SIGNATURE); in saInitialize()
1218 …SA_DBG1(("saInitialize: Double_Reset_HDA HDA 0x%X \n",ossaHwRegReadExt(agRoot, PCIBAR3, HDA_RSP_OF… in saInitialize()
1227 …if (BOOTTLOADERHDA_IDLE == (ossaHwRegReadExt(agRoot, PCIBAR3, HDA_RSP_OFFSET1MB+HDA_CMD_CODE_OFFSE… in saInitialize()
1237 siSpcSoftReset(agRoot, SPC_HDASOFT_RESET_SIGNATURE); in saInitialize()
1238 …SA_DBG1(("saInitialize: 2 Going to HDA mode HDA %X \n",ossaHwRegReadExt(agRoot, PCIBAR3, HDA_RSP_O… in saInitialize()
1243 …SA_DBG1(("saInitialize: could not start HDA mode HDA %X \n",ossaHwRegReadExt(agRoot, PCIBAR3, HDA_… in saInitialize()
1254 …if (BOOTTLOADERHDA_IDLE == (ossaHwRegReadExt(agRoot, PCIBAR3, HDA_RSP_OFFSET1MB+HDA_CMD_CODE_OFFSE… in saInitialize()
1273 hda_status = (ossaHwRegReadExt(agRoot, PCIBAR0, SPC_V_HDA_RESPONSE_OFFSET+28)); in saInitialize()
1277 siScratchDump(agRoot); in saInitialize()
1281 soft_reset_status = siSoftReset(agRoot, SPC_HDASOFT_RESET_SIGNATURE); in saInitialize()
1284 agRoot->sdkData = agNULL; in saInitialize()
1295 soft_reset_status = siSoftReset(agRoot, SPC_HDASOFT_RESET_SIGNATURE); in saInitialize()
1296 hda_status = (ossaHwRegReadExt(agRoot, PCIBAR0, SPC_V_HDA_RESPONSE_OFFSET+28)); in saInitialize()
1304 agRoot->sdkData = agNULL; in saInitialize()
1311 …if (AGSA_RC_FAILURE == siHDAMode_V(agRoot, swConfig->hostDirectAccessMode, (agsaFwImg_t *)swConfig… in saInitialize()
1315 siChipResetV(agRoot, SPC_HDASOFT_RESET_SIGNATURE); in saInitialize()
1316 agRoot->sdkData = agNULL; in saInitialize()
1340 if(smIS_SPC(agRoot)) in saInitialize()
1342 if( smIS_spc8081(agRoot)) in saInitialize()
1344 if (AGSA_RC_FAILURE == siBar4Shift(agRoot, MBIC_GSM_SM_BASE)) in saInitialize()
1349 siSpcSoftReset(agRoot, SPC_SOFT_RESET_SIGNATURE); in saInitialize()
1351 if(smIS_SPCV(agRoot)) in saInitialize()
1354 siChipResetV(agRoot, SPC_SOFT_RESET_SIGNATURE); in saInitialize()
1358 ret = mpiInitialize(agRoot, &mpiMemoryAllocated, &saRoot->mpiConfig); in saInitialize()
1362 if( ret == AGSA_RC_FAILURE && Tried_NO_HDA == agFALSE && smIS_SPC(agRoot)) in saInitialize()
1367 siSoftReset(agRoot, SPC_SOFT_RESET_SIGNATURE); in saInitialize()
1368 …SA_DBG1(("saInitialize: 3 Going to HDA mode HDA %X \n",ossaHwRegReadExt(agRoot, PCIBAR3, HDA_RSP_O… in saInitialize()
1377 …SA_DBG1(("saInitialize: SCRATCH_PAD0 value = 0x%x\n", ossaHwRegRead(agRoot, V_Scratchpad_0_Registe… in saInitialize()
1378 …SA_DBG1(("saInitialize: SCRATCH_PAD1 value = 0x%x\n", ossaHwRegRead(agRoot, V_Scratchpad_1_Registe… in saInitialize()
1379 …SA_DBG1(("saInitialize: SCRATCH_PAD2 value = 0x%x\n", ossaHwRegRead(agRoot, V_Scratchpad_2_Registe… in saInitialize()
1380 …SA_DBG1(("saInitialize: SCRATCH_PAD3 value = 0x%x\n", ossaHwRegRead(agRoot, V_Scratchpad_3_Registe… in saInitialize()
1384 ossaDisableInterrupts(agRoot,saRoot->swConfig.fatalErrorInterruptVector ); in saInitialize()
1387 agRoot->sdkData = agNULL; in saInitialize()
1393 if(smIS_SPCV(agRoot)) in saInitialize()
1400 ossaHwRegWriteExt(agRoot, PCIBAR1, SPC_ICTIMER,hwConfig->hwInterruptCoalescingTimer ); in saInitialize()
1401 ossaHwRegWriteExt(agRoot, PCIBAR1, SPC_ICCONTROL, hwConfig->hwInterruptCoalescingControl); in saInitialize()
1433 siTimerAdd(agRoot,SA_FW_TIMER_READS_STATUS_INTERVAL, siReadControllerStatus,0,agNULL ); in saInitialize()
1446 OSSA_READ_LE_32(circularQ->agRoot, &circularQ->producerIdx, circularQ->piPointer, 0); in saInitialize()
1460 ossaHwRegReadExt(agRoot, PCIBAR0, V_Outbound_Doorbell_Set_Register), in saInitialize()
1461 ossaHwRegReadExt(agRoot, PCIBAR0, V_Outbound_Doorbell_Set_RegisterU))); in saInitialize()
1463 … ossaHwRegReadExt(agRoot, PCIBAR0, V_Outbound_Doorbell_Mask_Set_Register ), in saInitialize()
1464 … ossaHwRegReadExt(agRoot, PCIBAR0, V_Outbound_Doorbell_Mask_Set_RegisterU ))); in saInitialize()
1466 ossaReenableInterrupts(agRoot,saRoot->swConfig.fatalErrorInterruptVector ); in saInitialize()
1469 ossaHwRegReadExt(agRoot, PCIBAR0, V_Outbound_Doorbell_Set_Register), in saInitialize()
1470 ossaHwRegReadExt(agRoot, PCIBAR0, V_Outbound_Doorbell_Set_RegisterU))); in saInitialize()
1472 … ossaHwRegReadExt(agRoot, PCIBAR0, V_Outbound_Doorbell_Mask_Set_Register ), in saInitialize()
1473 … ossaHwRegReadExt(agRoot, PCIBAR0, V_Outbound_Doorbell_Mask_Set_RegisterU ))); in saInitialize()
1478 siDumpActiveIORequests(agRoot, saRoot->swConfig.maxActiveIOs); in saInitialize()
1490 agsaRoot_t *agRoot, in siReadControllerStatus() argument
1496 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in siReadControllerStatus()
1497 mpiReadGSTable(agRoot, &saRoot->mpiGSTable); in siReadControllerStatus()
1499 if(smIS_SPCV_2_IOP(agRoot)) in siReadControllerStatus()
1508 saFatalInterruptHandler(agRoot, saRoot->swConfig.fatalErrorInterruptVector ); in siReadControllerStatus()
1523 OSSA_READ_LE_32(circularQ->agRoot, &circularQ->producerIdx, circularQ->piPointer, 0); in siReadControllerStatus()
1529 …SA_DBG1(("siReadControllerStatus:IN MSGU_READ_ODMR %08X\n",siHalRegReadExt(agRoot, GEN_MSGU_ODMR, … in siReadControllerStatus()
1530 …SA_DBG1(("siReadControllerStatus:MSGU_READ_ODR %08X\n",siHalRegReadExt(agRoot, GEN_MSGU_ODR, V_Ou… in siReadControllerStatus()
1531 ossaHwRegWriteExt(agRoot, PCIBAR0,V_Outbound_Doorbell_Clear_Register, 0xFFFFFFFF ); in siReadControllerStatus()
1536 siTimerAdd(agRoot,SA_FW_TIMER_READS_STATUS_INTERVAL, siReadControllerStatus,Event,pParm ); in siReadControllerStatus()
1556 agsaRoot_t *agRoot, in siConfiguration() argument
1568 SA_ASSERT( (agNULL != agRoot), ""); in siConfiguration()
1683 if(smIS_SPCV(agRoot)) in siConfiguration()
1810 void saLogDump(agsaRoot_t *agRoot, in saLogDump() argument
1814 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saLogDump()
1838 GLOBAL bit32 mpiInitialize(agsaRoot_t *agRoot, in mpiInitialize() argument
1873 SA_ASSERT(NULL != agRoot, "agRoot argument cannot be null"); in mpiInitialize()
1878 saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in mpiInitialize()
1893 if(smIS_SPC(agRoot)) in mpiInitialize()
1895 if( smIS_HIL(agRoot)) in mpiInitialize()
1897 if (AGSA_RC_FAILURE == siBar4Shift(agRoot, MBIC_GSM_SM_BASE)) in mpiInitialize()
1906 ret = mpiWaitForConfigTable(agRoot, &mainCfg); in mpiInitialize()
1916 MSGUCfgTblBase = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_0,MSGU_SCRATCH_PAD_0); in mpiInitialize()
1920 pcibar = (bit8)mpiGetPCIBarIndex(agRoot, MSGUCfgTblBase); in mpiInitialize()
1966 if(smIS_SPCV(agRoot)) in mpiInitialize()
1974 MSGUCfgTblDWIdx = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_0,MSGU_SCRATCH_PAD_0); in mpiInitialize()
1990 if(smIS_SPCV(agRoot)) in mpiInitialize()
2052 if(smIS_SPCV(agRoot)) in mpiInitialize()
2084 if(smIS_SPCV(agRoot)) in mpiInitialize()
2125 if(smIS_SPCV(agRoot)) in mpiInitialize()
2141 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_IQNPPD_HPPD_OFFSET), in mpiInitialize()
2146 if(smIS_SPC6V(agRoot)) in mpiInitialize()
2148 if(smIsCfgVREV_B(agRoot)) in mpiInitialize()
2150 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_IO_ABORT_DELAY), in mpiInitialize()
2155 if(smIsCfgVREV_C(agRoot)) in mpiInitialize()
2162 else if(smIS_SPC(agRoot)) in mpiInitialize()
2164 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_OB_HW_EVENT_PID03_OFFSET), in mpiInitialize()
2166 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_OB_HW_EVENT_PID47_OFFSET), in mpiInitialize()
2168 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_OB_NCQ_EVENT_PID03_OFFSET), in mpiInitialize()
2170 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_OB_NCQ_EVENT_PID47_OFFSET), in mpiInitialize()
2172 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_TITNX_EVENT_PID03_OFFSET), in mpiInitialize()
2174 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_TITNX_EVENT_PID47_OFFSET), in mpiInitialize()
2176 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_OB_SSP_EVENT_PID03_OFFSET), in mpiInitialize()
2178 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_OB_SSP_EVENT_PID47_OFFSET), in mpiInitialize()
2180 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_CUSTOMER_SETTING), in mpiInitialize()
2184 if(smIsCfgVREV_A(agRoot)) in mpiInitialize()
2186 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_IO_ABORT_DELAY), in mpiInitialize()
2189 … SA_DBG1(("mpiInitialize:SPCV12G - END_TO_END_CRC OFF for rev A %d\n",smIsCfgVREV_A(agRoot) )); in mpiInitialize()
2191 else if(smIsCfgVREV_B(agRoot)) in mpiInitialize()
2193 …lize:SPCV12G - END_TO_END_CRC ON rev B %d ****************************\n",smIsCfgVREV_B(agRoot) )); in mpiInitialize()
2198 else if(smIsCfgVREV_C(agRoot)) in mpiInitialize()
2200 SA_DBG1(("mpiInitialize:SPCV12G - END_TO_END_CRC on rev C %d\n",smIsCfgVREV_C(agRoot) )); in mpiInitialize()
2204 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_IO_ABORT_DELAY), in mpiInitialize()
2206 …Initialize:SPCV12G - END_TO_END_CRC Off unknown rev 0x%x\n", ossaHwRegReadConfig32((agRoot), 8 ))); in mpiInitialize()
2210 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_EVENT_LOG_ADDR_HI), mainCfg… in mpiInitialize()
2211 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_EVENT_LOG_ADDR_LO), mainCfg… in mpiInitialize()
2212 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_EVENT_LOG_BUFF_SIZE), mainCfg… in mpiInitialize()
2213 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_EVENT_LOG_OPTION), mainCfg… in mpiInitialize()
2214 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_IOP_EVENT_LOG_ADDR_HI), mainCfg… in mpiInitialize()
2215 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_IOP_EVENT_LOG_ADDR_LO), mainCfg… in mpiInitialize()
2216 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_IOP_EVENT_LOG_BUFF_SIZE), mainCfg… in mpiInitialize()
2217 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_IOP_EVENT_LOG_OPTION), mainCfg… in mpiInitialize()
2218 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_FATAL_ERROR_INTERRUPT), mainCfg… in mpiInitialize()
2219 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_PRECTD_PRESETD), mainCfg… in mpiInitialize()
2232 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_IRAD_RESERVED), mainCfg… in mpiInitialize()
2277 mpiUpdateIBQueueCfgTable(agRoot, &inQueueCfg, MSGUCfgTblDWIdx, pcibar); in mpiInitialize()
2319 saRoot->inboundQueue[qIdx].agRoot = agRoot; in mpiInitialize()
2335 mpiUpdateIBQueueCfgTable(agRoot, &inQueueCfg, MSGUCfgTblDWIdx, pcibar); in mpiInitialize()
2338 IB_PIPCIBar = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + IB_PIPCI_BAR)); in mpiInitialize()
2339 saRoot->inboundQueue[qIdx].PIPCIBar = mpiGetPCIBarIndex(agRoot, IB_PIPCIBar); in mpiInitialize()
2340 …saRoot->inboundQueue[qIdx].PIPCIOffset = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx… in mpiInitialize()
2385 mpiUpdateOBQueueCfgTable(agRoot, &outQueueCfg, MSGUCfgTblDWIdx, pcibar); in mpiInitialize()
2423 saRoot->outboundQueue[qIdx].agRoot = agRoot; in mpiInitialize()
2446 if(smIS_SPCV(agRoot)) in mpiInitialize()
2469 mpiUpdateOBQueueCfgTable(agRoot, &outQueueCfg, MSGUCfgTblDWIdx, pcibar); in mpiInitialize()
2472 OB_CIPCIBar = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + OB_CIPCI_BAR)); in mpiInitialize()
2473 saRoot->outboundQueue[qIdx].CIPCIBar = mpiGetPCIBarIndex(agRoot, OB_CIPCIBar); in mpiInitialize()
2474 …saRoot->outboundQueue[qIdx].CIPCIOffset = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx… in mpiInitialize()
2475 …saRoot->outboundQueue[qIdx].DIntTOffset = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx… in mpiInitialize()
2503 if(smIS_SPCV(agRoot)) in mpiInitialize()
2506 mpiWrIntVecTable(agRoot,config); in mpiInitialize()
2509 if(smIS_SPCV(agRoot)) in mpiInitialize()
2511 mpiWrAnalogSetupTable(agRoot,config); in mpiInitialize()
2515 mpiWriteCALAll(agRoot, &config->phyAnalogConfig); in mpiInitialize()
2520 pcibar = siGetPciBar(agRoot); in mpiInitialize()
2521 TableOffset = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_0,MSGU_SCRATCH_PAD_0); in mpiInitialize()
2523 …Table TableOffset 0x%08X contains 0x%08X\n",TableOffset,ossaHwRegReadExt(agRoot, pcibar, TableOffs… in mpiInitialize()
2525 …SA_ASSERT( (ossaHwRegReadExt(agRoot, pcibar, TableOffset ) == 0x53434D50), "Config table signiture… in mpiInitialize()
2528 …AGSA_MPI_GENERAL_STATUS_TABLE 0x%08X\n", (ossaHwRegReadExt(agRoot, pcibar, TableOffs… in mpiInitialize()
2529 …AGSA_MPI_INBOUND_QUEUE_CONFIGURATION_TABLE 0x%08X\n", (ossaHwRegReadExt(agRoot, pcibar, TableOffs… in mpiInitialize()
2530 …AGSA_MPI_OUTBOUND_QUEUE_CONFIGURATION_TABLE 0x%08X\n", (ossaHwRegReadExt(agRoot, pcibar, TableOffs… in mpiInitialize()
2531 …AGSA_MPI_SAS_PHY_ANALOG_SETUP_TABLE 0x%08X\n", (ossaHwRegReadExt(agRoot, pcibar, TableOffs… in mpiInitialize()
2532 …AGSA_MPI_INTERRUPT_VECTOR_TABLE 0x%08X\n", (ossaHwRegReadExt(agRoot, pcibar, TableOffs… in mpiInitialize()
2533 …AGSA_MPI_PER_SAS_PHY_ATTRIBUTE_TABLE 0x%08X\n", (ossaHwRegReadExt(agRoot, pcibar, TableOffs… in mpiInitialize()
2534 …AGSA_MPI_OUTBOUND_QUEUE_FAILOVER_TABLE 0x%08X\n", (ossaHwRegReadExt(agRoot, pcibar, TableOffs… in mpiInitialize()
2544 pcibar = siGetPciBar(agRoot); in mpiInitialize()
2545 TableOffset = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_0,MSGU_SCRATCH_PAD_0); in mpiInitialize()
2547 …Table TableOffset 0x%08X contains 0x%08X\n",TableOffset,ossaHwRegReadExt(agRoot, pcibar, TableOffs… in mpiInitialize()
2549 …SA_ASSERT( (ossaHwRegReadExt(agRoot, pcibar, TableOffset ) == 0x53434D50), "Config table signiture… in mpiInitialize()
2550 if ( (ossaHwRegReadExt(agRoot, pcibar, TableOffset ) != 0x53434D50)) in mpiInitialize()
2552 …TableOffset 0x%x reads 0x%x expect 0x%x \n",TableOffset,ossaHwRegReadExt(agRoot, pcibar, TableOffs… in mpiInitialize()
2567 ossaHwRegWriteExt(agRoot, pcibar, OffsetInMain + (context->offset * 4) , context->value); in mpiInitialize()
2571 …OffsetInMain = (ossaHwRegReadExt(agRoot, pcibar, TableOffset+MAIN_GST_OFFSET ) & 0xFFFF) + TableOf… in mpiInitialize()
2572 ossaHwRegWriteExt(agRoot, pcibar, OffsetInMain + (context->offset * 4), context->value); in mpiInitialize()
2576 …OffsetInMain = (ossaHwRegReadExt(agRoot, pcibar, TableOffset+MAIN_IBQ_OFFSET ) & 0xFFFF) + TableO… in mpiInitialize()
2577 ossaHwRegWriteExt(agRoot, pcibar, OffsetInMain + (context->offset * 4), context->value); in mpiInitialize()
2581 …OffsetInMain = (ossaHwRegReadExt(agRoot, pcibar, TableOffset+MAIN_OBQ_OFFSET ) & 0xFFFF) + TableO… in mpiInitialize()
2582 ossaHwRegWriteExt(agRoot, pcibar, OffsetInMain + (context->offset * 4), context->value); in mpiInitialize()
2586 …OffsetInMain = (ossaHwRegReadExt(agRoot, pcibar, TableOffset+ MAIN_ANALOG_SETUP_OFFSET) & 0xFFFF) … in mpiInitialize()
2587 ossaHwRegWriteExt(agRoot, pcibar, OffsetInMain + (context->offset * 4), context->value); in mpiInitialize()
2591 …OffsetInMain = (ossaHwRegReadExt(agRoot, pcibar, TableOffset+ MAIN_INT_VEC_TABLE_OFFSET) & 0xFFFF)… in mpiInitialize()
2592 ossaHwRegWriteExt(agRoot, pcibar, OffsetInMain + (context->offset * 4), context->value); in mpiInitialize()
2596 …OffsetInMain = (ossaHwRegReadExt(agRoot, pcibar, TableOffset+MAIN_PHY_ATTRIBUTE_OFFSET ) & 0xFFFF)… in mpiInitialize()
2597 ossaHwRegWriteExt(agRoot, pcibar, OffsetInMain + (context->offset * 4), context->value); in mpiInitialize()
2601 …OffsetInMain = (ossaHwRegReadExt(agRoot, pcibar, TableOffset+MAIN_MOQFOT_MOQFOES ) & 0xFFFF) + Ta… in mpiInitialize()
2602 ossaHwRegWriteExt(agRoot, pcibar, OffsetInMain + (context->offset * 4), context->value); in mpiInitialize()
2608 if(smIS_SPC12V(agRoot)) in mpiInitialize()
2613 ossaHwRegReadExt(agRoot, pcibar, TableOffset + MAIN_AWT_MIDRANGE) in mpiInitialize()
2633 if ( (ossaHwRegReadExt(agRoot, pcibar, TableOffset ) != 0x53434D50)) in mpiInitialize()
2635 …TableOffset 0x%x reads 0x%x expect 0x%x \n",TableOffset,ossaHwRegReadExt(agRoot, pcibar, TableOffs… in mpiInitialize()
2638 …SA_ASSERT( (ossaHwRegReadExt(agRoot, pcibar, TableOffset ) == 0x53434D50), "Config table signiture… in mpiInitialize()
2643 smTrace(hpDBG_VERY_LOUD,"74", siHalRegReadExt(agRoot, GEN_MSGU_IBDB_SET, MSGU_IBDB_SET )); in mpiInitialize()
2647 siHalRegWriteExt(agRoot, GEN_MSGU_IBDB_SET, MSGU_IBDB_SET, SPC_MSGU_CFG_TABLE_UPDATE); in mpiInitialize()
2649 if(siHalRegReadExt(agRoot, GEN_MSGU_IBDB_SET, MSGU_IBDB_SET ) & SPC_MSGU_CFG_TABLE_UPDATE) in mpiInitialize()
2651 …SA_DBG1(("mpiInitialize: SPC_MSGU_CFG_TABLE_UPDATE (0x%X) \n", siHalRegReadExt(agRoot, GEN_MSGU_I… in mpiInitialize()
2655 …SA_DBG1(("mpiInitialize: SPC_MSGU_CFG_TABLE_UPDATE not set (0x%X)\n", siHalRegReadExt(agRoot, GEN… in mpiInitialize()
2656 ossaStallThread(agRoot, WAIT_INCREMENT); in mpiInitialize()
2659 smTrace(hpDBG_VERY_LOUD,"A5", siHalRegReadExt(agRoot, GEN_MSGU_IBDB_SET, MSGU_IBDB_SET )); in mpiInitialize()
2674 ossaStallThread(agRoot, WAIT_INCREMENT); in mpiInitialize()
2693 …GSTLenMPIS = ossaHwRegReadExt(agRoot, pcibar, (bit32)MSGUCfgTblDWIdx + (bit32)(mainCfg.GSTOffset +… in mpiInitialize()
2703 …GSTLenMPIS = ossaHwRegReadExt(agRoot, pcibar, (bit32)MSGUCfgTblDWIdx + (bit32)(mainCfg.GSTOffset +… in mpiInitialize()
2707 ossaStallThread(agRoot, (20 * 1000)); in mpiInitialize()
2742 …saRoot->inboundQueue[qIdx].PIPCIOffset = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx … in mpiInitialize()
2767 if(smIS_SPCV(agRoot)) in mpiInitialize()
2769 ossaHwRegWriteExt(circularIQ->agRoot, circularIQ->PIPCIBar, circularIQ->PIPCIOffset, 0); in mpiInitialize()
2785 if(smIS_SPCV(agRoot)) in mpiInitialize()
2787 ossaHwRegWriteExt(circularOQ->agRoot, circularOQ->CIPCIBar, circularOQ->CIPCIOffset, 0); in mpiInitialize()
2800 value = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_EVENT_LOG_ADDR_HI)); in mpiInitialize()
2803 value = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_EVENT_LOG_ADDR_LO)); in mpiInitialize()
2806 value = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_EVENT_LOG_BUFF_SIZE)); in mpiInitialize()
2809 value = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_EVENT_LOG_OPTION)); in mpiInitialize()
2814 value = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_IOP_EVENT_LOG_ADDR_HI)); in mpiInitialize()
2817 value = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_IOP_EVENT_LOG_ADDR_LO)); in mpiInitialize()
2821 value = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_IOP_EVENT_LOG_BUFF_SIZE)); in mpiInitialize()
2824 value = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_IOP_EVENT_LOG_OPTION)); in mpiInitialize()
2827 value = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_FATAL_ERROR_INTERRUPT)); in mpiInitialize()
2853 …value = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_FATAL_ERROR_RDUMP0_OFFSET)… in mpiInitialize()
2856 …value = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_FATAL_ERROR_RDUMP0_LENGTH)… in mpiInitialize()
2859 …value = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_FATAL_ERROR_RDUMP1_OFFSET)… in mpiInitialize()
2862 …value = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_FATAL_ERROR_RDUMP1_LENGTH)… in mpiInitialize()
2866 value = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_PRECTD_PRESETD)); in mpiInitialize()
2870 value = ossaHwRegReadExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_IRAD_RESERVED)); in mpiInitialize()
2876 if(smIS_SPCV(agRoot)) in mpiInitialize()
2879 sp1= ossaHwRegRead(agRoot,V_Scratchpad_1_Register ); in mpiInitialize()
2903 GLOBAL bit32 mpiWaitForConfigTable(agsaRoot_t *agRoot, in mpiWaitForConfigTable() argument
2906 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in mpiWaitForConfigTable()
2916 SA_ASSERT(NULL != agRoot, "agRoot argument cannot be null"); in mpiWaitForConfigTable()
2922 value = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_1,MSGU_SCRATCH_PAD_1); in mpiWaitForConfigTable()
2923 value1 = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_2,MSGU_SCRATCH_PAD_2); in mpiWaitForConfigTable()
2925 if( smIS_SPC(agRoot) ) in mpiWaitForConfigTable()
2935 …SA_DBG1(("mpiWaitForConfigTable: SCRATCH_PAD0 value = 0x%x\n", siHalRegReadExt(agRoot, GEN_MSGU_SC… in mpiWaitForConfigTable()
2936 …SA_DBG1(("mpiWaitForConfigTable: SCRATCH_PAD3 value = 0x%x\n", siHalRegReadExt(agRoot, GEN_MSGU_SC… in mpiWaitForConfigTable()
2948 …SA_DBG1(("mpiWaitForConfigTable: SCRATCH_PAD0 value = 0x%x\n", siHalRegReadExt(agRoot, GEN_MSGU_SC… in mpiWaitForConfigTable()
2949 …SA_DBG1(("mpiWaitForConfigTable: SCRATCH_PAD3 value = 0x%x\n", siHalRegReadExt(agRoot, GEN_MSGU_SC… in mpiWaitForConfigTable()
2961 …SA_DBG1(("mpiWaitForConfigTable: ScratchPad0 AAP error code 0x%x\n", siHalRegReadExt(agRoot, GEN_M… in mpiWaitForConfigTable()
2963 …SA_DBG1(("mpiWaitForConfigTable: SCRATCH_PAD2 value = 0x%x\n", siHalRegReadExt(agRoot, GEN_MSGU_SC… in mpiWaitForConfigTable()
2964 …SA_DBG1(("mpiWaitForConfigTable: SCRATCH_PAD3 value = 0x%x\n", siHalRegReadExt(agRoot, GEN_MSGU_SC… in mpiWaitForConfigTable()
2975 …SA_DBG1(("mpiWaitForConfigTable: ScratchPad3 IOP error code 0x%x\n",siHalRegReadExt(agRoot, GEN_MS… in mpiWaitForConfigTable()
2977 …SA_DBG1(("mpiWaitForConfigTable: SCRATCH_PAD0 value = 0x%x\n", siHalRegReadExt(agRoot, GEN_MSGU_SC… in mpiWaitForConfigTable()
2978 …SA_DBG1(("mpiWaitForConfigTable: SCRATCH_PAD1 value = 0x%x\n", siHalRegReadExt(agRoot, GEN_MSGU_SC… in mpiWaitForConfigTable()
2992 ossaStallThread(agRoot, WAIT_INCREMENT); in mpiWaitForConfigTable()
2993 value =siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_1,MSGU_SCRATCH_PAD_1) & SCRATCH_PAD1_RDY; in mpiWaitForConfigTable()
2994 value1 =siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_2,MSGU_SCRATCH_PAD_2) & SCRATCH_PAD2_RDY; in mpiWaitForConfigTable()
2995 if(smIS_SPCV(agRoot)) in mpiWaitForConfigTable()
3012 …SA_DBG1(("mpiWaitForConfigTable: SCRATCH_PAD0 value = 0x%x\n", siHalRegReadExt(agRoot, GEN_MSGU_SC… in mpiWaitForConfigTable()
3013 …SA_DBG1(("mpiWaitForConfigTable: SCRATCH_PAD3 value = 0x%x\n", siHalRegReadExt(agRoot, GEN_MSGU_SC… in mpiWaitForConfigTable()
3037 ossaStallThread(agRoot, WAIT_INCREMENT); in mpiWaitForConfigTable()
3038 value = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_1,MSGU_SCRATCH_PAD_1); in mpiWaitForConfigTable()
3039 value1 = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_2,MSGU_SCRATCH_PAD_2); in mpiWaitForConfigTable()
3055 MSGUCfgTblBase = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_0,MSGU_SCRATCH_PAD_0); in mpiWaitForConfigTable()
3061 if(smIS_SPC(agRoot)) in mpiWaitForConfigTable()
3063 if( smIS_spc8081(agRoot)) in mpiWaitForConfigTable()
3084 pcibar = (bit8)mpiGetPCIBarIndex(agRoot, MSGUCfgTblBase); in mpiWaitForConfigTable()
3087 Signature = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx); in mpiWaitForConfigTable()
3103 …config->InterfaceRev = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_INTERFACE_REVISI… in mpiWaitForConfigTable()
3106 config->FWRevision = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_FW_REVISION); in mpiWaitForConfigTable()
3109 …config->MaxOutstandingIO = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_MAX_OUTSTAND… in mpiWaitForConfigTable()
3112 config->MDevMaxSGL = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_MAX_SGL_OFFSET); in mpiWaitForConfigTable()
3115 …config->ContrlCapFlag = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_CNTRL_CAP_OFFSE… in mpiWaitForConfigTable()
3118 config->GSTOffset = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_GST_OFFSET); in mpiWaitForConfigTable()
3121 …config->inboundQueueOffset = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_IBQ_OFFSET… in mpiWaitForConfigTable()
3124 …config->outboundQueueOffset = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_OBQ_OFFSE… in mpiWaitForConfigTable()
3127 if(smIS_SPCV(agRoot)) in mpiWaitForConfigTable()
3134 …config->HDAModeFlags = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_HDA_FLAGS_OFFSET… in mpiWaitForConfigTable()
3138 …config->analogSetupTblOffset = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_ANALOG_S… in mpiWaitForConfigTable()
3140 if(smIS_SPCV(agRoot)) in mpiWaitForConfigTable()
3144 …config->InterruptVecTblOffset = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_INT_VEC… in mpiWaitForConfigTable()
3146 …config->phyAttributeTblOffset = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_PHY_ATT… in mpiWaitForConfigTable()
3156 …config->FatalErrorDumpOffset0 = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_FATAL_E… in mpiWaitForConfigTable()
3157 …config->FatalErrorDumpLength0 = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_FATAL_E… in mpiWaitForConfigTable()
3158 …config->FatalErrorDumpOffset1 = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_FATAL_E… in mpiWaitForConfigTable()
3159 …config->FatalErrorDumpLength1 = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_FATAL_E… in mpiWaitForConfigTable()
3164 if(smIS_SPC(agRoot)) in mpiWaitForConfigTable()
3168 if(smIS_SPC6V(agRoot)) in mpiWaitForConfigTable()
3172 if(smIS_SPC12V(agRoot)) in mpiWaitForConfigTable()
3194 if(smIS_SPC6V(agRoot)) in mpiWaitForConfigTable()
3209 else if(smIS_SPC12V(agRoot)) in mpiWaitForConfigTable()
3239 if(smIS_SPC6V(agRoot)) in mpiWaitForConfigTable()
3264 }else if(smIS_SPC12V(agRoot)) in mpiWaitForConfigTable()
3313 …SA_DBG1(("mpiWaitForConfigTable: ILA version 0x%08X\n", ossaHwRegReadExt(agRoot, pcibar, (bit32)C… in mpiWaitForConfigTable()
3316 if(smIS_SPC12V(agRoot)) in mpiWaitForConfigTable()
3320 …itForConfigTable: MAIN_INACTIVE_ILA_REVSION 0x%08X\n", ossaHwRegReadExt(agRoot, pcibar, (bit32)Cf… in mpiWaitForConfigTable()
3321 …SA_DBG1(("mpiWaitForConfigTable: MAIN_SEEPROM_REVSION 0x%08X\n", ossaHwRegReadExt(agRoot, pcibar,… in mpiWaitForConfigTable()
3325 if(smIS_SPC12V(agRoot)) in mpiWaitForConfigTable()
3329 …SA_DBG1(("mpiWaitForConfigTable: MAIN_AWT_MIDRANGE 0x%08X\n", ossaHwRegReadExt(agRoot, pcibar, (b… in mpiWaitForConfigTable()
3334 if(smIS_SFC(agRoot)) in mpiWaitForConfigTable()
3346 if(smIS_SPCV(agRoot)) in mpiWaitForConfigTable()
3348 saRoot->ControllerInfo.hwRevision = (ossaHwRegReadConfig32(agRoot,8) & 0xFF); in mpiWaitForConfigTable()
3366 if(smIS_SPCV(agRoot)) in mpiWaitForConfigTable()
3383 if(smIS_SPCV(agRoot)) in mpiWaitForConfigTable()
3394 if(smIS_SPCV(agRoot)) in mpiWaitForConfigTable()
3433 GLOBAL bit32 mpiUnInitConfigTable(agsaRoot_t *agRoot) in mpiUnInitConfigTable() argument
3443 SA_DBG1(("mpiUnInitConfigTable: agRoot %p\n",agRoot)); in mpiUnInitConfigTable()
3444 SA_ASSERT(NULL != agRoot, "agRoot argument cannot be null"); in mpiUnInitConfigTable()
3449 MSGUCfgTblBase =siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_0,MSGU_SCRATCH_PAD_0); in mpiUnInitConfigTable()
3463 pcibar = (bit8)mpiGetPCIBarIndex(agRoot, MSGUCfgTblBase); in mpiUnInitConfigTable()
3466 siHalRegWriteExt(agRoot, GEN_MSGU_IBDB_SET, MSGU_IBDB_SET, SPC_MSGU_CFG_TABLE_RESET); in mpiUnInitConfigTable()
3473 ossaStallThread(agRoot, WAIT_INCREMENT); in mpiUnInitConfigTable()
3483 if(smIS_SPC(agRoot) ) in mpiUnInitConfigTable()
3494 GSTOffset = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_GST_OFFSET); in mpiUnInitConfigTable()
3497 ossaStallThread(agRoot, WAIT_INCREMENT); in mpiUnInitConfigTable()
3505 …GSTLenMPIS = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + (bit32)(GSTOffset + GST_GSTLEN_… in mpiUnInitConfigTable()
3517 …SA_DBG1(("mpiUnInitConfigTable: SCRATCH_PAD0 value = 0x%x\n", ossaHwRegReadExt(agRoot, PCIBAR0, MS… in mpiUnInitConfigTable()
3518 …SA_DBG1(("mpiUnInitConfigTable: SCRATCH_PAD1 value = 0x%x\n", ossaHwRegReadExt(agRoot, PCIBAR0, MS… in mpiUnInitConfigTable()
3519 …SA_DBG1(("mpiUnInitConfigTable: SCRATCH_PAD2 value = 0x%x\n", ossaHwRegReadExt(agRoot, PCIBAR0, MS… in mpiUnInitConfigTable()
3520 …SA_DBG1(("mpiUnInitConfigTable: SCRATCH_PAD3 value = 0x%x\n", ossaHwRegReadExt(agRoot, PCIBAR0, MS… in mpiUnInitConfigTable()
3544 GLOBAL void mpiUpdateIBQueueCfgTable(agsaRoot_t *agRoot, in mpiUpdateIBQueueCfgTable() argument
3556 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(QueueTableOffset + IB_PROPERITY_OFFSET), inQueueCfg->ele… in mpiUpdateIBQueueCfgTable()
3557 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(QueueTableOffset + IB_BASE_ADDR_HI_OFFSET), inQueueCfg->… in mpiUpdateIBQueueCfgTable()
3558 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(QueueTableOffset + IB_BASE_ADDR_LO_OFFSET), inQueueCfg->… in mpiUpdateIBQueueCfgTable()
3559 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(QueueTableOffset + IB_CI_BASE_ADDR_HI_OFFSET), inQueueCf… in mpiUpdateIBQueueCfgTable()
3560 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(QueueTableOffset + IB_CI_BASE_ADDR_LO_OFFSET), inQueueCf… in mpiUpdateIBQueueCfgTable()
3586 GLOBAL void mpiUpdateOBQueueCfgTable(agsaRoot_t *agRoot, in mpiUpdateOBQueueCfgTable() argument
3594 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(QueueTableOffset + OB_PROPERITY_OFFSET), outQueueCfg->el… in mpiUpdateOBQueueCfgTable()
3595 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(QueueTableOffset + OB_BASE_ADDR_HI_OFFSET), outQueueCfg-… in mpiUpdateOBQueueCfgTable()
3596 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(QueueTableOffset + OB_BASE_ADDR_LO_OFFSET), outQueueCfg-… in mpiUpdateOBQueueCfgTable()
3597 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(QueueTableOffset + OB_PI_BASE_ADDR_HI_OFFSET), outQueueC… in mpiUpdateOBQueueCfgTable()
3598 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(QueueTableOffset + OB_PI_BASE_ADDR_LO_OFFSET), outQueueC… in mpiUpdateOBQueueCfgTable()
3599 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(QueueTableOffset + OB_INTERRUPT_COALES_OFFSET), outQueue… in mpiUpdateOBQueueCfgTable()
3626 GLOBAL void mpiUpdateFatalErrorTable(agsaRoot_t *agRoot, in mpiUpdateFatalErrorTable() argument
3636 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(FerrTableOffset + MPI_FATAL_EDUMP_TABLE_LO_OFFSET), lowe… in mpiUpdateFatalErrorTable()
3637 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(FerrTableOffset + MPI_FATAL_EDUMP_TABLE_HI_OFFSET), uppe… in mpiUpdateFatalErrorTable()
3638 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(FerrTableOffset + MPI_FATAL_EDUMP_TABLE_LENGTH), length); in mpiUpdateFatalErrorTable()
3639 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(FerrTableOffset + MPI_FATAL_EDUMP_TABLE_HANDSHAKE), 0); in mpiUpdateFatalErrorTable()
3640 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(FerrTableOffset + MPI_FATAL_EDUMP_TABLE_STATUS), 0); in mpiUpdateFatalErrorTable()
3662 GLOBAL bit32 mpiGetPCIBarIndex(agsaRoot_t *agRoot, bit32 pciBar) in mpiGetPCIBarIndex() argument
3699 GLOBAL void mpiReadGSTable(agsaRoot_t *agRoot, in mpiReadGSTable() argument
3709 TableOffset = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_0,MSGU_SCRATCH_PAD_0); in mpiReadGSTable()
3725 pcibar = (bit8)mpiGetPCIBarIndex(agRoot, TableOffset); in mpiReadGSTable()
3728 GSTableOffset = ossaHwRegReadExt(agRoot, pcibar, (bit32)CFGTableOffset + MAIN_GST_OFFSET); in mpiReadGSTable()
3733 …mpiGSTable->GSTLenMPIS = ossaHwRegReadExt(agRoot, pcibar, (bit32)(GSTableOffset + GST_GSTLEN_MPIS_… in mpiReadGSTable()
3734 …mpiGSTable->IQFreezeState0 = ossaHwRegReadExt(agRoot, pcibar, (bit32)(GSTableOffset + GST_IQ_FREEZ… in mpiReadGSTable()
3735 …mpiGSTable->IQFreezeState1 = ossaHwRegReadExt(agRoot, pcibar, (bit32)(GSTableOffset + GST_IQ_FREEZ… in mpiReadGSTable()
3736 …mpiGSTable->MsguTcnt = ossaHwRegReadExt(agRoot, pcibar, (bit32)(GSTableOffset + GST_MSGUTCNT… in mpiReadGSTable()
3737 …mpiGSTable->IopTcnt = ossaHwRegReadExt(agRoot, pcibar, (bit32)(GSTableOffset + GST_IOPTCNT_… in mpiReadGSTable()
3738 …mpiGSTable->Iop1Tcnt = ossaHwRegReadExt(agRoot, pcibar, (bit32)(GSTableOffset + GST_IOP1TCNT… in mpiReadGSTable()
3749 if(smIS_SPCV(agRoot)) in mpiReadGSTable()
3752 … TableOffset = ossaHwRegReadExt(agRoot, pcibar, (bit32)CFGTableOffset + MAIN_PHY_ATTRIBUTE_OFFSET); in mpiReadGSTable()
3757 …mpiGSTable->PhyState[i] = ossaHwRegReadExt(agRoot, pcibar, (bit32)(TableOffset + i * sizeof(phyAtt… in mpiReadGSTable()
3765 …mpiGSTable->PhyState[i] = ossaHwRegReadExt(agRoot, pcibar, (bit32)(GSTableOffset + GST_PHYSTATE_OF… in mpiReadGSTable()
3770 …mpiGSTable->GPIOpins = ossaHwRegReadExt(agRoot, pcibar, (bit32)(GSTableOffset + GST_GPIO_PINS_OFFS… in mpiReadGSTable()
3775 …mpiGSTable->recoverErrInfo[i] = ossaHwRegReadExt(agRoot, pcibar, (bit32)(GSTableOffset + GST_RERRI… in mpiReadGSTable()
3795 GLOBAL void siInitResources(agsaRoot_t *agRoot, in siInitResources() argument
3814 if (agNULL == agRoot) in siInitResources()
3821 agRoot->sdkData = (void *) saRoot; in siInitResources()
4064 GLOBAL void mpiReadCALTable(agsaRoot_t *agRoot, in mpiReadCALTable() argument
4073 TableOffset = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_0,MSGU_SCRATCH_PAD_0); in mpiReadCALTable()
4080 pcibar = (bit8)mpiGetPCIBarIndex(agRoot, TableOffset); in mpiReadCALTable()
4083 …CALTableOffset = ossaHwRegReadExt(agRoot, pcibar, (bit32)CFGTableOffset + MAIN_ANALOG_SETUP_OFFSET… in mpiReadCALTable()
4084 if(smIS_SPCV(agRoot)) in mpiReadCALTable()
4090 …mpiCALTable->spaReg0 = ossaHwRegReadExt(agRoot, pcibar, (bit32)(CALTableOffset + TX_PORT_CFG1_OFFS… in mpiReadCALTable()
4091 …mpiCALTable->spaReg1 = ossaHwRegReadExt(agRoot, pcibar, (bit32)(CALTableOffset + TX_PORT_CFG2_OFFS… in mpiReadCALTable()
4092 …mpiCALTable->spaReg2 = ossaHwRegReadExt(agRoot, pcibar, (bit32)(CALTableOffset + TX_PORT_CFG3_OFFS… in mpiReadCALTable()
4093 mpiCALTable->spaReg3 = ossaHwRegReadExt(agRoot, pcibar, (bit32)(CALTableOffset + TX_CFG_OFFSET)); in mpiReadCALTable()
4094 …mpiCALTable->spaReg4 = ossaHwRegReadExt(agRoot, pcibar, (bit32)(CALTableOffset + RV_PORT_CFG1_OFFS… in mpiReadCALTable()
4095 …mpiCALTable->spaReg5 = ossaHwRegReadExt(agRoot, pcibar, (bit32)(CALTableOffset + RV_PORT_CFG2_OFFS… in mpiReadCALTable()
4096 mpiCALTable->spaReg6 = ossaHwRegReadExt(agRoot, pcibar, (bit32)(CALTableOffset + RV_CFG1_OFFSET)); in mpiReadCALTable()
4097 mpiCALTable->spaReg7 = ossaHwRegReadExt(agRoot, pcibar, (bit32)(CALTableOffset + RV_CFG2_OFFSET)); in mpiReadCALTable()
4120 GLOBAL void mpiWriteCALTable(agsaRoot_t *agRoot, in mpiWriteCALTable() argument
4131 TableOffset = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_0,MSGU_SCRATCH_PAD_0); in mpiWriteCALTable()
4138 pcibar = (bit8)mpiGetPCIBarIndex(agRoot, TableOffset); in mpiWriteCALTable()
4141 …CALTableOffset = ossaHwRegReadExt(agRoot, pcibar, (bit32)CFGTableOffset + MAIN_ANALOG_SETUP_OFFSET… in mpiWriteCALTable()
4142 if(smIS_SPCV(agRoot)) in mpiWriteCALTable()
4148 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(CALTableOffset + TX_PORT_CFG1_OFFSET), mpiCALTable->spaR… in mpiWriteCALTable()
4149 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(CALTableOffset + TX_PORT_CFG2_OFFSET), mpiCALTable->spaR… in mpiWriteCALTable()
4150 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(CALTableOffset + TX_PORT_CFG3_OFFSET), mpiCALTable->spaR… in mpiWriteCALTable()
4151 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(CALTableOffset + TX_CFG_OFFSET), mpiCALTable->spaR… in mpiWriteCALTable()
4152 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(CALTableOffset + RV_PORT_CFG1_OFFSET), mpiCALTable->spaR… in mpiWriteCALTable()
4153 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(CALTableOffset + RV_PORT_CFG2_OFFSET), mpiCALTable->spaR… in mpiWriteCALTable()
4154 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(CALTableOffset + RV_CFG1_OFFSET), mpiCALTable->spaR… in mpiWriteCALTable()
4155 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(CALTableOffset + RV_CFG2_OFFSET), mpiCALTable->spaR… in mpiWriteCALTable()
4174 GLOBAL void mpiWriteCALAll(agsaRoot_t *agRoot, in mpiWriteCALAll() argument
4180 if(smIS_SPCV(agRoot)) in mpiWriteCALAll()
4188 mpiWriteCALTable(agRoot, (spc_SPASTable_t *)&mpiCALTable->phyAnalogSetupRegisters[i], i); in mpiWriteCALAll()
4193 GLOBAL void mpiWrAnalogSetupTable(agsaRoot_t *agRoot, in mpiWrAnalogSetupTable() argument
4201 value = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_0,MSGU_SCRATCH_PAD_0); in mpiWrAnalogSetupTable()
4202 pcibar = (bit8)mpiGetPCIBarIndex(agRoot, value); in mpiWrAnalogSetupTable()
4205 …AnalogtableSize = AnalogTableBase = ossaHwRegReadExt(agRoot,pcibar , (bit32)CFGTableOffset + MAIN… in mpiWrAnalogSetupTable()
4219 …ossaHwRegWriteExt(agRoot, pcibar,(AnalogTableBase + ( AnalogtableSize * phy)+ 0 ),config->phyAnalo… in mpiWrAnalogSetupTable()
4220 …ossaHwRegWriteExt(agRoot, pcibar,(AnalogTableBase + ( AnalogtableSize * phy)+ 4 ),config->phyAnalo… in mpiWrAnalogSetupTable()
4221 …ossaHwRegWriteExt(agRoot, pcibar,(AnalogTableBase + ( AnalogtableSize * phy)+ 8 ),config->phyAnalo… in mpiWrAnalogSetupTable()
4222 …ossaHwRegWriteExt(agRoot, pcibar,(AnalogTableBase + ( AnalogtableSize * phy)+ 12),config->phyAnalo… in mpiWrAnalogSetupTable()
4223 …ossaHwRegWriteExt(agRoot, pcibar,(AnalogTableBase + ( AnalogtableSize * phy)+ 16),config->phyAnalo… in mpiWrAnalogSetupTable()
4224 …ossaHwRegWriteExt(agRoot, pcibar,(AnalogTableBase + ( AnalogtableSize * phy)+ 20),config->phyAnalo… in mpiWrAnalogSetupTable()
4225 …ossaHwRegWriteExt(agRoot, pcibar,(AnalogTableBase + ( AnalogtableSize * phy)+ 24),config->phyAnalo… in mpiWrAnalogSetupTable()
4226 …ossaHwRegWriteExt(agRoot, pcibar,(AnalogTableBase + ( AnalogtableSize * phy)+ 28),config->phyAnalo… in mpiWrAnalogSetupTable()
4227 …ossaHwRegWriteExt(agRoot, pcibar,(AnalogTableBase + ( AnalogtableSize * phy)+ 32),config->phyAnalo… in mpiWrAnalogSetupTable()
4228 …ossaHwRegWriteExt(agRoot, pcibar,(AnalogTableBase + ( AnalogtableSize * phy)+ 36),config->phyAnalo… in mpiWrAnalogSetupTable()
4230 …AnalogConfig.phyAnalogSetupRegisters[phy].spaRegister0 ,ossaHwRegReadExt(agRoot, pcibar,AnalogTabl… in mpiWrAnalogSetupTable()
4231 …AnalogConfig.phyAnalogSetupRegisters[phy].spaRegister1 ,ossaHwRegReadExt(agRoot, pcibar,AnalogTabl… in mpiWrAnalogSetupTable()
4245 GLOBAL void mpiWrIntVecTable(agsaRoot_t *agRoot, in mpiWrIntVecTable() argument
4255 value = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_0,MSGU_SCRATCH_PAD_0); in mpiWrIntVecTable()
4262 pcibar = (bit8)mpiGetPCIBarIndex(agRoot, value); in mpiWrIntVecTable()
4265 …INTVTableOffset = ossaHwRegReadExt(agRoot, pcibar, (bit32)CFGTableOffset + MAIN_INT_VEC_TABLE_OFFS… in mpiWrIntVecTable()
4289 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(INTVTableOffset + INT_VT_Coal_CNT_TO + i * sizeof(Interr… in mpiWrIntVecTable()
4304 …value = ossaHwRegReadExt(agRoot, pcibar, (bit32)(INTVTableOffset + INT_VT_Coal_CNT_TO + i * sizeof… in mpiWrIntVecTable()
4309 GLOBAL void mpiWrPhyAttrbTable(agsaRoot_t *agRoot, sasPhyAttribute_t *phyAttrib) in mpiWrPhyAttrbTable() argument
4316 value = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_0,MSGU_SCRATCH_PAD_0); in mpiWrPhyAttrbTable()
4323 pcibar = (bit8)mpiGetPCIBarIndex(agRoot, value); in mpiWrPhyAttrbTable()
4326 …PHYTableOffset = ossaHwRegReadExt(agRoot, pcibar, (bit32)CFGTableOffset + MAIN_PHY_ATTRIBUTE_OFFSE… in mpiWrPhyAttrbTable()
4337 …ossaHwRegWriteExt(agRoot, pcibar, (bit32)(PHYTableOffset + i * sizeof(phyAttrb_t)), phyAttrib->phy… in mpiWrPhyAttrbTable()
4346 value = ossaHwRegReadExt(agRoot, pcibar, (bit32)(PHYTableOffset + i * sizeof(phyAttrb_t))); in mpiWrPhyAttrbTable()
4366 GLOBAL bit32 mpiFreezeInboundQueue(agsaRoot_t *agRoot, bit32 bitMapQueueNum0, bit32 bitMapQueueNum1) in mpiFreezeInboundQueue() argument
4373 SA_ASSERT(NULL != agRoot, "agRoot argument cannot be null"); in mpiFreezeInboundQueue()
4380 …SA_DBG1(("mpiFreezeInboundQueue: SCRATCH_PAD0 value = 0x%x\n", siHalRegReadExt(agRoot, GEN_MSGU_SC… in mpiFreezeInboundQueue()
4381 …SA_DBG1(("mpiFreezeInboundQueue: SCRATCH_PAD3 value = 0x%x\n", siHalRegReadExt(agRoot, GEN_MSGU_SC… in mpiFreezeInboundQueue()
4383 value = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_0,MSGU_SCRATCH_PAD_1); in mpiFreezeInboundQueue()
4385 siHalRegWriteExt(agRoot, GEN_MSGU_HOST_SCRATCH_PAD_1, MSGU_HOST_SCRATCH_PAD_1, value); in mpiFreezeInboundQueue()
4391 value = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_2,MSGU_SCRATCH_PAD_2); in mpiFreezeInboundQueue()
4393 siHalRegWriteExt(agRoot, GEN_MSGU_HOST_SCRATCH_PAD_2, MSGU_HOST_SCRATCH_PAD_2, value); in mpiFreezeInboundQueue()
4397 siHalRegWriteExt(agRoot, GEN_MSGU_IBDB_SET, MSGU_IBDB_SET, IBDB_IBQ_FREEZE); in mpiFreezeInboundQueue()
4404 ossaStallThread(agRoot, WAIT_INCREMENT); in mpiFreezeInboundQueue()
4433 GLOBAL bit32 mpiUnFreezeInboundQueue(agsaRoot_t *agRoot, bit32 bitMapQueueNum0, bit32 bitMapQueueNu… in mpiUnFreezeInboundQueue() argument
4440 SA_ASSERT(NULL != agRoot, "agRoot argument cannot be null"); in mpiUnFreezeInboundQueue()
4447 value = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_1,MSGU_SCRATCH_PAD_1); in mpiUnFreezeInboundQueue()
4449 siHalRegWriteExt(agRoot, GEN_MSGU_HOST_SCRATCH_PAD_1, MSGU_HOST_SCRATCH_PAD_1, value); in mpiUnFreezeInboundQueue()
4455 value = siHalRegReadExt(agRoot, GEN_MSGU_SCRATCH_PAD_2,MSGU_SCRATCH_PAD_2); in mpiUnFreezeInboundQueue()
4457 siHalRegWriteExt(agRoot, GEN_MSGU_HOST_SCRATCH_PAD_2, MSGU_HOST_SCRATCH_PAD_2, value); in mpiUnFreezeInboundQueue()
4461 siHalRegWriteExt(agRoot, GEN_MSGU_IBDB_SET, MSGU_IBDB_SET, IBDB_IBQ_UNFREEZE); in mpiUnFreezeInboundQueue()
4468 ossaStallThread(agRoot, WAIT_INCREMENT); in mpiUnFreezeInboundQueue()
4485 GLOBAL bit32 si_check_V_HDA(agsaRoot_t *agRoot) in si_check_V_HDA() argument
4490 hda_status = (ossaHwRegReadExt(agRoot, PCIBAR0, SPC_V_HDA_RESPONSE_OFFSET+28)); in si_check_V_HDA()
4504 GLOBAL bit32 si_check_V_Ready(agsaRoot_t *agRoot) in si_check_V_Ready() argument
4515 ossaStallThread(agRoot, WAIT_INCREMENT); in si_check_V_Ready()
4516 SCRATCH_PAD1 = ossaHwRegReadExt(agRoot, PCIBAR0, MSGU_SCRATCH_PAD_1); in si_check_V_Ready()
4529 ossaStallThread(agRoot, WAIT_INCREMENT); in si_check_V_Ready()
4530 SCRATCH_PAD1 = ossaHwRegReadExt(agRoot, PCIBAR0, MSGU_SCRATCH_PAD_1); in si_check_V_Ready()
4544 ossaStallThread(agRoot, WAIT_INCREMENT); in si_check_V_Ready()
4545 SCRATCH_PAD1 = ossaHwRegReadExt(agRoot, PCIBAR0, MSGU_SCRATCH_PAD_1); in si_check_V_Ready()
4560 ossaStallThread(agRoot, WAIT_INCREMENT); in si_check_V_Ready()
4561 SCRATCH_PAD1 = ossaHwRegReadExt(agRoot, PCIBAR0, MSGU_SCRATCH_PAD_1); in si_check_V_Ready()
4573 GLOBAL bit32 siScratchDump(agsaRoot_t *agRoot) in siScratchDump() argument
4582 SCRATCH_PAD0 = ossaHwRegReadExt(agRoot, PCIBAR0, MSGU_SCRATCH_PAD_0); in siScratchDump()
4583 SCRATCH_PAD2 = ossaHwRegReadExt(agRoot, PCIBAR0, MSGU_SCRATCH_PAD_2); in siScratchDump()
4584 SCRATCH_PAD3 = ossaHwRegReadExt(agRoot, PCIBAR0, MSGU_SCRATCH_PAD_3); in siScratchDump()
4586 SCRATCH_PAD1 = ossaHwRegReadExt(agRoot, PCIBAR0, MSGU_SCRATCH_PAD_1); in siScratchDump()
4632 void si_macro_check(agsaRoot_t *agRoot) in si_macro_check() argument
4635 SA_DBG1(("si_macro_check:smIS_SPC %d\n",smIS_SPC(agRoot) )); in si_macro_check()
4636 SA_DBG1(("si_macro_check:smIS_HIL %d\n",smIS_HIL(agRoot) )); in si_macro_check()
4637 SA_DBG1(("si_macro_check:smIS_SFC %d\n",smIS_SFC(agRoot) )); in si_macro_check()
4639 SA_DBG1(("si_macro_check:smIS_spc8001 %d\n",smIS_spc8001(agRoot) )); in si_macro_check()
4640 SA_DBG1(("si_macro_check:smIS_spc8081 %d\n",smIS_spc8081(agRoot) )); in si_macro_check()
4642 SA_DBG1(("si_macro_check:smIS_SPCV8008 %d\n",smIS_SPCV8008(agRoot) )); in si_macro_check()
4643 SA_DBG1(("si_macro_check:smIS_SPCV8009 %d\n",smIS_SPCV8009(agRoot) )); in si_macro_check()
4644 SA_DBG1(("si_macro_check:smIS_SPCV8018 %d\n",smIS_SPCV8018(agRoot) )); in si_macro_check()
4645 SA_DBG1(("si_macro_check:smIS_SPCV8019 %d\n",smIS_SPCV8019(agRoot) )); in si_macro_check()
4646 SA_DBG1(("si_macro_check:smIS_ADAP8088 %d\n",smIS_ADAP8088(agRoot) )); in si_macro_check()
4647 SA_DBG1(("si_macro_check:smIS_ADAP8089 %d\n",smIS_ADAP8089(agRoot) )); in si_macro_check()
4648 SA_DBG1(("si_macro_check:smIS_SPCV8070 %d\n",smIS_SPCV8070(agRoot) )); in si_macro_check()
4649 SA_DBG1(("si_macro_check:smIS_SPCV8071 %d\n",smIS_SPCV8071(agRoot) )); in si_macro_check()
4650 SA_DBG1(("si_macro_check:smIS_SPCV8072 %d\n",smIS_SPCV8072(agRoot) )); in si_macro_check()
4651 SA_DBG1(("si_macro_check:smIS_SPCV8073 %d\n",smIS_SPCV8073(agRoot) )); in si_macro_check()
4652 SA_DBG1(("si_macro_check:smIS_SPCV8074 %d\n",smIS_SPCV8074(agRoot) )); in si_macro_check()
4653 SA_DBG1(("si_macro_check:smIS_SPCV8075 %d\n",smIS_SPCV8075(agRoot) )); in si_macro_check()
4654 SA_DBG1(("si_macro_check:smIS_SPCV8076 %d\n",smIS_SPCV8076(agRoot) )); in si_macro_check()
4655 SA_DBG1(("si_macro_check:smIS_SPCV8077 %d\n",smIS_SPCV8077(agRoot) )); in si_macro_check()
4656 SA_DBG1(("si_macro_check:smIS_SPCV9015 %d\n",smIS_SPCV9015(agRoot) )); in si_macro_check()
4657 SA_DBG1(("si_macro_check:smIS_SPCV9060 %d\n",smIS_SPCV9060(agRoot) )); in si_macro_check()
4658 SA_DBG1(("si_macro_check:smIS_SPCV %d\n",smIS_SPCV(agRoot) )); in si_macro_check()
4660 SA_DBG1(("si_macro_check:smIS64bInt %d\n", smIS64bInt(agRoot) )); in si_macro_check()