Linux Kernel
3.7.1
|
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) |
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.