FreeBSD kernel pms device code
agsaSwConfig_s Struct Reference

structure describe software configuration More...

#include <sa.h>

Data Fields

bit32 maxActiveIOs
 
bit32 numDevHandles
 
bit32 smpReqTimeout
 
bit32 numberOfEventRegClients
 
bit32 sizefEventLog1
 
bit32 sizefEventLog2
 
bit32 eventLog1Option
 
bit32 eventLog2Option
 
bit32 fatalErrorInterruptEnable:1
 
bit32 sgpioSupportEnable:1
 
bit32 fatalErrorInterruptVector:8
 
bit32 max_MSI_InterruptVectors:8
 
bit32 max_MSIX_InterruptVectors:8
 
bit32 legacyInt_X:1
 
bit32 hostDirectAccessSupport:1
 
bit32 hostDirectAccessMode:2
 
bit32 enableDIF:1
 
bit32 enableEncryption:1
 
bit32 disableMDF
 
bit32 param1
 
bit32 param2
 
void * param3
 
void * param4
 
bit32 stallUsec
 
bit32 FWConfig
 
bit32 PortRecoveryResetTimer
 
void * mpiContextTable
 
bit32 mpiContextTablelen
 

Detailed Description

structure describe software configuration

Structure is used as a parameter passed in saInitialize() to describe the configuration used during software initialization

Definition at line 2318 of file sa.h.

Field Documentation

◆ disableMDF

bit32 agsaSwConfig_s::disableMDF

◆ enableDIF

bit32 agsaSwConfig_s::enableDIF

30

Definition at line 2339 of file sa.h.

Referenced by tdsaGetSwConfigParams(), and tdsaLoLevelGetResource().

◆ enableEncryption

bit32 agsaSwConfig_s::enableEncryption

31

Definition at line 2340 of file sa.h.

Referenced by tdsaGetSwConfigParams(), and tdsaLoLevelGetResource().

◆ eventLog1Option

bit32 agsaSwConfig_s::eventLog1Option

Option of Event Log 1

Definition at line 2328 of file sa.h.

Referenced by siConfiguration(), tdsaGetSwConfigParams(), and tdsaLoLevelGetResource().

◆ eventLog2Option

bit32 agsaSwConfig_s::eventLog2Option

Option of Event Log 2

Definition at line 2329 of file sa.h.

Referenced by siConfiguration(), tdsaGetSwConfigParams(), and tdsaLoLevelGetResource().

◆ fatalErrorInterruptEnable

bit32 agsaSwConfig_s::fatalErrorInterruptEnable

◆ fatalErrorInterruptVector

bit32 agsaSwConfig_s::fatalErrorInterruptVector

◆ FWConfig

bit32 agsaSwConfig_s::FWConfig

◆ hostDirectAccessMode

bit32 agsaSwConfig_s::hostDirectAccessMode

28-29 HDA mode: 00b - HDA SoftReset, 01b - HDA Normal

Definition at line 2338 of file sa.h.

Referenced by saDelayedInterruptHandler(), saGetRequirements(), saHwShutdown(), saInitialize(), tdsaGetSwConfigParams(), and tdsaLoLevelGetResource().

◆ hostDirectAccessSupport

bit32 agsaSwConfig_s::hostDirectAccessSupport

27 Support HDA mode

Definition at line 2337 of file sa.h.

Referenced by saGetRequirements(), saHwShutdown(), saInitialize(), tdsaGetSwConfigParams(), tdsaLoLevelGetResource(), and tiCOMPortInit().

◆ legacyInt_X

bit32 agsaSwConfig_s::legacyInt_X

26 Support Legacy Interrupt

Definition at line 2336 of file sa.h.

Referenced by saGetRequirements(), saInitialize(), tdsaLoLevelGetResource(), and tiCOMPortInit().

◆ max_MSI_InterruptVectors

bit32 agsaSwConfig_s::max_MSI_InterruptVectors

10-18 Maximum MSI Interrupt Vectors

Definition at line 2334 of file sa.h.

