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

Go to the source code of this file.

Macros

#define OSTI_INP_ENTER(root)
 
#define OSTI_INP_LEAVE(root)
 
#define OSTI_OUT_ENTER(root)
 
#define OSTI_OUT_LEAVE(root)
 

Functions

osGLOBAL bit32 ostiGetTransportParam (tiRoot_t *tiRoot, char *key, char *subkey1, char *subkey2, char *subkey3, char *subkey4, char *subkey5, char *valueName, char *buffer, bit32 bufferLen, bit32 *lenReceived)
 
osGLOBAL void ostiPortEvent (tiRoot_t *tiRoot, tiPortEvent_t eventType, bit32 status, void *pParm)
 
osGLOBAL bit32 ostiTimeStamp (tiRoot_t *tiRoot)
 
osGLOBAL bit64 ostiTimeStamp64 (tiRoot_t *tiRoot)
 
osGLOBAL FORCEINLINE bit32 ostiChipConfigReadBit32 (tiRoot_t *tiRoot, bit32 chipConfigOffset)
 
osGLOBAL FORCEINLINE void ostiChipConfigWriteBit32 (tiRoot_t *tiRoot, bit32 chipConfigOffset, bit32 chipConfigValue)
 
osGLOBAL FORCEINLINE bit32 ostiChipReadBit32 (tiRoot_t *tiRoot, bit32 chipOffset)
 
osGLOBAL FORCEINLINE void ostiChipWriteBit32 (tiRoot_t *tiRoot, bit32 chipOffset, bit32 chipValue)
 
osGLOBAL FORCEINLINE bit8 ostiChipReadBit8 (tiRoot_t *tiRoot, bit32 chipOffset)
 
osGLOBAL FORCEINLINE void ostiChipWriteBit8 (tiRoot_t *tiRoot, bit32 chipOffset, bit8 chipValue)
 
osGLOBAL void ostiFlashReadBlock (tiRoot_t *tiRoot, bit32 flashOffset, void *buffer, bit32 bufferLen)
 
osGLOBAL FORCEINLINE tiDeviceHandle_tostiGetDevHandleFromSasAddr (tiRoot_t *root, unsigned char *sas_addr)
 
osGLOBAL FORCEINLINE void ostidisableEncryption (tiRoot_t *root)
 
osGLOBAL FORCEINLINE void ostiSingleThreadedEnter (tiRoot_t *tiRoot, bit32 queueId)
 
osGLOBAL FORCEINLINE void ostiSingleThreadedLeave (tiRoot_t *tiRoot, bit32 queueId)
 
osGLOBAL bit32 ostiNumOfLUNIOCTLreq (tiRoot_t *root, void *param1, void *param2, void **tiRequestBody, tiIORequest_t **tiIORequest)
 
osGLOBAL void ostiStallThread (tiRoot_t *tiRoot, bit32 microseconds)
 
osGLOBAL FORCEINLINE bit8 ostiBitScanForward (tiRoot_t *root, bit32 *Index, bit32 Mask)
 
osGLOBAL FORCEINLINE sbit32 ostiInterlockedIncrement (tiRoot_t *root, sbit32 volatile *Addend)
 
osGLOBAL FORCEINLINE sbit32 ostiInterlockedDecrement (tiRoot_t *root, sbit32 volatile *Addend)
 
osGLOBAL FORCEINLINE sbit32 ostiInterlockedAnd (tiRoot_t *root, sbit32 volatile *Destination, sbit32 Value)
 
osGLOBAL FORCEINLINE sbit32 ostiInterlockedOr (tiRoot_t *root, sbit32 volatile *Destination, sbit32 Value)
 
osGLOBAL FORCEINLINE sbit32 ostiInterlockedExchange (tiRoot_t *root, sbit32 volatile *Target, sbit32 Value)
 
osGLOBAL bit32 ostiAllocMemory (tiRoot_t *tiRoot, void **osMemHandle, void **virtPtr, bit32 *physAddrUpper, bit32 *physAddrLower, bit32 alignment, bit32 allocLength, agBOOLEAN isCacheable)
 
osGLOBAL bit32 ostiFreeMemory (tiRoot_t *tiRoot, void *osDMAHandle, bit32 allocLength)
 
osGLOBAL FORCEINLINE void ostiCacheFlush (tiRoot_t *tiRoot, void *osMemHandle, void *virtPtr, bit32 length)
 
