Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dmpidebug.c168 saRoot->TraceBlockReInit = 1; in siEnableTracing()
175 SA_DBG1 ((" traceMask = %08x @ %p\n", saRoot->TraceMask, &saRoot->TraceMask)); in siEnableTracing()
178 SA_DBG1 ((" da %p l %x\n",saRoot->TraceBuffer ,saRoot->TraceBufferLength)); in siEnableTracing()
187 DbgPrint(" traceMask = %08x @ %p\n", saRoot->TraceMask, &saRoot->TraceMask); in siEnableTracing()
188 DbgPrint(" da %p l %x\n",saRoot->TraceBuffer ,saRoot->TraceBufferLength); in siEnableTracing()
477 bPtr = &saRoot->TraceBuffer[saRoot->CurrentTraceIndex]; in siTraceFuncEnter()
559 bPtr = &saRoot->TraceBuffer[saRoot->CurrentTraceIndex]; in siTraceFuncExit()
638 bPtr = &saRoot->TraceBuffer[saRoot->CurrentTraceIndex]; in siTraceListRemove()
706 bPtr = &saRoot->TraceBuffer[saRoot->CurrentTraceIndex]; in siTraceListAdd()
777 bPtr = &saRoot->TraceBuffer[saRoot->CurrentTraceIndex]; in siTrace64()
[all …]
H A Dsatimer.c62 if(agNULL == saRoot) in saTimerTick()
105 saRoot->timeTick ++; in saTimerTick()
107 if( saRoot->ResetFailed ) in saTimerTick()
114 saRoot->BunchStarts_Pending) in saTimerTick()
142 saRoot->CheckAll++; in saTimerTick()
145 saRoot->OldFlag[i], in saTimerTick()
149 saRoot->CheckAll, in saTimerTick()
155 saRoot->CheckAll, in saTimerTick()
166 saRoot->CheckAll, in saTimerTick()
182 saRoot->OldFlag[i] = 0; in saTimerTick()
[all …]
H A Dsampicmd.c117 outq = saRoot->QueueConfig.numOutboundQueues -1; in mpiBuildCmd()
126 circularQ = &saRoot->inboundQueue[inq]; in mpiBuildCmd()
239 saRoot->IOMap[pRequest->HTag].Tag = MARK_OFF; in mpiEchoCmd()
253 saRoot->LLCounters.IOCounter.numEchoSent++; in mpiEchoCmd()
553 SA_ASSERT((agNULL !=saRoot ), ""); in mpiGetDeviceInfoCmd()
554 if(saRoot == agNULL) in mpiGetDeviceInfoCmd()
651 agsaLLRoot_t *saRoot = agNULL; in mpiSetDeviceInfoCmd() local
660 saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in mpiSetDeviceInfoCmd()
661 SA_ASSERT((agNULL != saRoot), ""); in mpiSetDeviceInfoCmd()
935 circularQ = &saRoot->inboundQueue[inq]; in mpiSMPCmd()
[all …]
H A Dsainit.c396 if(agNULL == saRoot) in saInitialize()
447 size = sizeof(saRoot->freeFastReq) / sizeof(saRoot->freeFastReq[0]); in saInitialize()
869 saRoot->portCount = saRoot->phyCount; in saInitialize()
995 saRoot->swConfig.param3 = &saRoot->QueueConfig; in saInitialize()
1501 if(saRoot->Iop1Tcnt_last == saRoot->mpiGSTable.Iop1Tcnt ) in siReadControllerStatus()
1505 …if( saRoot->MsguTcnt_last == saRoot->mpiGSTable.MsguTcnt || saRoot->IopTcnt_last == saRoot->mpiGS… in siReadControllerStatus()
1512 saRoot->MsguTcnt_last = saRoot->mpiGSTable.MsguTcnt; in siReadControllerStatus()
1513 saRoot->IopTcnt_last = saRoot->mpiGSTable.IopTcnt; in siReadControllerStatus()
1514 saRoot->Iop1Tcnt_last = saRoot->mpiGSTable.Iop1Tcnt; in siReadControllerStatus()
1885 if(saRoot == agNULL) in mpiInitialize()
[all …]
H A Dsampirsp.c708 saRoot->IOMap[tag].Tag = MARK_OFF; in mpiEchoRsp()
858 saRoot->IOMap[tag].Tag = MARK_OFF; in mpiGetNVMDataRsp()
913 if(saRoot == agNULL) in mpiPhyStartEvent()
926 saRoot->IOMap[tag].Tag = MARK_OFF; in mpiPhyStartEvent()
1018 if(saRoot == agNULL) in mpiPhyStopEvent()
1029 saRoot->IOMap[tag].Tag = MARK_OFF; in mpiPhyStopEvent()
1080 pPhy = &(saRoot->phys[phyId]); in mpiPhyStopEvent()
1182 SA_ASSERT((agNULL !=saRoot ), ""); in mpiHWevent()
1183 if(saRoot == agNULL) in mpiHWevent()
1262 if (portId > saRoot->phyCount) in mpiHWevent()
[all …]
H A Dsaint.c95 if (saRoot == agNULL) in siFatalInterruptHandler()
102 if (saRoot->ResetFailed) in siFatalInterruptHandler()
247 if (agNULL != saRoot) in siFatalInterruptHandler()
337 if (saRoot->ResetFailed) in saFatalInterruptHandler()
399 if( agNULL == saRoot ) in saInterruptHandler()
872 else if (saRoot->CheckAll) in saDelayedInterruptHandler()
905 saRoot->CheckAll = 0; in saDelayedInterruptHandler()
979 if(saRoot->sysIntsActive) in siReenableMSIX_V_Interrupts()
1296 if (agNULL != saRoot) in siProcessOBMsg()
1345 agsaLLRoot_t *saRoot; in saSystemInterruptsActive() local
[all …]
H A Dsaphy.c85 if ( phyId >= saRoot->phyCount ) in saPhyStart()
334 if ( phyId >= saRoot->phyCount ) in siPhyStopCB()
346 pPhy = &(saRoot->phys[phyId]); in siPhyStopCB()
438 SA_ASSERT((agNULL != saRoot), ""); in saLocalPhyControl()
439 if(saRoot == agNULL) in saLocalPhyControl()
536 if ( phyId >= saRoot->phyCount ) in saLocalPhyControl()
686 if ( phyId >= saRoot->phyCount ) in saLocalPhyControl()
840 SA_ASSERT((agNULL != saRoot), ""); in saGetPhyProfile()
842 if(saRoot == agNULL) in saGetPhyProfile()
1024 SA_ASSERT((agNULL != saRoot), ""); in saHwEventAck()
[all …]
H A Dsaioctlcmd.c230 agsaLLRoot_t *saRoot; in saFwFlashUpdate() local
246 if (saRoot == agNULL) in saFwFlashUpdate()
985 if (agNULL != saRoot) in saGetControllerStatus()
1036 if (agNULL != saRoot) in saGetControllerStatus()
1055 if (agNULL != saRoot) in saGetControllerStatus()
1322 if (agNULL != saRoot) in saGetControllerStatus()
1901 if (saRoot == agNULL) in saSASDiagStartEnd()
1999 if (saRoot == agNULL) in saGetTimeStamp()
2456 if(agNULL == saRoot ) in siFatalErrorBuffer()
2462 if(saRoot->ResetFailed ) in siFatalErrorBuffer()
[all …]
H A Dsautil.c135 agsaLLRoot_t *saRoot = agNULL; in siDumpActiveIORequests() local
142 SA_ASSERT((agNULL != saRoot), ""); in siDumpActiveIORequests()
176 saRoot->timeTick, saRoot->usecsPerTick)); in siDumpActiveIORequests()
191 ((saRoot->timeTick - pRequestDesc->startTick)*saRoot->usecsPerTick)/1000000 )); in siDumpActiveIORequests()
219 agsaLLRoot_t *saRoot = agNULL; in siClearActiveIORequests() local
224 SA_ASSERT((agNULL != saRoot), ""); in siClearActiveIORequests()
226 if(saRoot) in siClearActiveIORequests()
269 agsaLLRoot_t *saRoot = agNULL; in siClearActiveIORequestsOnDevice() local
274 SA_ASSERT((agNULL != saRoot), ""); in siClearActiveIORequestsOnDevice()
325 SA_ASSERT((agNULL != saRoot), ""); in siCountActiveIORequestsOnDevice()
[all …]
H A Dsadisc.c273 saRoot->DeviceHandle[i] = agDev[i]; in saGetDeviceHandles()
320 OS_ASSERT(saRoot != agNULL, "saRoot is NULL"); in saRegisterNewDevice()
323 if(saRoot == agNULL) in saRegisterNewDevice()
390 saRoot->IOMap[pRequest->HTag].Tag = pRequest->HTag; in saRegisterNewDevice()
392 saRoot->IOMap[pRequest->HTag].agContext = agContext; in saRegisterNewDevice()
526 saRoot->IOMap[pRequest->HTag].Tag = MARK_OFF; in saRegisterNewDevice()
527 saRoot->IOMap[pRequest->HTag].IORequest = agNULL; in saRegisterNewDevice()
528 saRoot->IOMap[pRequest->HTag].agContext = agNULL; in saRegisterNewDevice()
808 agsaLLRoot_t *saRoot; in saSetDeviceState() local
813 saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saSetDeviceState()
[all …]
H A Dsasmp.c72 agsaLLRoot_t *saRoot = agNULL; in saSMPStart() local
94 saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saSMPStart()
95 SA_ASSERT((agNULL != saRoot), ""); in saSMPStart()
97 if(saRoot == agNULL) in saSMPStart()
167 pRequest->startTick = saRoot->timeTick; in saSMPStart()
174 saRoot->IOMap[pRequest->HTag].Tag = pRequest->HTag; in saSMPStart()
183 circularQ = &saRoot->inboundQueue[inq]; in saSMPStart()
367 saRoot->LLCounters.IOCounter.numSMPStarted++; in saSMPStart()
636 pRequest->startTick = saRoot->timeTick; in saSMPAbort()
693 saRoot->IOMap[pRequest->HTag].Tag = MARK_OFF; in saSMPAbort()
[all …]
H A Dsahw.c192 if (agNULL != saRoot) in saHwReset()
222 if (agNULL != saRoot) in saHwReset()
235 if (agNULL != saRoot) in saHwReset()
249 if (agNULL != saRoot) in saHwReset()
251 saRoot->ResetStartTick = saRoot->timeTick; in saHwReset()
257 if(agNULL !=saRoot) in saHwReset()
289 if (agNULL != saRoot) in saHwReset()
326 if(agNULL !=saRoot) in saHwReset()
367 if (agNULL != saRoot) in saHwReset()
531 agsaLLRoot_t *saRoot; in siChipReset() local
[all …]
H A Dsassp.c85 if (!saRoot->freeFastIdx) in siFastSSPReqAlloc()
93 saRoot->freeFastIdx--; in siFastSSPReqAlloc()
94 idx = saRoot->freeFastIdx; in siFastSSPReqAlloc()
114 if (saRoot->freeFastIdx >= sizeof(saRoot->freeFastReq) / in siFastSSPReqFree()
118 saRoot->freeFastIdx, (int)(sizeof(saRoot->freeFastReq) / in siFastSSPReqFree()
126 saRoot->freeFastIdx++; in siFastSSPReqFree()
224 agsaLLRoot_t *saRoot; in saFastSSPCancel() local
235 SA_ASSERT((saRoot), ""); in saFastSSPCancel()
283 agsaLLRoot_t *saRoot; in saFastSSPPrepare() local
534 agsaLLRoot_t *saRoot; in saFastSSPSend() local
[all …]
H A Dmpi.c490 agsaLLRoot_t *saRoot = agNULL; in mpiMsgProduce() local
491 saRoot = agRoot->sdkData; in mpiMsgProduce()
564 if(saRoot->BunchStarts_Enable) in mpiMsgProduce()
575 saRoot->BunchStarts_Pending++; in mpiMsgProduce()
605 for(inq=0; ((inq < saRoot->QueueConfig.numInboundQueues) && saRoot->BunchStarts_Pending); inq++) in mpiMsgProduceBunch()
613 … ((saRoot->timeTick - circularQ->BunchStarts_QPendingTick) >= saRoot->BunchStarts_TimeoutTicks)) in mpiMsgProduceBunch()
885 saRoot->IBQnumber++; in mpiRotateQnumber()
889 saRoot->IBQnumber = 0; in mpiRotateQnumber()
894 saRoot->OBQnumber++; in mpiRotateQnumber()
898 saRoot->OBQnumber = 0; in mpiRotateQnumber()
[all …]
H A Dsaport.c175 agsaLLRoot_t *saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in siPortDeviceRemove() local
207 saRoot->DeviceMap[deviceIdx].DeviceIdFromFW = 0; in siPortDeviceRemove()
208 saRoot->DeviceMap[deviceIdx].DeviceHandle = agNULL; in siPortDeviceRemove()
348 saLlistAdd(&(saRoot->freePorts), &(pPort->linkNode)); in siPortInvalid()
441 SA_ASSERT((agNULL !=saRoot ), ""); in saPortControl()
443 if(saRoot == agNULL) in saPortControl()
485 saRoot->IOMap[pRequest->HTag].Tag = pRequest->HTag; in saPortControl()
487 saRoot->IOMap[pRequest->HTag].agContext = agContext; in saPortControl()
511 saRoot->IOMap[pRequest->HTag].Tag = MARK_OFF; in saPortControl()
512 saRoot->IOMap[pRequest->HTag].IORequest = agNULL; in saPortControl()
[all …]
H A Dsasata.c70 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saSATAStart() local
153 pRequest->startTick = saRoot->timeTick; in saSATAStart()
159 saRoot->IOMap[pRequest->HTag].Tag = pRequest->HTag; in saSATAStart()
160 saRoot->IOMap[pRequest->HTag].IORequest = (void *)pRequest; in saSATAStart()
167 circularQ = &saRoot->inboundQueue[inq]; in saSATAStart()
565 saRoot->LLCounters.IOCounter.numSataStarted++; in saSATAStart()
721 pRequest->startTick = saRoot->timeTick; in saSATAAbort()
727 saRoot->IOMap[pRequest->HTag].Tag = pRequest->HTag; in saSATAAbort()
728 saRoot->IOMap[pRequest->HTag].IORequest = (void *)pRequest; in saSATAAbort()
736 circularQ = &saRoot->inboundQueue[inq]; in saSATAAbort()
[all …]
H A Dsadefs.h153 #define LL_IOREQ_IBQ0_LOCK (LL_IOREQ_OBQ_LOCK + saRoot->QueueConfig.numOutboundQueues +1)
/freebsd-14.2/sys/dev/pms/RefTisa/tisa/sassata/common/
H A Dtdioctl.c740 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in tiCOMMgntIOCTL() local
747 for( i = 0; i < saRoot->phyCount ; i++) in tiCOMMgntIOCTL()
749 PhyDetails[i].attached_phy = saRoot->phys[i].sasIdentify.phyIdentifier; in tiCOMMgntIOCTL()
758 sas_dev_type = (saRoot->phys[i].sasIdentify.deviceType_addressFrameType & 0x70 ) >> 4 ; in tiCOMMgntIOCTL()
759 if ((saRoot->phys[i].status == 1) && (sas_dev_type == 0)){ //status 1 - Phy Up in tiCOMMgntIOCTL()
768 …osti_memcpy(&PhyDetails[i].attached_sasAddressHi, saRoot->phys[i].sasIdentify.sasAddressHi, sizeof… in tiCOMMgntIOCTL()
769 …osti_memcpy(&PhyDetails[i].attached_sasAddressLo, saRoot->phys[i].sasIdentify.sasAddressLo, sizeof… in tiCOMMgntIOCTL()