Home
last modified time | relevance | path

Searched refs:snd_sof_control (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/sound/soc/sof/
Dsof-audio.h87 struct snd_sof_control;
138 bool (*volume_put)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol);
139 int (*volume_get)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol);
140 bool (*switch_put)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol);
141 int (*switch_get)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol);
142 bool (*enum_put)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol);
143 int (*enum_get)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol);
144 int (*bytes_put)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol);
145 int (*bytes_get)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol);
146 int (*bytes_ext_get)(struct snd_sof_control *scontrol,
[all …]
Dcontrol.c22 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_get()
37 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_put()
51 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_info()
74 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_switch_get()
89 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_switch_put()
104 struct snd_sof_control *scontrol = se->dobj.private; in snd_sof_enum_get()
119 struct snd_sof_control *scontrol = se->dobj.private; in snd_sof_enum_put()
134 struct snd_sof_control *scontrol = be->dobj.private; in snd_sof_bytes_get()
149 struct snd_sof_control *scontrol = be->dobj.private; in snd_sof_bytes_put()
165 struct snd_sof_control *scontrol = be->dobj.private; in snd_sof_bytes_ext_put()
[all …]
Dipc3-control.c15 static int sof_ipc3_set_get_kcontrol_data(struct snd_sof_control *scontrol, in sof_ipc3_set_get_kcontrol_data()
127 static void sof_ipc3_refresh_control(struct snd_sof_control *scontrol) in sof_ipc3_refresh_control()
154 static int sof_ipc3_volume_get(struct snd_sof_control *scontrol, in sof_ipc3_volume_get()
172 static bool sof_ipc3_volume_put(struct snd_sof_control *scontrol, in sof_ipc3_volume_put()
205 static int sof_ipc3_switch_get(struct snd_sof_control *scontrol, in sof_ipc3_switch_get()
221 static bool sof_ipc3_switch_put(struct snd_sof_control *scontrol, in sof_ipc3_switch_put()
253 static int sof_ipc3_enum_get(struct snd_sof_control *scontrol, in sof_ipc3_enum_get()
269 static bool sof_ipc3_enum_put(struct snd_sof_control *scontrol, in sof_ipc3_enum_put()
301 static int sof_ipc3_bytes_get(struct snd_sof_control *scontrol, in sof_ipc3_bytes_get()
333 static int sof_ipc3_bytes_put(struct snd_sof_control *scontrol, in sof_ipc3_bytes_put()
[all …]
Dipc4-control.c15 static int sof_ipc4_set_get_kcontrol_data(struct snd_sof_control *scontrol, in sof_ipc4_set_get_kcontrol_data()
87 struct snd_sof_control *scontrol, bool lock) in sof_ipc4_set_volume_data()
143 static bool sof_ipc4_volume_put(struct snd_sof_control *scontrol, in sof_ipc4_volume_put()
189 static int sof_ipc4_volume_get(struct snd_sof_control *scontrol, in sof_ipc4_volume_get()
205 struct snd_sof_control *scontrol, in sof_ipc4_set_get_bytes_data()
234 static int sof_ipc4_bytes_put(struct snd_sof_control *scontrol, in sof_ipc4_bytes_put()
268 static int sof_ipc4_bytes_get(struct snd_sof_control *scontrol, in sof_ipc4_bytes_get()
297 static int sof_ipc4_bytes_ext_put(struct snd_sof_control *scontrol, in sof_ipc4_bytes_ext_put()
370 static int _sof_ipc4_bytes_ext_get(struct snd_sof_control *scontrol, in _sof_ipc4_bytes_ext_get()
427 static int sof_ipc4_bytes_ext_get(struct snd_sof_control *scontrol, in sof_ipc4_bytes_ext_get()
[all …]
Dtopology.c266 static int set_up_volume_table(struct snd_sof_control *scontrol, in set_up_volume_table()
817 struct snd_sof_control *scontrol, in sof_control_load_volume()
897 struct snd_sof_control *scontrol, in sof_control_load_enum()
919 struct snd_sof_control *scontrol, in sof_control_load_bytes()
956 struct snd_sof_control *scontrol; in sof_control_load()
1029 struct snd_sof_control *scontrol = dobj->private; in sof_control_unload()
1613 struct snd_sof_control *scontrol; in sof_widget_unload()
2134 struct snd_sof_control *scontrol; in sof_set_widget_pipeline()
2161 struct snd_sof_control *scontrol; in sof_complete()
Dipc3-topology.c28 struct snd_sof_control *control;
721 struct snd_sof_control *scontrol; in sof_ipc3_widget_setup_comp_pga()
1650 static int sof_ipc3_control_load_bytes(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_load_bytes()
1713 static int sof_ipc3_control_load_volume(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_load_volume()
1745 static int sof_ipc3_control_load_enum(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_load_enum()
1763 static int sof_ipc3_control_setup(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_setup()
1782 static int sof_ipc3_control_free(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_free()
Dipc4-topology.c375 struct snd_sof_control *scontrol; in sof_ipc4_widget_update_kcontrol_module_id()
2084 static int sof_ipc4_control_load_volume(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc4_control_load_volume()
2116 static int sof_ipc4_control_load_bytes(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc4_control_load_bytes()
2181 static int sof_ipc4_control_setup(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc4_control_setup()