osGLOBAL FORCEINLINE void ostiCacheInvalidate (tiRoot_t *tiRoot, void *osMemHandle, void *virtPtr, bit32 length)
 
osGLOBAL FORCEINLINE void ostiCachePreFlush (tiRoot_t *tiRoot, void *osMemHandle, void *virtPtr, bit32 length)
 
osGLOBAL void ostiInterruptEnable (tiRoot_t *ptiRoot, bit32 channelNum)
 
osGLOBAL void ostiInterruptDisable (tiRoot_t *ptiRoot, bit32 channelNum)
 
osGLOBAL FORCEINLINE bit32 ostiChipReadBit32Ext (tiRoot_t *tiRoot, bit32 busBaseNumber, bit32 chipOffset)
 
osGLOBAL FORCEINLINE void ostiChipWriteBit32Ext (tiRoot_t *tiRoot, bit32 busBaseNumber, bit32 chipOffset, bit32 chipValue)
 
osGLOBAL void ostiInitiatorIOCompleted (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiIOStatus_t status, bit32 statusDetail, tiSenseData_t *senseData, bit32 context)
 
osGLOBAL tiDeviceHandle_tostiMapToDevHandle (tiRoot_t *root, bit8 pathId, bit8 targetId, bit8 LUN)
 
osGLOBAL bit32 ostiSendResetDeviceIoctl (tiRoot_t *root, void *pccb, bit8 pathId, bit8 targetId, bit8 lun, unsigned long resetType)
 
osGLOBAL void ostiGetSenseKeyCount (tiRoot_t *root, bit32 fIsClear, void *SenseKeyCount, bit32 length)
 
osGLOBAL void ostiGetSCSIStatusCount (tiRoot_t *root, bit32 fIsClear, void *ScsiStatusCount, bit32 length)
 
osGLOBAL bit32 ostiSetDeviceQueueDepth (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, bit32 QueueDepth)
 
osGLOBAL void ostiInitiatorSMPCompleted (tiRoot_t *tiRoot, tiIORequest_t *tiSMPRequest, tiSMPStatus_t smpStatus, bit32 tiSMPInfoLen, void *tiFrameHandle, bit32 context)
 
osGLOBAL void ostiInitiatorEvent (tiRoot_t *tiRoot, tiPortalContext_t *portalContext, tiDeviceHandle_t *tiDeviceHandle, tiIntrEventType_t eventType, bit32 eventStatus, void *parm)
 
osGLOBAL void ostiIOCTLClearSignal (tiRoot_t *tiRoot, void **agParam1, void **agParam2, void **agParam3)
 
osGLOBAL void ostiIOCTLWaitForSignal (tiRoot_t *tigRoot, void *agParam1, void *agParam2, void *agParam3)
 
osGLOBAL void ostiIOCTLSetSignal (tiRoot_t *tiRoot, void *agParam1, void *agParam2, void *agParam3)
 
osGLOBAL void ostiIOCTLWaitForComplete (tiRoot_t *tigRoot, void *agParam1, void *agParam2, void *agParam3)
 
osGLOBAL void ostiIOCTLComplete (tiRoot_t *tiRoot, void *agParam1, void *agParam2, void *agParam3)
 
osGLOBAL void ostiProcessScsiReq (tiRoot_t *tiRoot, tiTargetScsiCmnd_t *tiTgtScsiCmnd, void *agFrameHandle, bit32 immDataLength, tiIORequest_t *tiIORequest, tiDeviceHandle_t *tiDeviceHandle)
 
osGLOBAL void ostiNextDataPhase (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest)
 
osGLOBAL void ostiTaskManagement (tiRoot_t *tiRoot, bit32 task, bit8 *scsiLun, tiIORequest_t *refTiIORequest, tiIORequest_t *tiTMRequest, tiDeviceHandle_t *tiDeviceHandle)
 
osGLOBAL void ostiTargetIOCompleted (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiIOStatus_t status)
 
osGLOBAL bit32 ostiTargetEvent (tiRoot_t *tiRoot, tiPortalContext_t *portalContext, tiDeviceHandle_t *tiDeviceHandle, tiTgtEventType_t eventType, bit32 eventStatus, void *parm)
 
osGLOBAL void ostiTargetIOError (tiRoot_t *tiRoot, tiIORequest_t *tiIORequest, tiIOStatus_t status, bit32 statusDetail)
 
