Lines Matching refs:vsel
273 int vsel = twlreg_read(info, TWL_MODULE_PM_RECEIVER, VREG_VOLTAGE);
276 vsel &= ~TWL6030_VREG_VOLTAGE_WR_S;
278 return vsel;
403 int vsel = 0;
408 vsel = 0;
410 vsel = DIV_ROUND_UP(min_uV - 600000, 12500);
411 vsel++;
413 /* Values 1..57 for vsel are linear and can be calculated
417 vsel = 62;
419 vsel = 61;
421 vsel = 60;
423 vsel = 59;
425 vsel = 58;
431 vsel = 0;
433 vsel = DIV_ROUND_UP(min_uV - 700000, 12500);
434 vsel++;
436 /* Values 1..57 for vsel are linear and can be calculated
440 vsel = 62;
442 vsel = 61;
444 vsel = 60;
446 vsel = 59;
452 vsel = 0;
454 vsel = DIV_ROUND_UP(min_uV - 1852000, 38600);
455 vsel++;
460 vsel = 0;
462 vsel = DIV_ROUND_UP(min_uV - 2161000, 38600);
463 vsel++;
468 return vsel;