Lines Matching refs:runtime

1062 	struct snd_pcm_runtime *runtime = substream->runtime;  in snd_ali_control_mode()  local
1068 if (snd_pcm_format_width(runtime->format) == 16) in snd_ali_control_mode()
1070 if (!snd_pcm_format_unsigned(runtime->format)) in snd_ali_control_mode()
1072 if (runtime->channels > 1) in snd_ali_control_mode()
1108 pvoice = s->runtime->private_data; in snd_ali_trigger()
1152 struct snd_pcm_runtime *runtime = substream->runtime; in snd_ali_playback_hw_params() local
1153 struct snd_ali_voice *pvoice = runtime->private_data; in snd_ali_playback_hw_params()
1188 struct snd_pcm_runtime *runtime = substream->runtime; in snd_ali_playback_hw_free() local
1189 struct snd_ali_voice *pvoice = runtime->private_data; in snd_ali_playback_hw_free()
1215 struct snd_pcm_runtime *runtime = substream->runtime; in snd_ali_playback_prepare() local
1216 struct snd_ali_voice *pvoice = runtime->private_data; in snd_ali_playback_prepare()
1233 Delta = snd_ali_convert_rate(runtime->rate, 0); in snd_ali_playback_prepare()
1242 snd_ali_set_spdif_out_rate(codec, runtime->rate); in snd_ali_playback_prepare()
1247 LBA = runtime->dma_addr; in snd_ali_playback_prepare()
1250 pvoice->count = runtime->period_size; in snd_ali_playback_prepare()
1253 pvoice->eso = runtime->buffer_size; in snd_ali_playback_prepare()
1270 pvoice->number,runtime->rate,Delta,GVSEL,PAN,CTRL); in snd_ali_playback_prepare()
1308 struct snd_pcm_runtime *runtime = substream->runtime; in snd_ali_prepare() local
1309 struct snd_ali_voice *pvoice = runtime->private_data; in snd_ali_prepare()
1328 0x1000 : snd_ali_convert_rate(runtime->rate, pvoice->mode); in snd_ali_prepare()
1354 Delta = ((rate << 12) / runtime->rate) & 0x00ffff; in snd_ali_prepare()
1358 pvoice->eso = runtime->buffer_size; in snd_ali_prepare()
1361 pvoice->count = runtime->period_size; in snd_ali_prepare()
1364 LBA = runtime->dma_addr; in snd_ali_prepare()
1397 struct snd_pcm_runtime *runtime = substream->runtime; in snd_ali_playback_pointer() local
1398 struct snd_ali_voice *pvoice = runtime->private_data; in snd_ali_playback_pointer()
1418 struct snd_pcm_runtime *runtime = substream->runtime; in snd_ali_pointer() local
1419 struct snd_ali_voice *pvoice = runtime->private_data; in snd_ali_pointer()
1482 static void snd_ali_pcm_free_substream(struct snd_pcm_runtime *runtime) in snd_ali_pcm_free_substream() argument
1484 struct snd_ali_voice *pvoice = runtime->private_data; in snd_ali_pcm_free_substream()
1497 struct snd_pcm_runtime *runtime = substream->runtime; in snd_ali_open() local
1506 runtime->private_data = pvoice; in snd_ali_open()
1507 runtime->private_free = snd_ali_pcm_free_substream; in snd_ali_open()
1509 runtime->hw = *phw; in snd_ali_open()
1511 snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_SIZE, in snd_ali_open()
1534 struct snd_ali_voice *pvoice = substream->runtime->private_data; in snd_ali_close()
1613 return snd_pcm_hw_constraint_list(substream->runtime, 0, in snd_ali_modem_open()