FreeBSD kernel pms device code
tiapi.h File Reference
Include dependency graph for tiapi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

osGLOBAL void tiCOMGetResource (tiRoot_t *tiRoot, tiLoLevelResource_t *loResource, tiInitiatorResource_t *initiatorResource, tiTargetResource_t *targetResource, tiTdSharedMem_t *tdSharedMem)
 
osGLOBAL bit32 tiCOMInit (tiRoot_t *tiRoot, tiLoLevelResource_t *loResource, tiInitiatorResource_t *initiatorResource, tiTargetResource_t *targetResource, tiTdSharedMem_t *tdSharedMem)
 
osGLOBAL bit32 tiCOMPortInit (tiRoot_t *tiRoot, bit32 sysIntsActive)
 
osGLOBAL bit32 tiCOMPortStart (tiRoot_t *tiRoot, bit32 portID, tiPortalContext_t *portalContext, bit32 option)
 
osGLOBAL void tiCOMShutDown (tiRoot_t *tiRoot)
 
osGLOBAL bit32 tiCOMPortStop (tiRoot_t *tiRoot, tiPortalContext_t *portalContext)
 
osGLOBAL void tiCOMReset (tiRoot_t *tiRoot, bit32 option)
 
osGLOBAL bit32 tdsaGetNumOfLUNIOCTL (tiRoot_t *tiRoot, tiIOCTLPayload_t *agIOCTLPayload, void *agParam1, void *agParam2, void *agParam3)
 
osGLOBAL void ostiNumOfLUNIOCTLRsp (tiRoot_t *tiRoot, bit32 status)
 
osGLOBAL bit32 tiNumOfLunIOCTLreq (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, void *tiRequestBody, tiIOCTLPayload_t *agIOCTLPayload, void *agParam1, void *agParam2)
 
osGLOBAL FORCEINLINE bit32 tiCOMInterruptHandler (tiRoot_t *tiRoot, bit32 channelNum)
 
osGLOBAL FORCEINLINE bit32 tiCOMDelayedInterruptHandler (tiRoot_t *tiRoot, bit32 channelNum, bit32 count, bit32 context)
 
osGLOBAL bit32 tiCOMLegacyInterruptHandler (tiRoot_t *tiRoot, bit32 channelNum)
 
osGLOBAL void tiCOMLegacyDelayedInterruptHandler (tiRoot_t *tiRoot, bit32 channelNum, bit32 count, bit32 context)
 
osGLOBAL void tiCOMTimerTick (tiRoot_t *tiRoot)
 
osGLOBAL void tiCOMSystemInterruptsActive (tiRoot_t *tiRoot, bit32 sysIntsActive)
 
osGLOBAL FORCEINLINE void tiCOMInterruptEnable (tiRoot_t *tiRoot, bit32 channelNum)
 
osGLOBAL void tiCOMFrameReadBlock (tiRoot_t *tiRoot, void *agFrame, bit32 FrameOffset, void *FrameBuffer, bit32 FrameBufLen)
 
osGLOBAL bit32 tiCOMEncryptGetInfo (tiRoot_t *tiRoot)
 
osGLOBAL bit32 tiCOMEncryptSetMode (tiRoot_t *tiRoot, bit32 securityCipherMode)
 
osGLOBAL bit32 tiCOMSetControllerConfig (tiRoot_t *tiRoot, bit32 modePage, bit32 length, void *buffer, void *context)
 
osGLOBAL bit32 tiCOMGetControllerConfig (tiRoot_t *tiRoot, bit32 modePage, bit32 flag, void *context)
 
osGLOBAL bit32 tiCOMEncryptDekAdd (tiRoot_t *tiRoot, bit32 kekIndex, bit32 dekTableSelect, bit32 dekAddrHi, bit32 dekAddrLo, bit32 dekIndex, bit32 dekNumberOfEntries, bit32 dekBlobFormat, bit32 dekTableKeyEntrySize)
 
osGLOBAL bit32 tiCOMEncryptDekInvalidate (tiRoot_t *tiRoot, bit32 dekTable, bit32 dekIndex)
 
osGLOBAL bit32 tiCOMEncryptKekAdd (tiRoot_t *tiRoot, bit32 kekIndex, bit32 wrapperKekIndex, bit32 blobFormat, tiEncryptKekBlob_t *encryptKekBlob)
 
osGLOBAL tiDeviceHandle_ttiINIGetExpDeviceHandleBySasAddress (tiRoot_t *tiRoot, tiPortalContext_t *tiPortalContext, bit32 sas_addr_hi, bit32 sas_addr_lo, bit32 maxDevs)
 
osGLOBAL bit32 tiCOMEncryptKekStore (tiRoot_t *tiRoot, bit32 kekIndex)
 
osGLOBAL bit32 tiCOMEncryptKekLoad (tiRoot_t *tiRoot, bit32 kekIndex)
 
osGLOBAL bit32 tiCOMEncryptSelfTest (tiRoot_t *tiRoot, bit32 type, bit32 length, void *TestDescriptor)
 
osGLOBAL bit32 tiCOMSetOperator (tiRoot_t *tiRoot, bit32 flag, void *cert)
 
osGLOBAL bit32 tiCOMGetOperator (tiRoot_t *tiRoot, bit32 option, bit32 AddrHi, bit32 AddrLo)
 
osGLOBAL bit32 tiCOMOperatorManagement (tiRoot_t *tiRoot, bit32 flag, bit8 role, tiID_t *idString, tiEncryptKekBlob_t *kekBlob)
 
osGLOBAL bit32 tiCOMMgntIOCTL (tiRoot_t *tiRoot, tiIOCTLPayload_t *agIOCTLPayload, void *agParam1, void *agParam2, void *agParam3)
 
osGLOBAL void ostiCOMMgntIOCTLRsp (tiRoot_t *tiRoot, bit32 status)
 
osGLOBAL void ostiRegDumpIOCTLRsp (tiRoot_t *tiRoot, bit32 status)
 
osGLOBAL void ostiSetNVMDIOCTLRsp (tiRoot_t *tiRoot, bit32 status)
 
osGLOBAL void ostiGetPhyProfileIOCTLRsp (tiRoot_t *tiRoot, bit32 status)
 
osGLOBAL void ostiGetNVMDIOCTLRsp (tiRoot_t *tiRoot, bit32 status)
 
osGLOBAL bit32 tiCOMGetPortInfo (tiRoot_t *tiRoot, tiPortalContext_t *portalContext, tiPortInfo_t *tiPortInfo)
 
osGLOBAL void ostiSendSMPIOCTLRsp (tiRoot_t *tiRoot, bit32 status)
 
osGLOBAL void ostiGenEventIOCTLRsp (tiRoot_t *tiRoot, bit32 status)
 
