Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
lib.h File Reference
#include <linux/firewire-constants.h>
#include <linux/types.h>

Go to the source code of this file.

Functions

int snd_fw_transaction (struct fw_unit *unit, int tcode, u64 offset, void *buffer, size_t length)
 

Function Documentation

int snd_fw_transaction ( struct fw_unit unit,
int  tcode,
u64  offset,
void buffer,
size_t  length 
)

snd_fw_transaction - send a request and wait for its completion : the driver's unit on the target device : the transaction code : the address in the target's address space : input/output data : length of

Submits an asynchronous request to the target device, and waits for the response. The node ID and the current generation are derived from . On a bus reset or an error, the transaction is retried a few times. Returns zero on success, or a negative error code.

Definition at line 29 of file lib.c.