libdc1394  2.2.6
fw_cdev_create_iso_context Struct Reference

#include <dc1394/juju/firewire-cdev.h>

Detailed Description

struct fw_cdev_create_iso_context - Create a context for isochronous IO @type: FW_CDEV_ISO_CONTEXT_TRANSMIT or FW_CDEV_ISO_CONTEXT_RECEIVE @header_size: Header size to strip for receive contexts @channel: Channel to bind to @speed: Speed for transmit contexts @closure: To be returned in &fw_cdev_event_iso_interrupt @handle: Handle to context, written back by kernel

Prior to sending or receiving isochronous I/O, a context must be created. The context records information about the transmit or receive configuration and typically maps to an underlying hardware resource. A context is set up for either sending or receiving. It is bound to a specific isochronous channel.

If a context was successfully created, the kernel writes back a handle to the context, which must be passed in for subsequent operations on that context.

For receive contexts, @header_size must be at least 4 and must be a multiple of 4.

Note that the effect of a @header_size > 4 depends on &fw_cdev_get_info.version, as documented at &fw_cdev_event_iso_interrupt.


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