/linux-6.6.21/sound/soc/ |
D | soc-topology.c | 80 static int soc_tplg_check_elem_count(struct soc_tplg *tplg, size_t elem_size, in soc_tplg_check_elem_count() argument 83 const u8 *end = tplg->pos + elem_size * count; in soc_tplg_check_elem_count() 85 if (end > tplg->fw->data + tplg->fw->size) { in soc_tplg_check_elem_count() 86 dev_err(tplg->dev, "ASoC: %s overflow end of data\n", in soc_tplg_check_elem_count() 94 dev_err(tplg->dev, in soc_tplg_check_elem_count() 103 static inline bool soc_tplg_is_eof(struct soc_tplg *tplg) in soc_tplg_is_eof() argument 105 const u8 *end = tplg->hdr_pos; in soc_tplg_is_eof() 107 if (end >= tplg->fw->data + tplg->fw->size) in soc_tplg_is_eof() 112 static inline unsigned long soc_tplg_get_hdr_offset(struct soc_tplg *tplg) in soc_tplg_get_hdr_offset() argument 114 return (unsigned long)(tplg->hdr_pos - tplg->fw->data); in soc_tplg_get_hdr_offset() [all …]
|
/linux-6.6.21/sound/soc/intel/avs/ |
D | topology.c | 339 if (idx >= acomp->tplg->num_##member) \ 342 *val = &acomp->tplg->member[idx]; \ 487 struct avs_tplg *tplg = acomp->tplg; in avs_tplg_parse_libraries() local 489 return parse_dictionary(comp, tuples, block_size, (void **)&tplg->libs, in avs_tplg_parse_libraries() 490 &tplg->num_libs, sizeof(*tplg->libs), in avs_tplg_parse_libraries() 552 struct avs_tplg *tplg = acomp->tplg; in avs_tplg_parse_audio_formats() local 554 return parse_dictionary(comp, tuples, block_size, (void **)&tplg->fmts, in avs_tplg_parse_audio_formats() 555 &tplg->num_fmts, sizeof(*tplg->fmts), in avs_tplg_parse_audio_formats() 593 struct avs_tplg *tplg = acomp->tplg; in avs_tplg_parse_modcfgs_base() local 595 return parse_dictionary(comp, tuples, block_size, (void **)&tplg->modcfgs_base, in avs_tplg_parse_modcfgs_base() [all …]
|
D | loader.c | 626 struct avs_tplg *tplg = acomp->tplg; in avs_dsp_boot_firmware() local 628 ret = avs_dsp_load_libraries(adev, tplg->libs, tplg->num_libs); in avs_dsp_boot_firmware()
|
D | path.c | 24 if (!strcmp(acomp->tplg->name, name)) in avs_path_find_tplg() 25 return acomp->tplg; in avs_path_find_tplg() 55 struct avs_tplg *tplg; in avs_path_find_path() local 58 tplg = avs_path_find_tplg(adev, name); in avs_path_find_path() 59 if (!tplg) in avs_path_find_path() 62 list_for_each_entry(pos, &tplg->path_tmpl_list, node) { in avs_path_find_path()
|
D | pcm.c | 739 struct avs_tplg *tplg = acomp->tplg; in avs_component_load_libraries() local 743 if (!tplg->num_libs) in avs_component_load_libraries() 755 ret = avs_dsp_load_libraries(adev, tplg->libs, tplg->num_libs); in avs_component_load_libraries() 784 acomp->tplg = avs_tplg_new(component); in avs_component_probe() 785 if (!acomp->tplg) in avs_component_probe()
|
D | avs.h | 316 struct avs_tplg *tplg; member
|
/linux-6.6.21/sound/soc/sof/ |
D | control.c | 25 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_volume_get() 40 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_volume_put() 77 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_switch_get() 92 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_switch_put() 107 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_enum_get() 122 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_enum_put() 137 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_bytes_get() 152 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_bytes_put() 168 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_bytes_ext_put() 187 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_bytes_ext_volatile_get() [all …]
|
D | ipc.c | 200 if (!ops->tplg || !ops->tplg->widget || !ops->tplg->control) { in snd_sof_ipc_init()
|
D | sof-audio.c | 33 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_reset_route_setup_status() 48 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_widget_free_unlocked() 140 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_widget_setup_unlocked() 259 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_route_setup() 301 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_setup_pipeline_connections() 412 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_unprepare_widgets_in_path() 451 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_prepare_widgets_in_path() 683 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_widget_list_setup() 978 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_dai_get_clk()
|
D | pm.c | 77 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_resume() 200 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_suspend()
|
D | topology.c | 57 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_update_ipc_object() 271 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in set_up_volume_table() 498 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_copy_tuples() 1028 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_control_unload() 1191 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_widget_parse_tokens() 1390 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_widget_ready() 1609 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_widget_unload() 1854 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_link_load() 2161 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_complete() 2249 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_manifest()
|
D | ipc3.c | 961 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in ipc3_comp_notification() 1151 .tplg = &ipc3_tplg_ops,
|
D | ipc4.c | 746 .tplg = &ipc4_tplg_ops,
|
D | sof-priv.h | 487 const struct sof_ipc_tplg_ops *tplg; member
|
/linux-6.6.21/sound/soc/sof/intel/ |
D | hda-dai.c | 52 tplg_ops = sof_ipc_get_ops(sdev, tplg); in hda_dai_config()
|