Lines Matching refs:tlv
33 #include <sound/tlv.h>
712 unsigned int tlv[4];
713 tlv[SNDRV_CTL_TLVO_TYPE] = SND_CTL_TLVT_DB_SCALE;
714 tlv[SNDRV_CTL_TLVO_LEN] = 2 * sizeof(int);
715 tlv[SNDRV_CTL_TLVO_DB_SCALE_MIN] = (int)(svol->min_dB * 100);
716 tlv[SNDRV_CTL_TLVO_DB_SCALE_MUTE_AND_STEP] =
718 if (sizeof(tlv) <= old_tlv_size && memcmp(tlv, old_tlv, sizeof(tlv)) == 0)
720 return snd_ctl_elem_tlv_write(svol->ctl, &cinfo->id, tlv);
837 unsigned int tlv[4];
838 err = snd_ctl_elem_tlv_read(svol->ctl, &cinfo.id, tlv,
839 sizeof(tlv));
840 add_tlv_info(svol, &cinfo, tlv, err < 0 ? 0 : sizeof(tlv));