osGLOBAL void ostiTargetTmCompleted (tiRoot_t *tiRoot, tiIORequest_t *tiTmRequest, tiIOStatus_t status, bit32 statusDetail)
 
osGLOBAL void ostiPCI_TRIGGER (tiRoot_t *tiRoot)
 

Macro Definition Documentation

◆ OSTI_INP_ENTER

#define OSTI_INP_ENTER (   root)

Definition at line 150 of file ostiapi.h.

◆ OSTI_INP_LEAVE

#define OSTI_INP_LEAVE (   root)

Definition at line 151 of file ostiapi.h.

◆ OSTI_OUT_ENTER

#define OSTI_OUT_ENTER (   root)

Definition at line 152 of file ostiapi.h.

◆ OSTI_OUT_LEAVE

#define OSTI_OUT_LEAVE (   root)

Definition at line 153 of file ostiapi.h.

Function Documentation

◆ ostiAllocMemory()

◆ ostiBitScanForward()

osGLOBAL FORCEINLINE bit8 ostiBitScanForward ( tiRoot_t root,
bit32 Index,
bit32  Mask 
)

Definition at line 638 of file osapi.c.

◆ ostiCacheFlush()

osGLOBAL FORCEINLINE void ostiCacheFlush ( tiRoot_t tiRoot,
void *  osMemHandle,
void *  virtPtr,
bit32  length 
)

Definition at line 741 of file lxosapi.c.

Referenced by ossaCacheFlush().

Here is the caller graph for this function:

◆ ostiCacheInvalidate()

osGLOBAL FORCEINLINE void ostiCacheInvalidate ( tiRoot_t tiRoot,
void *  osMemHandle,
void *  virtPtr,
bit32  length 
)

Definition at line 750 of file lxosapi.c.

Referenced by ossaCacheInvalidate().

Here is the caller graph for this function:

◆ ostiCachePreFlush()

osGLOBAL FORCEINLINE void ostiCachePreFlush ( tiRoot_t tiRoot,
void *  osMemHandle,
void *  virtPtr,
bit32  length 
)

Definition at line 759 of file lxosapi.c.

Referenced by ossaCachePreFlush().

Here is the caller graph for this function:

◆ ostiChipConfigReadBit32()

osGLOBAL FORCEINLINE bit32 ostiChipConfigReadBit32 ( tiRoot_t tiRoot,
bit32  chipConfigOffset 
)

Definition at line 155 of file lxosapi.c.

References TIROOT_TO_PCIDEV.

Referenced by ossaHwRegReadConfig32(), and tiCOMMgntIOCTL().

Here is the caller graph for this function:

◆ ostiChipConfigWriteBit32()

osGLOBAL FORCEINLINE void ostiChipConfigWriteBit32 ( tiRoot_t tiRoot,
bit32  chipConfigOffset,
bit32  chipConfigValue 
)

Definition at line 176 of file lxosapi.c.

References TIROOT_TO_PCIDEV.

◆ ostiChipReadBit32()

osGLOBAL FORCEINLINE bit32 ostiChipReadBit32 ( tiRoot_t tiRoot,
bit32  chipOffset 
)

Definition at line 194 of file lxosapi.c.

References agtiapi_softc::pCardInfo, _ag_card_info::pciMemVirtAddr, and TIROOT_TO_CARDINFO.

Referenced by ossaHwRegRead().

Here is the caller graph for this function:

◆ ostiChipReadBit32Ext()

osGLOBAL FORCEINLINE bit32 ostiChipReadBit32Ext ( tiRoot_t tiRoot,
bit32  busBaseNumber,
bit32  chipOffset 
)

Definition at line 232 of file lxosapi.c.

References agtiapi_softc::pCardInfo, and TIROOT_TO_CARDINFO.

Referenced by ossaHwRegReadExt(), ostiPCI_TRIGGER(), and tdsaRegisterIoctl().

Here is the caller graph for this function:

◆ ostiChipReadBit8()

osGLOBAL FORCEINLINE bit8 ostiChipReadBit8 ( tiRoot_t tiRoot,
bit32  chipOffset 
)

◆ ostiChipWriteBit32()

osGLOBAL FORCEINLINE void ostiChipWriteBit32 ( tiRoot_t tiRoot,
bit32  chipOffset,
bit32  chipValue 
)

Definition at line 214 of file lxosapi.c.

References agtiapi_softc::pCardInfo, _ag_card_info::pciMemVirtAddr, and TIROOT_TO_CARDINFO.