osGLOBAL void ostiGetDeviceInfoIOCTLRsp (tiRoot_t *tiRoot, bit32 status, void *param)
 
osGLOBAL void ostiGetIoErrorStatsIOCTLRsp (tiRoot_t *tiRoot, bit32 status, void *param)
 
osGLOBAL void ostiGetIoEventStatsIOCTLRsp (tiRoot_t *tiRoot, bit32 status, void *param)
 
osGLOBAL void ostiGetForensicDataIOCTLRsp (tiRoot_t *tiRoot, bit32 status, void *param)
 
osGLOBAL bit32 tiINIGetExpander (tiRoot_t *tiRoot, tiPortalContext_t *tiPortalContext, tiDeviceHandle_t *tiDev, tiDeviceHandle_t **tiExp)
 
osGLOBAL bit32 tiINIGetDeviceHandles (tiRoot_t *tiRoot, tiPortalContext_t *portalContext, tiDeviceHandle_t *agDev[], bit32 maxDevs)
 
osGLOBAL bit32 tiINIGetDeviceHandlesForWinIOCTL (tiRoot_t *tiRoot, tiPortalContext_t *portalContext, tiDeviceHandle_t *agDev[], bit32 maxDevs)
 
osGLOBAL void tiIniGetDirectSataSasAddr (tiRoot_t *tiRoot, bit32 phyId, bit8 **sasAddressHi, bit8 **sasAddressLo)
 
osGLOBAL bit32 tiINIDiscoverTargets (tiRoot_t *tiRoot, tiPortalContext_t *portalContext, bit32 option)
 
osGLOBAL bit32 tiINILogin (tiRoot_t *tiRoot, tiDeviceHandle_t *tiDeviceHandle)
 
osGLOBAL bit32 tiINILogout (tiRoot_t *tiRoot, tiDeviceHandle_t *tiDeviceHandle)
 
osGLOBAL bit32 tiINIGetDeviceInfo (tiRoot_t *tiRoot, tiDeviceHandle_t *tiDeviceHandle, tiDeviceInfo_t *tiDeviceInfo)
 
osGLOBAL void tiINITransportRecovery (tiRoot_t *tiRoot, tiDeviceHandle_t *tiDeviceHandle)
 
osGLOBAL bit32 tiINITaskManagement (tiRoot_t *tiRoot, tiDeviceHandle_t *tiDeviceHandle, bit32 task, tiLUN_t *lun, tiIORequest_t *taskTag, tiIORequest_t *currentTaskTag)
 
osGLOBAL bit32 tiINISMPStart (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiSMPFrame_t *tiScsiRequest, void *tiSMPBody, bit32 interruptContext)
 
osGLOBAL bit32 tiINIIOStart (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, void *tiRequestBody, bit32 interruptContext)
 
osGLOBAL void tiINIDebugDumpIO (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest)
 
osGLOBAL bit32 tiINIIOStartDif (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiScsiInitiatorRequest_t *tiScsiRequest, void *tiRequestBody, bit32 interruptContext, tiDif_t *difOption)
 
osGLOBAL bit32 tiINISuperIOStart (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle, tiSuperScsiInitiatorRequest_t *tiScsiRequest, void *tiRequestBody, bit32 interruptContext)
 
osGLOBAL bit32 tiCOMEncryptGetMode (tiRoot_t *tiRoot)
 
osGLOBAL bit32 tiCOMEncryptSetOn_Off (tiRoot_t *tiRoot, bit32 On)
 
osGLOBAL bit32 tiInitDevEncrypt (tiRoot_t *tiRoot, void *tideviceptr)
 
osGLOBAL bit32 tiTGTSuperIOStart (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiSuperScsiTargetRequest_t *tiScsiRequest)
 
osGLOBAL void tiINITimerTick (tiRoot_t *tiRoot)
 
osGLOBAL bit32 tiINIIOAbort (tiRoot_t *tiRoot, tiIORequest_t *taskTag)
 
osGLOBAL bit32 tiINIIOAbortAll (tiRoot_t *tiRoot, tiDeviceHandle_t *tiDeviceHandle)
 
osGLOBAL bit32 tiINIReportErrorToEventLog (tiRoot_t *tiRoot, tiEVTData_t *agEventData)
 
osGLOBAL void tiTGTTimerTick (tiRoot_t *tiRoot)
 
osGLOBAL void * tiTGTSenseBufferGet (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, bit32 length)
 
osGLOBAL void tiTGTSetResp (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, bit32 dataSentLength, bit8 ScsiStatus, bit32 senseLength)
 
osGLOBAL bit32 tiTGTIOStart (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, bit32 dataOffset, bit32 dataLength, tiSgl_t *dataSGL, void *sglVirtualAddr)
 
osGLOBAL bit32 tiTGTIOStartMirror (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, bit32 dataOffset, bit32 dataLength, tiSgl_t *dataSGL, void *sglVirtualAddr, tiSgl_t *dataSGLMirror, void *sglVirtualAddrMirror)
 
osGLOBAL bit32 tiTGTIOStartDif (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, bit32 dataOffset, bit32 dataLength, tiSgl_t *dataSGL, void *sglVirtualAddr, tiDif_t *difOption)
 
osGLOBAL bit32 tiTGTGetDeviceHandles (tiRoot_t *tiRoot, tiPortalContext_t *portalContext, tiDeviceHandle_t *agDev[], bit32 maxDevs)
 
osGLOBAL bit32 tiTGTGetDeviceInfo (tiRoot_t *tiRoot, tiDeviceHandle_t *tiDeviceHandle, tiDeviceInfo_t *tiDeviceInfo)
 
osGLOBAL bit32 tiTGTIOAbort (tiRoot_t *tiRoot, tiIORequest_t *taskTag)
 
osGLOBAL bit32 tiTGTSendTmResp (tiRoot_t *tiRoot, tiIORequest_t *tiTMRequest, bit32 status)
 
void tiPCI_TRIGGER (tiRoot_t *tiRoot)
 
void tiComCountActiveIORequests (tiRoot_t *tiRoot)
 

Function Documentation

◆ ostiCOMMgntIOCTLRsp()

osGLOBAL void ostiCOMMgntIOCTLRsp ( tiRoot_t tiRoot,
bit32  status 
)

Definition at line 1466 of file tdioctl.c.

References NULL, ostiFreeMemory(), ostiIOCTLSetSignal(), status, tiRoot::tdData, tdsaRoot_s::tdsaAllShared, and TI_DBG1.

Referenced by ossaFwFlashUpdateCB().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ostiGenEventIOCTLRsp()

osGLOBAL void ostiGenEventIOCTLRsp ( tiRoot_t tiRoot,
bit32  status 
)

