Lines Matching defs:runtime

185 	int count;              /* runtime->period_size */
1045 struct snd_pcm_runtime *runtime = substream->runtime;
1051 if (snd_pcm_format_width(runtime->format) == 16)
1053 if (!snd_pcm_format_unsigned(runtime->format))
1055 if (runtime->channels > 1)
1091 pvoice = s->runtime->private_data;
1133 struct snd_pcm_runtime *runtime = substream->runtime;
1134 struct snd_ali_voice *pvoice = runtime->private_data;
1163 struct snd_pcm_runtime *runtime = substream->runtime;
1164 struct snd_ali_voice *pvoice = runtime->private_data;
1177 struct snd_pcm_runtime *runtime = substream->runtime;
1178 struct snd_ali_voice *pvoice = runtime->private_data;
1195 Delta = snd_ali_convert_rate(runtime->rate, 0);
1204 snd_ali_set_spdif_out_rate(codec, runtime->rate);
1209 LBA = runtime->dma_addr;
1212 pvoice->count = runtime->period_size;
1215 pvoice->eso = runtime->buffer_size;
1232 pvoice->number,runtime->rate,Delta,GVSEL,PAN,CTRL);
1270 struct snd_pcm_runtime *runtime = substream->runtime;
1271 struct snd_ali_voice *pvoice = runtime->private_data;
1290 0x1000 : snd_ali_convert_rate(runtime->rate, pvoice->mode);
1316 Delta = ((rate << 12) / runtime->rate) & 0x00ffff;
1320 pvoice->eso = runtime->buffer_size;
1323 pvoice->count = runtime->period_size;
1326 LBA = runtime->dma_addr;
1359 struct snd_pcm_runtime *runtime = substream->runtime;
1360 struct snd_ali_voice *pvoice = runtime->private_data;
1373 cso %= runtime->buffer_size;
1381 struct snd_pcm_runtime *runtime = substream->runtime;
1382 struct snd_ali_voice *pvoice = runtime->private_data;
1394 cso %= runtime->buffer_size;
1446 static void snd_ali_pcm_free_substream(struct snd_pcm_runtime *runtime)
1448 struct snd_ali_voice *pvoice = runtime->private_data;
1458 struct snd_pcm_runtime *runtime = substream->runtime;
1467 runtime->private_data = pvoice;
1468 runtime->private_free = snd_ali_pcm_free_substream;
1470 runtime->hw = *phw;
1472 snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_SIZE,
1495 struct snd_ali_voice *pvoice = substream->runtime->private_data;
1570 return snd_pcm_hw_constraint_list(substream->runtime, 0,