FreeBSD kernel pms device code
tdsaContext_s Struct Reference

data structure for SAS/SATA context at TD layer More...

#include <tdsatypes.h>

Collaboration diagram for tdsaContext_s:

Data Fields

bit32 currentOperation
 
struct tdsaRootOsData_s agRootOsDataForInt
 
struct tdsaRootOsData_s agRootOsDataForNonInt
 
agsaRoot_t agRootInt
 
agsaRoot_t agRootNonInt
 
struct tdsaComMemFlags_s flags
 
agsaSwConfig_t SwConfig
 
agsaQueueConfig_t QueueConfig
 
agsaHwConfig_t HwConfig
 
tiLoLevelResource_t loResource
 
bit32 currentInterruptDelay
 
tdList_t timerlist
 
struct itdsaIni_s * itdsaIni
 
struct ttdsaTgt_s * ttdsaTgt
 
tdsaPortContext_tPortContextMem
 
tdsaDeviceData_tDeviceMem
 
tdList_t FreePortContextList
 
tdList_t MainPortContextList
 
tdList_t FreeDeviceList
 
tdList_t MainDeviceList
 
tdsaJumpTable_t tdJumpTable
 
tdsaPortStartInfo_t Ports [TD_MAX_NUM_PHYS]
 
tdFWControlEx_t tdFWControlEx
 
bit32 first_process
 
tdsaExpander_tExpanderHead
 
tdList_t freeExpanderList
 
bit32 phyCount
 
bit32 IBQnumber
 
bit32 OBQnumber
 
bit32 InboundQueueSize [AGSA_MAX_OUTBOUND_Q]
 
bit32 InboundQueueEleSize [AGSA_MAX_OUTBOUND_Q]
 
bit32 OutboundQueueSize [AGSA_MAX_OUTBOUND_Q]
 
bit32 OutboundQueueEleSize [AGSA_MAX_OUTBOUND_Q]
 
bit32 OutboundQueueInterruptDelay [AGSA_MAX_OUTBOUND_Q]
 
bit32 OutboundQueueInterruptCount [AGSA_MAX_OUTBOUND_Q]
 
bit32 OutboundQueueInterruptEnable [AGSA_MAX_OUTBOUND_Q]
 
bit32 InboundQueuePriority [AGSA_MAX_INBOUND_Q]
 
bit32 QueueOption
 
bit32 tdDeviceIdVendId
 
bit32 tdSubVendorId
 
bit8 CardIDString [TD_CARD_ID_LEN]
 
bit32 CardID
 
bit32 resetCount
 
tdsaHwEventSource_t eventSource [TD_MAX_NUM_PHYS]
 
bit32 portTMO
 
bit32 phyCalibration
 
bit32 FCA
 
bit32 SMPQNum
 
bit32 ResetInDiscovery
 
bit32 FWMaxPorts
 
bit32 IDRetry
 
bit32 RateAdjust
 
bit32 MaxNumOSLocks
 
bit32 MaxNumLLLocks
 
bit32 MaxNumLocks
 
bit32 MCN
 
bit32 sflag
 
bit32 stp_idle_time
 
bit32 STP_MCT_TMO
 
bit32 SSP_MCT_TMO
 
bit32 MAX_OPEN_TIME
 
bit32 SMP_MAX_CONN_TIMER
 
bit32 STP_FRM_TMO
 
bit32 MFD
 
bit32 OPNRJT_RTRY_INTVL
 
bit32 DOPNRJT_RTRY_TMO
 
bit32 COPNRJT_RTRY_TMO
 
bit32 DOPNRJT_RTRY_THR
 
bit32 COPNRJT_RTRY_THR
 
bit32 itNexusTimeout
 
bit32 MAX_AIP
 
agsaMPIContext_t MpiOverride
 
bit32 sgpioResponseSet
 
volatile NvmdResponseSet
 

Detailed Description

data structure for SAS/SATA context at TD layer

This data structure is used for both SAS and SATA. In addition, this is the data structure used mainly to communicate with lower layer.

Definition at line 199 of file tdsatypes.h.

Field Documentation

◆ agRootInt

agsaRoot_t tdsaContext_s::agRootInt

Definition at line 206 of file tdsatypes.h.

Referenced by tiCOMInit(), and tiCOMPortInit().

◆ agRootNonInt

◆ agRootOsDataForInt

