Home
last modified time | relevance | path

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

/Linux-v4.19/sound/firewire/motu/
Dmotu.h44 struct snd_motu { struct
111 int (*get_clock_rate)(struct snd_motu *motu, unsigned int *rate);
112 int (*set_clock_rate)(struct snd_motu *motu, unsigned int rate);
113 int (*get_clock_source)(struct snd_motu *motu,
115 int (*switch_fetching_mode)(struct snd_motu *motu, bool enable);
116 int (*cache_packet_formats)(struct snd_motu *motu);
145 int snd_motu_transaction_read(struct snd_motu *motu, u32 offset, __be32 *reg,
147 int snd_motu_transaction_write(struct snd_motu *motu, u32 offset, __be32 *reg,
149 int snd_motu_transaction_register(struct snd_motu *motu);
150 int snd_motu_transaction_reregister(struct snd_motu *motu);
[all …]
Dmotu-pcm.c72 static void limit_channels_and_rates(struct snd_motu *motu, in limit_channels_and_rates()
99 static int init_hw_info(struct snd_motu *motu, in init_hw_info()
136 struct snd_motu *motu = substream->private_data; in pcm_open()
186 struct snd_motu *motu = substream->private_data; in pcm_close()
196 struct snd_motu *motu = substream->private_data; in capture_hw_params()
215 struct snd_motu *motu = substream->private_data; in playback_hw_params()
234 struct snd_motu *motu = substream->private_data; in capture_hw_free()
250 struct snd_motu *motu = substream->private_data; in playback_hw_free()
266 struct snd_motu *motu = substream->private_data; in capture_prepare()
279 struct snd_motu *motu = substream->private_data; in playback_prepare()
[all …]
Dmotu-stream.c29 static int start_both_streams(struct snd_motu *motu, unsigned int rate) in start_both_streams()
87 static void stop_both_streams(struct snd_motu *motu) in stop_both_streams()
114 static int start_isoc_ctx(struct snd_motu *motu, struct amdtp_stream *stream) in start_isoc_ctx()
138 static void stop_isoc_ctx(struct snd_motu *motu, struct amdtp_stream *stream) in stop_isoc_ctx()
151 int snd_motu_stream_cache_packet_formats(struct snd_motu *motu) in snd_motu_stream_cache_packet_formats()
178 static int ensure_packet_formats(struct snd_motu *motu) in ensure_packet_formats()
204 int snd_motu_stream_start_duplex(struct snd_motu *motu, unsigned int rate) in snd_motu_stream_start_duplex()
292 void snd_motu_stream_stop_duplex(struct snd_motu *motu) in snd_motu_stream_stop_duplex()
306 static int init_stream(struct snd_motu *motu, enum amdtp_stream_direction dir) in init_stream()
333 static void destroy_stream(struct snd_motu *motu, in destroy_stream()
[all …]
Dmotu-midi.c12 struct snd_motu *motu = substream->rmidi->private_data; in midi_capture_open()
34 struct snd_motu *motu = substream->rmidi->private_data; in midi_playback_open()
56 struct snd_motu *motu = substream->rmidi->private_data; in midi_capture_close()
71 struct snd_motu *motu = substream->rmidi->private_data; in midi_playback_close()
86 struct snd_motu *motu = substrm->rmidi->private_data; in midi_capture_trigger()
103 struct snd_motu *motu = substrm->rmidi->private_data; in midi_playback_trigger()
118 static void set_midi_substream_names(struct snd_motu *motu, in set_midi_substream_names()
129 int snd_motu_create_midi_devices(struct snd_motu *motu) in snd_motu_create_midi_devices()
Dmotu-hwdep.c23 struct snd_motu *motu = hwdep->private_data; in hwdep_read()
65 struct snd_motu *motu = hwdep->private_data; in hwdep_poll()
80 static int hwdep_get_info(struct snd_motu *motu, void __user *arg) in hwdep_get_info()
99 static int hwdep_lock(struct snd_motu *motu) in hwdep_lock()
117 static int hwdep_unlock(struct snd_motu *motu) in hwdep_unlock()
137 struct snd_motu *motu = hwdep->private_data; in hwdep_release()
150 struct snd_motu *motu = hwdep->private_data; in hwdep_ioctl()
175 int snd_motu_create_hwdep_device(struct snd_motu *motu) in snd_motu_create_hwdep_device()
Dmotu-transaction.c16 int snd_motu_transaction_read(struct snd_motu *motu, u32 offset, __be32 *reg, in snd_motu_transaction_read()
32 int snd_motu_transaction_write(struct snd_motu *motu, u32 offset, __be32 *reg, in snd_motu_transaction_write()
53 struct snd_motu *motu = callback_data; in handle_message()
76 int snd_motu_transaction_reregister(struct snd_motu *motu) in snd_motu_transaction_reregister()
98 int snd_motu_transaction_register(struct snd_motu *motu) in snd_motu_transaction_register()
125 void snd_motu_transaction_unregister(struct snd_motu *motu) in snd_motu_transaction_unregister()
Dmotu.c29 static void name_card(struct snd_motu *motu) in name_card()
55 static void motu_free(struct snd_motu *motu) in motu_free()
79 struct snd_motu *motu = container_of(work, struct snd_motu, dwork.work); in do_registration()
143 struct snd_motu *motu; in motu_probe()
146 motu = kzalloc(sizeof(struct snd_motu), GFP_KERNEL); in motu_probe()
167 struct snd_motu *motu = dev_get_drvdata(&unit->device); in motu_remove()
187 struct snd_motu *motu = dev_get_drvdata(&unit->device); in motu_bus_update()
Dmotu-proc.c29 struct snd_motu *motu = entry->private_data; in proc_read_clock()
46 struct snd_motu *motu = entry->private_data; in proc_read_format()
82 static void add_node(struct snd_motu *motu, struct snd_info_entry *root, in add_node()
98 void snd_motu_proc_init(struct snd_motu *motu) in snd_motu_proc_init()
Dmotu-protocol-v2.c28 static int v2_get_clock_rate(struct snd_motu *motu, unsigned int *rate) in v2_get_clock_rate()
48 static int v2_set_clock_rate(struct snd_motu *motu, unsigned int rate) in v2_set_clock_rate()
81 static int v2_get_clock_source(struct snd_motu *motu, in v2_get_clock_source()
129 static int v2_switch_fetching_mode(struct snd_motu *motu, bool enable) in v2_switch_fetching_mode()
234 static int v2_cache_packet_formats(struct snd_motu *motu) in v2_cache_packet_formats()
Dmotu-protocol-v3.c28 static int v3_get_clock_rate(struct snd_motu *motu, unsigned int *rate) in v3_get_clock_rate()
49 static int v3_set_clock_rate(struct snd_motu *motu, unsigned int rate) in v3_set_clock_rate()
89 static int v3_get_clock_source(struct snd_motu *motu, in v3_get_clock_source()
135 static int v3_switch_fetching_mode(struct snd_motu *motu, bool enable) in v3_switch_fetching_mode()
277 static int v3_cache_packet_formats(struct snd_motu *motu) in v3_cache_packet_formats()