Searched refs:scale (Results 1 – 8 of 8) sorted by relevance
/sound/oss/ |
D | sys_timer.c | 41 unsigned long scale; in tmr2ticks() local 46 scale = (60 * 1000000) / (curr_tempo * curr_timebase); /* usecs per MIDI tick */ in tmr2ticks() 47 return (tmp + scale / 2) / scale; in tmr2ticks()
|
D | sound_timer.c | 38 unsigned long scale; in tmr2ticks() local 41 scale = (60 * 1000000) / (curr_tempo * curr_timebase); /* usecs per MIDI tick */ in tmr2ticks() 42 return (tmp + (scale / 2)) / scale; in tmr2ticks()
|
/sound/isa/gus/ |
D | gus_volume.c | 197 int scale = 0; 200 scale++; 209 while (scale--)
|
/sound/pci/ctxfi/ |
D | ctamixer.h | 66 int (*set_scale)(struct amixer *amixer, unsigned int scale); 73 unsigned int scale, struct sum *sum);
|
D | ctamixer.c | 179 unsigned int scale, struct sum *sum) in amixer_setup() argument 182 amixer_set_y(amixer, scale); in amixer_setup()
|
/sound/usb/ |
D | mixer.c | 549 DECLARE_TLV_DB_MINMAX(scale, 0, 0); in snd_usb_mixer_vol_tlv() 551 if (size < sizeof(scale)) in snd_usb_mixer_vol_tlv() 554 scale[0] = SNDRV_CTL_TLVT_DB_MINMAX_MUTE; in snd_usb_mixer_vol_tlv() 555 scale[2] = cval->dBmin; in snd_usb_mixer_vol_tlv() 556 scale[3] = cval->dBmax; in snd_usb_mixer_vol_tlv() 557 if (copy_to_user(_tlv, scale, sizeof(scale))) in snd_usb_mixer_vol_tlv()
|
D | mixer_quirks.c | 1845 static const DECLARE_TLV_DB_RANGE(scale, in snd_dragonfly_quirk_db_scale() 1860 kctl->tlv.p = scale; in snd_dragonfly_quirk_db_scale()
|
/sound/soc/ |
D | soc-topology.c | 625 struct snd_kcontrol_new *kc, struct snd_soc_tplg_tlv_dbscale *scale) in soc_tplg_create_tlv_db_scale() argument 636 p[2] = scale->min; in soc_tplg_create_tlv_db_scale() 637 p[3] = (scale->step & TLV_DB_SCALE_MASK) in soc_tplg_create_tlv_db_scale() 638 | (scale->mute ? TLV_DB_SCALE_MUTE : 0); in soc_tplg_create_tlv_db_scale() 657 &tplg_tlv->scale); in soc_tplg_create_tlv()
|