Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/intel/atom/sst/
H A Dsst_stream.c28 struct snd_pcm_params *pcm_params; in sst_alloc_stream_mrfld() local
62 pcm_params = &str_info->alloc_param.codec_params.uc.pcm_params; in sst_alloc_stream_mrfld()
65 pcm_params->channel_map[i] = i; in sst_alloc_stream_mrfld()
67 pcm_params->channel_map[i] = 0xff; in sst_alloc_stream_mrfld()
H A Dsst_drv_interface.c80 return str_param->sparams.uc.pcm_params.sfreq; in sst_get_sfreq()
99 return str_param->sparams.uc.pcm_params.num_chan; in sst_get_num_channel()
/openbmc/linux/sound/soc/intel/atom/
H A 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()
H A Dsst-mfld-dsp.h363 struct snd_pcm_params pcm_params; member
/openbmc/qemu/include/hw/audio/
H A Dvirtio-snd.h133 virtio_snd_pcm_set_params *pcm_params; member
/openbmc/qemu/hw/audio/
H A Dvirtio-snd.c148 : &s->pcm->pcm_params[stream_id]; in virtio_snd_pcm_get_params()
248 if (stream_id >= s->snd_conf.streams || s->pcm->pcm_params == NULL) { in virtio_snd_set_pcm_params()
419 s->pcm->pcm_params == NULL || in virtio_snd_pcm_prepare()
1069 vsnd->pcm->pcm_params = in virtio_snd_realize()
1331 g_free(vsnd->pcm->pcm_params); in virtio_snd_unrealize()
/openbmc/linux/Documentation/sound/kernel-api/
H A Dwriting-an-alsa-driver.rst1106 first. In addition, ``<sound/pcm_params.h>`` might be needed if you