FreeBSD kernel pms device code
agsaLLRoot_s Struct Reference

the LLRoot More...

#include <satypes.h>

Collaboration diagram for agsaLLRoot_s:

Data Fields

agsaMem_t deviceLinkMem
 
SALINK_LIST freeDevicesList
 
agsaMem_t IORequestMem
 
SALINK_LIST freeIORequests
 
SALINK_LIST freeReservedRequests
 
agsaMem_t timerLinkMem
 
SALINK_LIST freeTimers
 
SALINK_LIST validTimers
 
agsaPhy_t phys [AGSA_MAX_VALID_PHYS]
 
agsaPort_t ports [AGSA_MAX_VALID_PORTS]
 
SALINK_LIST freePorts
 
SALINK_LIST validPorts
 
bit8 phyCount
 
bit8 portCount
 
bit8 sysIntsActive
 
bit8 reserved
 
bit32 usecsPerTick
 
bit32 minStallusecs
 
bit32 timeTick
 
bit32 ResetStartTick
 
bit32 chipStatus
 
bit32 interruptVecIndexBitMap [MAX_NUM_VECTOR]
 
bit32 interruptVecIndexBitMap1 [MAX_NUM_VECTOR]
 
agsaBarOffset_t SpcBarOffset [60]
 
bit32 ChipId
 
agsaPortMap_t PortMap [AGSA_MAX_VALID_PORTS]
 
agsaDeviceMap_t DeviceMap [MAX_IO_DEVICE_ENTRIES]
 
agsaIOMap_t IOMap [MAX_ACTIVE_IO_REQUESTS]
 
agsaDevHandle_tDeviceHandle [MAX_IO_DEVICE_ENTRIES]
 
agsaDevHandle_tpDeviceHandle
 
agsaMemoryRequirement_t memoryAllocated
 
agsaHwConfig_t hwConfig
 
agsaSwConfig_t swConfig
 
agsaQueueConfig_t QueueConfig
 
mpiConfig_t mpiConfig
 
mpiMemReq_t mpiMemoryAllocated
 
mpiICQueue_t inboundQueue [AGSA_MAX_INBOUND_Q]
 
mpiOCQueue_t outboundQueue [AGSA_MAX_OUTBOUND_Q]
 
mpiHostLLConfigDescriptor_t mainConfigTable
 
ossaDeviceRegistrationCB_t DeviceRegistrationCB
 
ossaDeregisterDeviceHandleCB_t DeviceDeregistrationCB
 
bit32 numInterruptVectors
 
bit32 Use64bit
 
EnadDisabHandler_t DisableInterrupts
 
EnadDisabHandler_t ReEnableInterrupts
 
InterruptOurs_t OurInterrupt
 
agsaControllerInfo_t ControllerInfo
 
agsaIOErrorEventStats_t IoErrorCount
 
agsaIOErrorEventStats_t IoEventCount
 
bit32 ResetFailed
 
bit32 ForensicLastOffset
 
bit32 FatalForensicStep
 
bit32 FatalForensicShiftOffset
 
bit32 FatalBarLoc
 
bit32 registerDump0 [REGISTER_DUMP_BUFF_SIZE/4]
 
bit32 registerDump1 [REGISTER_DUMP_BUFF_SIZE/4]
 
bit32 autoDeregDeviceflag [AGSA_MAX_VALID_PORTS]
 

Detailed Description

the LLRoot

root data structure

Definition at line 208 of file satypes.h.

Field Documentation

◆ autoDeregDeviceflag

bit32 agsaLLRoot_s::autoDeregDeviceflag[AGSA_MAX_VALID_PORTS]

Definition at line 333 of file satypes.h.

Referenced by mpiDeviceHandleRemoval(), saInitialize(), saPortControl(), and siInitResources().

◆ ChipId

bit32 agsaLLRoot_s::ChipId

Definition at line 242 of file satypes.h.

Referenced by saInitialize().

◆ chipStatus

bit32 agsaLLRoot_s::chipStatus

chip status

Definition at line 236 of file satypes.h.

