FreeBSD kernel pms device code
tdint.c File Reference
Include dependency graph for tdint.c:

Go to the source code of this file.

Functions

 __FBSDID ("$FreeBSD$")
 
FORCEINLINE bit32 tiCOMInterruptHandler (tiRoot_t *tiRoot, bit32 channelNum)
 
FORCEINLINE bit32 tiCOMDelayedInterruptHandler (tiRoot_t *tiRoot, bit32 channelNum, bit32 count, bit32 context)
 
osGLOBAL void tiCOMSystemInterruptsActive (tiRoot_t *tiRoot, bit32 sysIntsActive)
 
osGLOBAL void tiComCountActiveIORequests (tiRoot_t *tiRoot)
 
osGLOBAL FORCEINLINE void tiCOMInterruptEnable (tiRoot_t *tiRoot, bit32 channelNum)
 

Detailed Description

This file contains interrupt related functions in the SAS/SATA TD layer

Definition in file tdint.c.

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

◆ tiComCountActiveIORequests()

osGLOBAL 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()

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:

◆ 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()

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:

◆ 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: