Home
last modified time | relevance | path

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

/linux-4.4.14/sound/isa/gus/
Dgus_pcm.c52 unsigned char voice_ctrl, ramp_ctrl; member
112 unsigned char voice_ctrl, ramp_ctrl; in snd_gf1_pcm_trigger_up() local
131 ramp_ctrl = 0x24; in snd_gf1_pcm_trigger_up()
134 ramp_ctrl &= ~0x04; /* disable rollover */ in snd_gf1_pcm_trigger_up()
159 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, ramp_ctrl); in snd_gf1_pcm_trigger_up()
162 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, ramp_ctrl); in snd_gf1_pcm_trigger_up()
191 unsigned char voice_ctrl, ramp_ctrl; in snd_gf1_pcm_interrupt_wave() local
212 ramp_ctrl = (snd_gf1_read8(gus, SNDRV_GF1_VB_VOLUME_CONTROL) & ~0xa4) | 0x03; in snd_gf1_pcm_interrupt_wave()
227 ramp_ctrl |= 0x04; /* enable rollover */ in snd_gf1_pcm_interrupt_wave()
234 ramp_ctrl |= 0x20; in snd_gf1_pcm_interrupt_wave()
[all …]
/linux-4.4.14/drivers/regulator/
Dtps62360-regulator.c250 unsigned int ramp_ctrl; in tps62360_init_dcdc() local
274 ret = regmap_read(tps->regmap, REG_RAMPCTRL, &ramp_ctrl); in tps62360_init_dcdc()
281 ramp_ctrl = (ramp_ctrl >> 5) & 0x7; in tps62360_init_dcdc()
284 tps->desc.ramp_delay = DIV_ROUND_UP(32000, BIT(ramp_ctrl)); in tps62360_init_dcdc()