Referenced by saHwReset(), saHwShutdown(), and saInitialize().

◆ ControllerInfo

agsaControllerInfo_t agsaLLRoot_s::ControllerInfo

Definition at line 298 of file satypes.h.

Referenced by mpiInitialize(), mpiWaitForConfigTable(), and saInitialize().

◆ DeviceDeregistrationCB

ossaDeregisterDeviceHandleCB_t agsaLLRoot_s::DeviceDeregistrationCB

Device DeRegistration CB

Definition at line 262 of file satypes.h.

Referenced by mpiDeregDevHandleRsp(), saInitialize(), saRegisterEventCallback(), and siInitResources().

◆ DeviceHandle

agsaDevHandle_t* agsaLLRoot_s::DeviceHandle[MAX_IO_DEVICE_ENTRIES]

used for get device handles

Definition at line 247 of file satypes.h.

Referenced by mpiGetDevHandleRsp(), and saGetDeviceHandles().

◆ deviceLinkMem

agsaMem_t agsaLLRoot_s::deviceLinkMem

Device Link System Memory

Definition at line 210 of file satypes.h.

Referenced by saInitialize(), and siInitResources().

◆ DeviceMap

◆ DeviceRegistrationCB

ossaDeviceRegistrationCB_t agsaLLRoot_s::DeviceRegistrationCB

Device Registration CB

Definition at line 261 of file satypes.h.

Referenced by mpiDeviceRegRsp(), saInitialize(), saRegisterEventCallback(), and siInitResources().

◆ DisableInterrupts

EnadDisabHandler_t agsaLLRoot_s::DisableInterrupts

Definition at line 267 of file satypes.h.

Referenced by saInitialize().

◆ FatalBarLoc

bit32 agsaLLRoot_s::FatalBarLoc

Definition at line 310 of file satypes.h.

Referenced by siFatalErrorBuffer().

◆ FatalForensicShiftOffset

bit32 agsaLLRoot_s::FatalForensicShiftOffset

Definition at line 309 of file satypes.h.

Referenced by siFatalErrorBuffer().

◆ FatalForensicStep

bit32 agsaLLRoot_s::FatalForensicStep

Definition at line 308 of file satypes.h.

Referenced by siFatalErrorBuffer().

◆ ForensicLastOffset

bit32 agsaLLRoot_s::ForensicLastOffset

Definition at line 304 of file satypes.h.

Referenced by siFatalErrorBuffer(), and siNonFatalErrorBuffer().

◆ freeDevicesList

SALINK_LIST agsaLLRoot_s::freeDevicesList

◆ freeIORequests

SALINK_LIST agsaLLRoot_s::freeIORequests

List of free IORequests

Definition at line 214 of file satypes.h.

