• Home
  • Raw
  • Download

Lines Matching refs:tlv

150 	struct snd_soc_tplg_ctl_tlv *tlv = ref->tlv;  in copy_tlv()  local
155 mixer_ctrl->hdr.tlv = *tlv; in copy_tlv()
327 struct snd_soc_tplg_ctl_tlv *tplg_tlv = elem->tlv; in tplg_parse_tlv_dbscale()
404 struct snd_soc_tplg_ctl_tlv *tlv = elem->tlv; in tplg_save_tlv() local
408 if (tlv->type != SNDRV_CTL_TLVT_DB_SCALE) { in tplg_save_tlv()
413 scale = &tlv->scale; in tplg_save_tlv()
932 struct snd_tplg_tlv_template *tlvt = t->tlv; in init_ctl_hdr()
933 struct snd_soc_tplg_ctl_tlv *tlv; in init_ctl_hdr() local
947 tlv = elem->tlv; in init_ctl_hdr()
953 tlv->size = sizeof(struct snd_soc_tplg_ctl_tlv); in init_ctl_hdr()
954 tlv->type = tlvt->type; in init_ctl_hdr()
960 scale = &tlv->scale; in init_ctl_hdr()
968 SNDERR("unsupported TLV type %d", tlv->type); in init_ctl_hdr()
1228 mc->size, mc->hdr.tlv.size, mc->priv.size); in tplg_decode_control_mixer1()
1256 if (mc->hdr.tlv.size == 0) { in tplg_decode_control_mixer1()
1258 } else if (mc->hdr.tlv.size == sizeof(struct snd_soc_tplg_ctl_tlv)) { in tplg_decode_control_mixer1()
1259 if (mc->hdr.tlv.type != SNDRV_CTL_TLVT_DB_SCALE) { in tplg_decode_control_mixer1()
1261 mc->hdr.tlv.type); in tplg_decode_control_mixer1()
1268 db->hdr.type = mc->hdr.tlv.type; in tplg_decode_control_mixer1()
1269 db->min = mc->hdr.tlv.scale.min; in tplg_decode_control_mixer1()
1270 db->step = mc->hdr.tlv.scale.step; in tplg_decode_control_mixer1()
1271 db->mute = mc->hdr.tlv.scale.mute; in tplg_decode_control_mixer1()
1275 SNDERR("mixer: wrong TLV size %d", mc->hdr.tlv.size); in tplg_decode_control_mixer1()