Definition at line 1764 of file tdioctl.c.

References IOCTL_ERR_STATUS_INTERNAL_ERROR, NULL, ostiFreeMemory(), ostiIOCTLSetSignal(), tiIOCTLPayload::Status, tiRoot::tdData, tdsaRoot_s::tdsaAllShared, and TI_DBG1.

Referenced by ossaGeneralEvent().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ostiGetDeviceInfoIOCTLRsp()

◆ ostiGetForensicDataIOCTLRsp()

◆ ostiGetIoErrorStatsIOCTLRsp()

osGLOBAL void ostiGetIoErrorStatsIOCTLRsp ( tiRoot_t tiRoot,
bit32  status,
void *  param 
)

◆ ostiGetIoEventStatsIOCTLRsp()

osGLOBAL void ostiGetIoEventStatsIOCTLRsp ( tiRoot_t tiRoot,
bit32  status,
void *  param 
)

◆ ostiGetNVMDIOCTLRsp()

osGLOBAL void ostiGetNVMDIOCTLRsp ( tiRoot_t tiRoot,
bit32  status 
)

Definition at line 1640 of file tdioctl.c.

References agNULL, NULL, osti_memcpy, ostiFreeMemory(), ostiIOCTLSetSignal(), status, tiIOCTLPayload::Status, tiRoot::tdData, tdsaRoot_s::tdsaAllShared, and TI_DBG1.

Referenced by ossaGetNVMDResponseCB().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ostiGetPhyProfileIOCTLRsp()

◆ ostiNumOfLUNIOCTLRsp()

osGLOBAL void ostiNumOfLUNIOCTLRsp ( tiRoot_t tiRoot,
bit32  status 
)

◆ ostiRegDumpIOCTLRsp()

osGLOBAL void ostiRegDumpIOCTLRsp ( tiRoot_t tiRoot,
bit32  status 
)

Definition at line 1505 of file tdioctl.c.

References NULL, osti_memcpy, ostiFreeMemory(), ostiIOCTLSetSignal(), tiRoot::tdData, tdsaRoot_s::tdsaAllShared, and TI_DBG1.

Referenced by ossaGetRegisterDumpCB().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ostiSendSMPIOCTLRsp()

osGLOBAL void ostiSendSMPIOCTLRsp ( tiRoot_t tiRoot,
bit32  status 
)

Definition at line 3237 of file tdioctl.c.

References NULL, osti_memcpy, ostiFreeMemory(), ostiIOCTLComplete(), status, tiIOCTLPayload::Status, tiRoot::tdData, tdsaRoot_s::tdsaAllShared, and TI_DBG1.

Referenced by ossaSMPIoctlCompleted().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ostiSetNVMDIOCTLRsp()

osGLOBAL void ostiSetNVMDIOCTLRsp ( tiRoot_t tiRoot,
bit32  status 
)

Definition at line 1546 of file tdioctl.c.

References NULL, ostiFreeMemory(), ostiIOCTLSetSignal(), status, tiIOCTLPayload::Status, tiRoot::tdData, tdsaRoot_s::tdsaAllShared, and TI_DBG1.

Referenced by ossaSetNVMDResponseCB().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tdsaGetNumOfLUNIOCTL()

osGLOBAL bit32 tdsaGetNumOfLUNIOCTL ( tiRoot_t tiRoot,
tiIOCTLPayload_t agIOCTLPayload,
void *  agParam1,
void *  agParam2,
void *  agParam3 
)

◆ tiComCountActiveIORequests()

void tiComCountActiveIORequests ( tiRoot_t tiRoot)

Definition at line 227 of file tdint.c.

References saCountActiveIORequests(), tiRoot::tdData, and tdsaRoot_s::tdsaAllShared.

Here is the call graph for this function:

◆ tiCOMDelayedInterruptHandler()

osGLOBAL FORCEINLINE bit32 tiCOMDelayedInterruptHandler ( tiRoot_t tiRoot,
bit32  channelNum,
bit32  count,
bit32  context 
)

Definition at line 144 of file tdint.c.

References agNULL, saDelayedInterruptHandler(), tiRoot::tdData, TDSA_OUT_ENTER, TDSA_OUT_LEAVE, tdsaRoot_s::tdsaAllShared, TI_DBG3, and tiInterruptContext.

Referenced by agtiapi_CheckAllVectors(), agtiapi_IntrHandlerx_(), SendSgpioRequest(), and tiIniGetDirectSataSasAddr().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tiCOMEncryptDekAdd()

osGLOBAL bit32 tiCOMEncryptDekAdd ( tiRoot_t tiRoot,
bit32  kekIndex,
bit32  dekTableSelect,
bit32  dekAddrHi,
bit32  dekAddrLo,
bit32  dekIndex,
bit32  dekNumberOfEntries,
bit32  dekBlobFormat,
bit32  dekTableKeyEntrySize 
)

◆ tiCOMEncryptDekInvalidate()

◆ tiCOMEncryptGetInfo()

◆ tiCOMEncryptGetMode()

osGLOBAL bit32 tiCOMEncryptGetMode ( tiRoot_t tiRoot)

◆ tiCOMEncryptKekAdd()

osGLOBAL bit32 tiCOMEncryptKekAdd ( tiRoot_t tiRoot,
bit32  kekIndex,
bit32  wrapperKekIndex,
bit32  blobFormat,
tiEncryptKekBlob_t encryptKekBlob 
)

◆ tiCOMEncryptKekLoad()

osGLOBAL bit32 tiCOMEncryptKekLoad ( tiRoot_t tiRoot,
bit32  kekIndex 
)

◆ tiCOMEncryptKekStore()

osGLOBAL bit32 tiCOMEncryptKekStore ( tiRoot_t tiRoot,
bit32  kekIndex 
)

◆ tiCOMEncryptSelfTest()

osGLOBAL bit32 tiCOMEncryptSelfTest ( tiRoot_t tiRoot,
bit32  type,
bit32  length,
void *  TestDescriptor 
)

◆ tiCOMEncryptSetMode()

◆ tiCOMEncryptSetOn_Off()

osGLOBAL bit32 tiCOMEncryptSetOn_Off ( tiRoot_t tiRoot,
bit32  On 
)

◆ tiCOMFrameReadBlock()

osGLOBAL void tiCOMFrameReadBlock ( tiRoot_t tiRoot,
void *  agFrame,
bit32  FrameOffset,
void *  FrameBuffer,
bit32  FrameBufLen 
)

Definition at line 1908 of file tdmisc.c.

References agNULL, saFrameReadBlock(), tiRoot::tdData, tdsaRoot_s::tdsaAllShared, and TI_DBG6.

