aboutsummaryrefslogtreecommitdiffstats
path: root/sound/firewire/amdtp-stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/firewire/amdtp-stream.h')
-rw-r--r--sound/firewire/amdtp-stream.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/firewire/amdtp-stream.h b/sound/firewire/amdtp-stream.h
index a31dfd849821..2bd4de4c7bb7 100644
--- a/sound/firewire/amdtp-stream.h
+++ b/sound/firewire/amdtp-stream.h
@@ -31,6 +31,7 @@
31 * allows 5 times as large as IEC 61883-6 defines. 31 * allows 5 times as large as IEC 61883-6 defines.
32 * @CIP_HEADER_WITHOUT_EOH: Only for in-stream. CIP Header doesn't include 32 * @CIP_HEADER_WITHOUT_EOH: Only for in-stream. CIP Header doesn't include
33 * valid EOH. 33 * valid EOH.
34 * @CIP_NO_HEADERS: a lack of headers in packets
34 */ 35 */
35enum cip_flags { 36enum cip_flags {
36 CIP_NONBLOCKING = 0x00, 37 CIP_NONBLOCKING = 0x00,
@@ -42,6 +43,7 @@ enum cip_flags {
42 CIP_EMPTY_HAS_WRONG_DBC = 0x20, 43 CIP_EMPTY_HAS_WRONG_DBC = 0x20,
43 CIP_JUMBO_PAYLOAD = 0x40, 44 CIP_JUMBO_PAYLOAD = 0x40,
44 CIP_HEADER_WITHOUT_EOH = 0x80, 45 CIP_HEADER_WITHOUT_EOH = 0x80,
46 CIP_NO_HEADER = 0x100,
45}; 47};
46 48
47/** 49/**
@@ -104,6 +106,10 @@ struct amdtp_stream {
104 struct fw_iso_context *context; 106 struct fw_iso_context *context;
105 struct iso_packets_buffer buffer; 107 struct iso_packets_buffer buffer;
106 int packet_index; 108 int packet_index;
109 int tag;
110 int (*handle_packet)(struct amdtp_stream *s,
111 unsigned int payload_quadlets, unsigned int cycle,
112 unsigned int index);
107 113
108 /* For CIP headers. */ 114 /* For CIP headers. */
109 unsigned int source_node_id_field; 115 unsigned int source_node_id_field;