Searched refs:ramp_ctrl (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/sound/isa/gus/
H A Dgus_pcm.c52 unsigned char voice_ctrl, ramp_ctrl; member in struct:gus_pcm_private
112 unsigned char voice_ctrl, ramp_ctrl; snd_gf1_pcm_trigger_up() local
131 ramp_ctrl = 0x24; snd_gf1_pcm_trigger_up()
134 ramp_ctrl &= ~0x04; /* disable rollover */ snd_gf1_pcm_trigger_up()
144 curr, begin, end, voice_ctrl, ramp_ctrl, rate); snd_gf1_pcm_trigger_up()
159 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, ramp_ctrl); snd_gf1_pcm_trigger_up()
162 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, ramp_ctrl); snd_gf1_pcm_trigger_up()
191 unsigned char voice_ctrl, ramp_ctrl; snd_gf1_pcm_interrupt_wave() local
212 ramp_ctrl = (snd_gf1_read8(gus, SNDRV_GF1_VB_VOLUME_CONTROL) & ~0xa4) | 0x03; snd_gf1_pcm_interrupt_wave()
227 ramp_ctrl |= 0x04; /* enable rollover */ snd_gf1_pcm_interrupt_wave()
234 ramp_ctrl |= 0x20; snd_gf1_pcm_interrupt_wave()
235 ramp_ctrl &= ~0x03; snd_gf1_pcm_interrupt_wave()
241 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, ramp_ctrl); snd_gf1_pcm_interrupt_wave()
250 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, ramp_ctrl); snd_gf1_pcm_interrupt_wave()
/linux-4.1.27/drivers/regulator/
H A Dtps62360-regulator.c250 unsigned int ramp_ctrl; tps62360_init_dcdc() local
274 ret = regmap_read(tps->regmap, REG_RAMPCTRL, &ramp_ctrl); tps62360_init_dcdc()
281 ramp_ctrl = (ramp_ctrl >> 5) & 0x7; tps62360_init_dcdc()
283 /* ramp mV/us = 32/(2^ramp_ctrl) */ tps62360_init_dcdc()
284 tps->desc.ramp_delay = DIV_ROUND_UP(32000, BIT(ramp_ctrl)); tps62360_init_dcdc()

Completed in 101 milliseconds