Referenced by mpiBistRsp(), mpiDekManagementCmd(), mpiDekManagementRsp(), mpiDeregDevHandleCmd(), mpiDeregDevHandleRsp(), mpiDevHandleAcceptCmd(), mpiDeviceRegRsp(), mpiDifEncOffloadRsp(), mpiDIFEncryptionOffloadCmd(), mpiEchoCmd(), mpiEchoRsp(), mpiEncryptBistCmd(), mpiFwExtFlashUpdateRsp(), mpiFwFlashUpdateRsp(), mpiGeneralEventRsp(), mpiGetControllerConfigCmd(), mpiGetControllerConfigRsp(), mpiGetDevHandleRsp(), mpiGetDeviceHandleCmd(), mpiGetDeviceInfoCmd(), mpiGetDeviceStateCmd(), mpiGetDeviceStateRsp(), mpiGetDevInfoRsp(), mpiGetDevInfoRspSpc(), mpiGetDFEDataRsp(), mpiGetNVMDataRsp(), mpiGetNVMDCmd(), mpiGetOperatorCmd(), mpiGetOperatorRsp(), mpiGetPhyProfileCmd(), mpiGetPhyProfileRsp(), mpiGetTimeStampRsp(), mpiGetVHistRsp(), mpiGPIORsp(), mpiHWevent(), mpiKekManagementCmd(), mpiKekManagementRsp(), mpiNVMReadRegDumpCmd(), mpiOperatorManagementCmd(), mpiOperatorManagementRsp(), mpiPCIeDiagExecuteRsp(), mpiPhyCntrlRsp(), mpiPhyStartEvent(), mpiPhyStopEvent(), mpiPortControlRsp(), mpiSASDiagExecuteRsp(), mpiSASDiagStartEndRsp(), mpiSASHwEventAckRsp(), mpiSasReinitializeCmd(), mpiSasReInitializeRsp(), mpiSATAAbortRsp(), mpiSetControllerConfigCmd(), mpiSetControllerConfigRsp(), mpiSetDeviceInfoCmd(), mpiSetDeviceStateCmd(), mpiSetDeviceStateRsp(), mpiSetDevInfoRsp(), mpiSetNVMDataRsp(), mpiSetNVMDCmd(), mpiSetOperatorCmd(), mpiSetOperatorRsp(), mpiSetPhyProfileCmd(), mpiSetPhyProfileRsp(), mpiSMPAbortRsp(), mpiSSPAbortRsp(), mpiVHistCapCmd(), saFlashExtExecute(), saFwFlashUpdate(), saGetDFEData(), saGetRequestFromFreePool(), saGetTimeStamp(), saGpioEventSetup(), saGpioPinSetup(), saGpioRead(), saGpioWrite(), saHwEventAck(), saInitialize(), saLocalPhyControl(), saPCIeDiagExecute(), saPhyStart(), saPhyStop(), saPortControl(), saRegisterNewDevice(), saReturnRequestToFreePool(), saSASDiagExecute(), saSASDiagStartEnd(), saSATAAbort(), saSATAStart(), saSendSMPIoctl(), saSMPAbort(), saSMPStart(), saSSPAbort(), saSSPStart(), saVhistCapture(), siAbnormal(), siDifAbnormal(), siEventSATAResponseWtDataRcvd(), siEventSSPResponseWtDataRcvd(), siInitResources(), siIODone(), and siSMPRespRcvd().

◆ freePorts

SALINK_LIST agsaLLRoot_s::freePorts

◆ freeReservedRequests

◆ freeTimers

SALINK_LIST agsaLLRoot_s::freeTimers

List of free timers

Definition at line 218 of file satypes.h.

Referenced by saInitialize(), saTimerTick(), siInitResources(), siTimerAdd(), siTimerRemove(), and siTimerRemoveAll().

◆ hwConfig

agsaHwConfig_t agsaLLRoot_s::hwConfig

copy of hwConfig

Definition at line 251 of file satypes.h.

Referenced by mpiInitialize(), saHwReset(), saHwShutdown(), and saInitialize().

◆ inboundQueue

◆ interruptVecIndexBitMap

bit32 agsaLLRoot_s::interruptVecIndexBitMap[MAX_NUM_VECTOR]

Interrupt Vector Index BitMap

Definition at line 238 of file satypes.h.

Referenced by mpiInitialize(), saDelayedInterruptHandler(), saInitialize(), saSSPStart(), and saTimerTick().

◆ interruptVecIndexBitMap1

bit32 agsaLLRoot_s::interruptVecIndexBitMap1[MAX_NUM_VECTOR]

Interrupt Vector Index BitMap1

Definition at line 239 of file satypes.h.

Referenced by mpiInitialize(), saDelayedInterruptHandler(), and saInitialize().

◆ IoErrorCount

agsaIOErrorEventStats_t agsaLLRoot_s::IoErrorCount

◆ IoEventCount

agsaIOErrorEventStats_t agsaLLRoot_s::IoEventCount

Definition at line 300 of file satypes.h.

Referenced by mpiSATAEvent(), mpiSSPEvent(), saGetIOEventStats(), and saInitialize().

◆ IOMap

agsaIOMap_t agsaLLRoot_s::IOMap[MAX_ACTIVE_IO_REQUESTS]

IO MAP for IO Request

Definition at line 246 of file satypes.h.

