Home
last modified time | relevance | path

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

/Linux-v5.4/sound/firewire/fireface/
Dff.h60 struct snd_ff { struct
109 void (*handle_midi_msg)(struct snd_ff *ff, unsigned int offset, argument
111 int (*fill_midi_msg)(struct snd_ff *ff,
114 int (*get_clock)(struct snd_ff *ff, unsigned int *rate,
116 int (*switch_fetching_mode)(struct snd_ff *ff, bool enable);
117 int (*allocate_resources)(struct snd_ff *ff, unsigned int rate);
118 int (*begin_session)(struct snd_ff *ff, unsigned int rate);
119 void (*finish_session)(struct snd_ff *ff);
120 void (*dump_status)(struct snd_ff *ff, struct snd_info_buffer *buffer);
127 int snd_ff_transaction_register(struct snd_ff *ff);
[all …]
Dff-transaction.c10 static void finish_transmit_midi_msg(struct snd_ff *ff, unsigned int port, in finish_transmit_midi_msg()
39 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()
53 static void transmit_midi_msg(struct snd_ff *ff, unsigned int port) in transmit_midi_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()
133 struct snd_ff *ff = callback_data; in handle_midi_msg()
143 static int allocate_own_address(struct snd_ff *ff, int i) in allocate_own_address()
[all …]
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()
109 int snd_ff_stream_reserve_duplex(struct snd_ff *ff, unsigned int rate) in snd_ff_stream_reserve_duplex()
158 int snd_ff_stream_start_duplex(struct snd_ff *ff, unsigned int rate) in snd_ff_stream_start_duplex()
217 void snd_ff_stream_stop_duplex(struct snd_ff *ff) in snd_ff_stream_stop_duplex()
228 void snd_ff_stream_update_duplex(struct snd_ff *ff) in snd_ff_stream_update_duplex()
237 void snd_ff_stream_lock_changed(struct snd_ff *ff) in snd_ff_stream_lock_changed()
[all …]
Dff-pcm.c104 static int pcm_init_hw_params(struct snd_ff *ff, in pcm_init_hw_params()
141 struct snd_ff *ff = substream->private_data; in pcm_open()
194 struct snd_ff *ff = substream->private_data; in pcm_close()
204 struct snd_ff *ff = substream->private_data; in pcm_hw_params()
227 struct snd_ff *ff = substream->private_data; in pcm_hw_free()
243 struct snd_ff *ff = substream->private_data; in pcm_capture_prepare()
260 struct snd_ff *ff = substream->private_data; in pcm_playback_prepare()
277 struct snd_ff *ff = substream->private_data; in pcm_capture_trigger()
295 struct snd_ff *ff = substream->private_data; in pcm_playback_trigger()
313 struct snd_ff *ff = sbstrm->private_data; in pcm_capture_pointer()
[all …]
Dff-hwdep.c21 struct snd_ff *ff = hwdep->private_data; in hwdep_read()
57 struct snd_ff *ff = hwdep->private_data; in hwdep_poll()
72 static int hwdep_get_info(struct snd_ff *ff, void __user *arg) in hwdep_get_info()
91 static int hwdep_lock(struct snd_ff *ff) in hwdep_lock()
109 static int hwdep_unlock(struct snd_ff *ff) in hwdep_unlock()
129 struct snd_ff *ff = hwdep->private_data; in hwdep_release()
142 struct snd_ff *ff = hwdep->private_data; in hwdep_ioctl()
167 int snd_ff_create_hwdep_devices(struct snd_ff *ff) in snd_ff_create_hwdep_devices()
Dff.c16 static void name_card(struct snd_ff *ff) in name_card()
31 struct snd_ff *ff = card->private_data; in ff_card_free()
39 struct snd_ff *ff = container_of(work, struct snd_ff, dwork.work); in do_registration()
92 struct snd_ff *ff; in snd_ff_probe()
94 ff = devm_kzalloc(&unit->device, sizeof(struct snd_ff), GFP_KERNEL); in snd_ff_probe()
115 struct snd_ff *ff = dev_get_drvdata(&unit->device); in snd_ff_update()
129 struct snd_ff *ff = dev_get_drvdata(&unit->device); in snd_ff_remove()
Dff-protocol-former.c73 static int former_get_clock(struct snd_ff *ff, unsigned int *rate, in former_get_clock()
89 static int former_switch_fetching_mode(struct snd_ff *ff, bool enable) in former_switch_fetching_mode()
123 static void dump_clock_config(struct snd_ff *ff, struct snd_info_buffer *buffer) in dump_clock_config()
161 static void dump_sync_status(struct snd_ff *ff, struct snd_info_buffer *buffer) in dump_sync_status()
259 static void former_dump_status(struct snd_ff *ff, in former_dump_status()
266 static int former_fill_midi_msg(struct snd_ff *ff, in former_fill_midi_msg()
296 static int allocate_tx_resources(struct snd_ff *ff) in allocate_tx_resources()
337 static int ff800_allocate_resources(struct snd_ff *ff, unsigned int rate) in ff800_allocate_resources()
375 static int ff800_begin_session(struct snd_ff *ff, unsigned int rate) in ff800_begin_session()
394 static void ff800_finish_session(struct snd_ff *ff) in ff800_finish_session()
[all …]
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()
Dff-protocol-latter.c69 static int latter_get_clock(struct snd_ff *ff, unsigned int *rate, in latter_get_clock()
85 static int latter_switch_fetching_mode(struct snd_ff *ff, bool enable) in latter_switch_fetching_mode()
100 static int latter_allocate_resources(struct snd_ff *ff, unsigned int rate) in latter_allocate_resources()
176 static int latter_begin_session(struct snd_ff *ff, unsigned int rate) in latter_begin_session()
217 static void latter_finish_session(struct snd_ff *ff) in latter_finish_session()
226 static void latter_dump_status(struct snd_ff *ff, struct snd_info_buffer *buffer) in latter_dump_status()
296 static void latter_handle_midi_msg(struct snd_ff *ff, unsigned int offset, in latter_handle_midi_msg()
386 static int latter_fill_midi_msg(struct snd_ff *ff, in latter_fill_midi_msg()
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()