Home
last modified time | relevance | path

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

/Linux-v5.4/sound/soc/intel/atom/sst/
Dsst_stream.c30 struct snd_pcm_params *pcm_params; in sst_alloc_stream_mrfld() local
64 pcm_params = &str_info->alloc_param.codec_params.uc.pcm_params; in sst_alloc_stream_mrfld()
67 pcm_params->channel_map[i] = i; in sst_alloc_stream_mrfld()
69 pcm_params->channel_map[i] = 0xff; in sst_alloc_stream_mrfld()
Dsst_drv_interface.c83 return str_param->sparams.uc.pcm_params.sfreq; in sst_get_sfreq()
102 return str_param->sparams.uc.pcm_params.num_chan; in sst_get_num_channel()
/Linux-v5.4/sound/soc/intel/baytrail/
Dsst-baytrail-ipc.c94 struct sst_byt_pcm_params pcm_params; member
364 stream->request.pcm_params.pcm_wd_sz = bits; in sst_byt_stream_set_bits()
371 stream->request.pcm_params.num_chan = channels; in sst_byt_stream_set_channels()
378 stream->request.pcm_params.sfreq = rate; in sst_byt_stream_set_rate()
402 stream->request.pcm_params.sfreq * in sst_byt_stream_buffer()
403 stream->request.pcm_params.num_chan * in sst_byt_stream_buffer()
404 stream->request.pcm_params.pcm_wd_sz / 8 * in sst_byt_stream_buffer()
/Linux-v5.4/sound/soc/intel/atom/
Dsst-mfld-platform-pcm.c145 param->uc.pcm_params.num_chan = (u8) substream->runtime->channels; in sst_fill_pcm_params()
146 param->uc.pcm_params.pcm_wd_sz = substream->runtime->sample_bits; in sst_fill_pcm_params()
147 param->uc.pcm_params.sfreq = substream->runtime->rate; in sst_fill_pcm_params()
150 param->uc.pcm_params.use_offload_path = 0; in sst_fill_pcm_params()
151 param->uc.pcm_params.reserved2 = 0; in sst_fill_pcm_params()
152 memset(param->uc.pcm_params.channel_map, 0, sizeof(u8)); in sst_fill_pcm_params()
Dsst-mfld-dsp.h363 struct snd_pcm_params pcm_params; member
/Linux-v5.4/Documentation/sound/kernel-api/
Dwriting-an-alsa-driver.rst1164 first. In addition, ``<sound/pcm_params.h>`` might be needed if you