Here is the call graph for this function:

◆ tiCOMGetControllerConfig()

osGLOBAL bit32 tiCOMGetControllerConfig ( tiRoot_t tiRoot,
bit32  modePage,
bit32  flag,
void *  context 
)

◆ tiCOMGetOperator()

osGLOBAL bit32 tiCOMGetOperator ( tiRoot_t tiRoot,
bit32  option,
bit32  AddrHi,
bit32  AddrLo 
)

◆ tiCOMGetPortInfo()

◆ tiCOMGetResource()

osGLOBAL void tiCOMGetResource ( tiRoot_t tiRoot,
tiLoLevelResource_t loResource,
tiInitiatorResource_t initiatorResource,
tiTargetResource_t targetResource,
tiTdSharedMem_t tdSharedMem 
)

Definition at line 224 of file tdinit.c.

References agNULL, itdssGetResource(), tdsaLoLevelGetResource(), tdsaSharedMemCalculate(), TI_DBG1, TI_DBG6, and ttdssGetResource().

Referenced by agtiapi_attach().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tiCOMInit()

osGLOBAL bit32 tiCOMInit ( tiRoot_t tiRoot,
tiLoLevelResource_t loResource,
tiInitiatorResource_t initiatorResource,
tiTargetResource_t targetResource,
tiTdSharedMem_t tdSharedMem 
)

< Initialize the OS data part of the interrupt context agRoot

< Initialize the OS data part of the non-interrupt context agRoot

< initializes tdsaPortStartInfo_s including flags

< initializes timers

< initializes tdsaPortContext_t

< initializes devicelist in tdsaPortContext_t

Definition at line 294 of file tdinit.c.

References agFALSE, agNULL, agsaEventSource_s::agPortContext, tdsaContext_s::agRootInt, tdsaContext_s::agRootNonInt, tdsaContext_s::agRootOsDataForInt, tdsaContext_s::agRootOsDataForNonInt, tdsaContext_s::CardIDString, tdsaContext_s::currentOperation, tdsaContext_s::DeviceMem, dmGetRequirements(), agsaEventSource_s::event, tdsaContext_s::eventSource, tdsaHwEventSource_s::EventValid, tdsaContext_s::ExpanderHead, tdsaEsglAllInfo_s::freelist, tdsaContext_s::IBQnumber, tdsaEsglPageInfo_s::id, tiInitiatorResource::initiatorMem, tdsaRootOsData_s::IntContext, tdsaContext_s::itdsaIni, tdsaRootOsData_s::itdsaIni, itdssInit(), tiLoLevelResource::loLevelOption, tdsaContext_s::loResource, tdsaContext_s::MaxNumLLLocks, tdsaContext_s::MaxNumLocks, tiLoLevelOption::maxNumOSLocks, tdsaContext_s::MaxNumOSLocks, tiLoLevelOption::numOfQueuesPerPort, tdsaContext_s::OBQnumber, agsaContext_s::osData, osti_strcpy, agsaEventSource_s::param, tdsaContext_s::PortContextMem, tdsaContext_s::resetCount, agsaContext_s::sdkData, smGetRequirements(), tdsaHwEventSource_s::Source, status, tiTargetResource_t::targetMem, TD_MAX_INT_COALESCE, TD_MAX_LOCKS, TD_MAX_NUM_PHYS, TD_MAX_PORT_CONTEXT, TD_OPERATION_INITIATOR, TD_OPERATION_TARGET, tiInitiatorMem::tdCachedMem, tiRoot::tdData, TDLIST_DEQUEUE_FROM_HEAD, TDLIST_ENQUEUE_AT_HEAD, TDLIST_OBJECT_BASE, tiTargetMem::tdMem, tdsaRoot_s::tdsaAllShared, tdsaRootOsData_s::tdsaAllShared, tdsaDeviceDataInit(), tdsaExpanderInit(), tdsaGetCardIDString(), tdsaInitTimers(), tdsaJumpTableInit(), tdsaPortContextInit(), tdsaQueueConfigInit(), tdsaResetComMemFlags(), tiTdSharedMem::tdSharedCachedMem1, tdssGetMaxTargetsParams(), tdssInitSASPortStartInfo(), tdsaRootOsData_s::tdstDevice, tdsaRootOsData_s::tdstHost, TI_DBG1, TI_DBG2, TI_DBG3, TI_DBG5, TI_DBG6, tiError, tiInterruptContext, tiNonInterruptContext, tdsaRootOsData_s::tiRoot, tiSuccess, tdsaContext_s::ttdsaTgt, tdsaRootOsData_s::ttdsaTgt, ttdssInit(), and tiMem::virtPtr.

Referenced by agtiapi_InitCardSW().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tiCOMInterruptEnable()

osGLOBAL FORCEINLINE void tiCOMInterruptEnable ( tiRoot_t tiRoot,
bit32  channelNum 
)

Definition at line 253 of file tdint.c.

References saSystemInterruptsEnable(), tiRoot::tdData, and tdsaRoot_s::tdsaAllShared.

Here is the call graph for this function:

◆ tiCOMInterruptHandler()

osGLOBAL FORCEINLINE bit32 tiCOMInterruptHandler ( tiRoot_t tiRoot,
bit32  channelNum 
)

Definition at line 100 of file tdint.c.

References agFALSE, saInterruptHandler(), tiRoot::tdData, and tdsaRoot_s::tdsaAllShared.

Referenced by agtiapi_CheckAllVectors(), and agtiapi_IntrHandlerx_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tiCOMLegacyDelayedInterruptHandler()

osGLOBAL void tiCOMLegacyDelayedInterruptHandler ( tiRoot_t tiRoot,
bit32  channelNum,
bit32  count,
bit32  context 
)

◆ tiCOMLegacyInterruptHandler()

osGLOBAL bit32 tiCOMLegacyInterruptHandler ( tiRoot_t tiRoot,
bit32  channelNum 
)

◆ tiCOMMgntIOCTL()

osGLOBAL bit32 tiCOMMgntIOCTL ( tiRoot_t tiRoot,
tiIOCTLPayload_t agIOCTLPayload,
void *  agParam1,
void *  agParam2,
void *  agParam3 
)

Definition at line 364 of file tdioctl.c.

