/kernel/linux/linux-6.6/sound/soc/sof/ |
H A D | ipc4-topology.c | 184 sof_ipc4_get_input_pin_audio_fmt(struct snd_sof_widget *swidget, int pin_index) in sof_ipc4_get_input_pin_audio_fmt() argument 190 if (swidget->id != snd_soc_dapm_effect) { in sof_ipc4_get_input_pin_audio_fmt() 191 struct sof_ipc4_base_module_cfg *base = swidget->private; in sof_ipc4_get_input_pin_audio_fmt() 197 process = swidget->private; in sof_ipc4_get_input_pin_audio_fmt() 215 * sof_ipc4_get_audio_fmt - get available audio formats from swidget->tuples 217 * @swidget: pointer to struct snd_sof_widget containing tuples 224 struct snd_sof_widget *swidget, in sof_ipc4_get_audio_fmt() 233 SOF_AUDIO_FMT_NUM_TOKENS, swidget->tuples, in sof_ipc4_get_audio_fmt() 234 swidget->num_tuples, sizeof(*available_fmt), 1); in sof_ipc4_get_audio_fmt() 250 ret = sof_update_ipc_object(scomp, module_base_cfg, SOF_COMP_TOKENS, swidget in sof_ipc4_get_audio_fmt() 223 sof_ipc4_get_audio_fmt(struct snd_soc_component *scomp, struct snd_sof_widget *swidget, struct sof_ipc4_available_audio_format *available_fmt, struct sof_ipc4_base_module_cfg *module_base_cfg) sof_ipc4_get_audio_fmt() argument 325 sof_ipc4_widget_free_comp_pipeline(struct snd_sof_widget *swidget) sof_ipc4_widget_free_comp_pipeline() argument 330 sof_ipc4_widget_set_module_info(struct snd_sof_widget *swidget) sof_ipc4_widget_set_module_info() argument 345 sof_ipc4_widget_setup_msg(struct snd_sof_widget *swidget, struct sof_ipc4_msg *msg) sof_ipc4_widget_setup_msg() argument 370 sof_ipc4_widget_update_kcontrol_module_id(struct snd_sof_widget *swidget) sof_ipc4_widget_update_kcontrol_module_id() argument 388 sof_ipc4_widget_setup_pcm(struct snd_sof_widget *swidget) sof_ipc4_widget_setup_pcm() argument 471 sof_ipc4_widget_free_comp_pcm(struct snd_sof_widget *swidget) sof_ipc4_widget_free_comp_pcm() argument 486 sof_ipc4_widget_setup_comp_dai(struct snd_sof_widget *swidget) sof_ipc4_widget_setup_comp_dai() argument 626 sof_ipc4_widget_free_comp_dai(struct snd_sof_widget *swidget) sof_ipc4_widget_free_comp_dai() argument 653 sof_ipc4_widget_setup_comp_pipeline(struct snd_sof_widget *swidget) sof_ipc4_widget_setup_comp_pipeline() argument 712 sof_ipc4_widget_setup_comp_pga(struct snd_sof_widget *swidget) sof_ipc4_widget_setup_comp_pga() argument 757 sof_ipc4_widget_free_comp_pga(struct snd_sof_widget *swidget) sof_ipc4_widget_free_comp_pga() argument 769 sof_ipc4_widget_setup_comp_mixer(struct snd_sof_widget *swidget) sof_ipc4_widget_setup_comp_mixer() argument 800 sof_ipc4_widget_setup_comp_src(struct snd_sof_widget *swidget) sof_ipc4_widget_setup_comp_src() argument 843 sof_ipc4_widget_free_comp_src(struct snd_sof_widget *swidget) sof_ipc4_widget_free_comp_src() argument 855 sof_ipc4_widget_free_comp_mixer(struct snd_sof_widget *swidget) sof_ipc4_widget_free_comp_mixer() argument 870 sof_ipc4_widget_setup_comp_process(struct snd_sof_widget *swidget) sof_ipc4_widget_setup_comp_process() argument 946 sof_ipc4_widget_free_comp_process(struct snd_sof_widget *swidget) sof_ipc4_widget_free_comp_process() argument 961 sof_ipc4_update_resource_usage(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget, struct sof_ipc4_base_module_cfg *base_config) sof_ipc4_update_resource_usage() argument 1009 sof_ipc4_widget_assign_instance_id(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) sof_ipc4_widget_assign_instance_id() argument 1154 sof_ipc4_init_input_audio_fmt(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget, struct sof_ipc4_base_module_cfg *base_config, struct snd_pcm_hw_params *params, struct sof_ipc4_available_audio_format *available_fmt) sof_ipc4_init_input_audio_fmt() argument 1226 sof_ipc4_unprepare_copier_module(struct snd_sof_widget *swidget) sof_ipc4_unprepare_copier_module() argument 1409 sof_ipc4_prepare_copier_module(struct snd_sof_widget *swidget, struct snd_pcm_hw_params *fe_params, struct snd_sof_platform_stream_params *platform_params, struct snd_pcm_hw_params *pipeline_params, int dir) sof_ipc4_prepare_copier_module() argument 1812 sof_ipc4_prepare_gain_module(struct snd_sof_widget *swidget, struct snd_pcm_hw_params *fe_params, struct snd_sof_platform_stream_params *platform_params, struct snd_pcm_hw_params *pipeline_params, int dir) sof_ipc4_prepare_gain_module() argument 1849 sof_ipc4_prepare_mixer_module(struct snd_sof_widget *swidget, struct snd_pcm_hw_params *fe_params, struct snd_sof_platform_stream_params *platform_params, struct snd_pcm_hw_params *pipeline_params, int dir) sof_ipc4_prepare_mixer_module() argument 1886 sof_ipc4_prepare_src_module(struct snd_sof_widget *swidget, struct snd_pcm_hw_params *fe_params, struct snd_sof_platform_stream_params *platform_params, struct snd_pcm_hw_params *pipeline_params, int dir) sof_ipc4_prepare_src_module() argument 1950 sof_ipc4_process_set_pin_formats(struct snd_sof_widget *swidget, int pin_type) sof_ipc4_process_set_pin_formats() argument 2013 sof_ipc4_process_add_base_cfg_extn(struct snd_sof_widget *swidget) sof_ipc4_process_add_base_cfg_extn() argument 2027 sof_ipc4_prepare_process_module(struct snd_sof_widget *swidget, struct snd_pcm_hw_params *fe_params, struct snd_sof_platform_stream_params *platform_params, struct snd_pcm_hw_params *pipeline_params, int dir) sof_ipc4_prepare_process_module() argument 2208 sof_ipc4_widget_setup(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) sof_ipc4_widget_setup() argument 2366 sof_ipc4_widget_free(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) sof_ipc4_widget_free() argument 2474 sof_ipc4_put_queue_id(struct snd_sof_widget *swidget, int queue_id, bool pin_type) sof_ipc4_put_queue_id() argument 2702 sof_ipc4_dai_config(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget, unsigned int flags, struct snd_sof_dai_config_data *data) sof_ipc4_dai_config() argument [all...] |
H A D | sof-audio.c | 46 struct snd_sof_widget *swidget) in sof_widget_free_unlocked() 49 struct snd_sof_pipeline *spipe = swidget->spipe; in sof_widget_free_unlocked() 54 if (!swidget->private) in sof_widget_free_unlocked() 57 trace_sof_widget_free(swidget); in sof_widget_free_unlocked() 60 if (--swidget->use_count) in sof_widget_free_unlocked() 63 pipe_widget = swidget->spipe->pipe_widget; in sof_widget_free_unlocked() 66 sof_reset_route_setup_status(sdev, swidget); in sof_widget_free_unlocked() 69 if (WIDGET_IS_DAI(swidget->id)) { in sof_widget_free_unlocked() 76 err = tplg_ops->dai_config(sdev, swidget, flags, &data); in sof_widget_free_unlocked() 79 swidget in sof_widget_free_unlocked() 45 sof_widget_free_unlocked(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) sof_widget_free_unlocked() argument 125 sof_widget_free(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) sof_widget_free() argument 137 sof_widget_setup_unlocked(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) sof_widget_setup_unlocked() argument 244 sof_widget_setup(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) sof_widget_setup() argument 356 struct snd_sof_widget *swidget; sof_setup_pipeline_connections() local 413 struct snd_sof_widget *swidget = widget->dobj.private; sof_unprepare_widgets_in_path() local 452 struct snd_sof_widget *swidget = widget->dobj.private; sof_prepare_widgets_in_path() local 552 struct snd_sof_widget *swidget = widget->dobj.private; sof_set_up_widgets_in_path() local 720 struct snd_sof_widget *swidget = widget->dobj.private; sof_widget_list_setup() local 924 struct snd_sof_widget *swidget; snd_sof_find_swidget() local 940 struct snd_sof_widget *swidget; snd_sof_find_swidget_sname() local [all...] |
H A D | ipc3-topology.c | 329 * @swidget: pointer to struct snd_sof_widget containing extended data 336 static void *sof_comp_alloc(struct snd_sof_widget *swidget, size_t *ipc_size, in sof_comp_alloc() argument 341 size_t ext_size = sizeof(swidget->uuid); in sof_comp_alloc() 344 if (!guid_is_null(&swidget->uuid)) in sof_comp_alloc() 354 comp->id = swidget->comp_id; in sof_comp_alloc() 356 comp->core = swidget->core; in sof_comp_alloc() 361 memcpy((u8 *)comp + *ipc_size, &swidget->uuid, ext_size); in sof_comp_alloc() 377 static int sof_ipc3_widget_setup_comp_host(struct snd_sof_widget *swidget) in sof_ipc3_widget_setup_comp_host() argument 379 struct snd_soc_component *scomp = swidget->scomp; in sof_ipc3_widget_setup_comp_host() 384 host = sof_comp_alloc(swidget, in sof_ipc3_widget_setup_comp_host() 421 sof_ipc3_widget_free_comp(struct snd_sof_widget *swidget) sof_ipc3_widget_free_comp() argument 426 sof_ipc3_widget_setup_comp_tone(struct snd_sof_widget *swidget) sof_ipc3_widget_setup_comp_tone() argument 459 sof_ipc3_widget_setup_comp_mixer(struct snd_sof_widget *swidget) sof_ipc3_widget_setup_comp_mixer() argument 493 sof_ipc3_widget_setup_comp_pipeline(struct snd_sof_widget *swidget) sof_ipc3_widget_setup_comp_pipeline() argument 560 sof_ipc3_widget_setup_comp_buffer(struct snd_sof_widget *swidget) sof_ipc3_widget_setup_comp_buffer() argument 595 sof_ipc3_widget_setup_comp_src(struct snd_sof_widget *swidget) sof_ipc3_widget_setup_comp_src() argument 636 sof_ipc3_widget_setup_comp_asrc(struct snd_sof_widget *swidget) sof_ipc3_widget_setup_comp_asrc() argument 682 sof_ipc3_widget_setup_comp_mux(struct snd_sof_widget *swidget) sof_ipc3_widget_setup_comp_mux() argument 718 sof_ipc3_widget_setup_comp_pga(struct snd_sof_widget *swidget) sof_ipc3_widget_setup_comp_pga() argument 856 sof_process_load(struct snd_soc_component *scomp, struct snd_sof_widget *swidget, int type) sof_process_load() argument 956 sof_widget_update_ipc_comp_process(struct snd_sof_widget *swidget) sof_widget_update_ipc_comp_process() argument 1470 sof_ipc3_widget_setup_comp_dai(struct snd_sof_widget *swidget) sof_ipc3_widget_setup_comp_dai() argument 1603 sof_ipc3_widget_free_comp_dai(struct snd_sof_widget *swidget) sof_ipc3_widget_free_comp_dai() argument 1797 sof_ipc3_keyword_detect_pcm_params(struct snd_sof_widget *swidget, int dir) sof_ipc3_keyword_detect_pcm_params() argument 1853 sof_ipc3_keyword_detect_trigger(struct snd_sof_widget *swidget, int cmd) sof_ipc3_keyword_detect_trigger() argument 1876 struct snd_sof_widget *swidget = w->dobj.private; sof_ipc3_keyword_dapm_event() local 1951 sof_ipc3_widget_bind_event(struct snd_soc_component *scomp, struct snd_sof_widget *swidget, u16 event_type) sof_ipc3_widget_bind_event() argument 1980 sof_ipc3_complete_pipeline(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) sof_ipc3_complete_pipeline() argument 2000 sof_ipc3_widget_free(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) sof_ipc3_widget_free() argument 2035 sof_ipc3_dai_config(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget, unsigned int flags, struct snd_sof_dai_config_data *data) sof_ipc3_dai_config() argument 2129 sof_ipc3_widget_setup(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) sof_ipc3_widget_setup() argument 2173 struct snd_sof_widget *swidget; sof_ipc3_set_up_all_pipelines() local 2274 struct snd_sof_widget *swidget; sof_tear_down_left_over_pipelines() local 2316 struct snd_sof_widget *swidget; sof_ipc3_free_widgets_in_list() local 2357 struct snd_sof_widget *swidget; sof_ipc3_tear_down_all_pipelines() local [all...] |
H A D | topology.c | 1186 static int sof_widget_parse_tokens(struct snd_soc_component *scomp, struct snd_sof_widget *swidget, in sof_widget_parse_tokens() argument 1203 dev_err(scomp->dev, "No token list for widget %s\n", swidget->widget->name); in sof_widget_parse_tokens() 1212 swidget->tuples = kcalloc(num_tuples, sizeof(*swidget->tuples), GFP_KERNEL); in sof_widget_parse_tokens() 1213 if (!swidget->tuples) in sof_widget_parse_tokens() 1222 object_token_list[i], swidget->widget->name); in sof_widget_parse_tokens() 1229 /* parse and save UUID in swidget */ in sof_widget_parse_tokens() 1230 ret = sof_parse_tokens(scomp, swidget, in sof_widget_parse_tokens() 1237 swidget->widget->name); in sof_widget_parse_tokens() 1244 swidget in sof_widget_parse_tokens() 1297 sof_free_pin_binding(struct snd_sof_widget *swidget, bool pin_type) sof_free_pin_binding() argument 1320 sof_parse_pin_binding(struct snd_sof_widget *swidget, struct snd_soc_tplg_private *priv, bool pin_type) sof_parse_pin_binding() argument 1394 struct snd_sof_widget *swidget; sof_widget_ready() local 1614 struct snd_sof_widget *swidget; sof_widget_unload() local 2132 sof_set_widget_pipeline(struct snd_sof_dev *sdev, struct snd_sof_pipeline *spipe, struct snd_sof_widget *swidget) sof_set_widget_pipeline() argument 2183 struct snd_sof_widget *swidget; sof_complete() local 2347 struct snd_sof_widget *swidget; sof_dspless_widget_ready() local 2379 struct snd_sof_widget *swidget = dobj->private; sof_dspless_widget_unload() local [all...] |
H A D | ipc4-control.c | 23 struct snd_sof_widget *swidget; in sof_ipc4_set_get_kcontrol_data() local 28 list_for_each_entry(swidget, &sdev->widget_list, list) { in sof_ipc4_set_get_kcontrol_data() 29 if (swidget->comp_id == scontrol->comp_id) { in sof_ipc4_set_get_kcontrol_data() 41 mutex_lock(&swidget->setup_mutex); in sof_ipc4_set_get_kcontrol_data() 43 lockdep_assert_held(&swidget->setup_mutex); in sof_ipc4_set_get_kcontrol_data() 50 if (!swidget->use_count) in sof_ipc4_set_get_kcontrol_data() 54 msg->primary |= SOF_IPC4_MOD_INSTANCE(swidget->instance_id); in sof_ipc4_set_get_kcontrol_data() 80 mutex_unlock(&swidget->setup_mutex); in sof_ipc4_set_get_kcontrol_data() 86 sof_ipc4_set_volume_data(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget, in sof_ipc4_set_volume_data() argument 90 struct sof_ipc4_gain *gain = swidget in sof_ipc4_set_volume_data() 150 struct snd_sof_widget *swidget; sof_ipc4_volume_put() local 442 sof_ipc4_widget_kcontrol_setup(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) sof_ipc4_widget_kcontrol_setup() argument [all...] |
H A D | ipc3-control.c | 22 struct snd_sof_widget *swidget; in sof_ipc3_set_get_kcontrol_data() local 27 list_for_each_entry(swidget, &sdev->widget_list, list) { in sof_ipc3_set_get_kcontrol_data() 28 if (swidget->comp_id == scontrol->comp_id) { in sof_ipc3_set_get_kcontrol_data() 41 mutex_lock(&swidget->setup_mutex); in sof_ipc3_set_get_kcontrol_data() 43 lockdep_assert_held(&swidget->setup_mutex); in sof_ipc3_set_get_kcontrol_data() 50 if (!swidget->use_count) in sof_ipc3_set_get_kcontrol_data() 122 mutex_unlock(&swidget->setup_mutex); in sof_ipc3_set_get_kcontrol_data() 555 struct snd_sof_widget *swidget; in sof_ipc3_control_update() local 570 /* Find the swidget first */ in sof_ipc3_control_update() 571 list_for_each_entry(swidget, in sof_ipc3_control_update() 662 sof_ipc3_widget_kcontrol_setup(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) sof_ipc3_widget_kcontrol_setup() argument [all...] |
H A D | sof-audio.h | 154 /* Optional callback to setup kcontrols associated with an swidget */ 155 int (*widget_kcontrol_setup)(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget); 172 int (*ipc_setup)(struct snd_sof_widget *swidget); 173 void (*ipc_free)(struct snd_sof_widget *swidget); 176 int (*bind_event)(struct snd_soc_component *scomp, struct snd_sof_widget *swidget, 178 int (*ipc_prepare)(struct snd_sof_widget *swidget, 182 void (*ipc_unprepare)(struct snd_sof_widget *swidget); 218 int (*pipeline_complete)(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget); 219 int (*widget_setup)(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget); 220 int (*widget_free)(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget); [all...] |
H A D | ipc4-pcm.c | 554 struct snd_sof_widget *swidget = w->dobj.private; in sof_ipc4_pcm_dai_link_fixup() local 555 struct snd_sof_widget *pipe_widget = swidget->spipe->pipe_widget; in sof_ipc4_pcm_dai_link_fixup() 651 struct snd_sof_widget *swidget = widget->dobj.private; in sof_ipc4_build_time_info() local 653 if (!swidget) in sof_ipc4_build_time_info() 656 if (WIDGET_IS_AIF(swidget->widget->id)) { in sof_ipc4_build_time_info() 657 host_copier = swidget->private; in sof_ipc4_build_time_info() 658 } else if (WIDGET_IS_DAI(swidget->widget->id)) { in sof_ipc4_build_time_info() 659 dai = swidget->private; in sof_ipc4_build_time_info()
|
/kernel/linux/linux-5.10/sound/soc/sof/ |
H A D | sof-audio.c | 148 const struct snd_sof_widget *swidget; in snd_sof_pipeline_find() local 150 list_for_each_entry(swidget, &sdev->widget_list, list) in snd_sof_pipeline_find() 151 if (swidget->id == snd_soc_dapm_scheduler) { in snd_sof_pipeline_find() 153 swidget->private; in snd_sof_pipeline_find() 164 struct snd_sof_widget *swidget; in sof_restore_pipelines() local 174 list_for_each_entry_reverse(swidget, &sdev->widget_list, list) { in sof_restore_pipelines() 178 if (!swidget->private) in sof_restore_pipelines() 181 ret = sof_pipeline_core_enable(sdev, swidget); in sof_restore_pipelines() 190 switch (swidget->id) { in sof_restore_pipelines() 199 dai = swidget in sof_restore_pipelines() 389 struct snd_sof_widget *swidget; snd_sof_find_swidget() local 405 struct snd_sof_widget *swidget; snd_sof_find_swidget_sname() local [all...] |
H A D | topology.c | 58 static int ipc_pcm_params(struct snd_sof_widget *swidget, int dir) in ipc_pcm_params() argument 61 struct snd_soc_component *scomp = swidget->scomp; in ipc_pcm_params() 71 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in ipc_pcm_params() 74 swidget->widget->name); in ipc_pcm_params() 83 pcm.comp_id = swidget->comp_id; in ipc_pcm_params() 112 swidget->widget->name); in ipc_pcm_params() 118 static int ipc_trigger(struct snd_sof_widget *swidget, int cmd) in ipc_trigger() argument 120 struct snd_soc_component *scomp = swidget->scomp; in ipc_trigger() 129 stream.comp_id = swidget->comp_id; in ipc_trigger() 136 swidget in ipc_trigger() 144 struct snd_sof_widget *swidget = w->dobj.private; sof_keyword_dapm_event() local 1359 sof_pipeline_core_enable(struct snd_sof_dev *sdev, const struct snd_sof_widget *swidget) sof_pipeline_core_enable() argument 1471 sof_comp_alloc(struct snd_sof_widget *swidget, size_t *ipc_size, int index) sof_comp_alloc() argument 1505 sof_widget_load_dai(struct snd_soc_component *scomp, int index, struct snd_sof_widget *swidget, struct snd_soc_tplg_dapm_widget *tw, struct sof_ipc_comp_reply *r, struct snd_sof_dai *dai) sof_widget_load_dai() argument 1571 sof_widget_load_buffer(struct snd_soc_component *scomp, int index, struct snd_sof_widget *swidget, struct snd_soc_tplg_dapm_widget *tw, struct sof_ipc_comp_reply *r) sof_widget_load_buffer() argument 1642 sof_widget_load_pcm(struct snd_soc_component *scomp, int index, struct snd_sof_widget *swidget, enum sof_ipc_stream_direction dir, struct snd_soc_tplg_dapm_widget *tw, struct sof_ipc_comp_reply *r) sof_widget_load_pcm() argument 1717 sof_widget_load_pipeline(struct snd_soc_component *scomp, int index, struct snd_sof_widget *swidget, struct snd_soc_tplg_dapm_widget *tw, struct sof_ipc_comp_reply *r) sof_widget_load_pipeline() argument 1779 sof_widget_load_mixer(struct snd_soc_component *scomp, int index, struct snd_sof_widget *swidget, struct snd_soc_tplg_dapm_widget *tw, struct sof_ipc_comp_reply *r) sof_widget_load_mixer() argument 1824 sof_widget_load_mux(struct snd_soc_component *scomp, int index, struct snd_sof_widget *swidget, struct snd_soc_tplg_dapm_widget *tw, struct sof_ipc_comp_reply *r) sof_widget_load_mux() argument 1870 sof_widget_load_pga(struct snd_soc_component *scomp, int index, struct snd_sof_widget *swidget, struct snd_soc_tplg_dapm_widget *tw, struct sof_ipc_comp_reply *r) sof_widget_load_pga() argument 1946 sof_widget_load_src(struct snd_soc_component *scomp, int index, struct snd_sof_widget *swidget, struct snd_soc_tplg_dapm_widget *tw, struct sof_ipc_comp_reply *r) sof_widget_load_src() argument 2003 sof_widget_load_asrc(struct snd_soc_component *scomp, int index, struct snd_sof_widget *swidget, struct snd_soc_tplg_dapm_widget *tw, struct sof_ipc_comp_reply *r) sof_widget_load_asrc() argument 2062 sof_widget_load_siggen(struct snd_soc_component *scomp, int index, struct snd_sof_widget *swidget, struct snd_soc_tplg_dapm_widget *tw, struct sof_ipc_comp_reply *r) sof_widget_load_siggen() argument 2187 sof_process_load(struct snd_soc_component *scomp, int index, struct snd_sof_widget *swidget, struct snd_soc_tplg_dapm_widget *tw, struct sof_ipc_comp_reply *r, int type) sof_process_load() argument 2307 sof_widget_load_process(struct snd_soc_component *scomp, int index, struct snd_sof_widget *swidget, struct snd_soc_tplg_dapm_widget *tw, struct sof_ipc_comp_reply *r) sof_widget_load_process() argument 2346 sof_widget_bind_event(struct snd_soc_component *scomp, struct snd_sof_widget *swidget, u16 event_type) sof_widget_bind_event() argument 2384 struct snd_sof_widget *swidget; sof_widget_ready() local 2564 struct snd_sof_widget *swidget; sof_widget_unload() local 3583 snd_sof_complete_pipeline(struct device *dev, struct snd_sof_widget *swidget) snd_sof_complete_pipeline() argument 3611 struct snd_sof_widget *swidget; sof_complete() local [all...] |
H A D | sof-audio.h | 155 struct snd_sof_widget *swidget); 161 const struct snd_sof_widget *swidget);
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | sof.h | 19 TP_PROTO(struct snd_sof_widget *swidget), 20 TP_ARGS(swidget), 22 __string(name, swidget->widget->name) 26 __assign_str(name, swidget->widget->name); 27 __entry->use_count = swidget->use_count; 33 TP_PROTO(struct snd_sof_widget *swidget), 34 TP_ARGS(swidget) 38 TP_PROTO(struct snd_sof_widget *swidget), 39 TP_ARGS(swidget)
|
/kernel/linux/linux-6.6/sound/soc/sof/intel/ |
H A D | hda-dai-ops.c | 130 struct snd_sof_widget *swidget; in hda_ipc4_get_hext_stream() local 134 swidget = w->dobj.private; in hda_ipc4_get_hext_stream() 135 pipe_widget = swidget->spipe->pipe_widget; in hda_ipc4_get_hext_stream() 313 struct snd_sof_widget *swidget; in hda_ipc4_pre_trigger() local 318 swidget = w->dobj.private; in hda_ipc4_pre_trigger() 319 pipe_widget = swidget->spipe->pipe_widget; in hda_ipc4_pre_trigger() 379 struct snd_sof_widget *swidget; in hda_ipc4_post_trigger() local 384 swidget = w->dobj.private; in hda_ipc4_post_trigger() 385 pipe_widget = swidget->spipe->pipe_widget; in hda_ipc4_post_trigger() 408 swidget in hda_ipc4_post_trigger() 442 struct snd_sof_widget *swidget = w->dobj.private; sdw_hda_ipc4_get_hext_stream() local 601 hda_select_dai_widget_ops(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) hda_select_dai_widget_ops() argument [all...] |
H A D | hda-dai.c | 34 struct snd_sof_widget *swidget = w->dobj.private; in widget_to_sdev() local 35 struct snd_soc_component *component = swidget->scomp; in widget_to_sdev() 43 struct snd_sof_widget *swidget = w->dobj.private; in hda_dai_config() local 48 if (!swidget) in hda_dai_config() 55 ret = tplg_ops->dai_config(sdev, swidget, flags, data); in hda_dai_config() 80 struct snd_sof_widget *swidget = w->dobj.private; in hda_dai_get_ops() local 87 * The swidget parameter of hda_select_dai_widget_ops() is ignored in in hda_dai_get_ops() 93 sdai = swidget->private; in hda_dai_get_ops() 98 hda_select_dai_widget_ops(sdev, swidget); in hda_dai_get_ops() 336 struct snd_sof_widget *swidget in widget_to_copier() local 523 struct snd_sof_widget *swidget; hda_dai_suspend() local [all...] |
H A D | hda.h | 984 hda_select_dai_widget_ops(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget);
|