Referenced by mpiBistRsp(), mpiDekManagementCmd(), mpiDekManagementRsp(), mpiDeregDevHandleCmd(), mpiDeregDevHandleRsp(), mpiDevHandleAcceptCmd(), mpiDeviceRegRsp(), mpiDifEncOffloadRsp(), mpiDIFEncryptionOffloadCmd(), mpiEchoCmd(), mpiEchoRsp(), mpiEncryptBistCmd(), mpiFwExtFlashUpdateRsp(), mpiFwFlashUpdateRsp(), mpiGeneralEventRsp(), mpiGetControllerConfigCmd(), mpiGetControllerConfigRsp(), mpiGetDevHandleRsp(), mpiGetDeviceHandleCmd(), mpiGetDeviceInfoCmd(), mpiGetDeviceStateCmd(), mpiGetDeviceStateRsp(), mpiGetDevInfoRsp(), mpiGetDevInfoRspSpc(), mpiGetDFEDataRsp(), mpiGetNVMDataRsp(), mpiGetNVMDCmd(), mpiGetOperatorCmd(), mpiGetOperatorRsp(), mpiGetPhyProfileCmd(), mpiGetPhyProfileRsp(), mpiGetTimeStampRsp(), mpiGetVHistRsp(), mpiGPIORsp(), mpiHWevent(), mpiKekManagementCmd(), mpiKekManagementRsp(), mpiNVMReadRegDumpCmd(), mpiOperatorManagementCmd(), mpiOperatorManagementRsp(), mpiParseOBIomb(), mpiPCIeDiagExecuteRsp(), mpiPhyCntrlRsp(), mpiPhyStartEvent(), mpiPhyStopEvent(), mpiPortControlRsp(), mpiSASDiagExecuteRsp(), mpiSASDiagStartEndRsp(), mpiSASHwEventAckRsp(), mpiSasReinitializeCmd(), mpiSasReInitializeRsp(), mpiSATAAbortRsp(), mpiSATACompletion(), mpiSATAEvent(), mpiSetControllerConfigCmd(), mpiSetControllerConfigRsp(), mpiSetDeviceInfoCmd(), mpiSetDeviceStateCmd(), mpiSetDeviceStateRsp(), mpiSetDevInfoRsp(), mpiSetNVMDataRsp(), mpiSetNVMDCmd(), mpiSetOperatorCmd(), mpiSetOperatorRsp(), mpiSetPhyProfileCmd(), mpiSetPhyProfileRsp(), mpiSGpioRsp(), mpiSMPAbortRsp(), mpiSMPCompletion(), mpiSSPAbortRsp(), mpiSSPCompletion(), mpiSSPEvent(), mpiVHistCapCmd(), saFlashExtExecute(), saFwFlashUpdate(), saGetDFEData(), saGetRequestFromFreePool(), saGetTimeStamp(), saGpioEventSetup(), saGpioPinSetup(), saGpioRead(), saGpioWrite(), saHwEventAck(), saInitialize(), saLocalPhyControl(), saPCIeDiagExecute(), saPhyStart(), saPhyStop(), saPortControl(), saRegisterNewDevice(), saReturnRequestToFreePool(), saSASDiagExecute(), saSASDiagStartEnd(), saSATAAbort(), saSATAStart(), saSendSMPIoctl(), saSMPAbort(), saSMPStart(), saSSPAbort(), saSSPStart(), saVhistCapture(), siAbnormal(), siDifAbnormal(), siInitResources(), and siSMPRespRcvd().

◆ IORequestMem

◆ mainConfigTable

◆ memoryAllocated

agsaMemoryRequirement_t agsaLLRoot_s::memoryAllocated

SAS LL memory Allocation

Definition at line 250 of file satypes.h.

Referenced by saGetControllerEventLogInfo(), saHwReset(), saHwShutdown(), saInitialize(), and siNonFatalErrorBuffer().

◆ minStallusecs

bit32 agsaLLRoot_s::minStallusecs

shorest available stall

Definition at line 233 of file satypes.h.

Referenced by saInitialize().

◆ mpiConfig

mpiConfig_t agsaLLRoot_s::mpiConfig

MPI Configuration

