Lines Matching refs:tplg_ops
25 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_volume_get() local
27 if (tplg_ops && tplg_ops->control && tplg_ops->control->volume_get) in snd_sof_volume_get()
28 return tplg_ops->control->volume_get(scontrol, ucontrol); in snd_sof_volume_get()
40 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_volume_put() local
42 if (tplg_ops && tplg_ops->control && tplg_ops->control->volume_put) in snd_sof_volume_put()
43 return tplg_ops->control->volume_put(scontrol, ucontrol); in snd_sof_volume_put()
77 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_switch_get() local
79 if (tplg_ops && tplg_ops->control && tplg_ops->control->switch_get) in snd_sof_switch_get()
80 return tplg_ops->control->switch_get(scontrol, ucontrol); in snd_sof_switch_get()
92 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_switch_put() local
94 if (tplg_ops && tplg_ops->control && tplg_ops->control->switch_put) in snd_sof_switch_put()
95 return tplg_ops->control->switch_put(scontrol, ucontrol); in snd_sof_switch_put()
107 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_enum_get() local
109 if (tplg_ops && tplg_ops->control && tplg_ops->control->enum_get) in snd_sof_enum_get()
110 return tplg_ops->control->enum_get(scontrol, ucontrol); in snd_sof_enum_get()
122 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_enum_put() local
124 if (tplg_ops && tplg_ops->control && tplg_ops->control->enum_put) in snd_sof_enum_put()
125 return tplg_ops->control->enum_put(scontrol, ucontrol); in snd_sof_enum_put()
137 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_bytes_get() local
139 if (tplg_ops && tplg_ops->control && tplg_ops->control->bytes_get) in snd_sof_bytes_get()
140 return tplg_ops->control->bytes_get(scontrol, ucontrol); in snd_sof_bytes_get()
152 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_bytes_put() local
154 if (tplg_ops && tplg_ops->control && tplg_ops->control->bytes_put) in snd_sof_bytes_put()
155 return tplg_ops->control->bytes_put(scontrol, ucontrol); in snd_sof_bytes_put()
168 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_bytes_ext_put() local
174 if (tplg_ops && tplg_ops->control && tplg_ops->control->bytes_ext_put) in snd_sof_bytes_ext_put()
175 return tplg_ops->control->bytes_ext_put(scontrol, binary_data, size); in snd_sof_bytes_ext_put()
187 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_bytes_ext_volatile_get() local
196 if (tplg_ops && tplg_ops->control && tplg_ops->control->bytes_ext_volatile_get) in snd_sof_bytes_ext_volatile_get()
197 ret = tplg_ops->control->bytes_ext_volatile_get(scontrol, binary_data, size); in snd_sof_bytes_ext_volatile_get()
215 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in snd_sof_bytes_ext_get() local
217 if (tplg_ops && tplg_ops->control && tplg_ops->control->bytes_ext_get) in snd_sof_bytes_ext_get()
218 return tplg_ops->control->bytes_ext_get(scontrol, binary_data, size); in snd_sof_bytes_ext_get()