Home
last modified time | relevance | path

Searched refs:pcm_params (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/drivers/staging/intel_sst/
Dintelmid_pvt.c72 param.uc.pcm_params.codec = SST_CODEC_TYPE_PCM; in snd_intelmad_alloc_stream()
73 param.uc.pcm_params.num_chan = (u8) substream->runtime->channels; in snd_intelmad_alloc_stream()
74 param.uc.pcm_params.pcm_wd_sz = substream->runtime->sample_bits; in snd_intelmad_alloc_stream()
75 param.uc.pcm_params.reserved = 0; in snd_intelmad_alloc_stream()
76 param.uc.pcm_params.sfreq = substream->runtime->rate; in snd_intelmad_alloc_stream()
77 param.uc.pcm_params.ring_buffer_size = in snd_intelmad_alloc_stream()
79 param.uc.pcm_params.period_count = substream->runtime->period_size; in snd_intelmad_alloc_stream()
80 param.uc.pcm_params.ring_buffer_addr = in snd_intelmad_alloc_stream()
82 pr_debug("period_cnt = %d\n", param.uc.pcm_params.period_count); in snd_intelmad_alloc_stream()
84 param.uc.pcm_params.sfreq, param.uc.pcm_params.pcm_wd_sz); in snd_intelmad_alloc_stream()
Dintel_sst_ioctl.h260 struct snd_pcm_params pcm_params; member
302 struct snd_sst_pmic_config pcm_params; member
349 struct snd_sst_pmic_config pcm_params; member
Dintel_sst_stream_encoded.c97 memcpy(&get_params->pcm_params, &fw_params->pcm_params, in sst_get_stream_params()
98 sizeof(fw_params->pcm_params)); in sst_get_stream_params()
335 slot->pcm_params.sfreq, in sst_activate_target()
336 slot->pcm_params.pcm_wd_sz, in sst_activate_target()
337 slot->pcm_params.num_chan); in sst_activate_target()
437 if (target->devices[i].pcm_params.sfreq != 8000 in sst_target_device_validate()
438 || target->devices[i].pcm_params.num_chan != 1 in sst_target_device_validate()
439 || target->devices[i].pcm_params.pcm_wd_sz != in sst_target_device_validate()
Dintel_sst_app_interface.c821 get_prm->pcm_params.sfreq); in sst_print_stream_params()
823 get_prm->pcm_params.num_chan); in sst_print_stream_params()
825 get_prm->pcm_params.pcm_wd_sz); in sst_print_stream_params()
1049 sfreq = str_param.sparams.uc.pcm_params.sfreq; in intel_sst_ioctl()
1050 word_size = str_param.sparams.uc.pcm_params.pcm_wd_sz; in intel_sst_ioctl()
1051 num_channel = str_param.sparams.uc.pcm_params.num_chan; in intel_sst_ioctl()
Dintel_sst_fw_ipc.h381 struct snd_sst_pmic_config pcm_params; member
Dintel_sst_stream.c132 num_ch = sparams->uc.pcm_params.num_chan; in sst_alloc_stream()
/linux-2.6.39/sound/soc/mid-x86/
Dsst_platform.c140 param->uc.pcm_params.codec = SST_CODEC_TYPE_PCM; in sst_fill_pcm_params()
141 param->uc.pcm_params.num_chan = (u8) substream->runtime->channels; in sst_fill_pcm_params()
142 param->uc.pcm_params.pcm_wd_sz = substream->runtime->sample_bits; in sst_fill_pcm_params()
143 param->uc.pcm_params.reserved = 0; in sst_fill_pcm_params()
144 param->uc.pcm_params.sfreq = substream->runtime->rate; in sst_fill_pcm_params()
145 param->uc.pcm_params.ring_buffer_size = in sst_fill_pcm_params()
147 param->uc.pcm_params.period_count = substream->runtime->period_size; in sst_fill_pcm_params()
148 param->uc.pcm_params.ring_buffer_addr = in sst_fill_pcm_params()
150 pr_debug("period_cnt = %d\n", param->uc.pcm_params.period_count); in sst_fill_pcm_params()
152 param->uc.pcm_params.sfreq, param->uc.pcm_params.pcm_wd_sz); in sst_fill_pcm_params()
[all …]