struct tdsaRootOsData_s tdsaContext_s::agRootOsDataForInt

Definition at line 203 of file tdsatypes.h.

Referenced by tiCOMInit().

◆ agRootOsDataForNonInt

struct tdsaRootOsData_s tdsaContext_s::agRootOsDataForNonInt

Definition at line 204 of file tdsatypes.h.

Referenced by tiCOMInit().

◆ CardID

bit32 tdsaContext_s::CardID

Definition at line 289 of file tdsatypes.h.

◆ CardIDString

bit8 tdsaContext_s::CardIDString[TD_CARD_ID_LEN]

Definition at line 288 of file tdsatypes.h.

Referenced by tiCOMInit().

◆ COPNRJT_RTRY_THR

bit32 tdsaContext_s::COPNRJT_RTRY_THR

Definition at line 338 of file tdsatypes.h.

◆ COPNRJT_RTRY_TMO

bit32 tdsaContext_s::COPNRJT_RTRY_TMO

Definition at line 336 of file tdsatypes.h.

◆ currentInterruptDelay

bit32 tdsaContext_s::currentInterruptDelay

timers used commonly in SAS/SATA

Definition at line 234 of file tdsatypes.h.

◆ currentOperation

bit32 tdsaContext_s::currentOperation

agsaRoot_t->osData points to this

Definition at line 200 of file tdsatypes.h.

Referenced by tiCOMInit(), and tiCOMPortInit().

◆ DeviceMem

tdsaDeviceData_t* tdsaContext_s::DeviceMem

Definition at line 245 of file tdsatypes.h.

Referenced by tiCOMInit().

◆ DOPNRJT_RTRY_THR

bit32 tdsaContext_s::DOPNRJT_RTRY_THR

Definition at line 337 of file tdsatypes.h.

◆ DOPNRJT_RTRY_TMO

bit32 tdsaContext_s::DOPNRJT_RTRY_TMO

Definition at line 335 of file tdsatypes.h.

◆ eventSource

tdsaHwEventSource_t tdsaContext_s::eventSource[TD_MAX_NUM_PHYS]

Definition at line 297 of file tdsatypes.h.

Referenced by ossaDeregisterDeviceHandleCB(), ossaHwCB(), and tiCOMInit().

◆ ExpanderHead

tdsaExpander_t* tdsaContext_s::ExpanderHead

Definition at line 270 of file tdsatypes.h.

Referenced by tiCOMInit().

◆ FCA

bit32 tdsaContext_s::FCA

Definition at line 300 of file tdsatypes.h.

◆ first_process

bit32 tdsaContext_s::first_process

Definition at line 267 of file tdsatypes.h.

◆ flags

struct tdsaComMemFlags_s tdsaContext_s::flags

software-related initialization params used in saInitialize()

Definition at line 210 of file tdsatypes.h.

Referenced by ossaHwCB(), and tiCOMPortInit().

◆ FreeDeviceList

tdList_t tdsaContext_s::FreeDeviceList

◆ freeExpanderList

tdList_t tdsaContext_s::freeExpanderList

Definition at line 272 of file tdsatypes.h.

◆ FreePortContextList

tdList_t tdsaContext_s::FreePortContextList

Definition at line 247 of file tdsatypes.h.

Referenced by ossaDeregisterDeviceHandleCB(), and ossaHwCB().

◆ FWMaxPorts

bit32 tdsaContext_s::FWMaxPorts

Definition at line 303 of file tdsatypes.h.

◆ HwConfig

agsaHwConfig_t tdsaContext_s::HwConfig

Copy of TI low level resoure

Definition at line 220 of file tdsatypes.h.

Referenced by tiCOMPortInit().

◆ IBQnumber

bit32 tdsaContext_s::IBQnumber

Definition at line 274 of file tdsatypes.h.

Referenced by tiCOMInit().

◆ IDRetry

bit32 tdsaContext_s::IDRetry

Definition at line 304 of file tdsatypes.h.

◆ InboundQueueEleSize

bit32 tdsaContext_s::InboundQueueEleSize[AGSA_MAX_OUTBOUND_Q]

Definition at line 277 of file tdsatypes.h.

Referenced by tiCOMPortInit().

◆ InboundQueuePriority

bit32 tdsaContext_s::InboundQueuePriority[AGSA_MAX_INBOUND_Q]

