Lines Matching refs:scontrol
41 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_get() local
42 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_volume_get()
43 unsigned int i, channels = scontrol->num_channels; in snd_sof_volume_get()
49 scontrol->volume_table, sm->max + 1); in snd_sof_volume_get()
59 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_put() local
60 struct snd_sof_dev *sdev = scontrol->sdev; in snd_sof_volume_put()
61 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_volume_put()
62 unsigned int i, channels = scontrol->num_channels; in snd_sof_volume_put()
69 scontrol->volume_table, sm->max + 1); in snd_sof_volume_put()
77 snd_sof_ipc_set_get_comp_data(sdev->ipc, scontrol, in snd_sof_volume_put()
90 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_switch_get() local
91 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_switch_get()
92 unsigned int i, channels = scontrol->num_channels; in snd_sof_switch_get()
106 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_switch_put() local
107 struct snd_sof_dev *sdev = scontrol->sdev; in snd_sof_switch_put()
108 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_switch_put()
109 unsigned int i, channels = scontrol->num_channels; in snd_sof_switch_put()
123 snd_sof_ipc_set_get_comp_data(sdev->ipc, scontrol, in snd_sof_switch_put()
137 struct snd_sof_control *scontrol = se->dobj.private; in snd_sof_enum_get() local
138 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_enum_get()
139 unsigned int i, channels = scontrol->num_channels; in snd_sof_enum_get()
153 struct snd_sof_control *scontrol = se->dobj.private; in snd_sof_enum_put() local
154 struct snd_sof_dev *sdev = scontrol->sdev; in snd_sof_enum_put()
155 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_enum_put()
156 unsigned int i, channels = scontrol->num_channels; in snd_sof_enum_put()
170 snd_sof_ipc_set_get_comp_data(sdev->ipc, scontrol, in snd_sof_enum_put()
184 struct snd_sof_control *scontrol = be->dobj.private; in snd_sof_bytes_get() local
185 struct snd_sof_dev *sdev = scontrol->sdev; in snd_sof_bytes_get()
186 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_bytes_get()
219 struct snd_sof_control *scontrol = be->dobj.private; in snd_sof_bytes_put() local
220 struct snd_sof_dev *sdev = scontrol->sdev; in snd_sof_bytes_put()
221 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_bytes_put()
244 snd_sof_ipc_set_get_comp_data(sdev->ipc, scontrol, in snd_sof_bytes_put()
247 scontrol->cmd, in snd_sof_bytes_put()
259 struct snd_sof_control *scontrol = be->dobj.private; in snd_sof_bytes_ext_put() local
260 struct snd_sof_dev *sdev = scontrol->sdev; in snd_sof_bytes_ext_put()
261 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_bytes_ext_put()
282 if (header.numid != scontrol->cmd) { in snd_sof_bytes_ext_put()
312 snd_sof_ipc_set_get_comp_data(sdev->ipc, scontrol, in snd_sof_bytes_ext_put()
315 scontrol->cmd, in snd_sof_bytes_ext_put()
327 struct snd_sof_control *scontrol = be->dobj.private; in snd_sof_bytes_ext_get() local
328 struct snd_sof_dev *sdev = scontrol->sdev; in snd_sof_bytes_ext_get()
329 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_bytes_ext_get()
357 header.numid = scontrol->cmd; in snd_sof_bytes_ext_get()