#include <IOKit/firewire/IOFWUtils.h>
IOKit/firewire/IOFWUtils.h
functionFWComputeCRC16
UInt16 FWComputeCRC16(const UInt32 *pQuads, UInt32 numQuads)
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu SDK Kernel.framework IOKit/firewire/IOFWUtils.h (IOFireWireFamily; implementation not in xnu)
Computes the 16-bit CRC defined by IEEE 1212 for FireWire configuration ROM over the numQuads quadlets at pQuads, applying FWUpdateCRC16 to each quadlet in turn. Implemented in IOFireWireFamily, not xnu.
functionFWUpdateCRC16
UInt16 FWUpdateCRC16(UInt16 crc16, UInt32 quad)
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu SDK Kernel.framework IOKit/firewire/IOFWUtils.h (IOFireWireFamily; implementation not in xnu)
Folds one quadlet into a running IEEE 1212 CRC-16 and returns the updated value; the primitive underlying FWComputeCRC16. Implemented in IOFireWireFamily, not xnu.
functionAddFWCycleTimeToFWCycleTime
UInt32 AddFWCycleTimeToFWCycleTime(UInt32 cycleTime1, UInt32 cycleTime2)
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu SDK Kernel.framework IOKit/firewire/IOFWUtils.h (IOFireWireFamily; implementation not in xnu)
Returns the sum of two timestamps in FireWire cycle-timer register format (seconds count, cycle count and cycle offset fields), carrying overflow from the cycle offset into the cycle count and from the cycle count into the seconds count. Implemented in IOFireWireFamily, not xnu.
functionSubtractFWCycleTimeFromFWCycleTime
UInt32 SubtractFWCycleTimeFromFWCycleTime(UInt32 cycleTime1, UInt32 cycleTime2)
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu SDK Kernel.framework IOKit/firewire/IOFWUtils.h (IOFireWireFamily; implementation not in xnu)
Returns cycleTime1 minus cycleTime2, both in FireWire cycle-timer register format (seconds count, cycle count and cycle offset fields), borrowing between fields as needed. Implemented in IOFireWireFamily, not xnu.
functionIOFWGetAbsoluteTime
void IOFWGetAbsoluteTime(AbsoluteTime * result)
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu SDK Kernel.framework IOKit/firewire/IOFWUtils.h (IOFireWireFamily; implementation not in xnu)
Stores the current absolute time (the mach_absolute_time uptime clock, as returned by clock_get_uptime) in *result. Implemented in IOFireWireFamily, not xnu.