#ifndef SOUND_FIREWIRE_PACKETS_BUFFER_H_INCLUDED #define SOUND_FIREWIRE_PACKETS_BUFFER_H_INCLUDED #include #include /** * struct iso_packets_buffer - manages a buffer for many packets * @iso_buffer: the memory containing the packets * @packets: an array, with each element pointing to one packet */ struct iso_packets_buffer { struct fw_iso_buffer iso_buffer; struct { void *buffer; unsigned int offset; } *packets; }; int iso_packets_buffer_init(struct iso_packets_buffer *b, struct fw_unit *unit, unsigned int count, unsigned int packet_size, enum dma_data_direction direction); void iso_packets_buffer_destroy(struct iso_packets_buffer *b, struct fw_unit *unit); #endif logo'/> index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
12e31298e1a4bd&showmsg=1'>Expand) >
AgeCommit message (Expand)AuthorFilesLines
AuthorFilesLines
space:
mode:
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>2016-12-22 15:00:12 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2017-02-02 21:54:52 +0800
commit3484ecbe0e9deb94afb0b9b6172d77e98eb72b94 (patch)
tree4d4be0d20d4946c51ef47a882d78c9934a219c0e /sound/usb/usbaudio.h
parent11e3b725cfc282efe9d4a354153e99d86a16af08 (diff)
crypto: qat - fix bar discovery for c62x
Some accelerators of the c62x series have only two bars. This patch skips BAR0 if the accelerator does not have it. Cc: <stable@vger.kernel.org> Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'sound/usb/usbaudio.h')