Home
last modified time | relevance | path

Searched refs:tplg (Results 1 – 9 of 9) sorted by relevance

/linux/sound/soc/
H A Dsoc-topology.c80 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 in soc_tplg_is_eof()
112 soc_tplg_get_hdr_offset(struct soc_tplg * tplg) soc_tplg_get_hdr_offset() argument
117 soc_tplg_get_offset(struct soc_tplg * tplg) soc_tplg_get_offset() argument
185 tplg_chan_get_reg(struct soc_tplg * tplg,struct snd_soc_tplg_channel * chan,int map) tplg_chan_get_reg() argument
198 tplg_chan_get_shift(struct soc_tplg * tplg,struct snd_soc_tplg_channel * chan,int map) tplg_chan_get_shift() argument
223 soc_control_err(struct soc_tplg * tplg,struct snd_soc_tplg_ctl_hdr * hdr,const char * name) soc_control_err() argument
233 soc_tplg_vendor_load(struct soc_tplg * tplg,struct snd_soc_tplg_hdr * hdr) soc_tplg_vendor_load() argument
257 soc_tplg_widget_load(struct soc_tplg * tplg,struct snd_soc_dapm_widget * w,struct snd_soc_tplg_dapm_widget * tplg_w) soc_tplg_widget_load() argument
269 soc_tplg_widget_ready(struct soc_tplg * tplg,struct snd_soc_dapm_widget * w,struct snd_soc_tplg_dapm_widget * tplg_w) soc_tplg_widget_ready() argument
280 soc_tplg_dai_load(struct soc_tplg * tplg,struct snd_soc_dai_driver * dai_drv,struct snd_soc_tplg_pcm * pcm,struct snd_soc_dai * dai) soc_tplg_dai_load() argument
292 soc_tplg_dai_link_load(struct soc_tplg * tplg,struct snd_soc_dai_link * link,struct snd_soc_tplg_link_config * cfg) soc_tplg_dai_link_load() argument
302 soc_tplg_complete(struct soc_tplg * tplg) soc_tplg_complete() argument
335 soc_tplg_add_kcontrol(struct soc_tplg * tplg,struct snd_kcontrol_new * k,struct snd_kcontrol ** kcontrol) soc_tplg_add_kcontrol() argument
461 soc_tplg_kcontrol_bind_io(struct snd_soc_tplg_ctl_hdr * hdr,struct snd_kcontrol_new * k,const struct soc_tplg * tplg) soc_tplg_kcontrol_bind_io() argument
575 soc_tplg_control_load(struct soc_tplg * tplg,struct snd_kcontrol_new * k,struct snd_soc_tplg_ctl_hdr * hdr) soc_tplg_control_load() argument
590 soc_tplg_create_tlv_db_scale(struct soc_tplg * tplg,struct snd_kcontrol_new * kc,struct snd_soc_tplg_tlv_dbscale * scale) soc_tplg_create_tlv_db_scale() argument
610 soc_tplg_create_tlv(struct soc_tplg * tplg,struct snd_kcontrol_new * kc,struct snd_soc_tplg_ctl_hdr * tc) soc_tplg_create_tlv() argument
637 soc_tplg_control_dmixer_create(struct soc_tplg * tplg,struct snd_kcontrol_new * kc) soc_tplg_control_dmixer_create() argument
695 soc_tplg_denum_create_texts(struct soc_tplg * tplg,struct soc_enum * se,struct snd_soc_tplg_enum_control * ec) soc_tplg_denum_create_texts() argument
731 soc_tplg_denum_create_values(struct soc_tplg * tplg,struct soc_enum * se,struct snd_soc_tplg_enum_control * ec) soc_tplg_denum_create_values() argument
761 soc_tplg_control_denum_create(struct soc_tplg * tplg,struct snd_kcontrol_new * kc) soc_tplg_control_denum_create() argument
830 soc_tplg_control_dbytes_create(struct soc_tplg * tplg,struct snd_kcontrol_new * kc) soc_tplg_control_dbytes_create() argument
871 soc_tplg_dbytes_create(struct soc_tplg * tplg,size_t size) soc_tplg_dbytes_create() argument
905 soc_tplg_dmixer_create(struct soc_tplg * tplg,size_t size) soc_tplg_dmixer_create() argument
939 soc_tplg_denum_create(struct soc_tplg * tplg,size_t size) soc_tplg_denum_create() argument
973 soc_tplg_kcontrol_elems_load(struct soc_tplg * tplg,struct snd_soc_tplg_hdr * hdr) soc_tplg_kcontrol_elems_load() argument
1016 soc_tplg_add_route(struct soc_tplg * tplg,struct snd_soc_dapm_route * route) soc_tplg_add_route() argument
1026 soc_tplg_dapm_graph_elems_load(struct soc_tplg * tplg,struct snd_soc_tplg_hdr * hdr) soc_tplg_dapm_graph_elems_load() argument
1097 soc_tplg_dapm_widget_create(struct soc_tplg * tplg,struct snd_soc_tplg_dapm_widget * w) soc_tplg_dapm_widget_create() argument
1257 soc_tplg_dapm_widget_elems_load(struct soc_tplg * tplg,struct snd_soc_tplg_hdr * hdr) soc_tplg_dapm_widget_elems_load() argument
1303 soc_tplg_dapm_complete(struct soc_tplg * tplg) soc_tplg_dapm_complete() argument
1323 set_stream_info(struct soc_tplg * tplg,struct snd_soc_pcm_stream * stream,struct snd_soc_tplg_stream_caps * caps) set_stream_info() argument
1363 soc_tplg_dai_create(struct soc_tplg * tplg,struct snd_soc_tplg_pcm * pcm) soc_tplg_dai_create() argument
1462 soc_tplg_fe_link_create(struct soc_tplg * tplg,struct snd_soc_tplg_pcm * pcm) soc_tplg_fe_link_create() argument
1548 soc_tplg_pcm_create(struct soc_tplg * tplg,struct snd_soc_tplg_pcm * pcm) soc_tplg_pcm_create() argument
1560 soc_tplg_pcm_elems_load(struct soc_tplg * tplg,struct snd_soc_tplg_hdr * hdr) soc_tplg_pcm_elems_load() argument
1721 soc_tplg_link_config(struct soc_tplg * tplg,struct snd_soc_tplg_link_config * cfg) soc_tplg_link_config() argument
1782 soc_tplg_link_elems_load(struct soc_tplg * tplg,struct snd_soc_tplg_hdr * hdr) soc_tplg_link_elems_load() argument
1834 soc_tplg_dai_config(struct soc_tplg * tplg,struct snd_soc_tplg_dai * d) soc_tplg_dai_config() argument
1896 soc_tplg_dai_elems_load(struct soc_tplg * tplg,struct snd_soc_tplg_hdr * hdr) soc_tplg_dai_elems_load() argument
1927 soc_tplg_manifest_load(struct soc_tplg * tplg,struct snd_soc_tplg_hdr * hdr) soc_tplg_manifest_load() argument
1947 soc_tplg_valid_header(struct soc_tplg * tplg,struct snd_soc_tplg_hdr * hdr) soc_tplg_valid_header() argument
2004 soc_tplg_load_header(struct soc_tplg * tplg,struct snd_soc_tplg_hdr * hdr) soc_tplg_load_header() argument
2067 soc_tplg_process_headers(struct soc_tplg * tplg) soc_tplg_process_headers() argument
2110 soc_tplg_load(struct soc_tplg * tplg) soc_tplg_load() argument
2125 struct soc_tplg tplg; snd_soc_tplg_component_load() local
[all...]
/linux/sound/soc/sof/
H A Dcontrol.c25 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 …]
H A Dipc.c200 if (!ops->tplg || !ops->tplg->widget || !ops->tplg->control) { in snd_sof_ipc_init()
H A Dpm.c77 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()
H A Dtopology.c61 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_update_ipc_object()
275 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in set_up_volume_table()
508 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_copy_tuples()
898 dev_dbg(scomp->dev, "tplg: load kcontrol index %d chans %d\n", in sof_control_load_volume()
926 dev_dbg(scomp->dev, "tplg: load kcontrol index %d chans %d comp_id %d\n", in sof_control_load_enum()
946 dev_dbg(scomp->dev, "tplg: load kcontrol index %d\n", scontrol->comp_id); in sof_control_load_bytes()
973 dev_dbg(scomp->dev, "tplg: load control type %d name : %s\n", in sof_control_load()
1042 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_control_unload()
1046 dev_dbg(scomp->dev, "tplg: unload control name : %s\n", scontrol->name); in sof_control_unload()
1125 dev_dbg(scomp->dev, "tplg in sof_connect_dai_widget()
[all...]
H A Dipc4.c661 const struct sof_ipc_tplg_ops *tplg_ops = sdev->ipc->ops->tplg; in sof_ipc4_module_notification_handler()
885 .tplg = &ipc4_tplg_ops,
/linux/sound/soc/intel/avs/
H A Dloader.c635 struct avs_tplg *tplg = acomp->tplg; in avs_load_firmware() local
637 ret = avs_dsp_load_libraries(adev, tplg->libs, tplg->num_libs); in avs_load_firmware()
H A Dpcm.c960 struct avs_tplg *tplg = acomp->tplg; in avs_component_load_libraries() local
964 if (!tplg->num_libs) in avs_component_load_libraries()
976 ret = avs_dsp_load_libraries(adev, tplg->libs, tplg->num_libs); in avs_component_load_libraries()
1004 acomp->tplg = avs_tplg_new(component); in avs_component_probe()
1005 if (!acomp->tplg) in avs_component_probe()
/linux/Documentation/sound/codecs/
H A Dcs35l56.rst137 host CPU audio DSP, together with an ALSA topology file (.tplg).
140 CPU (i.e. Intel or AMD). The .tplg file is normally part of the SOF firmware