Home
last modified time | relevance | path

Searched refs:snd_motu (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/sound/firewire/motu/
H A Dmotu.h51 struct snd_motu { struct
163 int snd_motu_transaction_register(struct snd_motu *motu);
167 int snd_motu_stream_init_duplex(struct snd_motu *motu);
173 int snd_motu_stream_start_duplex(struct snd_motu *motu);
174 void snd_motu_stream_stop_duplex(struct snd_motu *motu);
175 int snd_motu_stream_lock_try(struct snd_motu *motu);
176 void snd_motu_stream_lock_release(struct snd_motu *motu);
178 void snd_motu_proc_init(struct snd_motu *motu);
180 int snd_motu_create_pcm_devices(struct snd_motu *motu);
182 int snd_motu_create_midi_devices(struct snd_motu *motu);
[all …]
H A Dmotu-protocol-v1.c133 static int get_clock_rate_828(struct snd_motu *motu, unsigned int *rate) in get_clock_rate_828()
168 static int get_clock_rate_896(struct snd_motu *motu, unsigned int *rate) in get_clock_rate_896()
179 int snd_motu_protocol_v1_get_clock_rate(struct snd_motu *motu, unsigned int *rate) in snd_motu_protocol_v1_get_clock_rate()
189 static int set_clock_rate_828(struct snd_motu *motu, unsigned int rate) in set_clock_rate_828()
208 static int set_clock_rate_896(struct snd_motu *motu, unsigned int rate) in set_clock_rate_896()
244 int snd_motu_protocol_v1_set_clock_rate(struct snd_motu *motu, unsigned int rate) in snd_motu_protocol_v1_set_clock_rate()
340 static int switch_fetching_mode_828(struct snd_motu *motu, bool enable) in switch_fetching_mode_828()
364 static int switch_fetching_mode_896(struct snd_motu *motu, bool enable) in switch_fetching_mode_896()
393 static int detect_packet_formats_828(struct snd_motu *motu) in detect_packet_formats_828()
420 static int detect_packet_formats_896(struct snd_motu *motu) in detect_packet_formats_896()
[all …]
H A Dmotu-pcm.c95 static int init_hw_info(struct snd_motu *motu, in init_hw_info()
132 struct snd_motu *motu = substream->private_data; in pcm_open()
200 struct snd_motu *motu = substream->private_data; in pcm_close()
210 struct snd_motu *motu = substream->private_data; in pcm_hw_params()
231 struct snd_motu *motu = substream->private_data; in pcm_hw_free()
247 struct snd_motu *motu = substream->private_data; in capture_prepare()
260 struct snd_motu *motu = substream->private_data; in playback_prepare()
274 struct snd_motu *motu = substream->private_data; in capture_trigger()
291 struct snd_motu *motu = substream->private_data; in playback_trigger()
309 struct snd_motu *motu = substream->private_data; in capture_pointer()
[all …]
H A Dmotu-stream.c62 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()
201 static int ensure_packet_formats(struct snd_motu *motu) in ensure_packet_formats()
227 int snd_motu_stream_start_duplex(struct snd_motu *motu) in snd_motu_stream_start_duplex()
318 void snd_motu_stream_stop_duplex(struct snd_motu *motu) in snd_motu_stream_stop_duplex()
367 int snd_motu_stream_init_duplex(struct snd_motu *motu) in snd_motu_stream_init_duplex()
392 void snd_motu_stream_destroy_duplex(struct snd_motu *motu) in snd_motu_stream_destroy_duplex()
402 static void motu_lock_changed(struct snd_motu *motu) in motu_lock_changed()
408 int snd_motu_stream_lock_try(struct snd_motu *motu) in snd_motu_stream_lock_try()
[all …]
H A Dmotu-midi.c11 struct snd_motu *motu = substream->rmidi->private_data; in midi_open()
38 struct snd_motu *motu = substream->rmidi->private_data; in midi_close()
53 struct snd_motu *motu = substrm->rmidi->private_data; in midi_capture_trigger()
70 struct snd_motu *motu = substrm->rmidi->private_data; in midi_playback_trigger()
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()
H A Dmotu-transaction.c15 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()
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()
H A Dmotu-hwdep.c19 static bool has_dsp_event(struct snd_motu *motu) in has_dsp_event()
30 struct snd_motu *motu = hwdep->private_data; in hwdep_read()
102 struct snd_motu *motu = hwdep->private_data; in hwdep_poll()
117 static int hwdep_get_info(struct snd_motu *motu, void __user *arg) in hwdep_get_info()
136 static int hwdep_lock(struct snd_motu *motu) in hwdep_lock()
154 static int hwdep_unlock(struct snd_motu *motu) in hwdep_unlock()
174 struct snd_motu *motu = hwdep->private_data; in hwdep_release()
187 struct snd_motu *motu = hwdep->private_data; in hwdep_ioctl()
277 int snd_motu_create_hwdep_device(struct snd_motu *motu) in snd_motu_create_hwdep_device()
H A Dmotu-protocol-v2.c45 int snd_motu_protocol_v2_get_clock_rate(struct snd_motu *motu, in snd_motu_protocol_v2_get_clock_rate()
59 int snd_motu_protocol_v2_set_clock_rate(struct snd_motu *motu, in snd_motu_protocol_v2_set_clock_rate()
88 static int get_clock_source(struct snd_motu *motu, u32 data, in get_clock_source()
145 int snd_motu_protocol_v2_get_clock_source(struct snd_motu *motu, in snd_motu_protocol_v2_get_clock_source()
160 static int switch_fetching_mode_cyclone(struct snd_motu *motu, u32 *data, in switch_fetching_mode_cyclone()
169 static int switch_fetching_mode_spartan(struct snd_motu *motu, u32 *data, in switch_fetching_mode_spartan()
190 int snd_motu_protocol_v2_switch_fetching_mode(struct snd_motu *motu, in snd_motu_protocol_v2_switch_fetching_mode()
227 int snd_motu_protocol_v2_cache_packet_formats(struct snd_motu *motu) in snd_motu_protocol_v2_cache_packet_formats()
H A Dmotu-proc.c30 struct snd_motu *motu = entry->private_data; in proc_read_clock()
46 struct snd_motu *motu = entry->private_data; in proc_read_format()
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()
H A Dmotu-command-dsp-message-parser.c36 int snd_motu_command_dsp_message_parser_new(struct snd_motu *motu) in snd_motu_command_dsp_message_parser_new()
49 int snd_motu_command_dsp_message_parser_init(struct snd_motu *motu, enum cip_sfc sfc) in snd_motu_command_dsp_message_parser_init()
86 struct snd_motu *motu = container_of(s, struct snd_motu, tx_stream); in snd_motu_command_dsp_message_parser_parse()
175 void snd_motu_command_dsp_message_parser_copy_meter(struct snd_motu *motu, in snd_motu_command_dsp_message_parser_copy_meter()
H A Dmotu-register-dsp-message-parser.c101 int snd_motu_register_dsp_message_parser_new(struct snd_motu *motu) in snd_motu_register_dsp_message_parser_new()
114 int snd_motu_register_dsp_message_parser_init(struct snd_motu *motu) in snd_motu_register_dsp_message_parser_init()
127 static void queue_event(struct snd_motu *motu, u8 msg_type, u8 identifier0, u8 identifier1, u8 val) in queue_event()
148 struct snd_motu *motu = container_of(s, struct snd_motu, tx_stream); in snd_motu_register_dsp_message_parser_parse()
370 void snd_motu_register_dsp_message_parser_copy_meter(struct snd_motu *motu, in snd_motu_register_dsp_message_parser_copy_meter()
381 void snd_motu_register_dsp_message_parser_copy_parameter(struct snd_motu *motu, in snd_motu_register_dsp_message_parser_copy_parameter()
392 unsigned int snd_motu_register_dsp_message_parser_count_event(struct snd_motu *motu) in snd_motu_register_dsp_message_parser_count_event()
402 bool snd_motu_register_dsp_message_parser_copy_event(struct snd_motu *motu, u32 *event) in snd_motu_register_dsp_message_parser_copy_event()
H A Dmotu-protocol-v3.c37 int snd_motu_protocol_v3_get_clock_rate(struct snd_motu *motu, in snd_motu_protocol_v3_get_clock_rate()
59 int snd_motu_protocol_v3_set_clock_rate(struct snd_motu *motu, in snd_motu_protocol_v3_set_clock_rate()
107 int snd_motu_protocol_v3_get_clock_source(struct snd_motu *motu, in snd_motu_protocol_v3_get_clock_source()
169 int snd_motu_protocol_v3_switch_fetching_mode(struct snd_motu *motu, in snd_motu_protocol_v3_switch_fetching_mode()
192 static int detect_packet_formats_with_opt_ifaces(struct snd_motu *motu, u32 data) in detect_packet_formats_with_opt_ifaces()
237 int snd_motu_protocol_v3_cache_packet_formats(struct snd_motu *motu) in snd_motu_protocol_v3_cache_packet_formats()
H A Dmotu.c28 static void name_card(struct snd_motu *motu) in name_card()
56 struct snd_motu *motu = card->private_data; in motu_card_free()
68 struct snd_motu *motu; in motu_probe()
137 struct snd_motu *motu = dev_get_drvdata(&unit->device); in motu_remove()
145 struct snd_motu *motu = dev_get_drvdata(&unit->device); in motu_bus_update()
H A Damdtp-motu.c334 struct snd_motu *motu = container_of(s, struct snd_motu, tx_stream); in process_ir_ctx_payloads()