Searched refs:tplg_ops (Results 1 – 8 of 8) sorted by relevance
/linux/sound/soc/sof/ |
H A D | control.c | 25 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_volume_get() local 27 if (tplg_ops && tplg_ops->control && tplg_ops->control->volume_get) in snd_sof_volume_get() 28 return tplg_ops->control->volume_get(scontrol, ucontrol); 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() local 42 if (tplg_ops && tplg_ops->control && tplg_ops->control->volume_put) in snd_sof_volume_put() 43 return tplg_ops->control->volume_put(scontrol, ucontrol); 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() local 79 if (tplg_ops && tplg_ops->control && tplg_ops->control->switch_get) in snd_sof_switch_get() 80 return tplg_ops->control->switch_get(scontrol, ucontrol); 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() local [all …]
|
H A D | sof-audio.c | 32 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_reset_route_setup_status() local 37 if (sroute->setup && tplg_ops && tplg_ops->route_free) in sof_reset_route_setup_status() 38 tplg_ops->route_free(sdev, sroute); in sof_reset_route_setup_status() 47 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_widget_free_unlocked() local 71 if (tplg_ops && tplg_ops->dai_config) { in sof_widget_free_unlocked() 72 err = tplg_ops->dai_config(sdev, swidget, flags, &data); in sof_widget_free_unlocked() 80 if (tplg_ops && tplg_ops->widget_free) { in sof_widget_free_unlocked() 81 ret = tplg_ops->widget_free(sdev, swidget); in sof_widget_free_unlocked() 137 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_widget_setup_unlocked() local 185 if (tplg_ops && tplg_ops->widget_setup) { in sof_widget_setup_unlocked() [all …]
|
H A D | topology.c | 57 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_update_ipc_object() local 62 token_list = tplg_ops ? tplg_ops->token_list : NULL; 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() local 273 if (tplg_ops && tplg_ops->control && tplg_ops->control->set_up_volume_table) in set_up_volume_table() 274 return tplg_ops->control->set_up_volume_table(scontrol, tlv, size); in set_up_volume_table() 500 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_copy_tuples() local 507 token_list = tplg_ops ? tplg_ops->token_list : NULL; in sof_copy_tuples() 1030 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_control_unload() local 1036 if (tplg_ops && tplg_ops->control_free) { in sof_control_unload() 1037 ret = tplg_ops->control_free(sdev, scontrol); in sof_control_unload() [all …]
|
H A D | pm.c | 77 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_resume() local 163 if (tplg_ops && tplg_ops->set_up_all_pipelines) { in sof_resume() 164 ret = tplg_ops->set_up_all_pipelines(sdev, false); in sof_resume() 200 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_suspend() local 218 if (tplg_ops && tplg_ops->tear_down_all_pipelines && (old_state == SOF_DSP_PM_D0)) in sof_suspend() 219 tplg_ops->tear_down_all_pipelines(sdev, false); in sof_suspend()
|
H A D | ipc4.c | 626 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in sof_ipc4_module_notification_handler() local 628 if (tplg_ops->control->update) in sof_ipc4_module_notification_handler() 629 tplg_ops->control->update(sdev, ipc4_msg); in sof_ipc4_module_notification_handler()
|
H A D | ipc3.c | 961 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in ipc3_comp_notification() local 974 if (tplg_ops->control->update) in ipc3_comp_notification() 975 tplg_ops->control->update(sdev, msg_buf); in ipc3_comp_notification()
|
H A D | sof-priv.h | 629 struct snd_soc_tplg_ops *tplg_ops; member
|
/linux/sound/soc/sof/intel/ |
H A D | hda-dai.c | 36 const struct sof_ipc_tplg_ops *tplg_ops; in hda_dai_config() local 44 tplg_ops = sof_ipc_get_ops(sdev, tplg); in hda_dai_config() 46 if (tplg_ops && tplg_ops->dai_config) { in hda_dai_config() 47 ret = tplg_ops->dai_config(sdev, swidget, flags, data); in hda_dai_config()
|