Lines Matching refs:hTWD
130 static void TWD_PrintMemRegsCB (TI_HANDLE hTWD, TI_UINT32 cmdCbStatus)
132 TTwd *pTWD = (TTwd *)hTWD;
172 static void TWD_PrintMemRegs (TI_HANDLE hTWD, TI_UINT32 address, TI_UINT32 len, readWrite_MemoryType_e memType)
174 TTwd *pTWD = (TTwd *)hTWD;
209 hTWD,
213 static TI_STATUS TWD_PrintMemoryMapCb (TI_HANDLE hTWD, TI_STATUS status, void *pData)
216 TTwd *pTWD = (TTwd *)hTWD;
253 static void TWD_PrintMemoryMap (TI_HANDLE hTWD)
255 TTwd *pTWD = (TTwd *)hTWD;
257 TWD_ItrMemoryMap (pTWD, &pTWD->MemMap, (void *)TWD_PrintMemoryMapCb, hTWD);
272 static TI_STATUS TWD_StatisticsReadCB (TI_HANDLE hTWD, TI_UINT16 MboxStatus, ACXStatistics_t* pElem)
623 TI_STATUS TWD_Debug (TI_HANDLE hTWD, TI_UINT32 funcType, void *pParam)
625 TTwd *pTWD = (TTwd *)hTWD;
671 if (TWD_isValidMemoryAddr(hTWD, pMemDebug) == TI_TRUE)
677 if ( TWD_readMem (hTWD, pMemDebug, NULL, NULL) != TI_OK )
684 else if (TWD_isValidRegAddr(hTWD, pMemDebug) == TI_TRUE)
691 if ( TWD_readMem (hTWD, pMemDebug, NULL, NULL) != TI_OK )
731 if (TWD_isValidMemoryAddr(hTWD, pMemDebug) == TI_TRUE)
736 return ( TWD_writeMem (hTWD, pMemDebug, NULL, NULL) );
739 else if (TWD_isValidRegAddr(hTWD, pMemDebug) == TI_TRUE)
744 return ( TWD_writeMem (hTWD, pMemDebug, NULL, NULL) );
825 TWD_PrintMemRegs (hTWD, RegAddr + 0, 4, TNETW_MAC_REGISTERS);
826 TWD_PrintMemRegs (hTWD, RegAddr + 4, 4, TNETW_MAC_REGISTERS);
827 TWD_PrintMemRegs (hTWD, RegAddr + 8, 4, TNETW_MAC_REGISTERS);
828 TWD_PrintMemRegs (hTWD, RegAddr + 12, 4, TNETW_MAC_REGISTERS);
840 TWD_PrintMemRegs (hTWD, *(TI_UINT32*)pParam, 256, TNETW_INTERNAL_RAM);
852 TWD_CfgMacClock (hTWD, GenericVal);
865 TWD_ArmClockSet (hTWD, GenericVal);
887 TWD_PrintMemoryMap (hTWD);
891 TWD_ItrStatistics (hTWD, (void*)TWD_StatisticsReadCB, hTWD, (void *)&pTWD->acxStatistic);
958 Stt = TWD_CmdHealthCheck (hTWD);