FreeBSD kernel pms device code
agtiapi_softc Struct Reference

#include <agtiapi.h>

Collaboration diagram for agtiapi_softc:

Data Fields

device_t my_dev
 
struct cdev * my_cdev
 
struct cam_sim * sim
 
struct cam_path * path
 
struct resource * resirq
 
void * intr_cookie
 
int rscID [MAX_MSIX_NUM_VECTOR]
 
struct resource * irq [MAX_MSIX_NUM_VECTOR]
 
void * intrcookie [MAX_MSIX_NUM_VECTOR]
 
bus_dma_tag_t buffer_dmat
 
struct cam_devq * devq
 
struct callout OS_timer
 
struct mtx OS_timer_lock
 
struct callout IO_timer
 
struct mtx IO_timer_lock
 
struct callout devRmTimer
 
struct mtx devRmTimerLock
 
uint16_t rmChkCt
 
tiSgl_ttisgl_mem
 
bus_addr_t tisgl_busaddr
 
bus_dma_tag_t tisgl_dmat
 
bus_dmamap_t tisgl_map
 
void * osti_mem
 
bus_addr_t osti_busaddr
 
bus_dma_tag_t osti_dmat
 
bus_dmamap_t osti_mapp
 
U32 typhn
 
void * typh_mem
 
bus_addr_t typh_busaddr
 
bus_dma_tag_t typh_dmat
 
bus_dmamap_t typh_mapp
 
U32 typhIdx
 
U32 tyPhsIx
 
struct Scsi_Host * pHost
 
tiRoot_t tiRoot
 
U32 VidDid
 
U32 SVID_SSID
 
U32 flags
 
U32 freezeSim
 
U32 up_count
 
U32 down_count
 
U08 hostNo
 
U08 cardNo
 
U16 tgtCount
 
U16 badTgtCount
 
U16 activeCCB
 
U32 ccbTotal
 
U32 devDiscover
 
U32 resetCount
 
U32 timeoutTicks
 
U32 portCount
 
U32 SimQFrozen
 
U32 devq_flag
 
U32 dev_scan
 
pccb_t ccbSendHead
 
pccb_t ccbSendTail
 
pccb_t ccbDoneHead
 
pccb_t ccbDoneTail
 
pccb_t smpSendHead
 
pccb_t smpSendTail
 
pccb_t smpDoneHead
 
pccb_t smpDoneTail
 
caddr_t * ccbChainList
 
caddr_t * ccbFreeList
 
ccb_hdr_tccbAllocList
 
struct pci_pool * sglPool
 
struct timer_list osTimerList
 
struct timer_list tiTimerList
 
ag_portal_data_tpPortalData
 
ag_card_info_tpCardInfo
 
ag_device_tpDevList
 
int encrypt
 
bit32 dek_size
 
void * ioctl_data
 
struct list_head * encrypt_map
 
ag_kek_table_t kek_table [KEK_TABLE_MAX_ENTRY]
 
ag_dek_kek_map_t dek_kek_map [DEK_MAX_TABLES][DEK_MAX_TABLE_ITEMS]
 
int dek_index [2]
 
char map_cache_name [32]
 
struct kmem_cache * map_cache
 
bit32 cipher_mode
 
struct mtx ioerr_queue_lock
 
char ioerr_cache_name [32]
 
struct kmem_cache * ioerr_cache
 
ag_tgt_map_tpWWNList
 
ag_slr_map_tpSLRList
 
U32 numTgtHardMapped
 
struct sema * pIoctlSem
 
U32_64 osLockFlag
 
struct mtx devListLock
 

Detailed Description

Definition at line 258 of file agtiapi.h.

Field Documentation

◆ activeCCB

U16 agtiapi_softc::activeCCB

◆ badTgtCount

U16 agtiapi_softc::badTgtCount

Definition at line 315 of file agtiapi.h.

◆ buffer_dmat

◆ cardNo

U08 agtiapi_softc::cardNo

◆ ccbAllocList

ccb_hdr_t* agtiapi_softc::ccbAllocList

Definition at line 335 of file agtiapi.h.

Referenced by agtiapi_attach(), agtiapi_PrepCCBs(), and agtiapi_ReleaseCCBs().

◆ ccbChainList

