Home
last modified time | relevance | path

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

/sound/firewire/fireface/
A Dff.h66 struct snd_ff { struct
116 bool (*has_msg)(struct snd_ff *ff); argument
120 int (*fill_midi_msg)(struct snd_ff *ff,
128 void (*finish_session)(struct snd_ff *ff);
136 int snd_ff_transaction_register(struct snd_ff *ff);
149 int snd_ff_stream_init_duplex(struct snd_ff *ff);
155 void snd_ff_stream_stop_duplex(struct snd_ff *ff);
159 int snd_ff_stream_lock_try(struct snd_ff *ff);
162 void snd_ff_proc_init(struct snd_ff *ff);
165 int snd_ff_create_midi_devices(struct snd_ff *ff);
[all …]
A Dff-transaction.c39 struct snd_ff *ff = in finish_transmit_midi0_msg()
40 container_of(callback_data, struct snd_ff, transactions[0]); in finish_transmit_midi0_msg()
48 struct snd_ff *ff = in finish_transmit_midi1_msg()
49 container_of(callback_data, struct snd_ff, transactions[1]); in finish_transmit_midi1_msg()
116 struct snd_ff *ff = container_of(work, struct snd_ff, rx_midi_work[0]); in transmit_midi0_msg()
123 struct snd_ff *ff = container_of(work, struct snd_ff, rx_midi_work[1]); in transmit_midi1_msg()
132 struct snd_ff *ff = callback_data; in handle_msg()
146 static int allocate_own_address(struct snd_ff *ff, int i) in allocate_own_address()
177 int snd_ff_transaction_reregister(struct snd_ff *ff) in snd_ff_transaction_reregister()
194 int snd_ff_transaction_register(struct snd_ff *ff) in snd_ff_transaction_register()
[all …]
A Dff-stream.c33 static inline void finish_session(struct snd_ff *ff) in finish_session()
39 static int init_stream(struct snd_ff *ff, struct amdtp_stream *s) in init_stream()
64 static void destroy_stream(struct snd_ff *ff, struct amdtp_stream *s) in destroy_stream()
74 int snd_ff_stream_init_duplex(struct snd_ff *ff) in snd_ff_stream_init_duplex()
101 void snd_ff_stream_destroy_duplex(struct snd_ff *ff) in snd_ff_stream_destroy_duplex()
168 int snd_ff_stream_start_duplex(struct snd_ff *ff, unsigned int rate) in snd_ff_stream_start_duplex()
228 void snd_ff_stream_stop_duplex(struct snd_ff *ff) in snd_ff_stream_stop_duplex()
239 void snd_ff_stream_update_duplex(struct snd_ff *ff) in snd_ff_stream_update_duplex()
248 void snd_ff_stream_lock_changed(struct snd_ff *ff) in snd_ff_stream_lock_changed()
254 int snd_ff_stream_lock_try(struct snd_ff *ff) in snd_ff_stream_lock_try()
[all …]
A Dff-pcm.c141 struct snd_ff *ff = substream->private_data; in pcm_open()
220 struct snd_ff *ff = substream->private_data; in pcm_close()
230 struct snd_ff *ff = substream->private_data; in pcm_hw_params()
251 struct snd_ff *ff = substream->private_data; in pcm_hw_free()
267 struct snd_ff *ff = substream->private_data; in pcm_capture_prepare()
284 struct snd_ff *ff = substream->private_data; in pcm_playback_prepare()
301 struct snd_ff *ff = substream->private_data; in pcm_capture_trigger()
319 struct snd_ff *ff = substream->private_data; in pcm_playback_trigger()
337 struct snd_ff *ff = sbstrm->private_data; in pcm_capture_pointer()
344 struct snd_ff *ff = sbstrm->private_data; in pcm_playback_pointer()
[all …]
A Dff-hwdep.c18 static bool has_msg(struct snd_ff *ff) in has_msg()
29 struct snd_ff *ff = hwdep->private_data; in hwdep_read()
74 struct snd_ff *ff = hwdep->private_data; in hwdep_poll()
89 static int hwdep_get_info(struct snd_ff *ff, void __user *arg) in hwdep_get_info()
108 static int hwdep_lock(struct snd_ff *ff) in hwdep_lock()
126 static int hwdep_unlock(struct snd_ff *ff) in hwdep_unlock()
146 struct snd_ff *ff = hwdep->private_data; in hwdep_release()
159 struct snd_ff *ff = hwdep->private_data; in hwdep_ioctl()
184 int snd_ff_create_hwdep_devices(struct snd_ff *ff) in snd_ff_create_hwdep_devices()
A Dff-protocol-former.c71 static int former_get_clock(struct snd_ff *ff, unsigned int *rate, in former_get_clock()
87 static int former_switch_fetching_mode(struct snd_ff *ff, bool enable) in former_switch_fetching_mode()
257 static void former_dump_status(struct snd_ff *ff, in former_dump_status()
264 static int former_fill_midi_msg(struct snd_ff *ff, in former_fill_midi_msg()
294 static int allocate_tx_resources(struct snd_ff *ff) in allocate_tx_resources()
335 static int ff800_allocate_resources(struct snd_ff *ff, unsigned int rate) in ff800_allocate_resources()
373 static int ff800_begin_session(struct snd_ff *ff, unsigned int rate) in ff800_begin_session()
392 static void ff800_finish_session(struct snd_ff *ff) in ff800_finish_session()
486 static int ff400_begin_session(struct snd_ff *ff, unsigned int rate) in ff400_begin_session()
528 static void ff400_finish_session(struct snd_ff *ff) in ff400_finish_session()
[all …]
A Dff-midi.c18 struct snd_ff *ff = substream->rmidi->private_data; in midi_playback_open()
37 struct snd_ff *ff = substream->rmidi->private_data; in midi_playback_close()
48 struct snd_ff *ff = substream->rmidi->private_data; in midi_capture_trigger()
65 struct snd_ff *ff = substream->rmidi->private_data; in midi_playback_trigger()
87 int snd_ff_create_midi_devices(struct snd_ff *ff) in snd_ff_create_midi_devices()
A Dff-protocol-latter.c141 static int latter_get_clock(struct snd_ff *ff, unsigned int *rate, in latter_get_clock()
157 static int latter_switch_fetching_mode(struct snd_ff *ff, bool enable) in latter_switch_fetching_mode()
172 static int latter_allocate_resources(struct snd_ff *ff, unsigned int rate) in latter_allocate_resources()
248 static int latter_begin_session(struct snd_ff *ff, unsigned int rate) in latter_begin_session()
303 static void latter_finish_session(struct snd_ff *ff) in latter_finish_session()
312 static void latter_dump_status(struct snd_ff *ff, struct snd_info_buffer *buffer) in latter_dump_status()
396 static void latter_handle_midi_msg(struct snd_ff *ff, unsigned int offset, const __le32 *buf, in latter_handle_midi_msg()
486 static int latter_fill_midi_msg(struct snd_ff *ff, in latter_fill_midi_msg()
A Dff-proc.c30 struct snd_ff *ff = entry->private_data; in proc_dump_status()
35 static void add_node(struct snd_ff *ff, struct snd_info_entry *root, in add_node()
47 void snd_ff_proc_init(struct snd_ff *ff) in snd_ff_proc_init()
A Dff.c16 static void name_card(struct snd_ff *ff) in name_card()
41 struct snd_ff *ff = card->private_data; in ff_card_free()
55 struct snd_ff *ff; in snd_ff_probe()
119 struct snd_ff *ff = dev_get_drvdata(&unit->device); in snd_ff_update()
128 struct snd_ff *ff = dev_get_drvdata(&unit->device); in snd_ff_remove()

Completed in 18 milliseconds