Searched refs:vag (Results 1 – 1 of 1) sorted by relevance
1296 int vag; in sgtl5000_set_power_regs() local1364 vag = vdda / 2; in sgtl5000_set_power_regs()1365 if (vag <= SGTL5000_ANA_GND_BASE) in sgtl5000_set_power_regs()1366 vag = 0; in sgtl5000_set_power_regs()1367 else if (vag >= SGTL5000_ANA_GND_BASE + SGTL5000_ANA_GND_STP * in sgtl5000_set_power_regs()1369 vag = SGTL5000_ANA_GND_MASK >> SGTL5000_ANA_GND_SHIFT; in sgtl5000_set_power_regs()1371 vag = (vag - SGTL5000_ANA_GND_BASE) / SGTL5000_ANA_GND_STP; in sgtl5000_set_power_regs()1374 SGTL5000_ANA_GND_MASK, vag << SGTL5000_ANA_GND_SHIFT); in sgtl5000_set_power_regs()1401 vol_quot = lo_vag ? (vag * 100) / lo_vag : 0; in sgtl5000_set_power_regs()