Lines Matching refs:swidget
22 struct snd_sof_widget *swidget; in sof_ipc4_set_get_kcontrol_data() local
26 list_for_each_entry(swidget, &sdev->widget_list, list) { in sof_ipc4_set_get_kcontrol_data()
27 if (swidget->comp_id == scontrol->comp_id) { in sof_ipc4_set_get_kcontrol_data()
43 if (!swidget->use_count) in sof_ipc4_set_get_kcontrol_data()
47 msg->primary |= SOF_IPC4_MOD_INSTANCE(swidget->instance_id); in sof_ipc4_set_get_kcontrol_data()
53 sof_ipc4_set_volume_data(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget, in sof_ipc4_set_volume_data() argument
57 struct sof_ipc4_gain *gain = swidget->private; in sof_ipc4_set_volume_data()
116 struct snd_sof_widget *swidget; in sof_ipc4_volume_put() local
136 list_for_each_entry(swidget, &sdev->widget_list, list) { in sof_ipc4_volume_put()
137 if (swidget->comp_id == scontrol->comp_id) { in sof_ipc4_volume_put()
148 ret = sof_ipc4_set_volume_data(sdev, swidget, scontrol); in sof_ipc4_volume_put()
171 static int sof_ipc4_widget_kcontrol_setup(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) in sof_ipc4_widget_kcontrol_setup() argument
177 if (scontrol->comp_id == swidget->comp_id) { in sof_ipc4_widget_kcontrol_setup()
178 ret = sof_ipc4_set_volume_data(sdev, swidget, scontrol); in sof_ipc4_widget_kcontrol_setup()
181 __func__, scontrol->comp_id, swidget->widget->name); in sof_ipc4_widget_kcontrol_setup()