fireworks.h (6a22683e89e2c851f754ebbec0f2a53f2967bc07) fireworks.h (a63d3ff1059a4d2236521e4fdbafabfc62b4f81a)
1/*
2 * fireworks.h - a part of driver for Fireworks based devices
3 *
4 * Copyright (c) 2009-2010 Clemens Ladisch
5 * Copyright (c) 2013-2014 Takashi Sakamoto
6 *
7 * Licensed under the terms of the GNU General Public License, version 2.
8 */

--- 8 unchanged lines hidden (view full) ---

17#include <linux/mod_devicetable.h>
18#include <linux/delay.h>
19#include <linux/slab.h>
20
21#include <sound/core.h>
22#include <sound/initval.h>
23#include <sound/pcm.h>
24#include <sound/info.h>
1/*
2 * fireworks.h - a part of driver for Fireworks based devices
3 *
4 * Copyright (c) 2009-2010 Clemens Ladisch
5 * Copyright (c) 2013-2014 Takashi Sakamoto
6 *
7 * Licensed under the terms of the GNU General Public License, version 2.
8 */

--- 8 unchanged lines hidden (view full) ---

17#include <linux/mod_devicetable.h>
18#include <linux/delay.h>
19#include <linux/slab.h>
20
21#include <sound/core.h>
22#include <sound/initval.h>
23#include <sound/pcm.h>
24#include <sound/info.h>
25#include <sound/rawmidi.h>
25
26#include "../packets-buffer.h"
27#include "../iso-resources.h"
28#include "../amdtp.h"
29#include "../cmp.h"
30#include "../lib.h"
31
32#define SND_EFW_MAX_MIDI_OUT_PORTS 2

--- 160 unchanged lines hidden (view full) ---

193int snd_efw_stream_init_duplex(struct snd_efw *efw);
194int snd_efw_stream_start_duplex(struct snd_efw *efw, int sampling_rate);
195void snd_efw_stream_stop_duplex(struct snd_efw *efw);
196void snd_efw_stream_update_duplex(struct snd_efw *efw);
197void snd_efw_stream_destroy_duplex(struct snd_efw *efw);
198
199void snd_efw_proc_init(struct snd_efw *efw);
200
26
27#include "../packets-buffer.h"
28#include "../iso-resources.h"
29#include "../amdtp.h"
30#include "../cmp.h"
31#include "../lib.h"
32
33#define SND_EFW_MAX_MIDI_OUT_PORTS 2

--- 160 unchanged lines hidden (view full) ---

194int snd_efw_stream_init_duplex(struct snd_efw *efw);
195int snd_efw_stream_start_duplex(struct snd_efw *efw, int sampling_rate);
196void snd_efw_stream_stop_duplex(struct snd_efw *efw);
197void snd_efw_stream_update_duplex(struct snd_efw *efw);
198void snd_efw_stream_destroy_duplex(struct snd_efw *efw);
199
200void snd_efw_proc_init(struct snd_efw *efw);
201
202int snd_efw_create_midi_devices(struct snd_efw *efw);
203
201#define SND_EFW_DEV_ENTRY(vendor, model) \
202{ \
203 .match_flags = IEEE1394_MATCH_VENDOR_ID | \
204 IEEE1394_MATCH_MODEL_ID, \
205 .vendor_id = vendor,\
206 .model_id = model \
207}
208
209#endif
204#define SND_EFW_DEV_ENTRY(vendor, model) \
205{ \
206 .match_flags = IEEE1394_MATCH_VENDOR_ID | \
207 IEEE1394_MATCH_MODEL_ID, \
208 .vendor_id = vendor,\
209 .model_id = model \
210}
211
212#endif