Searched refs:snd_sof_control (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/sound/soc/sof/ |
H A D | sof-audio.h | 87 struct snd_sof_control; 140 bool (*volume_put)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol); 141 int (*volume_get)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol); 142 bool (*switch_put)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol); 143 int (*switch_get)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol); 144 bool (*enum_put)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol); 145 int (*enum_get)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol); 146 int (*bytes_put)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol); 147 int (*bytes_get)(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol); 148 int (*bytes_ext_get)(struct snd_sof_control *scontrol, [all …]
|
H A D | control.c | 22 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 …]
|
H A D | ipc4-control.c | 15 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() 207 struct snd_sof_control *scontrol, bool lock) in sof_ipc4_set_generic_control_data() 243 static bool sof_ipc4_switch_put(struct snd_sof_control *scontrol, in sof_ipc4_switch_put() 287 static int sof_ipc4_switch_get(struct snd_sof_control *scontrol, in sof_ipc4_switch_get() 300 static bool sof_ipc4_enum_put(struct snd_sof_control *scontrol, in sof_ipc4_enum_put() 344 static int sof_ipc4_enum_get(struct snd_sof_control *scontrol, in sof_ipc4_enum_get() 358 struct snd_sof_control *scontrol, in sof_ipc4_set_get_bytes_data() [all …]
|
H A D | ipc3-control.c | 15 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 …]
|
H A D | topology.c | 266 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() 2138 struct snd_sof_control *scontrol; in sof_set_widget_pipeline() 2165 struct snd_sof_control *scontrol; in sof_complete()
|
H A D | ipc3-topology.c | 31 struct snd_sof_control *control; 726 struct snd_sof_control *scontrol; in sof_ipc3_widget_setup_comp_pga() 1667 static int sof_ipc3_control_load_bytes(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_load_bytes() 1730 static int sof_ipc3_control_load_volume(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_load_volume() 1762 static int sof_ipc3_control_load_enum(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_load_enum() 1780 static int sof_ipc3_control_setup(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_setup() 1799 static int sof_ipc3_control_free(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_free()
|
H A D | ipc4-topology.c | 383 struct snd_sof_control *scontrol; in sof_ipc4_widget_update_kcontrol_module_id() 2109 static int sof_ipc4_control_load_volume(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc4_control_load_volume() 2151 static int sof_ipc4_control_load_enum(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc4_control_load_enum() 2181 static int sof_ipc4_control_load_bytes(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc4_control_load_bytes() 2246 static int sof_ipc4_control_setup(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc4_control_setup()
|