2 * oxfw.h - a part of driver for OXFW970/971 based devices
4 * Copyright (c) Clemens Ladisch <clemens@ladisch.de>
5 * Licensed under the terms of the GNU General Public License, version 2.
8 #include <linux/device.h>
9 #include <linux/firewire.h>
10 #include <linux/firewire-constants.h>
11 #include <linux/module.h>
12 #include <linux/mod_devicetable.h>
13 #include <linux/mutex.h>
14 #include <linux/slab.h>
16 #include <sound/control.h>
17 #include <sound/core.h>
18 #include <sound/initval.h>
19 #include <sound/pcm.h>
20 #include <sound/pcm_params.h>
24 #include "../packets-buffer.h"
25 #include "../iso-resources.h"
30 const char *driver_name
;
31 const char *vendor_name
;
32 const char *model_name
;
33 int (*pcm_constraints
)(struct snd_pcm_runtime
*runtime
);
34 unsigned int mixer_channels
;
40 struct snd_card
*card
;
42 const struct device_info
*device_info
;
44 struct cmp_connection in_conn
;
45 struct amdtp_stream rx_stream
;
52 int snd_oxfw_stream_init_simplex(struct snd_oxfw
*oxfw
);
53 int snd_oxfw_stream_start_simplex(struct snd_oxfw
*oxfw
);
54 void snd_oxfw_stream_stop_simplex(struct snd_oxfw
*oxfw
);
55 void snd_oxfw_stream_destroy_simplex(struct snd_oxfw
*oxfw
);
56 void snd_oxfw_stream_update_simplex(struct snd_oxfw
*oxfw
);
58 int firewave_constraints(struct snd_pcm_runtime
*runtime
);
59 int lacie_speakers_constraints(struct snd_pcm_runtime
*runtime
);
60 int snd_oxfw_create_pcm(struct snd_oxfw
*oxfw
);
62 int snd_oxfw_create_mixer(struct snd_oxfw
*oxfw
);
This page took 0.031681 seconds and 5 git commands to generate.