Searched refs:snd_ff (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/sound/firewire/fireface/ |
D | ff.h | 66 struct snd_ff { struct 116 bool (*has_msg)(struct snd_ff *ff); argument 117 long (*copy_msg_to_user)(struct snd_ff *ff, char __user *buf, long count); 118 void (*handle_msg)(struct snd_ff *ff, unsigned int offset, const __le32 *buf, 120 int (*fill_midi_msg)(struct snd_ff *ff, 123 int (*get_clock)(struct snd_ff *ff, unsigned int *rate, 125 int (*switch_fetching_mode)(struct snd_ff *ff, bool enable); 126 int (*allocate_resources)(struct snd_ff *ff, unsigned int rate); 127 int (*begin_session)(struct snd_ff *ff, unsigned int rate); 128 void (*finish_session)(struct snd_ff *ff); [all …]
|
D | ff-transaction.c | 10 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() 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() [all …]
|
D | ff-stream.c | 33 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() 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() [all …]
|
D | ff-pcm.c | 104 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() 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() [all …]
|
D | ff-hwdep.c | 18 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()
|
D | ff-protocol-former.c | 71 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() 121 static void dump_clock_config(struct snd_ff *ff, struct snd_info_buffer *buffer) in dump_clock_config() 159 static void dump_sync_status(struct snd_ff *ff, struct snd_info_buffer *buffer) in dump_sync_status() 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() [all …]
|
D | ff-midi.c | 18 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()
|
D | ff-protocol-latter.c | 141 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()
|
D | ff-proc.c | 30 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()
|
D | ff.c | 16 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()
|