Lines Matching refs:vsel
274 int vsel = twlreg_read(info, TWL_MODULE_PM_RECEIVER, VREG_VOLTAGE);
277 vsel &= ~TWL6030_VREG_VOLTAGE_WR_S;
279 return vsel;
404 int vsel = 0;
409 vsel = 0;
411 vsel = DIV_ROUND_UP(min_uV - 600000, 12500);
412 vsel++;
414 /* Values 1..57 for vsel are linear and can be calculated
418 vsel = 62;
420 vsel = 61;
422 vsel = 60;
424 vsel = 59;
426 vsel = 58;
432 vsel = 0;
434 vsel = DIV_ROUND_UP(min_uV - 700000, 12500);
435 vsel++;
437 /* Values 1..57 for vsel are linear and can be calculated
441 vsel = 62;
443 vsel = 61;
445 vsel = 60;
447 vsel = 59;
453 vsel = 0;
455 vsel = DIV_ROUND_UP(min_uV - 1852000, 38600);
456 vsel++;
461 vsel = 0;
463 vsel = DIV_ROUND_UP(min_uV - 2161000, 38600);
464 vsel++;
469 return vsel;