Home
last modified time | relevance | path

Searched defs:dice (Results 1 – 8 of 8) sorted by relevance

/linux-4.4.14/sound/firewire/dice/
Ddice-stream.c27 int snd_dice_stream_get_rate_mode(struct snd_dice *dice, unsigned int rate, in snd_dice_stream_get_rate_mode()
44 static void release_resources(struct snd_dice *dice, in release_resources()
61 static int keep_resources(struct snd_dice *dice, in keep_resources()
87 static void stop_stream(struct snd_dice *dice, struct amdtp_stream *stream) in stop_stream()
98 static int start_stream(struct snd_dice *dice, struct amdtp_stream *stream, in start_stream()
166 static int get_sync_mode(struct snd_dice *dice, enum cip_flags *sync_mode) in get_sync_mode()
193 int snd_dice_stream_start_duplex(struct snd_dice *dice, unsigned int rate) in snd_dice_stream_start_duplex()
279 void snd_dice_stream_stop_duplex(struct snd_dice *dice) in snd_dice_stream_stop_duplex()
290 static int init_stream(struct snd_dice *dice, struct amdtp_stream *stream) in init_stream()
322 static void destroy_stream(struct snd_dice *dice, struct amdtp_stream *stream) in destroy_stream()
[all …]
Ddice-transaction.c14 static u64 get_subaddr(struct snd_dice *dice, enum snd_dice_addr_type type, in get_subaddr()
39 int snd_dice_transaction_write(struct snd_dice *dice, in snd_dice_transaction_write()
49 int snd_dice_transaction_read(struct snd_dice *dice, in snd_dice_transaction_read()
59 static unsigned int get_clock_info(struct snd_dice *dice, __be32 *info) in get_clock_info()
65 static int set_clock_info(struct snd_dice *dice, in set_clock_info()
128 int snd_dice_transaction_get_clock_source(struct snd_dice *dice, in snd_dice_transaction_get_clock_source()
141 int snd_dice_transaction_get_rate(struct snd_dice *dice, unsigned int *rate) in snd_dice_transaction_get_rate()
161 int snd_dice_transaction_set_rate(struct snd_dice *dice, unsigned int rate) in snd_dice_transaction_set_rate()
166 int snd_dice_transaction_set_enable(struct snd_dice *dice) in snd_dice_transaction_set_enable()
188 void snd_dice_transaction_clear_enable(struct snd_dice *dice) in snd_dice_transaction_clear_enable()
[all …]
Ddice-pcm.c16 struct snd_dice *dice = substream->private_data; in dice_rate_constraint() local
51 struct snd_dice *dice = substream->private_data; in dice_channels_constraint() local
82 static void limit_channels_and_rates(struct snd_dice *dice, in limit_channels_and_rates()
119 static int init_hw_info(struct snd_dice *dice, in init_hw_info()
166 struct snd_dice *dice = substream->private_data; in pcm_open() local
222 struct snd_dice *dice = substream->private_data; in pcm_close() local
232 struct snd_dice *dice = substream->private_data; in capture_hw_params() local
253 struct snd_dice *dice = substream->private_data; in playback_hw_params() local
274 struct snd_dice *dice = substream->private_data; in capture_hw_free() local
290 struct snd_dice *dice = substream->private_data; in playback_hw_free() local
[all …]
Ddice-hwdep.c15 struct snd_dice *dice = hwdep->private_data; in hwdep_read() local
58 struct snd_dice *dice = hwdep->private_data; in hwdep_poll() local
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() local
143 struct snd_dice *dice = hwdep->private_data; in hwdep_ioctl() local
168 int snd_dice_create_hwdep(struct snd_dice *dice) in snd_dice_create_hwdep()
Ddice-midi.c12 struct snd_dice *dice = substream->rmidi->private_data; in midi_open() local
34 struct snd_dice *dice = substream->rmidi->private_data; in midi_close() local
49 struct snd_dice *dice = substrm->rmidi->private_data; in midi_capture_trigger() local
66 struct snd_dice *dice = substrm->rmidi->private_data; in midi_playback_trigger() local
93 static void set_midi_substream_names(struct snd_dice *dice, in set_midi_substream_names()
104 int snd_dice_create_midi(struct snd_dice *dice) in snd_dice_create_midi()
Ddice.c114 static int highest_supported_mode_rate(struct snd_dice *dice, in highest_supported_mode_rate()
132 static int dice_read_mode_params(struct snd_dice *dice, unsigned int mode) in dice_read_mode_params()
169 static int dice_read_params(struct snd_dice *dice) in dice_read_params()
199 static void dice_card_strings(struct snd_dice *dice) in dice_card_strings()
242 struct snd_dice *dice = card->private_data; in dice_card_free() local
254 struct snd_dice *dice; in dice_probe() local
320 struct snd_dice *dice = dev_get_drvdata(&unit->device); in dice_remove() local
328 struct snd_dice *dice = dev_get_drvdata(&unit->device); in dice_bus_reset() local
Ddice.h97 static inline int snd_dice_transaction_write_global(struct snd_dice *dice, in snd_dice_transaction_write_global()
105 static inline int snd_dice_transaction_read_global(struct snd_dice *dice, in snd_dice_transaction_read_global()
113 static inline int snd_dice_transaction_write_tx(struct snd_dice *dice, in snd_dice_transaction_write_tx()
120 static inline int snd_dice_transaction_read_tx(struct snd_dice *dice, in snd_dice_transaction_read_tx()
127 static inline int snd_dice_transaction_write_rx(struct snd_dice *dice, in snd_dice_transaction_write_rx()
134 static inline int snd_dice_transaction_read_rx(struct snd_dice *dice, in snd_dice_transaction_read_rx()
141 static inline int snd_dice_transaction_write_sync(struct snd_dice *dice, in snd_dice_transaction_write_sync()
148 static inline int snd_dice_transaction_read_sync(struct snd_dice *dice, in snd_dice_transaction_read_sync()
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() local
246 void snd_dice_create_proc(struct snd_dice *dice) in snd_dice_create_proc()