Home
last modified time | relevance | path

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

/Linux-v4.19/sound/firewire/dice/
Ddice.h73 struct snd_dice;
74 typedef int (*snd_dice_detect_formats_t)(struct snd_dice *dice);
76 struct snd_dice { struct
127 int snd_dice_transaction_write(struct snd_dice *dice, argument
131 int snd_dice_transaction_read(struct snd_dice *dice,
135 static inline int snd_dice_transaction_write_global(struct snd_dice *dice, in snd_dice_transaction_write_global()
143 static inline int snd_dice_transaction_read_global(struct snd_dice *dice, in snd_dice_transaction_read_global()
151 static inline int snd_dice_transaction_write_tx(struct snd_dice *dice, in snd_dice_transaction_write_tx()
158 static inline int snd_dice_transaction_read_tx(struct snd_dice *dice, in snd_dice_transaction_read_tx()
165 static inline int snd_dice_transaction_write_rx(struct snd_dice *dice, in snd_dice_transaction_write_rx()
[all …]
Ddice-transaction.c12 static u64 get_subaddr(struct snd_dice *dice, enum snd_dice_addr_type type, in get_subaddr()
37 int snd_dice_transaction_write(struct snd_dice *dice, in snd_dice_transaction_write()
47 int snd_dice_transaction_read(struct snd_dice *dice, in snd_dice_transaction_read()
57 static unsigned int get_clock_info(struct snd_dice *dice, __be32 *info) in get_clock_info()
63 int snd_dice_transaction_get_clock_source(struct snd_dice *dice, in snd_dice_transaction_get_clock_source()
76 int snd_dice_transaction_get_rate(struct snd_dice *dice, unsigned int *rate) in snd_dice_transaction_get_rate()
97 int snd_dice_transaction_set_enable(struct snd_dice *dice) in snd_dice_transaction_set_enable()
119 void snd_dice_transaction_clear_enable(struct snd_dice *dice) in snd_dice_transaction_clear_enable()
138 struct snd_dice *dice = callback_data; in dice_notification()
164 static int register_notification_address(struct snd_dice *dice, bool retry) in register_notification_address()
[all …]
Ddice-pcm.c16 struct snd_dice *dice = substream->private_data; in dice_rate_constraint()
54 struct snd_dice *dice = substream->private_data; in dice_channels_constraint()
88 static int limit_channels_and_rates(struct snd_dice *dice, in limit_channels_and_rates()
126 static int init_hw_info(struct snd_dice *dice, in init_hw_info()
167 struct snd_dice *dice = substream->private_data; in pcm_open()
227 struct snd_dice *dice = substream->private_data; in pcm_close()
237 struct snd_dice *dice = substream->private_data; in capture_hw_params()
256 struct snd_dice *dice = substream->private_data; in playback_hw_params()
275 struct snd_dice *dice = substream->private_data; in capture_hw_free()
291 struct snd_dice *dice = substream->private_data; in playback_hw_free()
[all …]
Ddice-hwdep.c15 struct snd_dice *dice = hwdep->private_data; in hwdep_read()
58 struct snd_dice *dice = hwdep->private_data; in hwdep_poll()
73 static int hwdep_get_info(struct snd_dice *dice, void __user *arg) in hwdep_get_info()
92 static int hwdep_lock(struct snd_dice *dice) in hwdep_lock()
110 static int hwdep_unlock(struct snd_dice *dice) in hwdep_unlock()
130 struct snd_dice *dice = hwdep->private_data; in hwdep_release()
143 struct snd_dice *dice = hwdep->private_data; in hwdep_ioctl()
168 int snd_dice_create_hwdep(struct snd_dice *dice) in snd_dice_create_hwdep()
Ddice-stream.c33 int snd_dice_stream_get_rate_mode(struct snd_dice *dice, unsigned int rate, in snd_dice_stream_get_rate_mode()
65 static int ensure_phase_lock(struct snd_dice *dice, unsigned int rate) in ensure_phase_lock()
115 static int get_register_params(struct snd_dice *dice, in get_register_params()
139 static void release_resources(struct snd_dice *dice) in release_resources()
158 static void stop_streams(struct snd_dice *dice, enum amdtp_stream_direction dir, in stop_streams()
178 static int keep_resources(struct snd_dice *dice, in keep_resources()
233 static int start_streams(struct snd_dice *dice, enum amdtp_stream_direction dir, in start_streams()
321 static int start_duplex_streams(struct snd_dice *dice, unsigned int rate) in start_duplex_streams()
388 int snd_dice_stream_start_duplex(struct snd_dice *dice, unsigned int rate) in snd_dice_stream_start_duplex()
445 void snd_dice_stream_stop_duplex(struct snd_dice *dice) in snd_dice_stream_stop_duplex()
[all …]
Ddice-midi.c12 struct snd_dice *dice = substream->rmidi->private_data; in midi_open()
34 struct snd_dice *dice = substream->rmidi->private_data; in midi_close()
49 struct snd_dice *dice = substrm->rmidi->private_data; in midi_capture_trigger()
66 struct snd_dice *dice = substrm->rmidi->private_data; in midi_playback_trigger()
81 static void set_midi_substream_names(struct snd_dice *dice, in set_midi_substream_names()
92 int snd_dice_create_midi(struct snd_dice *dice) in snd_dice_create_midi()
Ddice.c66 static int check_clock_caps(struct snd_dice *dice) in check_clock_caps()
90 static void dice_card_strings(struct snd_dice *dice) in dice_card_strings()
125 static void dice_free(struct snd_dice *dice) in dice_free()
148 struct snd_dice *dice = container_of(work, struct snd_dice, dwork.work); in do_registration()
216 struct snd_dice *dice; in dice_probe()
226 dice = kzalloc(sizeof(struct snd_dice), GFP_KERNEL); in dice_probe()
254 struct snd_dice *dice = dev_get_drvdata(&unit->device); in dice_remove()
274 struct snd_dice *dice = dev_get_drvdata(&unit->device); in dice_bus_reset()
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-proc.c12 static int dice_proc_read_mem(struct snd_dice *dice, void *buffer, in dice_proc_read_mem()
71 struct snd_dice *dice = entry->private_data; in dice_proc_read()
254 struct snd_dice *dice = entry->private_data; in dice_proc_read_formation()
280 static void add_node(struct snd_dice *dice, struct snd_info_entry *root, in add_node()
296 void snd_dice_create_proc(struct snd_dice *dice) in snd_dice_create_proc()
Ddice-mytek.c28 int snd_dice_detect_mytek_formats(struct snd_dice *dice) in snd_dice_detect_mytek_formats()
Ddice-alesis.c22 int snd_dice_detect_alesis_formats(struct snd_dice *dice) in snd_dice_detect_alesis_formats()
Ddice-tcelectronic.c58 int snd_dice_detect_tcelectronic_formats(struct snd_dice *dice) in snd_dice_detect_tcelectronic_formats()