Home
last modified time | relevance | path

Searched refs:sparams (Results 1 – 8 of 8) sorted by relevance

/sound/soc/sof/
Dipc.c560 struct sof_ipc_ctrl_data_params *sparams) in sof_get_ctrl_copy_params() argument
565 sparams->src = (u8 *)src->chanv; in sof_get_ctrl_copy_params()
566 sparams->dst = (u8 *)dst->chanv; in sof_get_ctrl_copy_params()
570 sparams->src = (u8 *)src->compv; in sof_get_ctrl_copy_params()
571 sparams->dst = (u8 *)dst->compv; in sof_get_ctrl_copy_params()
575 sparams->src = (u8 *)src->data->data; in sof_get_ctrl_copy_params()
576 sparams->dst = (u8 *)dst->data->data; in sof_get_ctrl_copy_params()
583 sparams->pl_size = SOF_IPC_MSG_MAX_SIZE - sparams->hdr_bytes; in sof_get_ctrl_copy_params()
584 sparams->num_msg = DIV_ROUND_UP(sparams->msg_bytes, sparams->pl_size); in sof_get_ctrl_copy_params()
591 struct sof_ipc_ctrl_data_params *sparams, in sof_set_get_large_ctrl_data() argument
[all …]
/sound/soc/intel/atom/
Dsst-mfld-platform-compress.c118 str_params.sparams.uc.mp3_params.num_chan = params->codec.ch_in; in sst_platform_compr_set_params()
119 str_params.sparams.uc.mp3_params.pcm_wd_sz = 16; in sst_platform_compr_set_params()
125 str_params.sparams.uc.aac_params.num_chan = params->codec.ch_in; in sst_platform_compr_set_params()
126 str_params.sparams.uc.aac_params.pcm_wd_sz = 16; in sst_platform_compr_set_params()
128 str_params.sparams.uc.aac_params.bs_format = in sst_platform_compr_set_params()
131 str_params.sparams.uc.aac_params.bs_format = in sst_platform_compr_set_params()
137 str_params.sparams.uc.aac_params.externalsr = in sst_platform_compr_set_params()
Dsst-mfld-platform.h86 struct sst_pcm_params sparams; member
Dsst-mfld-dsp.h395 struct snd_sst_stream_params sparams; member
Dsst-mfld-platform-pcm.c236 str_params.sparams = param; in sst_platform_alloc_stream()
/sound/core/oss/
Dpcm_oss.c849 struct snd_pcm_hw_params *params, *sparams; in snd_pcm_oss_change_params_locked() local
864 sparams = kmalloc(sizeof(*sparams), GFP_KERNEL); in snd_pcm_oss_change_params_locked()
865 if (!sw_params || !params || !sparams) { in snd_pcm_oss_change_params_locked()
875 _snd_pcm_hw_params_any(sparams); in snd_pcm_oss_change_params_locked()
876 _snd_pcm_hw_param_setinteger(sparams, SNDRV_PCM_HW_PARAM_PERIODS); in snd_pcm_oss_change_params_locked()
877 _snd_pcm_hw_param_min(sparams, SNDRV_PCM_HW_PARAM_PERIODS, 2, 0); in snd_pcm_oss_change_params_locked()
886 err = snd_pcm_hw_param_mask(substream, sparams, SNDRV_PCM_HW_PARAM_ACCESS, &mask); in snd_pcm_oss_change_params_locked()
893 err = choose_rate(substream, sparams, runtime->oss.rate); in snd_pcm_oss_change_params_locked()
896 err = snd_pcm_hw_param_near(substream, sparams, in snd_pcm_oss_change_params_locked()
904 sformat_mask = hw_param_mask_c(sparams, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_oss_change_params_locked()
[all …]
/sound/soc/intel/atom/sst/
Dsst_drv_interface.c80 return str_param->sparams.uc.pcm_params.sfreq; in sst_get_sfreq()
82 return str_param->sparams.uc.aac_params.externalsr; in sst_get_sfreq()
99 return str_param->sparams.uc.pcm_params.num_chan; in sst_get_num_channel()
101 return str_param->sparams.uc.mp3_params.num_chan; in sst_get_num_channel()
103 return str_param->sparams.uc.aac_params.num_chan; in sst_get_num_channel()
Dsst_stream.c53 memcpy(&str_info->alloc_param.codec_params, &str_params->sparams, in sst_alloc_stream_mrfld()