Lines Matching refs:dice
73 typedef int (*snd_dice_detect_formats_t)(struct snd_dice *dice);
128 int snd_dice_transaction_write(struct snd_dice *dice,
132 int snd_dice_transaction_read(struct snd_dice *dice,
136 static inline int snd_dice_transaction_write_global(struct snd_dice *dice, in snd_dice_transaction_write_global() argument
140 return snd_dice_transaction_write(dice, in snd_dice_transaction_write_global()
144 static inline int snd_dice_transaction_read_global(struct snd_dice *dice, in snd_dice_transaction_read_global() argument
148 return snd_dice_transaction_read(dice, in snd_dice_transaction_read_global()
152 static inline int snd_dice_transaction_write_tx(struct snd_dice *dice, in snd_dice_transaction_write_tx() argument
156 return snd_dice_transaction_write(dice, SND_DICE_ADDR_TYPE_TX, offset, in snd_dice_transaction_write_tx()
159 static inline int snd_dice_transaction_read_tx(struct snd_dice *dice, in snd_dice_transaction_read_tx() argument
163 return snd_dice_transaction_read(dice, SND_DICE_ADDR_TYPE_TX, offset, in snd_dice_transaction_read_tx()
166 static inline int snd_dice_transaction_write_rx(struct snd_dice *dice, in snd_dice_transaction_write_rx() argument
170 return snd_dice_transaction_write(dice, SND_DICE_ADDR_TYPE_RX, offset, in snd_dice_transaction_write_rx()
173 static inline int snd_dice_transaction_read_rx(struct snd_dice *dice, in snd_dice_transaction_read_rx() argument
177 return snd_dice_transaction_read(dice, SND_DICE_ADDR_TYPE_RX, offset, in snd_dice_transaction_read_rx()
180 static inline int snd_dice_transaction_write_sync(struct snd_dice *dice, in snd_dice_transaction_write_sync() argument
184 return snd_dice_transaction_write(dice, SND_DICE_ADDR_TYPE_SYNC, offset, in snd_dice_transaction_write_sync()
187 static inline int snd_dice_transaction_read_sync(struct snd_dice *dice, in snd_dice_transaction_read_sync() argument
191 return snd_dice_transaction_read(dice, SND_DICE_ADDR_TYPE_SYNC, offset, in snd_dice_transaction_read_sync()
195 int snd_dice_transaction_get_clock_source(struct snd_dice *dice,
197 int snd_dice_transaction_get_rate(struct snd_dice *dice, unsigned int *rate);
198 int snd_dice_transaction_set_enable(struct snd_dice *dice);
199 void snd_dice_transaction_clear_enable(struct snd_dice *dice);
200 int snd_dice_transaction_init(struct snd_dice *dice);
201 int snd_dice_transaction_reinit(struct snd_dice *dice);
202 void snd_dice_transaction_destroy(struct snd_dice *dice);
207 int snd_dice_stream_get_rate_mode(struct snd_dice *dice, unsigned int rate,
209 int snd_dice_stream_start_duplex(struct snd_dice *dice);
210 void snd_dice_stream_stop_duplex(struct snd_dice *dice);
211 int snd_dice_stream_init_duplex(struct snd_dice *dice);
212 void snd_dice_stream_destroy_duplex(struct snd_dice *dice);
213 int snd_dice_stream_reserve_duplex(struct snd_dice *dice, unsigned int rate,
216 void snd_dice_stream_update_duplex(struct snd_dice *dice);
217 int snd_dice_stream_detect_current_formats(struct snd_dice *dice);
219 int snd_dice_stream_lock_try(struct snd_dice *dice);
220 void snd_dice_stream_lock_release(struct snd_dice *dice);
222 int snd_dice_create_pcm(struct snd_dice *dice);
224 int snd_dice_create_hwdep(struct snd_dice *dice);
226 void snd_dice_create_proc(struct snd_dice *dice);
228 int snd_dice_create_midi(struct snd_dice *dice);
230 int snd_dice_detect_tcelectronic_formats(struct snd_dice *dice);
231 int snd_dice_detect_alesis_formats(struct snd_dice *dice);
232 int snd_dice_detect_alesis_mastercontrol_formats(struct snd_dice *dice);
233 int snd_dice_detect_extension_formats(struct snd_dice *dice);
234 int snd_dice_detect_mytek_formats(struct snd_dice *dice);
235 int snd_dice_detect_presonus_formats(struct snd_dice *dice);