libdc1394: fw_cdev_allocate Struct Reference

libdc1394 2.2.7

fw_cdev_allocate Struct Reference

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

## Detailed Description

struct fw_cdev_allocate - Allocate a CSR address range @offset: Start offset of the address range @closure: To be passed back to userspace in request events @length: Length of the address range, in bytes @handle: Handle to the allocation, written by the kernel

Allocate an address range in the 48-bit address space on the local node (the controller). This allows userspace to listen for requests with an offset within that address range. When the kernel receives a request within the range, an &fw_cdev_event_request event will be written back. The @closure field is passed back to userspace in the response event. The @handle field is an out parameter, returning a handle to the allocated range to be used for later deallocation of the range.

The address range is allocated on all local nodes. The address allocation is exclusive except for the FCP command and response registers.

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

- dc1394/juju/firewire-cdev.h