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