Home
last modified time | relevance | path

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

/openbmc/linux/sound/isa/gus/
H A Dgus_pcm.c39 unsigned char voice_ctrl, ramp_ctrl; member
97 unsigned char voice_ctrl, ramp_ctrl; in snd_gf1_pcm_trigger_up() local
116 ramp_ctrl = 0x24; in snd_gf1_pcm_trigger_up()
119 ramp_ctrl &= ~0x04; /* disable rollover */ in snd_gf1_pcm_trigger_up()
144 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, ramp_ctrl); in snd_gf1_pcm_trigger_up()
147 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_CONTROL, ramp_ctrl); in snd_gf1_pcm_trigger_up()
176 unsigned char voice_ctrl, ramp_ctrl; in snd_gf1_pcm_interrupt_wave() local
197 ramp_ctrl = (snd_gf1_read8(gus, SNDRV_GF1_VB_VOLUME_CONTROL) & ~0xa4) | 0x03; in snd_gf1_pcm_interrupt_wave()
212 ramp_ctrl |= 0x04; /* enable rollover */ in snd_gf1_pcm_interrupt_wave()
219 ramp_ctrl |= 0x20; in snd_gf1_pcm_interrupt_wave()
[all …]
/openbmc/linux/drivers/regulator/
H A Dtps62360-regulator.c236 unsigned int ramp_ctrl; in tps62360_init_dcdc() local
260 ret = regmap_read(tps->regmap, REG_RAMPCTRL, &ramp_ctrl); in tps62360_init_dcdc()
267 ramp_ctrl = (ramp_ctrl >> 5) & 0x7; in tps62360_init_dcdc()
270 tps->desc.ramp_delay = DIV_ROUND_UP(32000, BIT(ramp_ctrl)); in tps62360_init_dcdc()