/Linux-v5.10/sound/firewire/motu/ |
D | motu-stream.c | 28 static int keep_resources(struct snd_motu *motu, unsigned int rate, in keep_resources() 62 static int begin_session(struct snd_motu *motu) in begin_session() 85 static void finish_session(struct snd_motu *motu) in finish_session() 109 int snd_motu_stream_cache_packet_formats(struct snd_motu *motu) in snd_motu_stream_cache_packet_formats() 136 int snd_motu_stream_reserve_duplex(struct snd_motu *motu, unsigned int rate, in snd_motu_stream_reserve_duplex() 189 static int ensure_packet_formats(struct snd_motu *motu) in ensure_packet_formats() 215 int snd_motu_stream_start_duplex(struct snd_motu *motu) in snd_motu_stream_start_duplex() 291 void snd_motu_stream_stop_duplex(struct snd_motu *motu) in snd_motu_stream_stop_duplex() 302 static int init_stream(struct snd_motu *motu, struct amdtp_stream *s) in init_stream() 327 static void destroy_stream(struct snd_motu *motu, struct amdtp_stream *s) in destroy_stream() [all …]
|
D | motu-pcm.c | 69 static void limit_channels_and_rates(struct snd_motu *motu, in limit_channels_and_rates() 95 static int init_hw_info(struct snd_motu *motu, in init_hw_info() 132 struct snd_motu *motu = substream->private_data; in pcm_open() local 200 struct snd_motu *motu = substream->private_data; in pcm_close() local 210 struct snd_motu *motu = substream->private_data; in pcm_hw_params() local 231 struct snd_motu *motu = substream->private_data; in pcm_hw_free() local 247 struct snd_motu *motu = substream->private_data; in capture_prepare() local 260 struct snd_motu *motu = substream->private_data; in playback_prepare() local 274 struct snd_motu *motu = substream->private_data; in capture_trigger() local 291 struct snd_motu *motu = substream->private_data; in playback_trigger() local [all …]
|
D | motu-protocol-v2.c | 38 int snd_motu_protocol_v2_get_clock_rate(struct snd_motu *motu, in snd_motu_protocol_v2_get_clock_rate() 52 int snd_motu_protocol_v2_set_clock_rate(struct snd_motu *motu, in snd_motu_protocol_v2_set_clock_rate() 81 static int detect_clock_source_optical_model(struct snd_motu *motu, u32 data, in detect_clock_source_optical_model() 124 static int v2_detect_clock_source(struct snd_motu *motu, u32 data, in v2_detect_clock_source() 148 static int get_clock_source(struct snd_motu *motu, u32 data, in get_clock_source() 159 int snd_motu_protocol_v2_get_clock_source(struct snd_motu *motu, in snd_motu_protocol_v2_get_clock_source() 174 static int switch_fetching_mode_cyclone(struct snd_motu *motu, u32 *data, in switch_fetching_mode_cyclone() 183 static int switch_fetching_mode_spartan(struct snd_motu *motu, u32 *data, in switch_fetching_mode_spartan() 204 int snd_motu_protocol_v2_switch_fetching_mode(struct snd_motu *motu, in snd_motu_protocol_v2_switch_fetching_mode() 238 static int detect_packet_formats_828mk2(struct snd_motu *motu, u32 data) in detect_packet_formats_828mk2() [all …]
|
D | motu-hwdep.c | 22 struct snd_motu *motu = hwdep->private_data; in hwdep_read() local 64 struct snd_motu *motu = hwdep->private_data; in hwdep_poll() local 79 static int hwdep_get_info(struct snd_motu *motu, void __user *arg) in hwdep_get_info() 98 static int hwdep_lock(struct snd_motu *motu) in hwdep_lock() 116 static int hwdep_unlock(struct snd_motu *motu) in hwdep_unlock() 136 struct snd_motu *motu = hwdep->private_data; in hwdep_release() local 149 struct snd_motu *motu = hwdep->private_data; in hwdep_ioctl() local 174 int snd_motu_create_hwdep_device(struct snd_motu *motu) in snd_motu_create_hwdep_device()
|
D | motu-midi.c | 11 struct snd_motu *motu = substream->rmidi->private_data; in midi_open() local 38 struct snd_motu *motu = substream->rmidi->private_data; in midi_close() local 53 struct snd_motu *motu = substrm->rmidi->private_data; in midi_capture_trigger() local 70 struct snd_motu *motu = substrm->rmidi->private_data; in midi_playback_trigger() local 85 static void set_midi_substream_names(struct snd_motu *motu, in set_midi_substream_names() 96 int snd_motu_create_midi_devices(struct snd_motu *motu) in snd_motu_create_midi_devices()
|
D | motu.c | 28 static void name_card(struct snd_motu *motu) in name_card() 56 struct snd_motu *motu = card->private_data; in motu_card_free() local 64 struct snd_motu *motu = container_of(work, struct snd_motu, dwork.work); in do_registration() local 122 struct snd_motu *motu; in motu_probe() local 145 struct snd_motu *motu = dev_get_drvdata(&unit->device); in motu_remove() local 165 struct snd_motu *motu = dev_get_drvdata(&unit->device); in motu_bus_update() local
|
D | motu-protocol-v3.c | 30 int snd_motu_protocol_v3_get_clock_rate(struct snd_motu *motu, in snd_motu_protocol_v3_get_clock_rate() 52 int snd_motu_protocol_v3_set_clock_rate(struct snd_motu *motu, in snd_motu_protocol_v3_set_clock_rate() 100 static int detect_clock_source_828mk3(struct snd_motu *motu, u32 data, in detect_clock_source_828mk3() 151 static int v3_detect_clock_source(struct snd_motu *motu, u32 data, in v3_detect_clock_source() 175 int snd_motu_protocol_v3_get_clock_source(struct snd_motu *motu, in snd_motu_protocol_v3_get_clock_source() 194 int snd_motu_protocol_v3_switch_fetching_mode(struct snd_motu *motu, in snd_motu_protocol_v3_switch_fetching_mode() 217 static int detect_packet_formats_828mk3(struct snd_motu *motu, u32 data) in detect_packet_formats_828mk3() 262 int snd_motu_protocol_v3_cache_packet_formats(struct snd_motu *motu) in snd_motu_protocol_v3_cache_packet_formats()
|
D | motu-transaction.c | 15 int snd_motu_transaction_read(struct snd_motu *motu, u32 offset, __be32 *reg, in snd_motu_transaction_read() 31 int snd_motu_transaction_write(struct snd_motu *motu, u32 offset, __be32 *reg, in snd_motu_transaction_write() 52 struct snd_motu *motu = callback_data; in handle_message() local 75 int snd_motu_transaction_reregister(struct snd_motu *motu) in snd_motu_transaction_reregister() 97 int snd_motu_transaction_register(struct snd_motu *motu) in snd_motu_transaction_register() 124 void snd_motu_transaction_unregister(struct snd_motu *motu) in snd_motu_transaction_unregister()
|
D | motu-proc.c | 30 struct snd_motu *motu = entry->private_data; in proc_read_clock() local 46 struct snd_motu *motu = entry->private_data; in proc_read_format() local 81 static void add_node(struct snd_motu *motu, struct snd_info_entry *root, in add_node() 93 void snd_motu_proc_init(struct snd_motu *motu) in snd_motu_proc_init()
|
D | motu.h | 183 static inline int snd_motu_protocol_get_clock_rate(struct snd_motu *motu, in snd_motu_protocol_get_clock_rate() 194 static inline int snd_motu_protocol_set_clock_rate(struct snd_motu *motu, in snd_motu_protocol_set_clock_rate() 205 static inline int snd_motu_protocol_get_clock_source(struct snd_motu *motu, in snd_motu_protocol_get_clock_source() 216 static inline int snd_motu_protocol_switch_fetching_mode(struct snd_motu *motu, in snd_motu_protocol_switch_fetching_mode() 227 static inline int snd_motu_protocol_cache_packet_formats(struct snd_motu *motu) in snd_motu_protocol_cache_packet_formats()
|