#include "motu.h"
#define V2_CLOCK_STATUS_OFFSET …
#define V2_CLOCK_RATE_MASK …
#define V2_CLOCK_RATE_SHIFT …
#define V2_CLOCK_SRC_MASK …
#define V2_CLOCK_SRC_SHIFT …
#define V2_CLOCK_SRC_AESEBU_ON_XLR …
#define V2_CLOCK_SRC_ADAT_ON_DSUB …
#define V2_CLOCK_SRC_WORD_ON_BNC …
#define V2_CLOCK_SRC_SPH …
#define V2_CLOCK_SRC_SPDIF …
#define V2_CLOCK_SRC_ADAT_ON_OPT …
#define V2_CLOCK_SRC_INTERNAL …
#define V2_CLOCK_FETCH_ENABLE …
#define V2_CLOCK_MODEL_SPECIFIC …
#define V2_IN_OUT_CONF_OFFSET …
#define V2_OPT_OUT_IFACE_MASK …
#define V2_OPT_OUT_IFACE_SHIFT …
#define V2_OPT_IN_IFACE_MASK …
#define V2_OPT_IN_IFACE_SHIFT …
#define V2_OPT_IFACE_MODE_NONE …
#define V2_OPT_IFACE_MODE_ADAT …
#define V2_OPT_IFACE_MODE_SPDIF …
static int get_clock_rate(u32 data, unsigned int *rate)
{ … }
int snd_motu_protocol_v2_get_clock_rate(struct snd_motu *motu,
unsigned int *rate)
{ … }
int snd_motu_protocol_v2_set_clock_rate(struct snd_motu *motu,
unsigned int rate)
{ … }
static int get_clock_source(struct snd_motu *motu, u32 data,
enum snd_motu_clock_source *src)
{ … }
int snd_motu_protocol_v2_get_clock_source(struct snd_motu *motu,
enum snd_motu_clock_source *src)
{ … }
static int switch_fetching_mode_cyclone(struct snd_motu *motu, u32 *data,
bool enable)
{ … }
static int switch_fetching_mode_spartan(struct snd_motu *motu, u32 *data,
bool enable)
{ … }
int snd_motu_protocol_v2_switch_fetching_mode(struct snd_motu *motu,
bool enable)
{ … }
int snd_motu_protocol_v2_cache_packet_formats(struct snd_motu *motu)
{ … }
const struct snd_motu_spec snd_motu_spec_828mk2 = …;
const struct snd_motu_spec snd_motu_spec_896hd = …;
const struct snd_motu_spec snd_motu_spec_traveler = …;
const struct snd_motu_spec snd_motu_spec_ultralite = …;
const struct snd_motu_spec snd_motu_spec_8pre = …;