#include <IOKit/firewire/IOFireWireController.h>
IOKit/firewire/IOFireWireController.h Kernel.framework
10 enums · 3 structs · 1 variable · 1 typedef · 1 macro
const UInt32 kMaxWaitForValidSelfID = 20
Still invalid SelfID after 20 retries
underlying type unsigned int
| kFWPhyPacketID | 3221225472 | |
| kFWPhyPacketIDPhase | 30 | |
| kFWPhyPacketPhyID | 1056964608 | |
| kFWPhyPacketPhyIDPhase | 24 | |
underlying type unsigned int
| kSelfIDPacketSize | 8 | |
| kMaxSelfIDs | 4 | SelfID 0,1,3,8 |
underlying type unsigned int
| kFWConfigurationPacketID | 0 | |
| kFWLinkOnPacketID | 1 | |
| kFWSelfIDPacketID | 2 | |
underlying type unsigned int
| kFWPhyConfigurationR | 8388608 | |
| kFWPhyConfigurationT | 4194304 | |
| kFWPhyConfigurationGapCnt | 4128768 | |
| kFWPhyConfigurationGapCntPhase | 16 | |
underlying type unsigned int
| kFWSelfIDPortStatusChild | 3 | |
| kFWSelfIDPortStatusParent | 2 | |
| kFWSelfIDPortStatusNotConnected | 1 | |
| kFWSelfIDPortStatusNotPresent | 0 | |
| kFWSelfIDNoPower | 0 | |
| kFWSelfIDSelfPowered15W | 1 | |
| kFWSelfIDSelfPowered30W | 2 | |
| kFWSelfIDSelfPowered45W | 3 | |
| kFWSelfIDBusPowered1W | 4 | |
| kFWSelfIDBusPowered3W | 5 | |
| kFWSelfIDBusPowered6W | 6 | |
| kFWSelfIDBusPowered10W | 7 | |
| kFWSelfIDPhyID | 1056964608 | zzz do we need or want this? |
| kFWSelfIDPhyIDPhase | 24 | |
| kFWSelfIDM | 1 | |
| kFWSelfID0L | 4194304 | |
| kFWSelfID0GapCnt | 4128768 | |
| kFWSelfID0GapCntPhase | 16 | |
| kFWSelfID0SP | 49152 | |
| kFWSelfID0SPPhase | 14 | |
| kFWSelfID0Del | 12288 | |
| kFWSelfID0DelPhase | 12 | |
| kFWSelfID0C | 2048 | |
| kFWSelfID0Pwr | 1792 | |
| kFWSelfID0PwrPhase | 8 | |
| kFWSelfID0P0 | 192 | |
| kFWSelfID0P0Phase | 6 | |
| kFWSelfID0P1 | 48 | |
| kFWSelfID0P1Phase | 4 | |
| kFWSelfID0P2 | 12 | |
| kFWSelfID0P2Phase | 2 | |
| kFWSelfID0I | 2 | |
| kFWSelfIDPacketType | 8388608 | |
| kFWSelfIDNN | 7340032 | |
| kFWSelfIDNNPhase | 20 | |
| kFWSelfIDNPa | 196608 | |
| kFWSelfIDNPaPhase | 16 | |
| kFWSelfIDNPb | 49152 | |
| kFWSelfIDNPbPhase | 14 | |
| kFWSelfIDNPc | 12288 | |
| kFWSelfIDNPcPhase | 12 | |
| kFWSelfIDNPd | 3072 | |
| kFWSelfIDNPdPhase | 10 | |
| kFWSelfIDNPe | 768 | |
| kFWSelfIDNPePhase | 8 | |
| kFWSelfIDNPf | 192 | |
| kFWSelfIDNPfPhase | 6 | |
| kFWSelfIDNPg | 48 | |
| kFWSelfIDNPgPhase | 4 | |
| kFWSelfIDNPh | 12 | |
| kFWSelfIDNPhPhase | 2 | |
| kFWSelfIDMore | 1 | |
Primary packet defs.
underlying type unsigned int
| kFWPacketTCode | 240 | |
| kFWPacketTCodePhase | 4 | |
underlying type unsigned int
| kFWAsynchSpd | 196608 | |
| kFWAsynchSpdPhase | 16 | |
| kFWAsynchTLabel | 64512 | |
| kFWAsynchTLabelPhase | 10 | |
| kFWAsynchTTotal | 64 | |
| kFWAsynchRt | 768 | |
| kFWAsynchRtPhase | 8 | |
| kFWAsynchNew | 0 | |
| kFWAsynchRetryA | 2 | |
| kTIAsycnhRetryB | 3 | |
| kFWAsynchPriority | 15 | |
| kFWAsynchPriorityPhase | 0 | |
| kFWAsynchDestinationID | 4294901760 | |
| kFWAsynchDestinationIDPhase | 16 | |
| kFWAsynchSourceID | 4294901760 | |
| kFWAsynchSourceIDPhase | 16 | |
| kFWAsynchDestinationOffsetHigh | 65535 | |
| kFWAsynchDestinationOffsetHighPhase | 0 | |
| kFWAsynchDestinationOffsetLow | 4294967295 | |
| kFWAsynchDestinationOffsetLowPhase | 0 | |
| kFWAsynchDataLength | 4294901760 | |
| kFWAsynchDataLengthPhase | 16 | |
| kFWAsynchExtendedTCode | 65535 | |
| kFWAsynchExtendedTCodePhase | 0 | |
| kFWAsynchAckSent | 15 | |
| kFWAsynchAckSentPhase | 0 | |
| kFWAsynchRCode | 61440 | |
| kFWAsynchRCodePhase | 12 | |
underlying type unsigned int
| kFWTCodeWriteQuadlet | 0 | |
| kFWTCodeWriteBlock | 1 | |
| kFWTCodeWriteResponse | 2 | |
| kFWTCodeReadQuadlet | 4 | |
| kFWTCodeReadBlock | 5 | |
| kFWTCodeReadQuadletResponse | 6 | |
| kFWTCodeReadBlockResponse | 7 | |
| kFWTCodeCycleStart | 8 | |
| kFWTCodeLock | 9 | |
| kFWTCodeIsochronousBlock | 10 | |
| kFWTCodeLockResponse | 11 | |
| kFWTCodePHYPacket | 14 | |
underlying type unsigned int
| kFWExtendedTCodeMaskSwap | 1 | |
| kFWExtendedTCodeCompareSwap | 2 | |
| kFWExtendedTCodeFetchAdd | 3 | |
| kFWExtendedTCodeLittleAdd | 4 | |
| kFWExtendedTCodeBoundedAdd | 5 | |
| kFWExtendedTCodeWrapAdd | 6 | |
| kFWExtendedTCodeVendorDependent | 7 | |
debug boot-arg constants
underlying type unsigned int
| kFWDebugIgnoreNodeNone | 4294967295 | |
size 24, align 8
| IOFWAsyncCommand * | fHandler | |
| IOFWCommand * | fAltHandler | |
| int | fTCode | |
| bool | fInUse | |
size 112, align 8
| IOFireWireController * | fControl | |
| FWAddress | fAddr | |
| UInt32[5] | fBuf | Enough for bus info block |
| UInt32 * | fSelfIDs | |
| int | fNumSelfIDs | |
| int | fROMSize | |
| int | fRead | |
| IOFWReadQuadCommand * | fCmd | |
| IOFWCompareAndSwapCommand * | fLockCmd | |
| UInt32 | generation | |
| UInt32 | fIRMBitBucketOld | |
| UInt32 | fIRMBitBucketNew | |
| bool | fIRMisBad | |
| bool | speedChecking | |
| bool | fContenderNeedsChecking | |
| bool | fIRMCheckingRead | |
| bool | fIRMCheckingLock | |
| int | fRetriesBumped | |
| bool | fMustNotBeRoot | |