References AG_LOGICAL_UNIT_RESET, AG_TARGET_WARM_RESET, AGSA_INTERRUPT_CONFIGURATION_PAGE, AGSA_RC_FAILURE, AGSA_RC_SUCCESS, AGSA_SAS_PROTOCOL_TIMER_CONFIG_PAGE, AGTIAPI_DRIVER_VERSION, _PHY_DETAILS_::attached_dev_type, _PHY_DETAILS_::attached_phy, _PHY_DETAILS_::attached_sasAddressLo, _TSTMTID_TRACE_BUFFER_FETCH::BufferOffsetBegin, hpTraceBufferParms_s::BufferSize, _TSTMTID_TRACE_BUFFER_INFO::BufferSize, hpTraceBufferParms_s::CurrentIndex, _TSTMTID_TRACE_BUFFER_INFO::CurrentIndex, hpTraceBufferParms_s::CurrentTraceIndexWrapCount, _TSTMTID_TRACE_BUFFER_INFO::CurrentTraceIndexWrapCount, _TSTMTID_TRACE_BUFFER_FETCH::Data, agsaSASIdentify_s::deviceType_addressFrameType, agsaControllerEventLog_s::eventLog1, agsaControllerEventLog_s::eventLog1Option, agsaControllerEventLog_s::eventLog2, agsaControllerEventLog_s::eventLog2Option, FetchBufferSIZE, _TSTMTID_TRACE_BUFFER_RESET::Flag, tiIOCTLPayload::FunctionSpecificArea, agsaControllerInfo_s::fwRevision, _TSTMTID_TRACE_BUFFER_FETCH::HighFence, HighFence32Bits, IOCTL_CALL_FAIL, IOCTL_CALL_INVALID_CODE, IOCTL_CALL_INVALID_DEVICE, IOCTL_CALL_PENDING, IOCTL_CALL_SUCCESS, IOCTL_ERR_FW_EVENTLOG_DISABLED, IOCTL_ERR_STATUS_INTERNAL_ERROR, IOCTL_ERR_STATUS_NO_MORE_DATA, IOCTL_ERR_STATUS_NOT_SUPPORTED, IOCTL_ERR_STATUS_OK, IOCTL_MJ_CARD_PARAMETER, IOCTL_MJ_FW_CONTROL, IOCTL_MJ_FW_INFO, IOCTL_MJ_FW_PROFILE, IOCTL_MJ_GET_CORE_DUMP, IOCTL_MJ_GET_DEVICE_INFO, IOCTL_MJ_GET_DEVICE_LUN, IOCTL_MJ_GET_DRIVER_VERSION, IOCTL_MJ_GET_EVENT_LOG1, IOCTL_MJ_GET_EVENT_LOG2, IOCTL_MJ_GET_FORENSIC_DATA, IOCTL_MJ_GET_FW_REV, IOCTL_MJ_GET_IO_ERROR_STATISTIC, IOCTL_MJ_GET_IO_EVENT_STATISTIC, IOCTL_MJ_GET_PHY_PROFILE, IOCTL_MJ_GPIO, IOCTL_MJ_INI_DRIVER_IDENTIFY, IOCTL_MJ_LL_API_TEST, IOCTL_MJ_LL_TRACING, IOCTL_MJ_MODE_CTL_PAGE, IOCTL_MJ_NVMD_GET, IOCTL_MJ_NVMD_SET, IOCTL_MJ_PHY_DETAILS, IOCTL_MJ_PHY_GENERAL_STATUS, IOCTL_MJ_PORT_START, IOCTL_MJ_PORT_STOP, IOCTL_MJ_SEND_BIST, IOCTL_MJ_SEND_TMF, IOCTL_MJ_SET_OR_GET_REGISTER, IOCTL_MJ_SGPIO, IOCTL_MJ_SMP_REQUEST, IOCTL_MN_CARD_GET_INTERRUPT_CONFIG, IOCTL_MN_CARD_GET_TIMER_CONFIG, IOCTL_MN_FW_GET_EVENT_FLASH_LOG1, IOCTL_MN_FW_GET_EVENT_FLASH_LOG2, IOCTL_MN_FW_GET_TRACE_BUFFER, IOCTL_MN_LL_GET_TRACE_BUFFER, IOCTL_MN_LL_GET_TRACE_BUFFER_INFO, IOCTL_MN_LL_RESET_TRACE_INDEX, IOCTL_MN_TMF_DEVICE_RESET, IOCTL_MN_TMF_LUN_RESET, tiIOCTLPayload::Length, _TSTMTID_TRACE_BUFFER_FETCH::LowFence, LowFence32Bits, tiIOCTLPayload::MajorFunction, MIN, tiIOCTLPayload::MinorFunction, NULL, osti_memcpy, osti_sprintf, ostiChipConfigReadBit32(), tiEncryptDekConfigPage::pageCode, agsaControllerInfo_s::PCILinkRate, agsaControllerInfo_s::PCIWidth, hpTraceBufferParms_s::pCurrentTraceIndex, agsaLLRoot_s::phyCount, agsaSASIdentify_s::phyIdentifier, agsaLLRoot_s::phys, PMC_IOCTL_SIGNATURE, hpTraceBufferParms_s::pTrace, hpTraceBufferParms_s::pTraceIndexWrapCount, hpTraceBufferParms_s::pTraceMask, tiIOCTLPayload::Reserved, agsaPhyGeneralState_s::Reserved2, _TSTMTID_TRACE_BUFFER_RESET::Reset, saGetControllerConfig(), saGetControllerEventLogInfo(), saGetControllerInfo(), SAS_PHY_SATA_DEVICE, agsaSASIdentify_s::sasAddressHi, _PHY_DETAILS_::sasAddressHi, agsaSASIdentify_s::sasAddressLo, _PHY_DETAILS_::sasAddressLo, saSetControllerConfig(), agsaPhy_s::sasIdentify, agsaContext_s::sdkData, agsaControllerInfo_s::sdkRevision, agsaControllerInfo_s::signature, tiIOCTLPayload::Signature, smResetTraceBuffer, smTraceGetInfo, smTraceSetMask, status, agsaPhy_s::status, tiIOCTLPayload::Status, tiRoot::tdData, tdipFWControlIoctl(), tdsaRoot_s::tdsaAllShared, tdsaDeviceInfoGetIoctl(), tdsaForensicDataGetIoctl(), tdsaGetNumOfLUNIOCTL(), tdsaGetPhyGeneralStatusIoctl(), tdsaGpioSetup(), tdsaIoErrorStatisticGetIoctl(), tdsaIoEventStatisticGetIoctl(), tdsaNVMDGetIoctl(), tdsaNVMDSetIoctl(), tdsaPhyProfileIoctl(), tdsaRegDumpGetIoctl(), tdsaRegisterIoctl(), tdsaSendBISTIoctl(), tdsaSendSMPIoctl(), tdsaSendTMFIoctl(), tdsaSGpioIoctlSetup(), TI_DBG1, TI_DBG3, TI_DBG5, TI_DBG6, TI_ENCRYPTION_CONTROL_PARM_PAGE, TI_ENCRYPTION_DEK_CONFIG_PAGE, TI_ENCRYPTION_GENERAL_CONFIG_PAGE, tiCOMPortStart(), tiCOMPortStop(), tiIniGetDirectSataSasAddr(), tiIS_SPC, tiModePageGet, tiModePageSet, tiSuccess, agsaMem_s::totalLength, hpTraceBufferParms_s::TraceCompiled, _TSTMTID_TRACE_BUFFER_INFO::TraceCompiled, _TSTMTID_TRACE_BUFFER_INFO::TraceMask, _TSTMTID_TRACE_BUFFER_RESET::TraceMask, hpTraceBufferParms_s::TraceWrap, _TSTMTID_TRACE_BUFFER_INFO::TraceWrap, agsaInterruptConfigPage_s::vectorMask0, agsaInterruptConfigPage_s::vectorMask1, and agsaMem_s::virtPtr.

