Lines Matching refs:scontrol
743 int snd_sof_ipc_set_get_comp_data(struct snd_sof_control *scontrol, in snd_sof_ipc_set_get_comp_data() argument
749 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_ipc_set_get_comp_data()
750 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_ipc_set_get_comp_data()
761 if (swidget->comp_id == scontrol->comp_id) { in snd_sof_ipc_set_get_comp_data()
768 dev_err(sdev->dev, "error: can't find widget with id %d\n", scontrol->comp_id); in snd_sof_ipc_set_get_comp_data()
781 if (scontrol->readback_offset != 0) { in snd_sof_ipc_set_get_comp_data()
787 scontrol->readback_offset, in snd_sof_ipc_set_get_comp_data()
792 scontrol->readback_offset, in snd_sof_ipc_set_get_comp_data()
804 cdata->comp_id = scontrol->comp_id; in snd_sof_ipc_set_get_comp_data()
811 sparams.msg_bytes = scontrol->num_channels * in snd_sof_ipc_set_get_comp_data()
814 sparams.elems = scontrol->num_channels; in snd_sof_ipc_set_get_comp_data()
818 sparams.msg_bytes = scontrol->num_channels * in snd_sof_ipc_set_get_comp_data()
821 sparams.elems = scontrol->num_channels; in snd_sof_ipc_set_get_comp_data()
853 cdata->rhdr.hdr.size, scontrol->size); in snd_sof_ipc_set_get_comp_data()