Referenced by ossaHwRegWrite().

Here is the caller graph for this function:

◆ ostiChipWriteBit32Ext()

osGLOBAL FORCEINLINE void ostiChipWriteBit32Ext ( tiRoot_t tiRoot,
bit32  busBaseNumber,
bit32  chipOffset,
bit32  chipValue 
)

Definition at line 255 of file lxosapi.c.

References agtiapi_softc::pCardInfo, and TIROOT_TO_CARDINFO.

Referenced by ossaHwRegWriteExt(), and tdsaRegisterIoctl().

Here is the caller graph for this function:

◆ ostiChipWriteBit8()

osGLOBAL FORCEINLINE void ostiChipWriteBit8 ( tiRoot_t tiRoot,
bit32  chipOffset,
bit8  chipValue 
)

◆ ostidisableEncryption()

osGLOBAL FORCEINLINE void ostidisableEncryption ( tiRoot_t root)

◆ ostiFlashReadBlock()

osGLOBAL void ostiFlashReadBlock ( tiRoot_t tiRoot,
bit32  flashOffset,
void *  buffer,
bit32  bufferLen 
)

Definition at line 300 of file lxosapi.c.

References AGTIAPI_PRINTK.

◆ ostiFreeMemory()

◆ ostiGetDevHandleFromSasAddr()

osGLOBAL FORCEINLINE tiDeviceHandle_t * ostiGetDevHandleFromSasAddr ( tiRoot_t root,
unsigned char *  sas_addr 
)

Definition at line 364 of file osapi.c.

References NULL, pCard, _ag_portal_data::portalInfo, agtiapi_softc::portCount, agtiapi_softc::pPortalData, tiINIGetExpDeviceHandleBySasAddress(), _ag_portal_info::tiPortalContext, agtiapi_softc::tiRoot, and TIROOT_TO_CARD.

Referenced by tdsaSendSMPIoctl().

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

◆ ostiGetSCSIStatusCount()

osGLOBAL void ostiGetSCSIStatusCount ( tiRoot_t root,
bit32  fIsClear,
void *  ScsiStatusCount,
bit32  length 
)

Definition at line 792 of file osapi.c.

References AGTIAPI_PRINTK.

◆ ostiGetSenseKeyCount()

osGLOBAL void ostiGetSenseKeyCount ( tiRoot_t root,
bit32  fIsClear,
void *  SenseKeyCount,
bit32  length 
)

Definition at line 781 of file osapi.c.

References AGTIAPI_PRINTK.

◆ ostiGetTransportParam()

osGLOBAL bit32 ostiGetTransportParam ( tiRoot_t tiRoot,
char *  key,
char *  subkey1,
char *  subkey2,
char *  subkey3,
char *  subkey4,
char *  subkey5,
char *  valueName,
char *  buffer,
bit32  bufferLen,
bit32 lenReceived 
)

◆ ostiInitiatorEvent()

osGLOBAL void ostiInitiatorEvent ( tiRoot_t tiRoot,
tiPortalContext_t portalContext,
tiDeviceHandle_t tiDeviceHandle,
tiIntrEventType_t  eventType,
bit32  eventStatus,
void *  parm 
)

◆ ostiInitiatorIOCompleted()

osGLOBAL void ostiInitiatorIOCompleted ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiIOStatus_t  status,
bit32  statusDetail,
tiSenseData_t senseData,
bit32  context 
)

Definition at line 270 of file osapi.c.

References agNULL, agtiapi_Done(), AGTIAPI_FLAG_UP, agtiapi_hexdump(), AGTIAPI_IO, AGTIAPI_PRINTK, agtiapi_QueueCCB(), _CCB::ccb, agtiapi_softc::ccbDoneHead, agtiapi_softc::ccbDoneTail, _CCB::ccbStatus, _CCB::flags, agtiapi_softc::flags, MIN, tiIORequest::osData, OSTI_OUT_ENTER, OSTI_OUT_LEAVE, pCard, _CCB::pSenseData, REQ_DONE, SCSI_CHECK_CONDITION, _CCB::scsiStatus, tiSenseData::senseData, _CCB::senseLen, tiSenseData::senseLen, _CCB::startTime, tiDetailAborted, tiIODifError, tiIOFailed, tiIOSuccess, and TIROOT_TO_CARD.