Definition at line 283 of file tdsatypes.h.

Referenced by tiCOMPortInit().

◆ InboundQueueSize

bit32 tdsaContext_s::InboundQueueSize[AGSA_MAX_OUTBOUND_Q]

Definition at line 276 of file tdsatypes.h.

Referenced by tiCOMPortInit().

◆ itdsaIni

struct itdsaIni_s* tdsaContext_s::itdsaIni

◆ itNexusTimeout

bit32 tdsaContext_s::itNexusTimeout

Definition at line 339 of file tdsatypes.h.

Referenced by tdssAddSASToSharedcontext().

◆ loResource

tiLoLevelResource_t tdsaContext_s::loResource

Definition at line 224 of file tdsatypes.h.

Referenced by tiCOMInit(), and tiCOMPortInit().

◆ MainDeviceList

tdList_t tdsaContext_s::MainDeviceList

actual storage for jump table

Definition at line 250 of file tdsatypes.h.

Referenced by ossaHwCB(), tdssAddSASToSharedcontext(), tdssRemoveAllDevicelistFromPortcontext(), and tdssRemoveSASFromSharedcontext().

◆ MainPortContextList

tdList_t tdsaContext_s::MainPortContextList

◆ MAX_AIP

bit32 tdsaContext_s::MAX_AIP

Definition at line 340 of file tdsatypes.h.

◆ MAX_OPEN_TIME

bit32 tdsaContext_s::MAX_OPEN_TIME

Definition at line 330 of file tdsatypes.h.

◆ MaxNumLLLocks

bit32 tdsaContext_s::MaxNumLLLocks

Definition at line 310 of file tdsatypes.h.

Referenced by tdsaSingleThreadedEnter(), tdsaSingleThreadedLeave(), and tiCOMInit().

◆ MaxNumLocks

bit32 tdsaContext_s::MaxNumLocks

Definition at line 311 of file tdsatypes.h.

Referenced by tiCOMInit().

◆ MaxNumOSLocks

bit32 tdsaContext_s::MaxNumOSLocks

◆ MCN

bit32 tdsaContext_s::MCN

Definition at line 322 of file tdsatypes.h.

Referenced by ossaDeviceRegistrationCB().

◆ MFD

bit32 tdsaContext_s::MFD

Definition at line 333 of file tdsatypes.h.

◆ MpiOverride

agsaMPIContext_t tdsaContext_s::MpiOverride

Definition at line 341 of file tdsatypes.h.

Referenced by tdsaGetSwConfigParams().

◆ NvmdResponseSet

volatile tdsaContext_s::NvmdResponseSet

Definition at line 346 of file tdsatypes.h.

◆ OBQnumber

bit32 tdsaContext_s::OBQnumber

Definition at line 275 of file tdsatypes.h.

Referenced by tiCOMInit().

◆ OPNRJT_RTRY_INTVL

bit32 tdsaContext_s::OPNRJT_RTRY_INTVL

Definition at line 334 of file tdsatypes.h.

◆ OutboundQueueEleSize

bit32 tdsaContext_s::OutboundQueueEleSize[AGSA_MAX_OUTBOUND_Q]

Definition at line 279 of file tdsatypes.h.

Referenced by tiCOMPortInit().

◆ OutboundQueueInterruptCount

bit32 tdsaContext_s::OutboundQueueInterruptCount[AGSA_MAX_OUTBOUND_Q]

Definition at line 281 of file tdsatypes.h.

Referenced by tiCOMPortInit().

◆ OutboundQueueInterruptDelay

bit32 tdsaContext_s::OutboundQueueInterruptDelay[AGSA_MAX_OUTBOUND_Q]

Definition at line 280 of file tdsatypes.h.

Referenced by tiCOMPortInit().

◆ OutboundQueueInterruptEnable

bit32 tdsaContext_s::OutboundQueueInterruptEnable[AGSA_MAX_OUTBOUND_Q]

Definition at line 282 of file tdsatypes.h.

Referenced by tiCOMPortInit().

◆ OutboundQueueSize

bit32 tdsaContext_s::OutboundQueueSize[AGSA_MAX_OUTBOUND_Q]

Definition at line 278 of file tdsatypes.h.

Referenced by tiCOMPortInit().

◆ phyCalibration

bit32 tdsaContext_s::phyCalibration

Definition at line 299 of file tdsatypes.h.

◆ phyCount