Referenced by agtiapi_CharIoctl().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tiCOMOperatorManagement()

osGLOBAL bit32 tiCOMOperatorManagement ( tiRoot_t tiRoot,
bit32  flag,
bit8  role,
tiID_t idString,
tiEncryptKekBlob_t kekBlob 
)

◆ tiCOMPortInit()

osGLOBAL bit32 tiCOMPortInit ( tiRoot_t tiRoot,
bit32  sysIntsActive 
)

Definition at line 3862 of file tdport.c.

References aap1array, agsaFwImg_s::aap1Img, agsaFwImg_s::aap1Len, agsaMemoryRequirement_s::agMemory, agNULL, tdsaContext_s::agRootInt, tdsaContext_s::agRootNonInt, AGSA_CACHED_DMA_MEM, AGSA_CACHED_MEM, AGSA_DMA_MEM, AGSA_NUM_MEM_CHUNKS, AGSA_RC_FAILURE, AGSA_RC_VERSION_INCOMPATIBLE, agTRUE, dmMem_t::alignment, agsaMem_s::alignment, smMem_t::alignment, tiMem::alignment, dmMemoryRequirement_t::count, agsaMemoryRequirement_s::count, smMemoryRequirement_t::count, tiLoLevelMem::count, tdsaContext_s::currentOperation, DEFAULT_INBOUND_QUEUE_PRIORITY, DM_RC_FAILURE, DM_RC_VERSION_INCOMPATIBLE, dmGetRequirements(), dmInitialize(), dmMemoryRequirement_t::dmMemory, agsaQueueInbound_s::elementCount, agsaQueueOutbound_s::elementCount, agsaQueueInbound_s::elementSize, agsaQueueOutbound_s::elementSize, agsaSwConfig_s::fatalErrorInterruptVector, tiLoLevelOption::flag, tdsaContext_s::flags, tdsaPortStartInfo_s::flags, agsaSwConfig_s::FWConfig, agsaSwConfig_s::hostDirectAccessSupport, tdsaContext_s::HwConfig, ilaarray, agsaFwImg_s::ilaImg, agsaFwImg_s::ilaLen, tdsaContext_s::InboundQueueEleSize, tdsaContext_s::InboundQueuePriority, agsaQueueConfig_s::inboundQueues, tdsaContext_s::InboundQueueSize, agsaQueueOutbound_s::interruptCount, agsaQueueOutbound_s::interruptDelay, agsaQueueOutbound_s::interruptEnable, agsaQueueOutbound_s::interruptVectorIndex, ioparray, agsaFwImg_s::iopImg, agsaFwImg_s::iopLen, istrarray, agsaFwImg_s::istrImg, agsaFwImg_s::istrLen, agsaSwConfig_s::legacyInt_X, tiLoLevelResource::loLevelMem, tiLoLevelResource::loLevelOption, tdsaContext_s::loResource, agsaSwConfig_s::max_MSI_InterruptVectors, tiLoLevelOption::max_MSI_InterruptVectors, agsaSwConfig_s::max_MSIX_InterruptVectors, tiLoLevelOption::maxInterruptVectors, tiLoLevelMem::mem, dmMem_t::numElements, agsaMem_s::numElements, smMem_t::numElements, tiMem::numElements, agsaQueueConfig_s::numInboundQueues, agsaQueueConfig_s::numOutboundQueues, dmMem_t::osHandle, agsaMem_s::osHandle, smMem_t::osHandle, tiMem::osHandle, OSSA_EVENT_SOURCE_DEVICE_HANDLE_ADDED, OSSA_EVENT_SOURCE_DEVICE_HANDLE_REMOVED, ossaDeregisterDeviceHandleCB(), ossaDeviceRegistrationCB(), ossaHwRegReadConfig32(), osti_memcpy, osti_memset, tdsaContext_s::OutboundQueueEleSize, tdsaContext_s::OutboundQueueInterruptCount, tdsaContext_s::OutboundQueueInterruptDelay, tdsaContext_s::OutboundQueueInterruptEnable, agsaQueueConfig_s::outboundQueues, tdsaContext_s::OutboundQueueSize, agsaSwConfig_s::param1, agsaSwConfig_s::param2, agsaSwConfig_s::param3, agsaSwConfig_s::param4, agsaMem_s::phyAddrLower, agsaMem_s::phyAddrUpper, dmMem_t::physAddrLower, smMem_t::physAddrLower, tiMem::physAddrLower, dmMem_t::physAddrUpper, smMem_t::physAddrUpper, tiMem::physAddrUpper, tdssPortFlags_s::portInitialized, agsaSwConfig_s::PortRecoveryResetTimer, tdsaContext_s::Ports, agsaQueueInbound_s::priority, tdsaContext_s::QueueConfig, agsaQueueConfig_s::queueOption, tdsaContext_s::QueueOption, dmMem_t::reserved, agsaQueueInbound_s::reserved, agsaMem_s::reserved, smMem_t::reserved, tiMem::reserved, tdsaComMemFlags_s::resetInProgress, saEchoCommand(), saEncryptGetMode(), saGetControllerInfo(), saGetControllerStatus(), saGetRequirements(), saInitialize(), saRegisterEventCallback(), agsaContext_s::sdkData, dmMem_t::singleElementLength, agsaMem_s::singleElementLength, smMem_t::singleElementLength, tiMem::singleElementLength, SM_RC_FAILURE, SM_RC_VERSION_INCOMPATIBLE, smInitialize(), smMemoryRequirement_t::smMemory, tdsaContext_s::SMPQNum, spcv12g_ilaarray, spcv12g_ioparray, spcv12g_raaearray, spcv_aap1array, spcv_ilaarray, spcv_ioparray, agsaSwConfig_s::stallUsec, status, tdsaContext_s::SwConfig, tdsaComMemFlags_s::sysIntsActive, t_MacroCheck(), TD_MAX_NUM_PHYS, TD_OPERATION_TARGET, tiRoot::tdData, tdsaContext_s::tdDeviceIdVendId, tdsaContext_s::tdFWControlEx, tdsaRoot_s::tdsaAllShared, tdsaGetHwConfigParams(), tdsaGetSwConfigParams(), tdsaPrintHwConfig(), tdsaPrintSwConfig(), tdsaRotateQnumber(), tdsaContext_s::tdSubVendorId, TI_CACHED_DMA_MEM, TI_CACHED_MEM, TI_DBG1, TI_DBG2, TI_DBG3, TI_DBG6, TI_DMA_MEM, tiCOMConfigureSgpio(), tiError, tiIS_SPC, tiIS_SPC6V, tIsSPCV12G, tiSuccess, dmMem_t::totalLength, agsaMem_s::totalLength, smMem_t::totalLength, tiMem::totalLength, ttdssGetTargetParams(), dmMem_t::type, agsaMem_s::type, smMem_t::type, tiMem::type, tiLoLevelOption::usecsPerTick, dmMem_t::virtPtr, agsaMem_s::virtPtr, smMem_t::virtPtr, and tiMem::virtPtr.

