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; 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); 148 int (*bytes_ext_get)(struct snd_sof_control *scontrol, 150 int (*bytes_ext_volatile_get)(struct snd_sof_control *scontrol, 152 int (*bytes_ext_put)(struct snd_sof_control *scontrol, 159 int (*set_up_volume_table)(struct snd_sof_control *scontrol, int tlv[SOF_TLV_ITEMS], 218 int (*control_setup)(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol); 219 int (*control_free)(struct snd_sof_dev *sdev, 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 | ipc3-control.c | 15 static int sof_ipc3_set_get_kcontrol_data(struct snd_sof_control *scontrol, in sof_ipc3_set_get_kcontrol_data() 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() 554 struct snd_sof_control *scontrol; in sof_ipc3_control_update() [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() 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 …]
|
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() 2136 struct snd_sof_control *scontrol; in sof_set_widget_pipeline() 2163 struct snd_sof_control *scontrol; in sof_complete()
|
H A D | ipc3-topology.c | 28 struct snd_sof_control *control; 723 struct snd_sof_control *scontrol; in sof_ipc3_widget_setup_comp_pga() 1652 static int sof_ipc3_control_load_bytes(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_load_bytes() 1715 static int sof_ipc3_control_load_volume(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_load_volume() 1747 static int sof_ipc3_control_load_enum(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_load_enum() 1765 static int sof_ipc3_control_setup(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc3_control_setup() 1784 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() 2103 static int sof_ipc4_control_load_volume(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc4_control_load_volume() 2135 static int sof_ipc4_control_load_bytes(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc4_control_load_bytes() 2200 static int sof_ipc4_control_setup(struct snd_sof_dev *sdev, struct snd_sof_control *scontrol) in sof_ipc4_control_setup()
|