ADC Home > Reference Library > Reference > Hardware & Drivers > I/O Kit Framework Reference
|
IOFireWireIsochPortInterface |
Declared In: |
FireWire user client isochronous port interface.
Isochronous ports represent talkers or listeners on a FireWire isochronous channel. This is a base class containing all isochronous port functionality not specific to any type of port. Ports are added to channel interfaces (IOFireWireIsochChannelInterface) which coordinate the start and stop of isochronous traffic on a FireWire bus isochronous channel.
Called when the port should configure its associated hardware to prepare to send or receive isochronous data.
Gets reference value associated with this port.
Determines which FireWire isochronous channels and speed this port supports.
Releases the hardware after the channel has been stopped.
Sets reference value associated with this port.
Called when the port is to begin talking or listening.
Called when the port is to stop talking or listening.
AllocatePort |
Called when the port should configure its associated hardware to prepare to send or receive isochronous data.
IOReturn ( *AllocatePort)( IOFireWireLibIsochPortRef self, IOFWSpeed speed, UInt32 chan );
self
The isoch port interface to use.
speed
Channel speed.
chan
Channel number (0-63).
Returns kIOReturnSuccess on success, other return any other IOReturn error code.
The method is called when the port should configure its associated hardware to prepare to send or receive isochronous data on the channel number and at the speed specified. This method is called by the channel object to which a port has been added. Subclasses of IOFireWireIsochPortInterface override this method to support specific hardware. Do not call this method directly.
GetRefCon |
Gets reference value associated with this port.
void* ( *GetRefCon)( IOFireWireLibIsochPortRef self);
self
The isoch port interface to use.
Returns the port refcon value.
Set the reference value with SetRefCon.
GetSupported |
Determines which FireWire isochronous channels and speed this port supports.
IOReturn ( *GetSupported)( IOFireWireLibIsochPortRef self, IOFWSpeed *maxSpeed, UInt64 *chanSupported );
self
The isoch port interface to use.
maxSpeed
A pointer to an IOFWSpeed which should be filled with the maximum speed this port can talk or listen.
chanSupported
A pointer to a UInt64 which should be filled with a bitmask representing the FireWire bus isochonous channels on which the port can talk or listen. Set '1' for supported, '0' for unsupported.
Returns kIOReturnSuccess on success, other return any other IOReturn error code.
This method is called by the channel object to which a port has been added. Subclasses of IOFireWireIsochPortInterface override this method to support specific hardware. Do not call this method directly.
ReleasePort |
Releases the hardware after the channel has been stopped.
IOReturn ( *ReleasePort)( IOFireWireLibIsochPortRef self );
self
The isoch port interface to use.
Returns kIOReturnSuccess on success, other return any other IOReturn error code.
This method is called by the channel object to which a port has been added. Subclasses of IOFireWireIsochPortInterface override this method to support specific hardware. Do not call this method directly.
SetRefCon |
Sets reference value associated with this port.
void ( *SetRefCon)( IOFireWireLibIsochPortRef self, void *inRefCon);
self
The isoch port interface to use.
inRefCon
Returns the new reference value.
Retrieve the reference value with GetRefCon.
Start |
Called when the port is to begin talking or listening.
IOReturn ( *Start)( IOFireWireLibIsochPortRef self );
self
The isoch port interface to use.
Returns kIOReturnSuccess on success, other return any other IOReturn error code.
This method is called by the channel object to which a port has been added. Subclasses of IOFireWireIsochPortInterface override this method to support specific hardware. Do not call this method directly.
Stop |
Called when the port is to stop talking or listening.
IOReturn ( *Stop)( IOFireWireLibIsochPortRef self );
self
The isoch port interface to use.
Returns kIOReturnSuccess on success, other return any other IOReturn error code.
This method is called by the channel object to which a port has been added. Subclasses of IOFireWireIsochPortInterface override this method to support specific hardware. Do not call this method directly.
|
Last Updated: 2009-02-23