FreeBSD kernel pms device code
tdsaPortContext_s Struct Reference

data structure for TD port context This structure maintains information about the port such as ID address frame and the discovery status and the list of devices discovered by this port. itdsaIni_t->PortContext[] points to this structure. agsaPortContext->osData points to this structure, too. More...

#include <tdtypes.h>

Collaboration diagram for tdsaPortContext_s:

Data Fields

bit32 Count
 
bit32 DiscoveryState
 
bit32 discoveryOptions
 
bit32 DiscoveryRdyGiven
 
bit32 SeenLinkUp
 
bit32 numAvailableTargets
 
bit32 osInitiatedDiscovery
 
bit32 id
 
tdList_t FreeLink
 
tdList_t MainLink
 
bit32 sasRemoteAddressHi
 
bit32 sasRemoteAddressLo
 
agsaSASIdentify_t sasIDframe
 
bit32 sasLocalAddressHi
 
bit32 sasLocalAddressLo
 
bit8 PhyIDList [TD_MAX_NUM_PHYS]
 
tiPortalContext_ttiPortalContext
 
agsaRoot_tagRoot
 
agsaPortContext_tagPortContext
 
bit8 nativeSATAMode
 
bit8 remoteSignature [8]
 
bit8 directAttatchedSAS
 
tdsaDiscovery_t discovery
 
bit32 valid
 
bit8 LinkRate
 
bit32 RegisteredDevNums
 
bit32 eventPhyID
 
bit32 Transient
 
agsaContext_t agContext
 
bit32 PortRecoverPhyID
 
bit32 DiscFailNSeenBC
 
bit8 remoteName [68]
 

Detailed Description

data structure for TD port context This structure maintains information about the port such as ID address frame and the discovery status and the list of devices discovered by this port. itdsaIni_t->PortContext[] points to this structure. agsaPortContext->osData points to this structure, too.

Definition at line 411 of file tdtypes.h.

Field Documentation

◆ agContext

agsaContext_t tdsaPortContext_s::agContext

Definition at line 459 of file tdtypes.h.

Referenced by tiCOMPortStop().

◆ agPortContext

agsaPortContext_t* tdsaPortContext_s::agPortContext

◆ agRoot

agsaRoot_t* tdsaPortContext_s::agRoot

Definition at line 445 of file tdtypes.h.

Referenced by tdsaPortContextReInit(), and tiINIDiscoverTargets().

◆ Count

bit32 tdsaPortContext_s::Count

< current number of devices in this PortContext

Definition at line 414 of file tdtypes.h.

Referenced by tdsaPortContextInit(), tdsaPortContextReInit(), tdssAddSASToSharedcontext(), tdssRemoveAllDevicelistFromPortcontext(), and tiCOMPortStop().

◆ directAttatchedSAS

bit8 tdsaPortContext_s::directAttatchedSAS

Definition at line 451 of file tdtypes.h.

Referenced by tdsaPortContextInit(), and tdsaPortContextReInit().

◆ DiscFailNSeenBC

bit32 tdsaPortContext_s::DiscFailNSeenBC

◆ discovery

tdsaDiscovery_t tdsaPortContext_s::discovery

◆ discoveryOptions

bit32 tdsaPortContext_s::discoveryOptions

Definition at line 418 of file tdtypes.h.

Referenced by tiCOMPortStop(), and tiINIDiscoverTargets().

◆ DiscoveryRdyGiven

bit32 tdsaPortContext_s::DiscoveryRdyGiven

Definition at line 420 of file tdtypes.h.

Referenced by tdsaPortContextInit(), and tdsaPortContextReInit().

◆ DiscoveryState

◆ eventPhyID

bit32 tdsaPortContext_s::eventPhyID

◆ FreeLink

tdList_t tdsaPortContext_s::FreeLink

free portcontext list

Definition at line 429 of file tdtypes.h.

Referenced by ossaDeregisterDeviceHandleCB().

◆ id

◆ LinkRate

bit8 tdsaPortContext_s::LinkRate

◆ MainLink

tdList_t tdsaPortContext_s::MainLink

in-use portcontext list SAS address of the remote device

Definition at line 430 of file tdtypes.h.

Referenced by ossaDeregisterDeviceHandleCB().

◆ nativeSATAMode

bit8 tdsaPortContext_s::nativeSATAMode

Definition at line 449 of file tdtypes.h.

Referenced by tdsaPortContextInit(), and tdsaPortContextReInit().

◆ numAvailableTargets

bit32 tdsaPortContext_s::numAvailableTargets

Definition at line 424 of file tdtypes.h.

◆ osInitiatedDiscovery

bit32 tdsaPortContext_s::osInitiatedDiscovery

Definition at line 426 of file tdtypes.h.

◆ PhyIDList

bit8 tdsaPortContext_s::PhyIDList[TD_MAX_NUM_PHYS]

Definition at line 442 of file tdtypes.h.

Referenced by tdsaPortContextInit(), tdsaPortContextReInit(), and tiCOMPortStop().

◆ PortRecoverPhyID

bit32 tdsaPortContext_s::PortRecoverPhyID

Definition at line 460 of file tdtypes.h.

Referenced by tdsaPortContextInit(), and tdsaPortContextReInit().

◆ RegisteredDevNums

bit32 tdsaPortContext_s::RegisteredDevNums

◆ remoteName

bit8 tdsaPortContext_s::remoteName[68]

Definition at line 462 of file tdtypes.h.

Referenced by tiCOMGetPortInfo().

◆ remoteSignature

bit8 tdsaPortContext_s::remoteSignature[8]

Definition at line 450 of file tdtypes.h.

◆ sasIDframe

agsaSASIdentify_t tdsaPortContext_s::sasIDframe

SAS address of the local device

Definition at line 435 of file tdtypes.h.

◆ sasLocalAddressHi

bit32 tdsaPortContext_s::sasLocalAddressHi

SAS address high part

Definition at line 438 of file tdtypes.h.

Referenced by ossaDeregisterDeviceHandleCB(), tiCOMGetPortInfo(), tiINIGetDeviceInfo(), and tiTGTGetDeviceInfo().

◆ sasLocalAddressLo

bit32 tdsaPortContext_s::sasLocalAddressLo

SAS address low part the list of PhyID belonging to this port

Definition at line 439 of file tdtypes.h.

Referenced by ossaDeregisterDeviceHandleCB(), tiCOMGetPortInfo(), tiINIGetDeviceInfo(), and tiTGTGetDeviceInfo().

◆ sasRemoteAddressHi

bit32 tdsaPortContext_s::sasRemoteAddressHi

SAS address high part

Definition at line 432 of file tdtypes.h.

Referenced by ossaDeregisterDeviceHandleCB(), tiCOMGetPortInfo(), tiINIGetDeviceInfo(), and tiTGTGetDeviceInfo().

◆ sasRemoteAddressLo

bit32 tdsaPortContext_s::sasRemoteAddressLo

SAS address low part SAS ID frame of the remote device

Definition at line 433 of file tdtypes.h.

Referenced by ossaDeregisterDeviceHandleCB(), tiCOMGetPortInfo(), tiINIGetDeviceInfo(), and tiTGTGetDeviceInfo().

◆ SeenLinkUp

bit32 tdsaPortContext_s::SeenLinkUp

Definition at line 422 of file tdtypes.h.

Referenced by tdsaPortContextInit(), and tdsaPortContextReInit().

◆ tiPortalContext

◆ Transient

bit32 tdsaPortContext_s::Transient

Definition at line 458 of file tdtypes.h.

Referenced by tdsaPortContextInit(), and tdsaPortContextReInit().

◆ valid


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