Referenced by agtiapi_InitCardSW(), and agtiapi_ResetCard().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tiCOMPortStart()

◆ tiCOMPortStop()

◆ tiCOMReset()

◆ tiCOMSetControllerConfig()

◆ tiCOMSetOperator()

osGLOBAL bit32 tiCOMSetOperator ( tiRoot_t tiRoot,
bit32  flag,
void *  cert 
)

◆ tiCOMShutDown()

◆ tiCOMSystemInterruptsActive()

osGLOBAL void tiCOMSystemInterruptsActive ( tiRoot_t tiRoot,
bit32  sysIntsActive 
)

Definition at line 195 of file tdint.c.

References agBOOLEAN, agNULL, saSystemInterruptsActive(), agsaContext_s::sdkData, tiRoot::tdData, tdsaRoot_s::tdsaAllShared, and TI_DBG6.

Referenced by agtiapi_InitCardHW(), agtiapi_ReleaseHBA(), and agtiapi_ResetCard().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tiCOMTimerTick()

osGLOBAL void tiCOMTimerTick ( tiRoot_t tiRoot)

Definition at line 89 of file tdtimers.c.

References tdsaContext_s::agRootNonInt, dmTimerTick(), saTimerTick(), smTimerTick(), tiRoot::tdData, tdsaRoot_s::tdsaAllShared, and tdsaProcessTimers().

Referenced by agtiapi_CheckCB(), and agtiapi_TITimer().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tiINIDebugDumpIO()

osGLOBAL void tiINIDebugDumpIO ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest 
)

◆ tiINIDiscoverTargets()

◆ tiINIGetDeviceHandles()

◆ tiINIGetDeviceHandlesForWinIOCTL()

◆ tiINIGetDeviceInfo()

◆ tiIniGetDirectSataSasAddr()

◆ tiINIGetExpander()

◆ tiINIGetExpDeviceHandleBySasAddress()

◆ tiINIIOAbort()

osGLOBAL bit32 tiINIIOAbort ( tiRoot_t tiRoot,
tiIORequest_t taskTag 
)

Referenced by agtiapi_StartTM(), and ostiInitiatorEvent().

Here is the caller graph for this function:

◆ tiINIIOAbortAll()

osGLOBAL bit32 tiINIIOAbortAll ( tiRoot_t tiRoot,
tiDeviceHandle_t tiDeviceHandle 
)

◆ tiINIIOStart()

◆ tiINIIOStartDif()

osGLOBAL bit32 tiINIIOStartDif ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiScsiInitiatorRequest_t tiScsiRequest,
void *  tiRequestBody,
bit32  interruptContext,
tiDif_t difOption 
)

Definition at line 603 of file itdio.c.

References tiBusy.

◆ tiINILogin()

osGLOBAL bit32 tiINILogin ( tiRoot_t tiRoot,
tiDeviceHandle_t tiDeviceHandle 
)

Definition at line 925 of file itddisc.c.

References TI_DBG6, and tiNotSupported.

◆ tiINILogout()

osGLOBAL bit32 tiINILogout ( tiRoot_t tiRoot,
tiDeviceHandle_t tiDeviceHandle 
)

Definition at line 955 of file itddisc.c.

References TI_DBG6, and tiNotSupported.

◆ tiINIReportErrorToEventLog()

osGLOBAL bit32 tiINIReportErrorToEventLog ( tiRoot_t tiRoot,
tiEVTData_t agEventData 
)

◆ tiINISMPStart()

◆ tiINISuperIOStart()

osGLOBAL bit32 tiINISuperIOStart ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle,
tiSuperScsiInitiatorRequest_t tiScsiRequest,
void *  tiRequestBody,
bit32  interruptContext 
)

Definition at line 644 of file itdio.c.