caddr_t* agtiapi_softc::ccbChainList

◆ ccbDoneHead

pccb_t agtiapi_softc::ccbDoneHead

Definition at line 327 of file agtiapi.h.

Referenced by agtiapi_ResetCard(), and ostiInitiatorIOCompleted().

◆ ccbDoneTail

pccb_t agtiapi_softc::ccbDoneTail

Definition at line 328 of file agtiapi.h.

Referenced by agtiapi_ResetCard(), and ostiInitiatorIOCompleted().

◆ ccbFreeList

caddr_t* agtiapi_softc::ccbFreeList

◆ ccbSendHead

pccb_t agtiapi_softc::ccbSendHead

◆ ccbSendTail

pccb_t agtiapi_softc::ccbSendTail

◆ ccbTotal

U32 agtiapi_softc::ccbTotal

Definition at line 317 of file agtiapi.h.

Referenced by agtiapi_attach(), agtiapi_PrepCCBs(), and agtiapi_ReleaseHBA().

◆ cipher_mode

bit32 agtiapi_softc::cipher_mode

Definition at line 364 of file agtiapi.h.

◆ dek_index

int agtiapi_softc::dek_index[2]

Definition at line 358 of file agtiapi.h.

◆ dek_kek_map

ag_dek_kek_map_t agtiapi_softc::dek_kek_map[DEK_MAX_TABLES][DEK_MAX_TABLE_ITEMS]

Definition at line 356 of file agtiapi.h.

◆ dek_size

bit32 agtiapi_softc::dek_size

Definition at line 350 of file agtiapi.h.

◆ dev_scan

U32 agtiapi_softc::dev_scan

Definition at line 324 of file agtiapi.h.

Referenced by agtiapi_attach(), agtiapi_cam_action(), and agtiapi_scan().

◆ devDiscover

◆ devListLock

struct mtx agtiapi_softc::devListLock

◆ devq

struct cam_devq* agtiapi_softc::devq

Definition at line 272 of file agtiapi.h.

Referenced by agtiapi_ReleaseHBA().

◆ devq_flag

U32 agtiapi_softc::devq_flag

Definition at line 323 of file agtiapi.h.

Referenced by agtiapi_attach().

◆ devRmTimer

struct callout agtiapi_softc::devRmTimer

◆ devRmTimerLock

struct mtx agtiapi_softc::devRmTimerLock

Definition at line 278 of file agtiapi.h.

Referenced by agtiapi_alloc_requests(), and agtiapi_ReleaseHBA().

◆ down_count

U32 agtiapi_softc::down_count

◆ encrypt

int agtiapi_softc::encrypt

◆ encrypt_map

struct list_head* agtiapi_softc::encrypt_map

Definition at line 353 of file agtiapi.h.

◆ flags

◆ freezeSim

U32 agtiapi_softc::freezeSim

Definition at line 309 of file agtiapi.h.

Referenced by agtiapi_CheckError(), and agtiapi_InitCardSW().

◆ hostNo

U08 agtiapi_softc::hostNo

Definition at line 312 of file agtiapi.h.

◆ intr_cookie

void* agtiapi_softc::intr_cookie

Definition at line 264 of file agtiapi.h.

◆ intrcookie

void* agtiapi_softc::intrcookie[MAX_MSIX_NUM_VECTOR]

Definition at line 268 of file agtiapi.h.

Referenced by agtiapi_attach(), and agtiapi_ReleaseHBA().

◆ IO_timer

struct callout agtiapi_softc::IO_timer

◆ IO_timer_lock

struct mtx agtiapi_softc::IO_timer_lock

Definition at line 276 of file agtiapi.h.

Referenced by agtiapi_alloc_requests().

◆ ioctl_data

void* agtiapi_softc::ioctl_data

Definition at line 351 of file agtiapi.h.

◆ ioerr_cache

struct kmem_cache* agtiapi_softc::ioerr_cache

Definition at line 368 of file agtiapi.h.

◆ ioerr_cache_name

char agtiapi_softc::ioerr_cache_name[32]

Definition at line 367 of file agtiapi.h.

◆ ioerr_queue_lock

struct mtx agtiapi_softc::ioerr_queue_lock

Definition at line 366 of file agtiapi.h.

