Lines Matching refs:vsel
386 int vsel = twlreg_read(info, TWL_MODULE_PM_RECEIVER, VREG_VOLTAGE);
388 if (vsel < 0)
389 return vsel;
391 vsel &= info->table_len - 1;
392 return vsel;
415 int vsel = DIV_ROUND_UP(min_uV - 600000, 12500);
417 twlreg_write(info, TWL_MODULE_PM_RECEIVER, VREG_VOLTAGE_SMPS_4030, vsel);
425 int vsel;
427 vsel = twlreg_read(info, TWL_MODULE_PM_RECEIVER,
430 return vsel * 12500 + 600000;