Lines Matching refs:vsel
267 int vsel = twlreg_read(info, TWL_MODULE_PM_RECEIVER, VREG_VOLTAGE); in twl6030ldo_get_voltage_sel() local
270 vsel &= ~TWL6030_VREG_VOLTAGE_WR_S; in twl6030ldo_get_voltage_sel()
272 return vsel; in twl6030ldo_get_voltage_sel()
397 int vsel = 0; in twl6030smps_map_voltage() local
402 vsel = 0; in twl6030smps_map_voltage()
404 vsel = DIV_ROUND_UP(min_uV - 600000, 12500); in twl6030smps_map_voltage()
405 vsel++; in twl6030smps_map_voltage()
411 vsel = 62; in twl6030smps_map_voltage()
413 vsel = 61; in twl6030smps_map_voltage()
415 vsel = 60; in twl6030smps_map_voltage()
417 vsel = 59; in twl6030smps_map_voltage()
419 vsel = 58; in twl6030smps_map_voltage()
425 vsel = 0; in twl6030smps_map_voltage()
427 vsel = DIV_ROUND_UP(min_uV - 700000, 12500); in twl6030smps_map_voltage()
428 vsel++; in twl6030smps_map_voltage()
434 vsel = 62; in twl6030smps_map_voltage()
436 vsel = 61; in twl6030smps_map_voltage()
438 vsel = 60; in twl6030smps_map_voltage()
440 vsel = 59; in twl6030smps_map_voltage()
446 vsel = 0; in twl6030smps_map_voltage()
448 vsel = DIV_ROUND_UP(min_uV - 1852000, 38600); in twl6030smps_map_voltage()
449 vsel++; in twl6030smps_map_voltage()
454 vsel = 0; in twl6030smps_map_voltage()
456 vsel = DIV_ROUND_UP(min_uV - 2161000, 38600); in twl6030smps_map_voltage()
457 vsel++; in twl6030smps_map_voltage()
462 return vsel; in twl6030smps_map_voltage()