Referenced by saGetRequirements(), saInitialize(), tdsaLoLevelGetResource(), and tiCOMPortInit().

◆ max_MSIX_InterruptVectors

bit32 agsaSwConfig_s::max_MSIX_InterruptVectors

18-25 Maximum MSIX Interrupt Vectors

Definition at line 2335 of file sa.h.

Referenced by saGetRequirements(), saInitialize(), tdsaLoLevelGetResource(), and tiCOMPortInit().

◆ maxActiveIOs

◆ mpiContextTable

void* agsaSwConfig_s::mpiContextTable

Definition at line 2351 of file sa.h.

Referenced by mpiInitialize(), tdsaGetSwConfigParams(), and tdsaLoLevelGetResource().

◆ mpiContextTablelen

bit32 agsaSwConfig_s::mpiContextTablelen

Pointer to a table that contains agsaMPIContext_t entries. This table is used to fill in MPI table fields. Values in this table are written to MPI table last. Any previous values in MPI table are overwritten by values in this table.

Definition at line 2357 of file sa.h.

Referenced by mpiInitialize(), tdsaGetSwConfigParams(), and tdsaLoLevelGetResource().

◆ numberOfEventRegClients

bit32 agsaSwConfig_s::numberOfEventRegClients

Maximum number of OS Layer clients for the event registration defined by saRegisterEventCallback()

Definition at line 2324 of file sa.h.

Referenced by tdsaGetSwConfigParams(), and tdsaLoLevelGetResource().

◆ numDevHandles

bit32 agsaSwConfig_s::numDevHandles

Number of SAS/SATA device handles allocated in the pool

Definition at line 2321 of file sa.h.

Referenced by saGetRequirements(), saInitialize(), siInitResources(), tdsaGetSwConfigParams(), and tdsaLoLevelGetResource().

◆ param1

bit32 agsaSwConfig_s::param1

parameter1

Definition at line 2344 of file sa.h.

Referenced by tdsaGetSwConfigParams(), and tiCOMPortInit().

◆ param2

bit32 agsaSwConfig_s::param2

parameter2

Definition at line 2345 of file sa.h.

Referenced by tdsaGetSwConfigParams(), and tiCOMPortInit().

◆ param3

void* agsaSwConfig_s::param3

parameter3

Definition at line 2346 of file sa.h.

Referenced by saGetRequirements(), saInitialize(), siConfiguration(), tdsaLoLevelGetResource(), and tiCOMPortInit().

◆ param4

void* agsaSwConfig_s::param4

paramater4

Definition at line 2347 of file sa.h.

Referenced by saInitialize(), and tiCOMPortInit().

◆ PortRecoveryResetTimer

bit32 agsaSwConfig_s::PortRecoveryResetTimer

Definition at line 2350 of file sa.h.

Referenced by saInitialize(), siConfiguration(), and tiCOMPortInit().

◆ sgpioSupportEnable

bit32 agsaSwConfig_s::sgpioSupportEnable

1 SGPIO Support Enable

Definition at line 2332 of file sa.h.

Referenced by siConfiguration().

◆ sizefEventLog1

bit32 agsaSwConfig_s::sizefEventLog1

Size of Event Log 1

Definition at line 2326 of file sa.h.

Referenced by siConfiguration(), tdsaGetSwConfigParams(), and tdsaLoLevelGetResource().

◆ sizefEventLog2

bit32 agsaSwConfig_s::sizefEventLog2

Size of Event Log 2

Definition at line 2327 of file sa.h.

Referenced by siConfiguration(), tdsaGetSwConfigParams(), and tdsaLoLevelGetResource().

◆ smpReqTimeout

bit32 agsaSwConfig_s::smpReqTimeout

SMP request time out in millisecond

Definition at line 2323 of file sa.h.

Referenced by tdsaGetSwConfigParams(), tdsaLoLevelGetResource(), and tdsaPrintSwConfig().

◆ stallUsec

bit32 agsaSwConfig_s::stallUsec

Definition at line 2348 of file sa.h.

Referenced by saGetRequirements(), saInitialize(), and tiCOMPortInit().


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