Referenced by itdssDifHandler(), itdssDsInRecoveryHandler(), itdssDsNonOperationalHandler(), itdssEncryptionHandler(), itdssIOAbortedHandler(), itdssIOAbortResetHandler(), itdssIOCompleted(), itdssIODefaultHandler(), itdssIOFailedHandler(), itdssIONoDeviceHandler(), itdssIONotValidHandler(), itdssIOResourceUnavailableHandler(), itdssIORQEBusyFullHandler(), itdssIOSuccessHandler(), itdssIOUnderFlowHandler(), itdssLinkFailureHandler(), itdssOpenCnxErrorBadDestinationHandler(), itdssOpenCnxErrorBreakHandler(), itdssOpenCnxErrorConnectionRateNotSupportedHandler(), itdssOpenCnxErrorITNexusLossHandler(), itdssOpenCnxErrorItNexusLossNoDestHandler(), itdssOpenCnxErrorItNexusLossOpenCollideHandler(), itdssOpenCnxErrorItNexusLossOpenPathwayBlockedHandler(), itdssOpenCnxErrorItNexusLossOpenTmoHandler(), itdssOpenCnxErrorOpenPreemptedHandler(), itdssOpenCnxErrorProtocolNotSupprotedHandler(), itdssOpenCnxErrorSTPResourceBusyHandler(), itdssOpenCnxErrorUnknownErrorHandler(), itdssOpenCnxErrorWrongDestinationHandler(), itdssOpenCnxErrorZoneViolationHandler(), itdssPortInResetHandler(), itdssProgErrorHandler(), itdssSSPExtIUZeroLenHandler(), itdssTmTagNotFoundHandler(), itdssXferErrorACKNAKTimeoutHandler(), itdssXferErrorBreakHandler(), itdssXferErrorCMDIssueACKNAKTimeoutHandler(), itdssXferErrorCMDIssueBreakBeforeACKNAKHandler(), itdssXferErrorCMDIssuePhyDownBeforeACKNAKHandler(), itdssXferErrorCreditTimeoutHandler(), itdssXferErrorDisruptedPhyDownHandler(), itdssXferErrorDMAHandler(), itdssXferErrorEOBDataOverrunHandler(), itdssXferErrorInvalidSSPRspFrameHandler(), itdssXferErrorNAKReceivedHandler(), itdssXferErrorOffsetMismatchHandler(), itdssXferErrorPeerAbortedHandler(), itdssXferErrorPhyNotReadyHandler(), itdssXferErrorRxFrameHandler(), itdssXferErrorUnexpectedPhaseHandler(), itdssXferErrorXferZeroDataLenHandler(), itdssXferOpenRetryBackoffThresholdReachedHandler(), and itdssXferOpenRetryTimeoutHandler().

Here is the call graph for this function:

◆ ostiInitiatorSMPCompleted()

osGLOBAL void ostiInitiatorSMPCompleted ( tiRoot_t tiRoot,
tiIORequest_t tiSMPRequest,
tiSMPStatus_t  smpStatus,
bit32  tiSMPInfoLen,
void *  tiFrameHandle,
bit32  context 
)

Definition at line 420 of file osapi.c.

References agtiapi_hexdump(), AGTIAPI_PRINTK, agtiapi_QueueCCB(), _CCB::ccb, _CCB::ccbStatus, _CCB::flags, tiIORequest::osData, OSTI_OUT_ENTER, OSTI_OUT_LEAVE, pCard, REQ_DONE, agtiapi_softc::smpDoneHead, agtiapi_softc::smpDoneTail, TIROOT_TO_CARD, and tiSMPSuccess.

Referenced by ossaSMPCAMCompleted().

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

◆ ostiInterlockedAnd()

osGLOBAL FORCEINLINE sbit32 ostiInterlockedAnd ( tiRoot_t root,
sbit32 volatile *  Destination,
sbit32  Value 
)

Definition at line 738 of file osapi.c.

◆ ostiInterlockedDecrement()

osGLOBAL FORCEINLINE sbit32 ostiInterlockedDecrement ( tiRoot_t root,
sbit32 volatile *  Addend 
)

Definition at line 729 of file osapi.c.

◆ ostiInterlockedExchange()

osGLOBAL FORCEINLINE sbit32 ostiInterlockedExchange ( tiRoot_t root,
sbit32 volatile *  Target,
sbit32  Value 
)

Definition at line 710 of file osapi.c.

◆ ostiInterlockedIncrement()