◆ irq

struct resource* agtiapi_softc::irq[MAX_MSIX_NUM_VECTOR]

Definition at line 267 of file agtiapi.h.

Referenced by agtiapi_attach(), and agtiapi_ReleaseHBA().

◆ kek_table

ag_kek_table_t agtiapi_softc::kek_table[KEK_TABLE_MAX_ENTRY]

Definition at line 354 of file agtiapi.h.

◆ map_cache

struct kmem_cache* agtiapi_softc::map_cache

Definition at line 363 of file agtiapi.h.

◆ map_cache_name

char agtiapi_softc::map_cache_name[32]

Definition at line 362 of file agtiapi.h.

◆ my_cdev

struct cdev* agtiapi_softc::my_cdev

Definition at line 260 of file agtiapi.h.

Referenced by agtiapi_attach(), and agtiapi_ReleaseHBA().

◆ my_dev

◆ numTgtHardMapped

U32 agtiapi_softc::numTgtHardMapped

Definition at line 373 of file agtiapi.h.

◆ OS_timer

struct callout agtiapi_softc::OS_timer

Definition at line 273 of file agtiapi.h.

Referenced by agtiapi_alloc_requests(), agtiapi_ReleaseHBA(), and agtiapi_TITimer().

◆ OS_timer_lock

struct mtx agtiapi_softc::OS_timer_lock

Definition at line 274 of file agtiapi.h.

Referenced by agtiapi_alloc_requests(), and agtiapi_ReleaseHBA().

◆ osLockFlag

U32_64 agtiapi_softc::osLockFlag

Definition at line 376 of file agtiapi.h.

◆ osti_busaddr

bus_addr_t agtiapi_softc::osti_busaddr

Definition at line 289 of file agtiapi.h.

Referenced by agtiapi_alloc_ostimem(), and agtiapi_ReleaseHBA().

◆ osti_dmat

bus_dma_tag_t agtiapi_softc::osti_dmat

Definition at line 290 of file agtiapi.h.

Referenced by agtiapi_alloc_ostimem(), and agtiapi_ReleaseHBA().

◆ osti_mapp

bus_dmamap_t agtiapi_softc::osti_mapp

Definition at line 291 of file agtiapi.h.

Referenced by agtiapi_alloc_ostimem(), and agtiapi_ReleaseHBA().

◆ osti_mem

void* agtiapi_softc::osti_mem

Definition at line 288 of file agtiapi.h.

Referenced by agtiapi_alloc_ostimem(), and agtiapi_ReleaseHBA().

◆ osTimerList

struct timer_list agtiapi_softc::osTimerList

Definition at line 337 of file agtiapi.h.

◆ path

struct cam_path* agtiapi_softc::path

Definition at line 262 of file agtiapi.h.

Referenced by agtiapi_attach(), and agtiapi_ReleaseHBA().

◆ pCardInfo

◆ pDevList

◆ pHost

struct Scsi_Host* agtiapi_softc::pHost

Definition at line 304 of file agtiapi.h.

◆ pIoctlSem

struct sema* agtiapi_softc::pIoctlSem

◆ portCount

◆ pPortalData

◆ pSLRList

ag_slr_map_t* agtiapi_softc::pSLRList

Definition at line 372 of file agtiapi.h.

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

◆ pWWNList

◆ resetCount

U32 agtiapi_softc::resetCount

Definition at line 319 of file agtiapi.h.

Referenced by agtiapi_ResetCard().

◆ resirq

struct resource* agtiapi_softc::resirq

Definition at line 263 of file agtiapi.h.

◆ rmChkCt

uint16_t agtiapi_softc::rmChkCt

Definition at line 279 of file agtiapi.h.

Referenced by agtiapi_clrRmScan(), agtiapi_devRmCheck(), and agtiapi_GetDevHandle().

◆ rscID

int agtiapi_softc::rscID[MAX_MSIX_NUM_VECTOR]

Definition at line 266 of file agtiapi.h.

Referenced by agtiapi_attach(), and agtiapi_ReleaseHBA().

◆ sglPool

struct pci_pool* agtiapi_softc::sglPool

Definition at line 336 of file agtiapi.h.

◆ sim

◆ SimQFrozen

