Home
last modified time | relevance | path

Searched refs:scale (Results 1 – 7 of 7) sorted by relevance

/sound/isa/gus/
Dgus_volume.c183 int scale = 0;
186 scale++;
195 while (scale--)
/sound/pci/ctxfi/
Dctamixer.h62 int (*set_scale)(struct amixer *amixer, unsigned int scale);
69 unsigned int scale, struct sum *sum);
Dctamixer.c175 unsigned int scale, struct sum *sum) in amixer_setup() argument
178 amixer_set_y(amixer, scale); in amixer_setup()
/sound/soc/atmel/
Datmel-pdmic.c224 unsigned int scale; member
295 (mic_gain_table[i].scale == scale_val)) in pdmic_get_mic_volsw()
323 mic_gain_table[val].scale << PDMIC_DSPR0_SCALE_SHIFT); in pdmic_put_mic_volsw()
/sound/usb/
Dmixer.c552 DECLARE_TLV_DB_MINMAX(scale, 0, 0); in snd_usb_mixer_vol_tlv()
554 if (size < sizeof(scale)) in snd_usb_mixer_vol_tlv()
557 scale[0] = SNDRV_CTL_TLVT_DB_MINMAX_MUTE; in snd_usb_mixer_vol_tlv()
558 scale[2] = cval->dBmin; in snd_usb_mixer_vol_tlv()
559 scale[3] = cval->dBmax; in snd_usb_mixer_vol_tlv()
560 if (copy_to_user(_tlv, scale, sizeof(scale))) in snd_usb_mixer_vol_tlv()
Dmixer_quirks.c3358 static const DECLARE_TLV_DB_RANGE(scale, in snd_dragonfly_quirk_db_scale()
3373 kctl->tlv.p = scale; in snd_dragonfly_quirk_db_scale()
/sound/soc/
Dsoc-topology.c631 struct snd_kcontrol_new *kc, struct snd_soc_tplg_tlv_dbscale *scale) in soc_tplg_create_tlv_db_scale() argument
642 p[2] = le32_to_cpu(scale->min); in soc_tplg_create_tlv_db_scale()
643 p[3] = (le32_to_cpu(scale->step) & TLV_DB_SCALE_MASK) in soc_tplg_create_tlv_db_scale()
644 | (le32_to_cpu(scale->mute) ? TLV_DB_SCALE_MUTE : 0); in soc_tplg_create_tlv_db_scale()
664 &tplg_tlv->scale); in soc_tplg_create_tlv()