Home
last modified time | relevance | path

Searched refs:scomp (Results 1 – 13 of 13) sorted by relevance

/linux/sound/soc/sof/
H A Dcontrol.c23 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_volume_get() local
24 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_volume_get()
38 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_volume_put() local
39 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_volume_put()
75 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_switch_get() local
76 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_switch_get()
90 struct snd_soc_component *scomp in snd_sof_switch_put() local
105 struct snd_soc_component *scomp = scontrol->scomp; snd_sof_enum_get() local
120 struct snd_soc_component *scomp = scontrol->scomp; snd_sof_enum_put() local
135 struct snd_soc_component *scomp = scontrol->scomp; snd_sof_bytes_get() local
150 struct snd_soc_component *scomp = scontrol->scomp; snd_sof_bytes_put() local
166 struct snd_soc_component *scomp = scontrol->scomp; snd_sof_bytes_ext_put() local
185 struct snd_soc_component *scomp = scontrol->scomp; snd_sof_bytes_ext_volatile_get() local
212 struct snd_soc_component *scomp = scontrol->scomp; snd_sof_bytes_ext_get() local
[all...]
H A Dtopology.c53 * @scomp: pointer to SOC component
63 int sof_update_ipc_object(struct snd_soc_component *scomp, void *object, enum sof_tokens token_id, in sof_update_ipc_object()
67 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_update_ipc_object()
79 dev_err(scomp->dev, "Invalid token count for token ID: %d\n", token_id); in sof_update_ipc_object()
89 dev_err(scomp->dev, "Invalid tokens for token id: %d\n", token_id); in sof_update_ipc_object()
120 dev_err(scomp->dev, in sof_update_ipc_object()
280 struct snd_soc_component *scomp = scontrol->scomp; in set_up_volume_table()
281 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in set_up_volume_table()
287 dev_err(scomp
56 sof_update_ipc_object(struct snd_soc_component * scomp,void * object,enum sof_tokens token_id,struct snd_sof_tuple * tuples,int num_tuples,size_t object_size,int token_instance_num) sof_update_ipc_object() argument
273 struct snd_soc_component *scomp = scontrol->scomp; set_up_volume_table() local
456 sof_parse_uuid_tokens(struct snd_soc_component * scomp,void * object,size_t offset,const struct sof_topology_token * tokens,int num_tokens,struct snd_soc_tplg_vendor_array * array) sof_parse_uuid_tokens() argument
627 sof_parse_string_tokens(struct snd_soc_component * scomp,void * object,int offset,const struct sof_topology_token * tokens,int num_tokens,struct snd_soc_tplg_vendor_array * array) sof_parse_string_tokens() argument
673 sof_parse_word_tokens(struct snd_soc_component * scomp,void * object,int offset,const struct sof_topology_token * tokens,int num_tokens,struct snd_soc_tplg_vendor_array * array) sof_parse_word_tokens() argument
724 sof_parse_token_sets(struct snd_soc_component * scomp,void * object,const struct sof_topology_token * tokens,int count,struct snd_soc_tplg_vendor_array * array,int array_size,int token_instance_num,size_t object_size) sof_parse_token_sets() argument
810 sof_parse_tokens(struct snd_soc_component * scomp,void * object,const struct sof_topology_token * tokens,int num_tokens,struct snd_soc_tplg_vendor_array * array,int array_size) sof_parse_tokens() argument
830 sof_control_load_volume(struct snd_soc_component * scomp,struct snd_sof_control * scontrol,struct snd_kcontrol_new * kc,struct snd_soc_tplg_ctl_hdr * hdr) sof_control_load_volume() argument
910 sof_control_load_enum(struct snd_soc_component * scomp,struct snd_sof_control * scontrol,struct snd_kcontrol_new * kc,struct snd_soc_tplg_ctl_hdr * hdr) sof_control_load_enum() argument
932 sof_control_load_bytes(struct snd_soc_component * scomp,struct snd_sof_control * scontrol,struct snd_kcontrol_new * kc,struct snd_soc_tplg_ctl_hdr * hdr) sof_control_load_bytes() argument
961 sof_control_load(struct snd_soc_component * scomp,int index,struct snd_kcontrol_new * kc,struct snd_soc_tplg_ctl_hdr * hdr) sof_control_load() argument
1040 sof_control_unload(struct snd_soc_component * scomp,struct snd_soc_dobj * dobj) sof_control_unload() argument
1070 sof_connect_dai_widget(struct snd_soc_component * scomp,struct snd_soc_dapm_widget * w,struct snd_soc_tplg_dapm_widget * tw,struct snd_sof_dai * dai) sof_connect_dai_widget() argument
1141 sof_disconnect_dai_widget(struct snd_soc_component * scomp,struct snd_soc_dapm_widget * w) sof_disconnect_dai_widget() argument
1175 spcm_bind(struct snd_soc_component * scomp,struct snd_sof_pcm * spcm,int dir) spcm_bind() argument
1212 sof_widget_parse_tokens(struct snd_soc_component * scomp,struct snd_sof_widget * swidget,struct snd_soc_tplg_dapm_widget * tw,enum sof_tokens * object_token_list,int count) sof_widget_parse_tokens() argument
1411 sof_widget_ready(struct snd_soc_component * scomp,int index,struct snd_soc_dapm_widget * w,struct snd_soc_tplg_dapm_widget * tw) sof_widget_ready() argument
1613 sof_route_unload(struct snd_soc_component * scomp,struct snd_soc_dobj * dobj) sof_route_unload() argument
1630 sof_widget_unload(struct snd_soc_component * scomp,struct snd_soc_dobj * dobj) sof_widget_unload() argument
1728 sof_dai_load(struct snd_soc_component * scomp,int index,struct snd_soc_dai_driver * dai_drv,struct snd_soc_tplg_pcm * pcm,struct snd_soc_dai * dai) sof_dai_load() argument
1844 sof_dai_unload(struct snd_soc_component * scomp,struct snd_soc_dobj * dobj) sof_dai_unload() argument
1875 sof_link_load(struct snd_soc_component * scomp,int index,struct snd_soc_dai_link * link,struct snd_soc_tplg_link_config * cfg) sof_link_load() argument
2061 sof_link_unload(struct snd_soc_component * scomp,struct snd_soc_dobj * dobj) sof_link_unload() argument
2079 sof_route_load(struct snd_soc_component * scomp,int index,struct snd_soc_dapm_route * route) sof_route_load() argument
2184 sof_complete(struct snd_soc_component * scomp) sof_complete() argument
2271 sof_manifest(struct snd_soc_component * scomp,int index,struct snd_soc_tplg_manifest * man) sof_manifest() argument
2369 sof_dspless_widget_ready(struct snd_soc_component * scomp,int index,struct snd_soc_dapm_widget * w,struct snd_soc_tplg_dapm_widget * tw) sof_dspless_widget_ready() argument
2430 sof_dspless_widget_unload(struct snd_soc_component * scomp,struct snd_soc_dobj * dobj) sof_dspless_widget_unload() argument
2452 sof_dspless_link_load(struct snd_soc_component * scomp,int index,struct snd_soc_dai_link * link,struct snd_soc_tplg_link_config * cfg) sof_dspless_link_load() argument
2486 snd_sof_load_topology(struct snd_soc_component * scomp,const char * file) snd_sof_load_topology() argument
[all...]
H A Dipc3-topology.c401 static void sof_dbg_comp_config(struct snd_soc_component *scomp, struct sof_ipc_comp_config *config) in sof_dbg_comp_config()
403 dev_dbg(scomp->dev, " config: periods snk %d src %d fmt %d\n", in sof_ipc3_widget_setup_comp_host()
410 struct snd_soc_component *scomp = swidget->scomp; in sof_ipc3_widget_setup_comp_host()
430 ret = sof_update_ipc_object(scomp, host, SOF_PCM_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_host()
436 ret = sof_update_ipc_object(scomp, &host->config, SOF_COMP_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_host()
441 dev_dbg(scomp->dev, "loaded host %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_host()
442 sof_dbg_comp_config(scomp, &host->config); in sof_ipc3_widget_setup_comp_host()
459 struct snd_soc_component *scomp = swidget->scomp; in sof_ipc3_widget_setup_comp_tone()
396 sof_dbg_comp_config(struct snd_soc_component * scomp,struct sof_ipc_comp_config * config) sof_dbg_comp_config() argument
405 struct snd_soc_component *scomp = swidget->scomp; sof_ipc3_widget_setup_comp_host() local
454 struct snd_soc_component *scomp = swidget->scomp; sof_ipc3_widget_setup_comp_tone() local
487 struct snd_soc_component *scomp = swidget->scomp; sof_ipc3_widget_setup_comp_mixer() local
521 struct snd_soc_component *scomp = swidget->scomp; sof_ipc3_widget_setup_comp_pipeline() local
588 struct snd_soc_component *scomp = swidget->scomp; sof_ipc3_widget_setup_comp_buffer() local
623 struct snd_soc_component *scomp = swidget->scomp; sof_ipc3_widget_setup_comp_src() local
664 struct snd_soc_component *scomp = swidget->scomp; sof_ipc3_widget_setup_comp_asrc() local
710 struct snd_soc_component *scomp = swidget->scomp; sof_ipc3_widget_setup_comp_mux() local
746 struct snd_soc_component *scomp = swidget->scomp; sof_ipc3_widget_setup_comp_pga() local
800 sof_get_control_data(struct snd_soc_component * scomp,struct snd_soc_dapm_widget * widget,struct sof_widget_data * wdata,size_t * size) sof_get_control_data() argument
882 sof_process_load(struct snd_soc_component * scomp,struct snd_sof_widget * swidget,int type) sof_process_load() argument
984 struct snd_soc_component *scomp = swidget->scomp; sof_widget_update_ipc_comp_process() local
1001 sof_link_hda_load(struct snd_soc_component * scomp,struct snd_sof_dai_link * slink,struct sof_ipc_dai_config * config,struct snd_sof_dai * dai) sof_link_hda_load() argument
1066 sof_link_sai_load(struct snd_soc_component * scomp,struct snd_sof_dai_link * slink,struct sof_ipc_dai_config * config,struct snd_sof_dai * dai) sof_link_sai_load() argument
1117 sof_link_esai_load(struct snd_soc_component * scomp,struct snd_sof_dai_link * slink,struct sof_ipc_dai_config * config,struct snd_sof_dai * dai) sof_link_esai_load() argument
1167 sof_link_micfil_load(struct snd_soc_component * scomp,struct snd_sof_dai_link * slink,struct sof_ipc_dai_config * config,struct snd_sof_dai * dai) sof_link_micfil_load() argument
1198 sof_link_acp_dmic_load(struct snd_soc_component * scomp,struct snd_sof_dai_link * slink,struct sof_ipc_dai_config * config,struct snd_sof_dai * dai) sof_link_acp_dmic_load() argument
1230 sof_link_acp_bt_load(struct snd_soc_component * scomp,struct snd_sof_dai_link * slink,struct sof_ipc_dai_config * config,struct snd_sof_dai * dai) sof_link_acp_bt_load() argument
1263 sof_link_acp_sp_load(struct snd_soc_component * scomp,struct snd_sof_dai_link * slink,struct sof_ipc_dai_config * config,struct snd_sof_dai * dai) sof_link_acp_sp_load() argument
1297 sof_link_acp_hs_load(struct snd_soc_component * scomp,struct snd_sof_dai_link * slink,struct sof_ipc_dai_config * config,struct snd_sof_dai * dai) sof_link_acp_hs_load() argument
1330 sof_link_acp_sdw_load(struct snd_soc_component * scomp,struct snd_sof_dai_link * slink,struct sof_ipc_dai_config * config,struct snd_sof_dai * dai) sof_link_acp_sdw_load() argument
1358 sof_link_afe_load(struct snd_soc_component * scomp,struct snd_sof_dai_link * slink,struct sof_ipc_dai_config * config,struct snd_sof_dai * dai) sof_link_afe_load() argument
1387 sof_link_ssp_load(struct snd_soc_component * scomp,struct snd_sof_dai_link * slink,struct sof_ipc_dai_config * config,struct snd_sof_dai * dai) sof_link_ssp_load() argument
1460 sof_link_dmic_load(struct snd_soc_component * scomp,struct snd_sof_dai_link * slink,struct sof_ipc_dai_config * config,struct snd_sof_dai * dai) sof_link_dmic_load() argument
1532 sof_link_alh_load(struct snd_soc_component * scomp,struct snd_sof_dai_link * slink,struct sof_ipc_dai_config * config,struct snd_sof_dai * dai) sof_link_alh_load() argument
1560 struct snd_soc_component *scomp = swidget->scomp; sof_ipc3_widget_setup_comp_dai() local
1905 struct snd_soc_component *scomp = swidget->scomp; sof_ipc3_keyword_detect_pcm_params() local
1961 struct snd_soc_component *scomp = swidget->scomp; sof_ipc3_keyword_detect_trigger() local
1983 struct snd_soc_component *scomp; sof_ipc3_keyword_dapm_event() local
2057 sof_ipc3_widget_bind_event(struct snd_soc_component * scomp,struct snd_sof_widget * swidget,u16 event_type) sof_ipc3_widget_bind_event() argument
2544 sof_ipc3_parse_manifest(struct snd_soc_component * scomp,int index,struct snd_soc_tplg_manifest * man) sof_ipc3_parse_manifest() argument
[all...]
H A Dipc3-control.c18 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scontrol->scomp); in sof_ipc3_set_get_kcontrol_data()
130 struct snd_soc_component *scomp = scontrol->scomp; in sof_ipc3_refresh_control() local
136 if (!pm_runtime_active(scomp->dev)) in sof_ipc3_refresh_control()
147 dev_err(scomp->dev, "Failed to get control data: %d\n", ret); in sof_ipc3_refresh_control()
176 struct snd_soc_component *scomp = scontrol->scomp; in sof_ipc3_volume_put() local
192 if (pm_runtime_active(scomp->dev)) { in sof_ipc3_volume_put()
196 dev_err(scomp->dev, "Failed to set mixer updates for %s\n", in sof_ipc3_volume_put()
225 struct snd_soc_component *scomp in sof_ipc3_switch_put() local
273 struct snd_soc_component *scomp = scontrol->scomp; sof_ipc3_enum_put() local
305 struct snd_soc_component *scomp = scontrol->scomp; sof_ipc3_bytes_get() local
337 struct snd_soc_component *scomp = scontrol->scomp; sof_ipc3_bytes_put() local
372 struct snd_soc_component *scomp = scontrol->scomp; sof_ipc3_bytes_ext_put() local
459 struct snd_soc_component *scomp = scontrol->scomp; _sof_ipc3_bytes_ext_get() local
525 struct snd_soc_component *scomp = scontrol->scomp; snd_sof_update_control() local
[all...]
H A Dipc4-control.c19 struct snd_soc_component *scomp = scontrol->scomp; in sof_ipc4_set_get_kcontrol_data() local
20 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_set_get_kcontrol_data()
35 dev_err(scomp->dev, "Failed to find widget for kcontrol %s\n", scontrol->name); in sof_ipc4_set_get_kcontrol_data()
145 struct snd_soc_component *scomp = scontrol->scomp; in sof_ipc4_volume_put()
146 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_volume_put()
164 if (!pm_runtime_active(scomp->dev)) in sof_ipc4_volume_put()
176 dev_err(scomp->dev, "Failed to find widget for kcontrol %s\n", scontrol->name); in sof_ipc4_volume_put()
243 struct snd_soc_component *scomp
147 struct snd_soc_component *scomp = scontrol->scomp; sof_ipc4_volume_put() local
246 struct snd_soc_component *scomp = scontrol->scomp; sof_ipc4_refresh_generic_control() local
291 struct snd_soc_component *scomp = scontrol->scomp; sof_ipc4_switch_put() local
350 struct snd_soc_component *scomp = scontrol->scomp; sof_ipc4_enum_put() local
439 struct snd_soc_component *scomp = scontrol->scomp; sof_ipc4_bytes_put() local
473 struct snd_soc_component *scomp = scontrol->scomp; sof_ipc4_bytes_get() local
504 struct snd_soc_component *scomp = scontrol->scomp; sof_ipc4_bytes_ext_put() local
585 struct snd_soc_component *scomp = scontrol->scomp; _sof_ipc4_bytes_ext_get() local
[all...]
H A Dsof-audio.h186 int (*bind_event)(struct snd_soc_component *scomp, struct snd_sof_widget *swidget,
239 int (*parse_manifest)(struct snd_soc_component *scomp, int index,
353 struct snd_soc_component *scomp;
374 struct snd_soc_component *scomp;
423 struct snd_soc_component *scomp;
532 struct snd_soc_component *scomp;
548 struct snd_soc_component *scomp;
598 int snd_sof_load_topology(struct snd_soc_component *scomp, const char *file);
603 int snd_sof_ipc_stream_posn(struct snd_soc_component *scomp, in snd_sof_find_spcm_dai()
607 struct snd_sof_widget *snd_sof_find_swidget(struct snd_soc_component *scomp, in snd_sof_find_spcm_dai()
350 struct snd_soc_component *scomp; global() member
369 struct snd_soc_component *scomp; global() member
418 struct snd_soc_component *scomp; global() member
517 struct snd_soc_component *scomp; global() member
533 struct snd_soc_component *scomp; global() member
601 snd_sof_find_spcm_dai(struct snd_soc_component * scomp,struct snd_soc_pcm_runtime * rtd) snd_sof_find_spcm_dai() argument
[all...]
H A Dipc4-topology.c451 static int sof_ipc4_get_audio_fmt(struct snd_soc_component *scomp, in sof_ipc4_get_audio_fmt() argument
460 ret = sof_update_ipc_object(scomp, available_fmt, in sof_ipc4_get_audio_fmt()
464 dev_err(scomp->dev, "Failed to parse audio format token count\n"); in sof_ipc4_get_audio_fmt()
469 dev_err(scomp->dev, "No input/output pin formats set in topology\n"); in sof_ipc4_get_audio_fmt()
473 dev_dbg(scomp->dev, in sof_ipc4_get_audio_fmt()
478 ret = sof_update_ipc_object(scomp, module_base_cfg, SOF_COMP_TOKENS, swidget->tuples, in sof_ipc4_get_audio_fmt()
481 dev_err(scomp->dev, "parse comp tokens for %s failed, error: %d\n", in sof_ipc4_get_audio_fmt()
486 dev_dbg(scomp->dev, "widget %s: is_pages: %d\n", swidget->widget->name, in sof_ipc4_get_audio_fmt()
496 ret = sof_update_ipc_object(scomp, in_format, in sof_ipc4_get_audio_fmt()
501 dev_err(scomp->dev, "parse input audio fmt tokens failed %d\n", ret); in sof_ipc4_get_audio_fmt()
[all …]
H A Dsof-audio.c909 struct snd_sof_pcm *snd_sof_find_spcm_name(struct snd_soc_component *scomp, in snd_sof_find_spcm_name() argument
912 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_spcm_name()
934 struct snd_sof_pcm *snd_sof_find_spcm_comp(struct snd_soc_component *scomp, in snd_sof_find_spcm_comp() argument
938 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_spcm_comp()
954 struct snd_sof_widget *snd_sof_find_swidget(struct snd_soc_component *scomp, in snd_sof_find_swidget() argument
957 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_swidget()
970 snd_sof_find_swidget_sname(struct snd_soc_component *scomp, in snd_sof_find_swidget_sname() argument
973 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_swidget_sname()
991 struct snd_sof_dai *snd_sof_find_dai(struct snd_soc_component *scomp, in snd_sof_find_dai() argument
994 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_dai()
H A Dpcm.c654 dev_dbg(spcm->scomp->dev, "pcm%u (%s): Entry: pcm_new\n", in sof_pcm_dai_link_fixup()
/linux/sound/soc/qcom/qdsp6/
H A Dtopology.c25 struct snd_soc_component *scomp; member
939 scontrol->scomp = component; in audioreach_widget_ready()
1050 static int audioreach_widget_unload(struct snd_soc_component *scomp, in audioreach_route_load()
1054 struct q6apm *apm = dev_get_drvdata(scomp->dev); in audioreach_route_load()
1137 static int audioreach_route_load(struct snd_soc_component *scomp, int index, in audioreach_is_vmixer_connected()
1146 src_module = audioreach_find_module(scomp, route->source); in audioreach_get_audio_mixer()
1147 sink_module = audioreach_find_module(scomp, route->sink); in audioreach_get_audio_mixer()
1150 control = audioreach_find_widget(scomp, route->source); in audioreach_get_audio_mixer()
1156 control = audioreach_find_widget(scomp, route->sink); in audioreach_get_audio_mixer()
1180 static int audioreach_route_unload(struct snd_soc_component *scomp, in audioreach_put_audio_mixer()
947 audioreach_widget_unload(struct snd_soc_component * scomp,struct snd_soc_dobj * dobj) audioreach_widget_unload() argument
1032 audioreach_route_load(struct snd_soc_component * scomp,int index,struct snd_soc_dapm_route * route) audioreach_route_load() argument
1075 audioreach_route_unload(struct snd_soc_component * scomp,struct snd_soc_dobj * dobj) audioreach_route_unload() argument
1206 audioreach_control_load_mix(struct snd_soc_component * scomp,struct snd_ar_control * scontrol,struct snd_kcontrol_new * kc,const struct snd_soc_tplg_ctl_hdr * hdr) audioreach_control_load_mix() argument
1240 audioreach_control_load(struct snd_soc_component * scomp,int index,struct snd_kcontrol_new * kc,struct snd_soc_tplg_ctl_hdr * hdr) audioreach_control_load() argument
1276 audioreach_control_unload(struct snd_soc_component * scomp,struct snd_soc_dobj * dobj) audioreach_control_unload() argument
[all...]
/linux/drivers/scsi/
H A Dses.c475 struct ses_component *scomp = ecomp->scratch; in ses_process_descriptor() local
520 scomp->addr = addr; in ses_process_descriptor()
534 struct ses_component *scomp; in ses_enclosure_find_by_addr() local
537 scomp = edev->component[i].scratch; in ses_enclosure_find_by_addr()
538 if (scomp->addr != efd->addr) in ses_enclosure_find_by_addr()
700 struct ses_component *scomp = NULL; in ses_intf_add() local
801 scomp = kzalloc_objs(struct ses_component, components); in ses_intf_add()
802 if (!scomp) in ses_intf_add()
817 edev->component[i].scratch = scomp + i; in ses_intf_add()
837 kfree(scomp); in ses_intf_add()
/linux/sound/soc/sof/intel/
H A Dhda-pcm.c191 struct snd_soc_component *scomp = sdev->component; in hda_dsp_pcm_pointer() local
197 spcm = snd_sof_find_spcm_dai(scomp, rtd); in hda_dsp_pcm_pointer()
225 struct snd_soc_component *scomp = sdev->component; in hda_dsp_pcm_open() local
231 spcm = snd_sof_find_spcm_dai(scomp, rtd); in hda_dsp_pcm_open()
/linux/sound/soc/sof/amd/
H A Dacp-pcm.c93 struct snd_soc_component *scomp = sdev->component; in acp_pcm_pointer() local
100 spcm = snd_sof_find_spcm_dai(scomp, rtd); in acp_pcm_pointer()