Home
last modified time | relevance | path

Searched refs:tuples (Results 1 – 5 of 5) sorted by relevance

/sound/soc/intel/avs/
Dtopology.c34 avs_tplg_vendor_array_lookup(struct snd_soc_tplg_vendor_array *tuples, in avs_tplg_vendor_array_lookup() argument
41 u32 tuples_size = le32_to_cpu(tuples->size); in avs_tplg_vendor_array_lookup()
46 tuple = tuples->value; in avs_tplg_vendor_array_lookup()
54 tuples = avs_tplg_vendor_array_next(tuples); in avs_tplg_vendor_array_lookup()
70 avs_tplg_vendor_array_lookup_next(struct snd_soc_tplg_vendor_array *tuples, in avs_tplg_vendor_array_lookup_next() argument
73 u32 tuples_size = le32_to_cpu(tuples->size); in avs_tplg_vendor_array_lookup_next()
79 tuples = avs_tplg_vendor_array_next(tuples); in avs_tplg_vendor_array_lookup_next()
82 ret = avs_tplg_vendor_array_lookup(tuples, block_size, token, offset); in avs_tplg_vendor_array_lookup_next()
99 avs_tplg_vendor_entry_size(struct snd_soc_tplg_vendor_array *tuples, in avs_tplg_vendor_entry_size() argument
104 ret = avs_tplg_vendor_array_lookup_next(tuples, block_size, entry_id_token, size); in avs_tplg_vendor_entry_size()
[all …]
/sound/soc/sof/
Dtopology.c53 struct snd_sof_tuple *tuples, int num_tuples, in sof_update_ipc_object() argument
82 if (tokens[i].token == tuples[j].token) { in sof_update_ipc_object()
89 *val = tuples[j].value.v; in sof_update_ipc_object()
98 *val = (u16)tuples[j].value.v; in sof_update_ipc_object()
110 tokens[i].get_token((void *)tuples[j].value.s, object, in sof_update_ipc_object()
456 struct snd_sof_tuple *tuples, int tuples_size, int *num_copied_tuples) in sof_copy_tuples() argument
469 if (!tuples || !num_copied_tuples) { in sof_copy_tuples()
526 tuples[*num_copied_tuples].token = tokens[j].token; in sof_copy_tuples()
527 tuples[*num_copied_tuples].value.s = elem->string; in sof_copy_tuples()
537 tuples[*num_copied_tuples].token = tokens[j].token; in sof_copy_tuples()
[all …]
Dipc3-topology.c388 ret = sof_update_ipc_object(scomp, host, SOF_PCM_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_host()
394 ret = sof_update_ipc_object(scomp, &host->config, SOF_COMP_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_host()
433 ret = sof_update_ipc_object(scomp, &tone->config, SOF_COMP_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_tone()
467 swidget->tuples, swidget->num_tuples, in sof_ipc3_widget_setup_comp_mixer()
513 ret = sof_update_ipc_object(scomp, pipeline, SOF_SCHED_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_pipeline()
519 ret = sof_update_ipc_object(scomp, swidget, SOF_PIPELINE_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_pipeline()
568 ret = sof_update_ipc_object(scomp, buffer, SOF_BUFFER_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_buffer()
600 ret = sof_update_ipc_object(scomp, src, SOF_SRC_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_src()
607 swidget->tuples, swidget->num_tuples, sizeof(src->config), 1); in sof_ipc3_widget_setup_comp_src()
641 ret = sof_update_ipc_object(scomp, asrc, SOF_ASRC_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_asrc()
[all …]
Dipc4-topology.c183 SOF_AUDIO_FMT_NUM_TOKENS, swidget->tuples, in sof_ipc4_get_audio_fmt()
200 SOF_COMP_TOKENS, swidget->tuples, in sof_ipc4_get_audio_fmt()
210 SOF_AUDIO_FORMAT_BUFFER_SIZE_TOKENS, swidget->tuples, in sof_ipc4_get_audio_fmt()
224 SOF_IN_AUDIO_FORMAT_TOKENS, swidget->tuples, in sof_ipc4_get_audio_fmt()
249 SOF_OUT_AUDIO_FORMAT_TOKENS, swidget->tuples, in sof_ipc4_get_audio_fmt()
369 SOF_COPIER_GATEWAY_CFG_TOKENS, swidget->tuples, in sof_ipc4_widget_setup_pcm()
384 SOF_COPIER_TOKENS, swidget->tuples, in sof_ipc4_widget_setup_pcm()
470 SOF_COPIER_GATEWAY_CFG_TOKENS, swidget->tuples, in sof_ipc4_widget_setup_comp_dai()
484 SOF_COPIER_TOKENS, swidget->tuples, in sof_ipc4_widget_setup_comp_dai()
492 SOF_DAI_TOKENS, swidget->tuples, in sof_ipc4_widget_setup_comp_dai()
[all …]
Dsof-audio.h336 struct snd_sof_tuple *tuples; member
388 struct snd_sof_tuple *tuples; member
535 struct snd_sof_tuple *tuples, int num_tuples,