Lines Matching refs:bytes_ctl
1132 int tplg_add_bytes(snd_tplg_t *tplg, struct snd_tplg_bytes_template *bytes_ctl,
1140 tplg_dbg(" Control Bytes: %s", bytes_ctl->hdr.name);
1142 if (bytes_ctl->hdr.type != SND_SOC_TPLG_TYPE_BYTES) {
1143 SNDERR("invalid bytes type %d", bytes_ctl->hdr.type);
1147 elem = tplg_elem_new_common(tplg, NULL, bytes_ctl->hdr.name,
1154 ret = init_ctl_hdr(tplg, elem, &be->hdr, &bytes_ctl->hdr);
1160 be->max = bytes_ctl->max;
1161 be->mask = bytes_ctl->mask;
1162 be->base = bytes_ctl->base;
1163 be->num_regs = bytes_ctl->num_regs;
1164 be->ext_ops.put = bytes_ctl->ext_ops.put;
1165 be->ext_ops.get = bytes_ctl->ext_ops.get;
1168 priv = bytes_ctl->priv;
1209 return tplg_add_bytes(tplg, t->bytes_ctl, NULL);
1513 t.bytes_ctl = &bt;