Definition at line 255 of file satypes.h.

Referenced by saInitialize().

◆ mpiMemoryAllocated

mpiMemReq_t agsaLLRoot_s::mpiMemoryAllocated

MPI memory

Definition at line 256 of file satypes.h.

◆ numInterruptVectors

bit32 agsaLLRoot_s::numInterruptVectors

Number of Interrupt Vectors configured from OS

Definition at line 264 of file satypes.h.

Referenced by mpiInitialize(), and saSystemInterruptsActive().

◆ OurInterrupt

InterruptOurs_t agsaLLRoot_s::OurInterrupt

Definition at line 269 of file satypes.h.

Referenced by saInitialize(), saInterruptHandler(), and saTimerTick().

◆ outboundQueue

◆ pDeviceHandle

agsaDevHandle_t* agsaLLRoot_s::pDeviceHandle

used for get device handles

Definition at line 248 of file satypes.h.

◆ phyCount

bit8 agsaLLRoot_s::phyCount

◆ phys

◆ portCount

bit8 agsaLLRoot_s::portCount

number of ports

Definition at line 228 of file satypes.h.

Referenced by saInitialize(), and siInitResources().

◆ PortMap

◆ ports

agsaPort_t agsaLLRoot_s::ports[AGSA_MAX_VALID_PORTS]

Ports

Definition at line 223 of file satypes.h.

Referenced by saInitialize(), and siInitResources().

◆ QueueConfig

◆ ReEnableInterrupts

EnadDisabHandler_t agsaLLRoot_s::ReEnableInterrupts

Definition at line 268 of file satypes.h.

Referenced by saInitialize().

◆ registerDump0

bit32 agsaLLRoot_s::registerDump0[REGISTER_DUMP_BUFF_SIZE/4]

register dump buffer 0

Definition at line 330 of file satypes.h.

Referenced by saGetRegisterDump(), saHwReset(), siSpcGetErrorContent(), and siSpcvGetErrorContent().

◆ registerDump1

bit32 agsaLLRoot_s::registerDump1[REGISTER_DUMP_BUFF_SIZE/4]

register dump buffer 1

Definition at line 331 of file satypes.h.

Referenced by saGetRegisterDump(), saHwReset(), siSpcGetErrorContent(), and siSpcvGetErrorContent().

◆ reserved

bit8 agsaLLRoot_s::reserved

reserved

Definition at line 230 of file satypes.h.

◆ ResetFailed

bit32 agsaLLRoot_s::ResetFailed

◆ ResetStartTick

bit32 agsaLLRoot_s::ResetStartTick

Definition at line 235 of file satypes.h.

Referenced by saCountActiveIORequests(), saHwReset(), and siCountActiveIORequestsOnDevice().

◆ SpcBarOffset

agsaBarOffset_t agsaLLRoot_s::SpcBarOffset[60]

Definition at line 241 of file satypes.h.

Referenced by siUpdateBarOffsetTable().

◆ swConfig

◆ sysIntsActive

bit8 agsaLLRoot_s::sysIntsActive

◆ timerLinkMem

agsaMem_t agsaLLRoot_s::timerLinkMem

Timer Link System Memory

Definition at line 217 of file satypes.h.

Referenced by saInitialize(), and siInitResources().

◆ timeTick

◆ Use64bit

bit32 agsaLLRoot_s::Use64bit

Only write upper bits if needed

Definition at line 265 of file satypes.h.

Referenced by saInitialize().

◆ usecsPerTick

bit32 agsaLLRoot_s::usecsPerTick

timer tick unit

Definition at line 232 of file satypes.h.

Referenced by saHwReset(), saHwShutdown(), saInitialize(), siDumpActiveIORequests(), and siInitResources().

◆ validPorts

SALINK_LIST agsaLLRoot_s::validPorts

◆ validTimers

SALINK_LIST agsaLLRoot_s::validTimers

List of valid timers

Definition at line 219 of file satypes.h.

Referenced by saInitialize(), saTimerTick(), siInitResources(), siTimerAdd(), siTimerRemove(), and siTimerRemoveAll().


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