Home
last modified time | relevance | path

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

/linux-5.19.10/sound/firewire/dice/
Ddice.h72 struct snd_dice;
73 typedef int (*snd_dice_detect_formats_t)(struct snd_dice *dice);
75 struct snd_dice { struct
125 int snd_dice_transaction_write(struct snd_dice *dice, argument
129 int snd_dice_transaction_read(struct snd_dice *dice,
133 static inline int snd_dice_transaction_write_global(struct snd_dice *dice, in snd_dice_transaction_write_global()
141 static inline int snd_dice_transaction_read_global(struct snd_dice *dice, in snd_dice_transaction_read_global()
149 static inline int snd_dice_transaction_write_tx(struct snd_dice *dice, in snd_dice_transaction_write_tx()
156 static inline int snd_dice_transaction_read_tx(struct snd_dice *dice, in snd_dice_transaction_read_tx()
163 static inline int snd_dice_transaction_write_rx(struct snd_dice *dice, in snd_dice_transaction_write_rx()
[all …]
Ddice-transaction.c11 static u64 get_subaddr(struct snd_dice *dice, enum snd_dice_addr_type type, in get_subaddr()
36 int snd_dice_transaction_write(struct snd_dice *dice, in snd_dice_transaction_write()
46 int snd_dice_transaction_read(struct snd_dice *dice, in snd_dice_transaction_read()
56 static unsigned int get_clock_info(struct snd_dice *dice, __be32 *info) in get_clock_info()
62 int snd_dice_transaction_get_clock_source(struct snd_dice *dice, in snd_dice_transaction_get_clock_source()
75 int snd_dice_transaction_get_rate(struct snd_dice *dice, unsigned int *rate) in snd_dice_transaction_get_rate()
96 int snd_dice_transaction_set_enable(struct snd_dice *dice) in snd_dice_transaction_set_enable()
118 void snd_dice_transaction_clear_enable(struct snd_dice *dice) in snd_dice_transaction_clear_enable()
137 struct snd_dice *dice = callback_data; in dice_notification()
163 static int register_notification_address(struct snd_dice *dice, bool retry) in register_notification_address()
[all …]
Ddice-pcm.c15 struct snd_dice *dice = substream->private_data; in dice_rate_constraint()
53 struct snd_dice *dice = substream->private_data; in dice_channels_constraint()
87 static int limit_channels_and_rates(struct snd_dice *dice, in limit_channels_and_rates()
125 static int init_hw_info(struct snd_dice *dice, in init_hw_info()
166 struct snd_dice *dice = substream->private_data; in pcm_open()
256 struct snd_dice *dice = substream->private_data; in pcm_close()
266 struct snd_dice *dice = substream->private_data; in pcm_hw_params()
292 struct snd_dice *dice = substream->private_data; in pcm_hw_free()
308 struct snd_dice *dice = substream->private_data; in capture_prepare()
322 struct snd_dice *dice = substream->private_data; in playback_prepare()
[all …]
Ddice-stream.c32 int snd_dice_stream_get_rate_mode(struct snd_dice *dice, unsigned int rate, in snd_dice_stream_get_rate_mode()
60 static int select_clock(struct snd_dice *dice, unsigned int rate) in select_clock()
99 static int get_register_params(struct snd_dice *dice, in get_register_params()
123 static void release_resources(struct snd_dice *dice) in release_resources()
133 static void stop_streams(struct snd_dice *dice, enum amdtp_stream_direction dir, in stop_streams()
153 static int keep_resources(struct snd_dice *dice, struct amdtp_stream *stream, in keep_resources()
195 static int keep_dual_resources(struct snd_dice *dice, unsigned int rate, in keep_dual_resources()
254 static void finish_session(struct snd_dice *dice, struct reg_params *tx_params, in finish_session()
263 int snd_dice_stream_reserve_duplex(struct snd_dice *dice, unsigned int rate, in snd_dice_stream_reserve_duplex()
324 static int start_streams(struct snd_dice *dice, enum amdtp_stream_direction dir, in start_streams()
[all …]
Ddice-hwdep.c14 struct snd_dice *dice = hwdep->private_data; in hwdep_read()
57 struct snd_dice *dice = hwdep->private_data; in hwdep_poll()
72 static int hwdep_get_info(struct snd_dice *dice, void __user *arg) in hwdep_get_info()
91 static int hwdep_lock(struct snd_dice *dice) in hwdep_lock()
109 static int hwdep_unlock(struct snd_dice *dice) in hwdep_unlock()
129 struct snd_dice *dice = hwdep->private_data; in hwdep_release()
142 struct snd_dice *dice = hwdep->private_data; in hwdep_ioctl()
167 int snd_dice_create_hwdep(struct snd_dice *dice) in snd_dice_create_hwdep()
Ddice-midi.c11 struct snd_dice *dice = substream->rmidi->private_data; in midi_open()
38 struct snd_dice *dice = substream->rmidi->private_data; in midi_close()
53 struct snd_dice *dice = substrm->rmidi->private_data; in midi_capture_trigger()
70 struct snd_dice *dice = substrm->rmidi->private_data; in midi_playback_trigger()
85 static void set_midi_substream_names(struct snd_dice *dice, in set_midi_substream_names()
96 int snd_dice_create_midi(struct snd_dice *dice) in snd_dice_create_midi()
Ddice-extension.c50 static inline int read_transaction(struct snd_dice *dice, u64 section_addr, in read_transaction()
59 static int read_stream_entries(struct snd_dice *dice, u64 section_addr, in read_stream_entries()
84 static int detect_stream_formats(struct snd_dice *dice, u64 section_addr) in detect_stream_formats()
140 int snd_dice_detect_extension_formats(struct snd_dice *dice) in snd_dice_detect_extension_formats()
Ddice.c73 static int check_clock_caps(struct snd_dice *dice) in check_clock_caps()
97 static void dice_card_strings(struct snd_dice *dice) in dice_card_strings()
134 struct snd_dice *dice = card->private_data; in dice_card_free()
146 struct snd_dice *dice; in dice_probe()
228 struct snd_dice *dice = dev_get_drvdata(&unit->device); in dice_remove()
236 struct snd_dice *dice = dev_get_drvdata(&unit->device); in dice_bus_reset()
Ddice-alesis.c22 int snd_dice_detect_alesis_formats(struct snd_dice *dice) in snd_dice_detect_alesis_formats()
54 int snd_dice_detect_alesis_mastercontrol_formats(struct snd_dice *dice) in snd_dice_detect_alesis_mastercontrol_formats()
Ddice-proc.c11 static int dice_proc_read_mem(struct snd_dice *dice, void *buffer, in dice_proc_read_mem()
70 struct snd_dice *dice = entry->private_data; in dice_proc_read()
253 struct snd_dice *dice = entry->private_data; in dice_proc_read_formation()
279 static void add_node(struct snd_dice *dice, struct snd_info_entry *root, in add_node()
291 void snd_dice_create_proc(struct snd_dice *dice) in snd_dice_create_proc()
Ddice-harman.c10 int snd_dice_detect_harman_formats(struct snd_dice *dice) in snd_dice_detect_harman_formats()
Ddice-mytek.c28 int snd_dice_detect_mytek_formats(struct snd_dice *dice) in snd_dice_detect_mytek_formats()
Ddice-presonus.c22 int snd_dice_detect_presonus_formats(struct snd_dice *dice) in snd_dice_detect_presonus_formats()
Ddice-tcelectronic.c58 int snd_dice_detect_tcelectronic_formats(struct snd_dice *dice) in snd_dice_detect_tcelectronic_formats()