osGLOBAL FORCEINLINE sbit32 ostiInterlockedIncrement ( tiRoot_t root,
sbit32 volatile *  Addend 
)

Definition at line 720 of file osapi.c.

◆ ostiInterlockedOr()

osGLOBAL FORCEINLINE sbit32 ostiInterlockedOr ( tiRoot_t root,
sbit32 volatile *  Destination,
sbit32  Value 
)

Definition at line 748 of file osapi.c.

◆ ostiInterruptDisable()

osGLOBAL void ostiInterruptDisable ( tiRoot_t ptiRoot,
bit32  channelNum 
)

Definition at line 781 of file lxosapi.c.

Referenced by ossaDisableInterrupts().

Here is the caller graph for this function:

◆ ostiInterruptEnable()

osGLOBAL void ostiInterruptEnable ( tiRoot_t ptiRoot,
bit32  channelNum 
)

Definition at line 773 of file lxosapi.c.

Referenced by ossaReenableInterrupts().

Here is the caller graph for this function:

◆ ostiIOCTLClearSignal()

osGLOBAL void ostiIOCTLClearSignal ( tiRoot_t tiRoot,
void **  agParam1,
void **  agParam2,
void **  agParam3 
)

Definition at line 520 of file lxosapi.c.

◆ ostiIOCTLComplete()

osGLOBAL void ostiIOCTLComplete ( tiRoot_t tiRoot,
void *  agParam1,
void *  agParam2,
void *  agParam3 
)

Definition at line 556 of file lxosapi.c.

References agtiapi_softc::down_count, pCard, agtiapi_softc::pIoctlSem, TIROOT_TO_CARD, and agtiapi_softc::up_count.

Referenced by ostiSendSMPIOCTLRsp().

Here is the caller graph for this function:

◆ ostiIOCTLSetSignal()

◆ ostiIOCTLWaitForComplete()

osGLOBAL void ostiIOCTLWaitForComplete ( tiRoot_t tigRoot,
void *  agParam1,
void *  agParam2,
void *  agParam3 
)

Definition at line 132 of file lxosapi.c.

References agtiapi_softc::down_count, pCard, agtiapi_softc::pIoctlSem, and TIROOT_TO_CARD.

◆ ostiIOCTLWaitForSignal()

osGLOBAL void ostiIOCTLWaitForSignal ( tiRoot_t tigRoot,
void *  agParam1,
void *  agParam2,
void *  agParam3 
)

Definition at line 118 of file lxosapi.c.

References agtiapi_softc::down_count, pCard, agtiapi_softc::pIoctlSem, and TIROOT_TO_CARD.

Referenced by agtiapi_CharIoctl().

Here is the caller graph for this function:

◆ ostiMapToDevHandle()

osGLOBAL tiDeviceHandle_t * ostiMapToDevHandle ( tiRoot_t root,
bit8  pathId,
bit8  targetId,
bit8  LUN 
)

Definition at line 542 of file osapi.c.

References NULL, pCard, _ag_device::pDevHandle, agtiapi_softc::pDevList, agtiapi_softc::tgtCount, and TIROOT_TO_CARD.

Referenced by tdsaDeviceInfoGetIoctl().

Here is the caller graph for this function:

◆ ostiNextDataPhase()

osGLOBAL void ostiNextDataPhase ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest 
)

Referenced by ttdsaIOCompleted().

Here is the caller graph for this function:

◆ ostiNumOfLUNIOCTLreq()

osGLOBAL bit32 ostiNumOfLUNIOCTLreq ( tiRoot_t root,
void *  param1,
void *  param2,
void **  tiRequestBody,
tiIORequest_t **  tiIORequest 
)

Definition at line 810 of file osapi.c.

References agtiapi_GetCCB(), AGTIAPI_PRINTK, IOCTL_CALL_FAIL, IOCTL_CALL_SUCCESS, NULL, pCard, status, _CCB::tdIOReqBody, _CCB::tiIORequest, and TIROOT_TO_CARD.

Referenced by tdsaGetNumOfLUNIOCTL().

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

◆ ostiPCI_TRIGGER()

osGLOBAL void ostiPCI_TRIGGER ( tiRoot_t tiRoot)

Definition at line 803 of file osapi.c.

References ostiChipReadBit32Ext().

Referenced by ossaPCI_TRIGGER().

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

◆ ostiPortEvent()

◆ ostiProcessScsiReq()

