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

Go to the source code of this file.

Functions

 MALLOC_DEFINE (M_PMC_MMAL, "agtiapi_MemAlloc malloc", "allocated from agtiapi_MemAlloc as simple malloc case")
 
STATIC void agtiapi_DelayMSec (U32 MiliSeconds)
 
STATIC agBOOLEAN agtiapi_typhAlloc (ag_card_info_t *thisCardInst)
 
STATIC agBOOLEAN agtiapi_InitResource (ag_card_info_t *thisCardInst)
 
STATIC int agtiapi_ScopeDMARes (ag_card_info_t *thisCardInst)
 
STATIC void agtiapi_ReleasePCIMem (ag_card_info_t *pCardInfo)
 
STATIC agBOOLEAN agtiapi_MemAlloc (ag_card_info_t *thisCardInst, void **VirtAlloc, vm_paddr_t *pDmaAddr, void **VirtAddr, U32 *pPhysAddrUp, U32 *pPhysAddrLow, U32 MemSize, U32 Type, U32 Align)
 
STATIC void agtiapi_MemFree (ag_card_info_t *pCardInfo)
 
STATIC int agtiapi_ProbeCard (device_t dev, ag_card_info_t *thisCardInst, int thisCard)
 

Function Documentation

◆ agtiapi_DelayMSec()

STATIC void agtiapi_DelayMSec ( U32  MiliSeconds)

Definition at line 44 of file lxutil.c.

Referenced by agtiapi_CheckCB(), agtiapi_DiscoverTgt(), and agtiapi_InitCardHW().

Here is the caller graph for this function:

◆ agtiapi_InitResource()

◆ agtiapi_MemAlloc()

STATIC agBOOLEAN agtiapi_MemAlloc ( ag_card_info_t thisCardInst,
void **  VirtAlloc,
vm_paddr_t *  pDmaAddr,
void **  VirtAddr,
U32 pPhysAddrUp,
U32 pPhysAddrLow,
U32  MemSize,
U32  Type,
U32  Align 
)

◆ agtiapi_MemFree()

◆ agtiapi_ProbeCard()

STATIC int agtiapi_ProbeCard ( device_t  dev,
ag_card_info_t thisCardInst,
int  thisCard 
)

◆ agtiapi_ReleasePCIMem()

STATIC void agtiapi_ReleasePCIMem ( ag_card_info_t pCardInfo)

Definition at line 587 of file lxutil.c.

References NULL, and _ag_card_info::pPCIDev.

Referenced by agtiapi_ReleaseHBA().

Here is the caller graph for this function:

◆ agtiapi_ScopeDMARes()

◆ agtiapi_typhAlloc()

STATIC agBOOLEAN agtiapi_typhAlloc ( ag_card_info_t thisCardInst)

◆ MALLOC_DEFINE()

MALLOC_DEFINE ( M_PMC_MMAL  ,
"agtiapi_MemAlloc malloc"  ,
"allocated from agtiapi_MemAlloc as simple malloc case"   
)