Home
last modified time | relevance | path

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

/Linux-v6.1/sound/soc/sof/
Dsof-audio.h75 struct snd_sof_control;
104 bool (*volume_put)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol);
105 int (*volume_get)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol);
106 bool (*switch_put)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol);
107 int (*switch_get)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol);
108 bool (*enum_put)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol);
109 int (*enum_get)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol);
110 int (*bytes_put)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol);
111 int (*bytes_get)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol);
112 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, bool set) in sof_ipc3_set_get_kcontrol_data()
93 static void snd_sof_refresh_control(struct snd_sof_control *scontrol) in snd_sof_refresh_control()
120 static int sof_ipc3_volume_get(struct snd_sof_control *scontrol, in sof_ipc3_volume_get()
138 static bool sof_ipc3_volume_put(struct snd_sof_control *scontrol, in sof_ipc3_volume_put()
171 static int sof_ipc3_switch_get(struct snd_sof_control *scontrol, in sof_ipc3_switch_get()
187 static bool sof_ipc3_switch_put(struct snd_sof_control *scontrol, in sof_ipc3_switch_put()
219 static int sof_ipc3_enum_get(struct snd_sof_control *scontrol, in sof_ipc3_enum_get()
235 static bool sof_ipc3_enum_put(struct snd_sof_control *scontrol, in sof_ipc3_enum_put()
267 static int sof_ipc3_bytes_get(struct snd_sof_control *scontrol, in sof_ipc3_bytes_get()
299 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, bool set) in sof_ipc4_set_get_kcontrol_data()
54 struct snd_sof_control *scontrol) in sof_ipc4_set_volume_data()
109 static bool sof_ipc4_volume_put(struct snd_sof_control *scontrol, in sof_ipc4_volume_put()
155 static int sof_ipc4_volume_get(struct snd_sof_control *scontrol, in sof_ipc4_volume_get()
173 struct snd_sof_control *scontrol; in sof_ipc4_widget_kcontrol_setup()
190 sof_ipc4_set_up_volume_table(struct snd_sof_control *scontrol, int tlv[SOF_TLV_ITEMS], int size) in sof_ipc4_set_up_volume_table()
Dtopology.c261 static int set_up_volume_table(struct snd_sof_control *scontrol, in set_up_volume_table()
762 struct snd_sof_control *scontrol, in sof_control_load_volume()
842 struct snd_sof_control *scontrol, in sof_control_load_enum()
864 struct snd_sof_control *scontrol, in sof_control_load_bytes()
901 struct snd_sof_control *scontrol; in sof_control_load()
974 struct snd_sof_control *scontrol = dobj->private; in sof_control_unload()
1414 struct snd_sof_control *scontrol; in sof_widget_unload()
1907 struct snd_sof_control *scontrol; in sof_set_pipe_widget()
1935 struct snd_sof_control *scontrol; in sof_complete()
Dipc3-topology.c28 struct snd_sof_control *control;
710 struct snd_sof_control *scontrol; in sof_ipc3_widget_setup_comp_pga()
1631 static int sof_ipc3_control_load_bytes(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_load_bytes()
1691 static int sof_ipc3_control_load_volume(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_load_volume()
1723 static int sof_ipc3_control_load_enum(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_load_enum()
1741 static int sof_ipc3_control_setup(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_setup()
1760 static int sof_ipc3_control_free(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_free()
Dipc4-topology.c658 struct snd_sof_control *scontrol; in sof_ipc4_widget_setup_comp_pga()
1402 static int sof_ipc4_control_load_volume(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc4_control_load_volume()
1434 static int sof_ipc4_control_setup(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc4_control_setup()