U32 agtiapi_softc::SimQFrozen

Definition at line 322 of file agtiapi.h.

Referenced by agtiapi_attach(), agtiapi_PrepareSGList(), and agtiapi_PrepareSMPSGList().

◆ smpDoneHead

pccb_t agtiapi_softc::smpDoneHead

Definition at line 331 of file agtiapi.h.

Referenced by agtiapi_ResetCard(), and ostiInitiatorSMPCompleted().

◆ smpDoneTail

pccb_t agtiapi_softc::smpDoneTail

Definition at line 332 of file agtiapi.h.

Referenced by agtiapi_ResetCard(), and ostiInitiatorSMPCompleted().

◆ smpSendHead

pccb_t agtiapi_softc::smpSendHead

Definition at line 329 of file agtiapi.h.

Referenced by agtiapi_PrepareSMPSGListCB(), agtiapi_ResetCard(), and agtiapi_StartSMP().

◆ smpSendTail

pccb_t agtiapi_softc::smpSendTail

Definition at line 330 of file agtiapi.h.

Referenced by agtiapi_PrepareSMPSGListCB(), agtiapi_ResetCard(), and agtiapi_StartSMP().

◆ SVID_SSID

U32 agtiapi_softc::SVID_SSID

Definition at line 307 of file agtiapi.h.

◆ tgtCount

◆ timeoutTicks

U32 agtiapi_softc::timeoutTicks

Definition at line 320 of file agtiapi.h.

◆ tiRoot

◆ tisgl_busaddr

bus_addr_t agtiapi_softc::tisgl_busaddr

Definition at line 283 of file agtiapi.h.

Referenced by agtiapi_alloc_requests(), agtiapi_PrepCCBs(), and agtiapi_ReleaseHBA().

◆ tisgl_dmat

bus_dma_tag_t agtiapi_softc::tisgl_dmat

Definition at line 284 of file agtiapi.h.

Referenced by agtiapi_alloc_requests(), and agtiapi_ReleaseHBA().

◆ tisgl_map

bus_dmamap_t agtiapi_softc::tisgl_map

Definition at line 285 of file agtiapi.h.

Referenced by agtiapi_alloc_requests(), and agtiapi_ReleaseHBA().

◆ tisgl_mem

tiSgl_t* agtiapi_softc::tisgl_mem

Definition at line 282 of file agtiapi.h.

Referenced by agtiapi_alloc_requests(), agtiapi_PrepCCBs(), and agtiapi_ReleaseHBA().

◆ tiTimerList

struct timer_list agtiapi_softc::tiTimerList

Definition at line 341 of file agtiapi.h.

◆ typh_busaddr

bus_addr_t agtiapi_softc::typh_busaddr

◆ typh_dmat

bus_dma_tag_t agtiapi_softc::typh_dmat

Definition at line 297 of file agtiapi.h.

Referenced by agtiapi_MemFree(), and agtiapi_typhAlloc().

◆ typh_mapp

bus_dmamap_t agtiapi_softc::typh_mapp

Definition at line 298 of file agtiapi.h.

Referenced by agtiapi_MemFree(), and agtiapi_typhAlloc().

◆ typh_mem

void* agtiapi_softc::typh_mem

Definition at line 295 of file agtiapi.h.

Referenced by agtiapi_MemAlloc(), agtiapi_MemFree(), and agtiapi_typhAlloc().

◆ typhIdx

U32 agtiapi_softc::typhIdx

Definition at line 299 of file agtiapi.h.

Referenced by agtiapi_MemAlloc(), and agtiapi_typhAlloc().

◆ typhn

U32 agtiapi_softc::typhn

◆ tyPhsIx

U32 agtiapi_softc::tyPhsIx

Definition at line 300 of file agtiapi.h.

Referenced by agtiapi_MemAlloc(), and agtiapi_typhAlloc().

◆ up_count

U32 agtiapi_softc::up_count

Definition at line 310 of file agtiapi.h.

Referenced by agtiapi_CharIoctl(), ostiIOCTLComplete(), and ostiIOCTLSetSignal().

◆ VidDid

U32 agtiapi_softc::VidDid

Definition at line 306 of file agtiapi.h.

Referenced by agtiapi_attach().


The documentation for this struct was generated from the following file: