Home
last modified time | relevance | path

Searched refs:saRoot (Results 1 – 18 of 18) sorted by relevance

/freebsd-12.1/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dmpidebug.c169 saRoot->TraceBlockReInit = 1; in siEnableTracing()
176 SA_DBG1 ((" traceMask = %08x @ %p\n", saRoot->TraceMask, &saRoot->TraceMask)); in siEnableTracing()
179 SA_DBG1 ((" da %p l %x\n",saRoot->TraceBuffer ,saRoot->TraceBufferLength)); in siEnableTracing()
188 DbgPrint(" traceMask = %08x @ %p\n", saRoot->TraceMask, &saRoot->TraceMask); in siEnableTracing()
189 DbgPrint(" da %p l %x\n",saRoot->TraceBuffer ,saRoot->TraceBufferLength); in siEnableTracing()
478 bPtr = &saRoot->TraceBuffer[saRoot->CurrentTraceIndex]; in siTraceFuncEnter()
560 bPtr = &saRoot->TraceBuffer[saRoot->CurrentTraceIndex]; in siTraceFuncExit()
639 bPtr = &saRoot->TraceBuffer[saRoot->CurrentTraceIndex]; in siTraceListRemove()
707 bPtr = &saRoot->TraceBuffer[saRoot->CurrentTraceIndex]; in siTraceListAdd()
778 bPtr = &saRoot->TraceBuffer[saRoot->CurrentTraceIndex]; in siTrace64()
[all …]
H A Dsatimer.c63 if(agNULL == saRoot) in saTimerTick()
106 saRoot->timeTick ++; in saTimerTick()
108 if( saRoot->ResetFailed ) in saTimerTick()
115 saRoot->BunchStarts_Pending) in saTimerTick()
143 saRoot->CheckAll++; in saTimerTick()
146 saRoot->OldFlag[i], in saTimerTick()
150 saRoot->CheckAll, in saTimerTick()
156 saRoot->CheckAll, in saTimerTick()
167 saRoot->CheckAll, in saTimerTick()
183 saRoot->OldFlag[i] = 0; in saTimerTick()
[all …]
H A Dsampicmd.c118 outq = saRoot->QueueConfig.numOutboundQueues -1; in mpiBuildCmd()
127 circularQ = &saRoot->inboundQueue[inq]; in mpiBuildCmd()
240 saRoot->IOMap[pRequest->HTag].Tag = MARK_OFF; in mpiEchoCmd()
254 saRoot->LLCounters.IOCounter.numEchoSent++; in mpiEchoCmd()
554 SA_ASSERT((agNULL !=saRoot ), ""); in mpiGetDeviceInfoCmd()
555 if(saRoot == agNULL) in mpiGetDeviceInfoCmd()
652 agsaLLRoot_t *saRoot = agNULL; in mpiSetDeviceInfoCmd() local
661 saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in mpiSetDeviceInfoCmd()
662 SA_ASSERT((agNULL != saRoot), ""); in mpiSetDeviceInfoCmd()
936 circularQ = &saRoot->inboundQueue[inq]; in mpiSMPCmd()
[all …]
H A Dsampirsp.c709 saRoot->IOMap[tag].Tag = MARK_OFF; in mpiEchoRsp()
859 saRoot->IOMap[tag].Tag = MARK_OFF; in mpiGetNVMDataRsp()
914 if(saRoot == agNULL) in mpiPhyStartEvent()
927 saRoot->IOMap[tag].Tag = MARK_OFF; in mpiPhyStartEvent()
1019 if(saRoot == agNULL) in mpiPhyStopEvent()
1030 saRoot->IOMap[tag].Tag = MARK_OFF; in mpiPhyStopEvent()
1081 pPhy = &(saRoot->phys[phyId]); in mpiPhyStopEvent()
1183 SA_ASSERT((agNULL !=saRoot ), ""); in mpiHWevent()
1184 if(saRoot == agNULL) in mpiHWevent()
1263 if (portId > saRoot->phyCount) in mpiHWevent()
[all …]
H A Dsainit.c397 if(agNULL == saRoot) in saInitialize()
448 size = sizeof(saRoot->freeFastReq) / sizeof(saRoot->freeFastReq[0]); in saInitialize()
870 saRoot->portCount = saRoot->phyCount; in saInitialize()
996 saRoot->swConfig.param3 = &saRoot->QueueConfig; in saInitialize()
1502 if(saRoot->Iop1Tcnt_last == saRoot->mpiGSTable.Iop1Tcnt ) in siReadControllerStatus()
1506 …if( saRoot->MsguTcnt_last == saRoot->mpiGSTable.MsguTcnt || saRoot->IopTcnt_last == saRoot->mpiGS… in siReadControllerStatus()
1513 saRoot->MsguTcnt_last = saRoot->mpiGSTable.MsguTcnt; in siReadControllerStatus()
1514 saRoot->IopTcnt_last = saRoot->mpiGSTable.IopTcnt; in siReadControllerStatus()
1515 saRoot->Iop1Tcnt_last = saRoot->mpiGSTable.Iop1Tcnt; in siReadControllerStatus()
1886 if(saRoot == agNULL) in mpiInitialize()
[all …]
H A Dsaint.c96 if (saRoot == agNULL) in siFatalInterruptHandler()
103 if (saRoot->ResetFailed) in siFatalInterruptHandler()
248 if (agNULL != saRoot) in siFatalInterruptHandler()
338 if (saRoot->ResetFailed) in saFatalInterruptHandler()
400 if( agNULL == saRoot ) in saInterruptHandler()
873 else if (saRoot->CheckAll) in saDelayedInterruptHandler()
906 saRoot->CheckAll = 0; in saDelayedInterruptHandler()
980 if(saRoot->sysIntsActive) in siReenableMSIX_V_Interrupts()
1297 if (agNULL != saRoot) in siProcessOBMsg()
1346 agsaLLRoot_t *saRoot; in saSystemInterruptsActive() local
[all …]
H A Dsaphy.c86 if ( phyId >= saRoot->phyCount ) in saPhyStart()
335 if ( phyId >= saRoot->phyCount ) in siPhyStopCB()
347 pPhy = &(saRoot->phys[phyId]); in siPhyStopCB()
439 SA_ASSERT((agNULL != saRoot), ""); in saLocalPhyControl()
440 if(saRoot == agNULL) in saLocalPhyControl()
537 if ( phyId >= saRoot->phyCount ) in saLocalPhyControl()
687 if ( phyId >= saRoot->phyCount ) in saLocalPhyControl()
841 SA_ASSERT((agNULL != saRoot), ""); in saGetPhyProfile()
843 if(saRoot == agNULL) in saGetPhyProfile()
1025 SA_ASSERT((agNULL != saRoot), ""); in saHwEventAck()
[all …]
H A Dsaioctlcmd.c231 agsaLLRoot_t *saRoot; in saFwFlashUpdate() local
247 if (saRoot == agNULL) in saFwFlashUpdate()
986 if (agNULL != saRoot) in saGetControllerStatus()
1037 if (agNULL != saRoot) in saGetControllerStatus()
1056 if (agNULL != saRoot) in saGetControllerStatus()
1323 if (agNULL != saRoot) in saGetControllerStatus()
1902 if (saRoot == agNULL) in saSASDiagStartEnd()
2000 if (saRoot == agNULL) in saGetTimeStamp()
2457 if(agNULL == saRoot ) in siFatalErrorBuffer()
2463 if(saRoot->ResetFailed ) in siFatalErrorBuffer()
[all …]
H A Dsautil.c136 agsaLLRoot_t *saRoot = agNULL; in siDumpActiveIORequests() local
143 SA_ASSERT((agNULL != saRoot), ""); in siDumpActiveIORequests()
177 saRoot->timeTick, saRoot->usecsPerTick)); in siDumpActiveIORequests()
192 ((saRoot->timeTick - pRequestDesc->startTick)*saRoot->usecsPerTick)/1000000 )); in siDumpActiveIORequests()
220 agsaLLRoot_t *saRoot = agNULL; in siClearActiveIORequests() local
225 SA_ASSERT((agNULL != saRoot), ""); in siClearActiveIORequests()
227 if(saRoot) in siClearActiveIORequests()
270 agsaLLRoot_t *saRoot = agNULL; in siClearActiveIORequestsOnDevice() local
275 SA_ASSERT((agNULL != saRoot), ""); in siClearActiveIORequestsOnDevice()
326 SA_ASSERT((agNULL != saRoot), ""); in siCountActiveIORequestsOnDevice()
[all …]
H A Dsadisc.c274 saRoot->DeviceHandle[i] = agDev[i]; in saGetDeviceHandles()
321 OS_ASSERT(saRoot != agNULL, "saRoot is NULL"); in saRegisterNewDevice()
324 if(saRoot == agNULL) in saRegisterNewDevice()
391 saRoot->IOMap[pRequest->HTag].Tag = pRequest->HTag; in saRegisterNewDevice()
393 saRoot->IOMap[pRequest->HTag].agContext = agContext; in saRegisterNewDevice()
527 saRoot->IOMap[pRequest->HTag].Tag = MARK_OFF; in saRegisterNewDevice()
528 saRoot->IOMap[pRequest->HTag].IORequest = agNULL; in saRegisterNewDevice()
529 saRoot->IOMap[pRequest->HTag].agContext = agNULL; in saRegisterNewDevice()
809 agsaLLRoot_t *saRoot; in saSetDeviceState() local
814 saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saSetDeviceState()
[all …]
H A Dsasmp.c73 agsaLLRoot_t *saRoot = agNULL; in saSMPStart() local
95 saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saSMPStart()
96 SA_ASSERT((agNULL != saRoot), ""); in saSMPStart()
98 if(saRoot == agNULL) in saSMPStart()
168 pRequest->startTick = saRoot->timeTick; in saSMPStart()
175 saRoot->IOMap[pRequest->HTag].Tag = pRequest->HTag; in saSMPStart()
184 circularQ = &saRoot->inboundQueue[inq]; in saSMPStart()
368 saRoot->LLCounters.IOCounter.numSMPStarted++; in saSMPStart()
637 pRequest->startTick = saRoot->timeTick; in saSMPAbort()
694 saRoot->IOMap[pRequest->HTag].Tag = MARK_OFF; in saSMPAbort()
[all …]
H A Dsahw.c193 if (agNULL != saRoot) in saHwReset()
223 if (agNULL != saRoot) in saHwReset()
236 if (agNULL != saRoot) in saHwReset()
250 if (agNULL != saRoot) in saHwReset()
252 saRoot->ResetStartTick = saRoot->timeTick; in saHwReset()
258 if(agNULL !=saRoot) in saHwReset()
290 if (agNULL != saRoot) in saHwReset()
327 if(agNULL !=saRoot) in saHwReset()
368 if (agNULL != saRoot) in saHwReset()
532 agsaLLRoot_t *saRoot; in siChipReset() local
[all …]
H A Dsassp.c86 if (!saRoot->freeFastIdx) in siFastSSPReqAlloc()
94 saRoot->freeFastIdx--; in siFastSSPReqAlloc()
95 idx = saRoot->freeFastIdx; in siFastSSPReqAlloc()
115 if (saRoot->freeFastIdx >= sizeof(saRoot->freeFastReq) / in siFastSSPReqFree()
119 saRoot->freeFastIdx, (int)(sizeof(saRoot->freeFastReq) / in siFastSSPReqFree()
127 saRoot->freeFastIdx++; in siFastSSPReqFree()
225 agsaLLRoot_t *saRoot; in saFastSSPCancel() local
236 SA_ASSERT((saRoot), ""); in saFastSSPCancel()
284 agsaLLRoot_t *saRoot; in saFastSSPPrepare() local
535 agsaLLRoot_t *saRoot; in saFastSSPSend() local
[all …]
H A Dmpi.c491 agsaLLRoot_t *saRoot = agNULL; in mpiMsgProduce() local
492 saRoot = agRoot->sdkData; in mpiMsgProduce()
565 if(saRoot->BunchStarts_Enable) in mpiMsgProduce()
576 saRoot->BunchStarts_Pending++; in mpiMsgProduce()
606 for(inq=0; ((inq < saRoot->QueueConfig.numInboundQueues) && saRoot->BunchStarts_Pending); inq++) in mpiMsgProduceBunch()
614 … ((saRoot->timeTick - circularQ->BunchStarts_QPendingTick) >= saRoot->BunchStarts_TimeoutTicks)) in mpiMsgProduceBunch()
886 saRoot->IBQnumber++; in mpiRotateQnumber()
890 saRoot->IBQnumber = 0; in mpiRotateQnumber()
895 saRoot->OBQnumber++; in mpiRotateQnumber()
899 saRoot->OBQnumber = 0; in mpiRotateQnumber()
[all …]
H A Dsaport.c176 agsaLLRoot_t *saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in siPortDeviceRemove() local
208 saRoot->DeviceMap[deviceIdx].DeviceIdFromFW = 0; in siPortDeviceRemove()
209 saRoot->DeviceMap[deviceIdx].DeviceHandle = agNULL; in siPortDeviceRemove()
349 saLlistAdd(&(saRoot->freePorts), &(pPort->linkNode)); in siPortInvalid()
442 SA_ASSERT((agNULL !=saRoot ), ""); in saPortControl()
444 if(saRoot == agNULL) in saPortControl()
486 saRoot->IOMap[pRequest->HTag].Tag = pRequest->HTag; in saPortControl()
488 saRoot->IOMap[pRequest->HTag].agContext = agContext; in saPortControl()
512 saRoot->IOMap[pRequest->HTag].Tag = MARK_OFF; in saPortControl()
513 saRoot->IOMap[pRequest->HTag].IORequest = agNULL; in saPortControl()
[all …]
H A Dsasata.c71 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saSATAStart() local
154 pRequest->startTick = saRoot->timeTick; in saSATAStart()
160 saRoot->IOMap[pRequest->HTag].Tag = pRequest->HTag; in saSATAStart()
161 saRoot->IOMap[pRequest->HTag].IORequest = (void *)pRequest; in saSATAStart()
168 circularQ = &saRoot->inboundQueue[inq]; in saSATAStart()
566 saRoot->LLCounters.IOCounter.numSataStarted++; in saSATAStart()
722 pRequest->startTick = saRoot->timeTick; in saSATAAbort()
728 saRoot->IOMap[pRequest->HTag].Tag = pRequest->HTag; in saSATAAbort()
729 saRoot->IOMap[pRequest->HTag].IORequest = (void *)pRequest; in saSATAAbort()
737 circularQ = &saRoot->inboundQueue[inq]; in saSATAAbort()
[all …]
H A Dsadefs.h154 #define LL_IOREQ_IBQ0_LOCK (LL_IOREQ_OBQ_LOCK + saRoot->QueueConfig.numOutboundQueues +1)
/freebsd-12.1/sys/dev/pms/RefTisa/tisa/sassata/common/
H A Dtdioctl.c741 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in tiCOMMgntIOCTL() local
748 for( i = 0; i < saRoot->phyCount ; i++) in tiCOMMgntIOCTL()
750 PhyDetails[i].attached_phy = saRoot->phys[i].sasIdentify.phyIdentifier; in tiCOMMgntIOCTL()
759 sas_dev_type = (saRoot->phys[i].sasIdentify.deviceType_addressFrameType & 0x70 ) >> 4 ; in tiCOMMgntIOCTL()
760 if ((saRoot->phys[i].status == 1) && (sas_dev_type == 0)){ //status 1 - Phy Up in tiCOMMgntIOCTL()
769 …osti_memcpy(&PhyDetails[i].attached_sasAddressHi, saRoot->phys[i].sasIdentify.sasAddressHi, sizeof… in tiCOMMgntIOCTL()
770 …osti_memcpy(&PhyDetails[i].attached_sasAddressLo, saRoot->phys[i].sasIdentify.sasAddressLo, sizeof… in tiCOMMgntIOCTL()