hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/sound/firewire/digi00x/digi00x.h
....@@ -1,9 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * digi00x.h - a part of driver for Digidesign Digi 002/003 family
34 *
45 * Copyright (c) 2014-2015 Takashi Sakamoto
5
- *
6
- * Licensed under the terms of the GNU General Public License, version 2.
76 */
87
98 #ifndef SOUND_DIGI00X_H_INCLUDED
....@@ -60,6 +59,8 @@
6059
6160 /* Console models have additional MIDI ports for control surface. */
6261 bool is_console;
62
+
63
+ struct amdtp_domain domain;
6364 };
6465
6566 #define DG00X_ADDR_BASE 0xffffe0000000ull
....@@ -140,7 +141,10 @@
140141 int snd_dg00x_stream_check_external_clock(struct snd_dg00x *dg00x,
141142 bool *detect);
142143 int snd_dg00x_stream_init_duplex(struct snd_dg00x *dg00x);
143
-int snd_dg00x_stream_start_duplex(struct snd_dg00x *dg00x, unsigned int rate);
144
+int snd_dg00x_stream_reserve_duplex(struct snd_dg00x *dg00x, unsigned int rate,
145
+ unsigned int frames_per_period,
146
+ unsigned int frames_per_buffer);
147
+int snd_dg00x_stream_start_duplex(struct snd_dg00x *dg00x);
144148 void snd_dg00x_stream_stop_duplex(struct snd_dg00x *dg00x);
145149 void snd_dg00x_stream_update_duplex(struct snd_dg00x *dg00x);
146150 void snd_dg00x_stream_destroy_duplex(struct snd_dg00x *dg00x);