bit32 tdsaContext_s::phyCount

Definition at line 273 of file tdsatypes.h.

Referenced by tiCOMConfigureSgpio().

◆ PortContextMem

tdsaPortContext_t* tdsaContext_s::PortContextMem

< pointer to PortContext memory;
pointer to Device memory

Definition at line 243 of file tdsatypes.h.

Referenced by tiCOMInit().

◆ Ports

tdsaPortStartInfo_t tdsaContext_s::Ports[TD_MAX_NUM_PHYS]

Definition at line 255 of file tdsatypes.h.

Referenced by ossaDeviceRegistrationCB(), ossaHwCB(), and tiCOMPortInit().

◆ portTMO

bit32 tdsaContext_s::portTMO

Definition at line 298 of file tdsatypes.h.

Referenced by ossaHwCB().

◆ QueueConfig

agsaQueueConfig_t tdsaContext_s::QueueConfig

hardware-related initialization params used in saInitialize()

Definition at line 217 of file tdsatypes.h.

Referenced by ossaDeviceRegistrationCB(), tdsaRotateQnumber1(), tdssAddSASToSharedcontext(), and tiCOMPortInit().

◆ QueueOption

bit32 tdsaContext_s::QueueOption

Definition at line 284 of file tdsatypes.h.

Referenced by tiCOMPortInit().

◆ RateAdjust

bit32 tdsaContext_s::RateAdjust

Definition at line 305 of file tdsatypes.h.

◆ resetCount

bit32 tdsaContext_s::resetCount

Definition at line 296 of file tdsatypes.h.

Referenced by tiCOMInit().

◆ ResetInDiscovery

bit32 tdsaContext_s::ResetInDiscovery

Definition at line 302 of file tdsatypes.h.

Referenced by ossaHwCB().

◆ sflag

bit32 tdsaContext_s::sflag

Definition at line 323 of file tdsatypes.h.

Referenced by tdssAddSASToSharedcontext().

◆ sgpioResponseSet

bit32 tdsaContext_s::sgpioResponseSet

Definition at line 345 of file tdsatypes.h.

◆ SMP_MAX_CONN_TIMER

bit32 tdsaContext_s::SMP_MAX_CONN_TIMER

Definition at line 331 of file tdsatypes.h.

◆ SMPQNum

bit32 tdsaContext_s::SMPQNum

Definition at line 301 of file tdsatypes.h.

Referenced by tiCOMPortInit().

◆ SSP_MCT_TMO

bit32 tdsaContext_s::SSP_MCT_TMO

Definition at line 329 of file tdsatypes.h.

◆ STP_FRM_TMO

bit32 tdsaContext_s::STP_FRM_TMO

Definition at line 332 of file tdsatypes.h.

◆ stp_idle_time

bit32 tdsaContext_s::stp_idle_time

Definition at line 327 of file tdsatypes.h.

◆ STP_MCT_TMO

bit32 tdsaContext_s::STP_MCT_TMO

Definition at line 328 of file tdsatypes.h.

◆ SwConfig

agsaSwConfig_t tdsaContext_s::SwConfig

Queue-related initialization params used in saInitialize()

Definition at line 214 of file tdsatypes.h.

Referenced by tdsaGetSwConfigParams(), and tiCOMPortInit().

◆ tdDeviceIdVendId

bit32 tdsaContext_s::tdDeviceIdVendId

Definition at line 285 of file tdsatypes.h.

Referenced by tiCOMPortInit().

◆ tdFWControlEx

tdFWControlEx_t tdsaContext_s::tdFWControlEx

< storage for FW download contents

Definition at line 258 of file tdsatypes.h.

Referenced by ossaGetPhyProfileCB(), and tiCOMPortInit().

◆ tdJumpTable

tdsaJumpTable_t tdsaContext_s::tdJumpTable

Local SAS port start information such as ID addr

Definition at line 253 of file tdsatypes.h.

◆ tdSubVendorId

bit32 tdsaContext_s::tdSubVendorId

Definition at line 286 of file tdsatypes.h.

Referenced by tiCOMPortInit().

◆ timerlist

tdList_t tdsaContext_s::timerlist

Definition at line 237 of file tdsatypes.h.

Referenced by tdsaProcessTimers().

◆ ttdsaTgt

struct ttdsaTgt_s* tdsaContext_s::ttdsaTgt

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