References agBOOLEAN, tdsaDeviceData_s::agDevHandle, agFALSE, tdIORequestBody_s::agIORequest, agNULL, tdIORequestBody_s::agRequestType, tdsaDeviceData_s::agRoot, AGSA_RC_BUSY, AGSA_RC_FAILURE, AGSA_RC_SUCCESS, AGSA_REQ_TYPE_UNKNOWN, AGSA_SAS_ENABLE_DIF, AGSA_SAS_ENABLE_ENCRYPTION, AGSA_SSP_INIT_READ, AGSA_SSP_INIT_READ_INDIRECT, AGSA_SSP_INIT_WRITE, AGSA_SSP_INIT_WRITE_INDIRECT, tdIORequestBody_s::agSASRequestBody, tdIORequestBody_s::agSATARequestBody, tiSuperScsiInitiatorRequest::agSgl1, agTRUE, agsaSSPCmdInfoUnit_s::cdb, tiIniScsiCmnd::cdb, satIOContext_s::currentLBA, tiSuperScsiInitiatorRequest::dataDirection, agsaSSPInitiatorRequest_s::dataLength, tdsaDeviceData_s::DeviceType, agsaSSPInitiatorRequest_s::dif, tiSuperScsiInitiatorRequest::Dif, DIF_ACTION_FLAG_MASK, DIF_INSERT, agsaSSPCmdInfoUnit_s::efb_tp_taskAttribute, agsaSSPInitiatorRequest_s::encrypt, tiSuperScsiInitiatorRequest::Encrypt, tiIniScsiCmnd::expDataLength, tdIORequestBody_s::expDataLength, agsaSATAInitiatorRequest_s::fis, agsaSATAHostFis_u::fisRegHostToDev, agsaSSPInitiatorRequest_s::flag, agsaDif_s::flags, tiSuperScsiInitiatorRequest::flags, tdsaDeviceData_s::id, tdIORequestBody_s::InitiatorRegIO, satIOContext_s::interruptContext, tdIORequestBody_s::ioCompleted, tdIORequestBody_s::IOCompletionFunc, tdIORequestBody_s::ioStarted, tdIORequestBody_s::IOType, tdsaContext_s::itdsaIni, itdssIOCompleted(), itdssIOForDebugging1Completed(), itdssIOForDebugging2Completed(), itdssIOForDebugging3Completed(), itdssIOPrepareSGL(), agsaSSPCmdInfoUnit_s::lun, tiLUN::lun, tiIniScsiCmnd::lun, satIOContext_s::OrgTL, agsaContext_s::osData, tiIORequest::osData, ossaSSPCompleted(), osti_memcpy, osti_memset, satIOContext_s::pFis, satIOContext_s::pSatDevData, satIOContext_s::pScsiCmnd, satIOContext_s::pSense, satIOContext_s::ptiDeviceHandle, satIOContext_s::pTiSenseData, tdsaDeviceData_s::registered, tdIORequestBody_s::SAS, TDSASAddressID_s::sasAddressHi, tdsaDeviceData_s::SASAddressID, TDSASAddressID_s::sasAddressLo, saSSPStart(), tdIORequestBody_s::SATA, tdsaDeviceData_s::satDevData, satIOContext_s::satIntIoContext, tdIORequestBody_s::satIOContext, satIOContext_s::satOrgIOContext, tiSuperScsiInitiatorRequest::scsiCmnd, SCSIOPC_READ_10, SCSIOPC_READ_12, SCSIOPC_READ_16, SCSIOPC_READ_6, SCSIOPC_WRITE_10, SCSIOPC_WRITE_12, SCSIOPC_WRITE_16, SCSIOPC_WRITE_6, tiSenseData::senseData, tiSenseData::senseLen, tdIORequestBody_s::sensePayload, tiSuperScsiInitiatorRequest::sglVirtualAddr, tdIORequestBody_s::sglVirtualAddr, smContext_t::smData, smSuperIOStart(), agsaSSPInitiatorRequest_s::sspCmdIU, agsaSASRequestBody_u::sspInitiatorReq, agsaSSPInitiatorRequestIndirect_s::sspInitiatorReqAddrLower32, agsaSSPInitiatorRequestIndirect_s::sspInitiatorReqAddrUpper32, agsaSASRequestBody_u::sspInitiatorReqIndirect, agsaSSPInitiatorRequestIndirect_s::sspInitiatorReqLen, satIOContext_s::superIOFlag, TASK_ACA, TASK_HEAD_OF_QUEUE, TASK_ORDERED, TASK_SIMPLE, tiIniScsiCmnd::taskAttribute, TD_ASSERT, TD_SAS_DEVICE, TD_SATA_DEVICE, TD_TASK_ACA, TD_TASK_HEAD_OF_QUEUE, TD_TASK_ORDERED, TD_TASK_SIMPLE, smContext_t::tdData, tiDeviceHandle::tdData, tiRoot::tdData, tiIORequest::tdData, tdsaDeviceData_s::tdPortContext, tdsaRoot_s::tdsaAllShared, tdsaRotateQnumber(), TI_DBG1, TI_DBG2, TI_DBG3, TI_DBG4, TI_DBG5, TI_DBG6, TI_SCSI_INITIATOR_DIF, TI_SCSI_INITIATOR_ENCRYPT, TI_SCSI_INITIATOR_INDIRECT_CDB, tiBusy, tdIORequestBody_s::tiDevHandle, tiDirectionIn, tiDirectionOut, tiError, tiIONoDevice, tdIORequestBody_s::tiIORequest, satIOContext_s::tiRequestBody, satIOContext_s::tiScsiXchg, tdIORequestBody_s::tiSenseData, tiSuccess, tdIORequestBody_s::transport, and tdsaDeviceData_s::valid.

Referenced by agtiapi_StartIO().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tiINITaskManagement()

osGLOBAL bit32 tiINITaskManagement ( tiRoot_t tiRoot,
tiDeviceHandle_t tiDeviceHandle,
bit32  task,
tiLUN_t lun,
tiIORequest_t taskTag,
tiIORequest_t currentTaskTag 
)

Referenced by agtiapi_StartTM(), and ostiInitiatorEvent().

Here is the caller graph for this function:

◆ tiInitDevEncrypt()

osGLOBAL bit32 tiInitDevEncrypt ( tiRoot_t tiRoot,
void *  tideviceptr 
)

◆ tiINITimerTick()

osGLOBAL void tiINITimerTick ( tiRoot_t tiRoot)

◆ tiINITransportRecovery()

osGLOBAL void tiINITransportRecovery ( tiRoot_t tiRoot,
tiDeviceHandle_t tiDeviceHandle 
)

◆ tiNumOfLunIOCTLreq()

◆ tiPCI_TRIGGER()

void tiPCI_TRIGGER ( tiRoot_t tiRoot)

◆ tiTGTGetDeviceHandles()

osGLOBAL bit32 tiTGTGetDeviceHandles ( tiRoot_t tiRoot,
tiPortalContext_t portalContext,
tiDeviceHandle_t agDev[],
bit32  maxDevs 
)

◆ tiTGTGetDeviceInfo()

◆ tiTGTIOAbort()

◆ tiTGTIOStart()

osGLOBAL bit32 tiTGTIOStart ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
bit32  dataOffset,
bit32  dataLength,
tiSgl_t dataSGL,
void *  sglVirtualAddr 
)

◆ tiTGTIOStartDif()

osGLOBAL bit32 tiTGTIOStartDif ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
bit32  dataOffset,
bit32  dataLength,
tiSgl_t dataSGL,
void *  sglVirtualAddr,
tiDif_t difOption 
)

◆ tiTGTIOStartMirror()

osGLOBAL bit32 tiTGTIOStartMirror ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
bit32  dataOffset,
bit32  dataLength,
tiSgl_t dataSGL,
void *  sglVirtualAddr,
tiSgl_t dataSGLMirror,
void *  sglVirtualAddrMirror 
)

◆ tiTGTSendTmResp()

◆ tiTGTSenseBufferGet()

osGLOBAL void * tiTGTSenseBufferGet ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
bit32  length 
)

◆ tiTGTSetResp()

◆ tiTGTSuperIOStart()

osGLOBAL bit32 tiTGTSuperIOStart ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiSuperScsiTargetRequest_t tiScsiRequest 
)

◆ tiTGTTimerTick()

osGLOBAL void tiTGTTimerTick ( tiRoot_t tiRoot)

Definition at line 86 of file ttdtimer.c.