/linux-5.19.10/sound/soc/ |
D | soc-topology.c | 80 static int soc_tplg_process_headers(struct soc_tplg *tplg); 81 static int soc_tplg_complete(struct soc_tplg *tplg); 84 static int soc_tplg_check_elem_count(struct soc_tplg *tplg, size_t elem_size, in soc_tplg_check_elem_count() argument 87 const u8 *end = tplg->pos + elem_size * count; in soc_tplg_check_elem_count() 89 if (end > tplg->fw->data + tplg->fw->size) { in soc_tplg_check_elem_count() 90 dev_err(tplg->dev, "ASoC: %s overflow end of data\n", in soc_tplg_check_elem_count() 98 dev_err(tplg->dev, in soc_tplg_check_elem_count() 107 static inline bool soc_tplg_is_eof(struct soc_tplg *tplg) in soc_tplg_is_eof() argument 109 const u8 *end = tplg->hdr_pos; in soc_tplg_is_eof() 111 if (end >= tplg->fw->data + tplg->fw->size) in soc_tplg_is_eof() [all …]
|
/linux-5.19.10/sound/soc/intel/avs/ |
D | topology.c | 338 if (idx >= acomp->tplg->num_##member) \ 341 *val = &acomp->tplg->member[idx]; \ 486 struct avs_tplg *tplg = acomp->tplg; in avs_tplg_parse_libraries() local 488 return parse_dictionary(comp, tuples, block_size, (void **)&tplg->libs, in avs_tplg_parse_libraries() 489 &tplg->num_libs, sizeof(*tplg->libs), in avs_tplg_parse_libraries() 551 struct avs_tplg *tplg = acomp->tplg; in avs_tplg_parse_audio_formats() local 553 return parse_dictionary(comp, tuples, block_size, (void **)&tplg->fmts, in avs_tplg_parse_audio_formats() 554 &tplg->num_fmts, sizeof(*tplg->fmts), in avs_tplg_parse_audio_formats() 592 struct avs_tplg *tplg = acomp->tplg; in avs_tplg_parse_modcfgs_base() local 594 return parse_dictionary(comp, tuples, block_size, (void **)&tplg->modcfgs_base, in avs_tplg_parse_modcfgs_base() [all …]
|
D | pcm.c | 653 struct avs_tplg *tplg = acomp->tplg; in avs_component_load_libraries() local 657 if (!tplg->num_libs) in avs_component_load_libraries() 668 ret = avs_dsp_load_libraries(adev, tplg->libs, tplg->num_libs); in avs_component_load_libraries() 696 acomp->tplg = avs_tplg_new(component); in avs_component_probe() 697 if (!acomp->tplg) in avs_component_probe()
|
D | loader.c | 617 struct avs_tplg *tplg = acomp->tplg; in avs_dsp_boot_firmware() local 619 ret = avs_dsp_load_libraries(adev, tplg->libs, tplg->num_libs); in avs_dsp_boot_firmware()
|
D | path.c | 23 if (!strcmp(acomp->tplg->name, name)) in avs_path_find_tplg() 24 return acomp->tplg; in avs_path_find_tplg() 54 struct avs_tplg *tplg; in avs_path_find_path() local 57 tplg = avs_path_find_tplg(adev, name); in avs_path_find_path() 58 if (!tplg) in avs_path_find_path() 61 list_for_each_entry(pos, &tplg->path_tmpl_list, node) { in avs_path_find_path()
|
D | avs.h | 304 struct avs_tplg *tplg; member
|
/linux-5.19.10/sound/soc/sof/ |
D | control.c | 25 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in snd_sof_volume_get() 40 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in snd_sof_volume_put() 77 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in snd_sof_switch_get() 92 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in snd_sof_switch_put() 107 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in snd_sof_enum_get() 122 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in snd_sof_enum_put() 137 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in snd_sof_bytes_get() 152 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in snd_sof_bytes_put() 168 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in snd_sof_bytes_ext_put() 187 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in snd_sof_bytes_ext_volatile_get() [all …]
|
D | ipc.c | 182 if (!ops->tplg || !ops->tplg->widget || !ops->tplg->control) { in snd_sof_ipc_init()
|
D | sof-audio.c | 17 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in sof_reset_route_setup_status() 31 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in sof_widget_free() 81 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in sof_widget_setup() 166 const struct sof_ipc_tplg_ops *ipc_tplg_ops = sdev->ipc->ops->tplg; in sof_route_setup() 263 const struct sof_ipc_tplg_ops *ipc_tplg_ops = sdev->ipc->ops->tplg; in sof_unprepare_widgets_in_path() 292 const struct sof_ipc_tplg_ops *ipc_tplg_ops = sdev->ipc->ops->tplg; in sof_prepare_widgets_in_path() 478 const struct sof_ipc_tplg_ops *ipc_tplg_ops = sdev->ipc->ops->tplg; in sof_widget_list_setup() 755 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in sof_dai_get_clk()
|
D | pm.c | 77 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in sof_resume() 183 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in sof_suspend()
|
D | topology.c | 60 const struct sof_ipc_tplg_ops *ipc_tplg_ops = sdev->ipc->ops->tplg; in sof_update_ipc_object() 269 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in set_up_volume_table() 460 const struct sof_ipc_tplg_ops *ipc_tplg_ops = sdev->ipc->ops->tplg; in sof_copy_tuples() 975 const struct sof_ipc_tplg_ops *ipc_tplg_ops = sdev->ipc->ops->tplg; in sof_control_unload() 1149 const struct sof_ipc_tplg_ops *ipc_tplg_ops = sdev->ipc->ops->tplg; in sof_widget_parse_tokens() 1232 const struct sof_ipc_tplg_ops *ipc_tplg_ops = sdev->ipc->ops->tplg; in sof_widget_ready() 1382 const struct sof_ipc_tplg_ops *ipc_tplg_ops = sdev->ipc->ops->tplg; in sof_widget_unload() 1602 const struct sof_ipc_tplg_ops *ipc_tplg_ops = sdev->ipc->ops->tplg; in sof_link_load() 1908 const struct sof_ipc_tplg_ops *ipc_tplg_ops = sdev->ipc->ops->tplg; in sof_complete()
|
D | ipc3.c | 925 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in ipc3_comp_notification() 1069 .tplg = &ipc3_tplg_ops,
|
D | sof-priv.h | 434 const struct sof_ipc_tplg_ops *tplg; member
|
/linux-5.19.10/sound/soc/sof/intel/ |
D | hda.c | 50 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in hda_ctrl_dai_widget_setup() 83 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in hda_ctrl_dai_widget_free()
|
D | hda-dai.c | 359 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in hda_dai_config_pause_push_ipc()
|