|
Mac Dev Center
Mac OS X Reference Library Drivers, Kernel, & Hardware: User-Space Device Access I/O Kit Framework Reference
|
IOFireWireAVCLib.h |
| Includes: |
Use the links in the table of contents to the left to access the documentation.
Interface for an asynchronous connection consumer.
Initial interface discovered for all AVC protocol drivers.
Initial interface discovered for all AVC Unit drivers.
Callback called when a incoming AVC command matching a registered command handler is received.
Callback called after a successful lock transaction to a CMP plug.
This Callback has been deprecated. Use installAVCCommandHandler instead.
Callback called when a incoming AVC command matching a registered command handler is received.
IOFWAVCCommandHandlerCallback |
Callback called when a incoming AVC command matching a registered command handler is received.
typedef IOReturn ( *IOFWAVCCommandHandlerCallback)( void *refCon, UInt32 generation, UInt16 srcNodeID, IOFWSpeed speed, const UInt8 * command, UInt32 cmdLen);
refConThe refcon supplied when a client is registered
generationThe FireWire bus generation value at the time the command was received
scrNodeIDThe node ID of the device who sent us this command
speedThe speed the AVC command packet
commandA pointer to the command bytes
cmdLenThe length of the AVC command bytes buffer in bytes
The callback handler should return success if it will send the AVC response, or an error if it doesn't want to handle the command
IOFWAVCPCRCallback |
Callback called after a successful lock transaction to a CMP plug.
typedef void ( *IOFWAVCPCRCallback)( void *refcon, UInt32 generation, UInt16 nodeID, UInt32 plug, UInt32 oldVal, UInt32 newVal);
refconrefcon supplied when a client is registered
generationBus generation command was received in
nodeIDis the node originating the request
plugNois the plug number
oldValis the value the plug used to contain
newValis the quad written into the plug
IOFWAVCRequestCallback |
This Callback has been deprecated. Use installAVCCommandHandler instead.
typedef IOReturn ( *IOFWAVCRequestCallback)( void *refCon, UInt32 generation, UInt16 srcNodeID, const UInt8 * command, UInt32 cmdLen, UInt8 * response, UInt32 *responseLen);
IOFWAVCSubunitPlugHandlerCallback |
Callback called when a incoming AVC command matching a registered command handler is received.
typedef IOReturn ( *IOFWAVCSubunitPlugHandlerCallback)( void *refCon, UInt32 subunitTypeAndID, IOFWAVCPlugTypes plugType, UInt32 plugNum, IOFWAVCSubunitPlugMessages plugMessage, UInt32 messageParams);
refConThe refcon supplied when a client is registered
subunitTypeAndIDThe subunit type and id of this plug
plugTypeThe type of plug receiving the message
plugNumThe number of the plug receiving the message
plugMessageThe plug message
messageParamsThe parameters associated with the plug message
The return value is only pertinent for the kIOFWAVCSubunitPlugMsgSignalFormatModified message. Return an error if not accepting the sig format change.
Last Updated: 2009-10-15