osGLOBAL void ostiProcessScsiReq ( tiRoot_t tiRoot,
tiTargetScsiCmnd_t tiTgtScsiCmnd,
void *  agFrameHandle,
bit32  immDataLength,
tiIORequest_t tiIORequest,
tiDeviceHandle_t tiDeviceHandle 
)

Referenced by ttdsaSSPReqReceived().

Here is the caller graph for this function:

◆ ostiSendResetDeviceIoctl()

osGLOBAL bit32 ostiSendResetDeviceIoctl ( tiRoot_t root,
void *  pccb,
bit8  pathId,
bit8  targetId,
bit8  lun,
unsigned long  resetType 
)

Referenced by tdsaSendTMFIoctl().

Here is the caller graph for this function:

◆ ostiSetDeviceQueueDepth()

osGLOBAL bit32 ostiSetDeviceQueueDepth ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
bit32  QueueDepth 
)

Definition at line 761 of file osapi.c.

References AGTIAPI_PRINTK, _CCB::devHandle, tiDeviceHandle::osData, and tiIORequest::osData.

Referenced by itdssIOCompleted().

Here is the caller graph for this function:

◆ ostiSingleThreadedEnter()

osGLOBAL FORCEINLINE void ostiSingleThreadedEnter ( tiRoot_t tiRoot,
bit32  queueId 
)

Definition at line 514 of file osapi.c.

References pCard, and TIROOT_TO_CARD.

Referenced by ossaSingleThreadedEnter(), and tdsaSingleThreadedEnter().

Here is the caller graph for this function:

◆ ostiSingleThreadedLeave()

osGLOBAL FORCEINLINE void ostiSingleThreadedLeave ( tiRoot_t tiRoot,
bit32  queueId 
)

Definition at line 534 of file osapi.c.

References pCard, and TIROOT_TO_CARD.

Referenced by ossaSingleThreadedLeave(), and tdsaSingleThreadedLeave().

Here is the caller graph for this function:

◆ ostiStallThread()

osGLOBAL void ostiStallThread ( tiRoot_t tiRoot,
bit32  microseconds 
)

Definition at line 691 of file lxosapi.c.

Referenced by ossaStallThread().

Here is the caller graph for this function:

◆ ostiTargetEvent()

osGLOBAL bit32 ostiTargetEvent ( tiRoot_t tiRoot,
tiPortalContext_t portalContext,
tiDeviceHandle_t tiDeviceHandle,
tiTgtEventType_t  eventType,
bit32  eventStatus,
void *  parm 
)

Referenced by ossaDeviceHandleAccept().

Here is the caller graph for this function:

◆ ostiTargetIOCompleted()

osGLOBAL void ostiTargetIOCompleted ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiIOStatus_t  status 
)

Referenced by ttdsaIOCompleted().

Here is the caller graph for this function:

◆ ostiTargetIOError()

osGLOBAL void ostiTargetIOError ( tiRoot_t tiRoot,
tiIORequest_t tiIORequest,
tiIOStatus_t  status,
bit32  statusDetail 
)

Referenced by tiTGTIOAbort(), ttdsaIOCompleted(), and ttdssIOAbortedHandler().

Here is the caller graph for this function:

◆ ostiTargetTmCompleted()

osGLOBAL void ostiTargetTmCompleted ( tiRoot_t tiRoot,
tiIORequest_t tiTmRequest,
tiIOStatus_t  status,
bit32  statusDetail 
)

Referenced by ttdsaIOCompleted().

Here is the caller graph for this function:

◆ ostiTaskManagement()

osGLOBAL void ostiTaskManagement ( tiRoot_t tiRoot,
bit32  task,
bit8 scsiLun,
tiIORequest_t refTiIORequest,
tiIORequest_t tiTMRequest,
tiDeviceHandle_t tiDeviceHandle 
)

Referenced by ttdsaTMProcess().

Here is the caller graph for this function:

◆ ostiTimeStamp()

osGLOBAL bit32 ostiTimeStamp ( tiRoot_t tiRoot)

Definition at line 707 of file lxosapi.c.

Referenced by ossaTimeStamp(), and ostiTimeStamp64().

Here is the caller graph for this function:

◆ ostiTimeStamp64()

osGLOBAL bit64 ostiTimeStamp64 ( tiRoot_t tiRoot)

Definition at line 713 of file lxosapi.c.

References ostiTimeStamp().

Referenced by ossaTimeStamp64().

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