Lines Matching refs:vsel
274 int vsel = twlreg_read(info, TWL_MODULE_PM_RECEIVER, VREG_VOLTAGE); in twl6030ldo_get_voltage_sel() local
277 vsel &= ~TWL6030_VREG_VOLTAGE_WR_S; in twl6030ldo_get_voltage_sel()
279 return vsel; in twl6030ldo_get_voltage_sel()
404 int vsel = 0; in twl6030smps_map_voltage() local
409 vsel = 0; in twl6030smps_map_voltage()
411 vsel = DIV_ROUND_UP(min_uV - 600000, 12500); in twl6030smps_map_voltage()
412 vsel++; in twl6030smps_map_voltage()
418 vsel = 62; in twl6030smps_map_voltage()
420 vsel = 61; in twl6030smps_map_voltage()
422 vsel = 60; in twl6030smps_map_voltage()
424 vsel = 59; in twl6030smps_map_voltage()
426 vsel = 58; in twl6030smps_map_voltage()
432 vsel = 0; in twl6030smps_map_voltage()
434 vsel = DIV_ROUND_UP(min_uV - 700000, 12500); in twl6030smps_map_voltage()
435 vsel++; in twl6030smps_map_voltage()
441 vsel = 62; in twl6030smps_map_voltage()
443 vsel = 61; in twl6030smps_map_voltage()
445 vsel = 60; in twl6030smps_map_voltage()
447 vsel = 59; in twl6030smps_map_voltage()
453 vsel = 0; in twl6030smps_map_voltage()
455 vsel = DIV_ROUND_UP(min_uV - 1852000, 38600); in twl6030smps_map_voltage()
456 vsel++; in twl6030smps_map_voltage()
461 vsel = 0; in twl6030smps_map_voltage()
463 vsel = DIV_ROUND_UP(min_uV - 2161000, 38600); in twl6030smps_map_voltage()
464 vsel++; in twl6030smps_map_voltage()
469 return vsel; in twl6030smps_map_voltage()