Searched refs:vsel (Results 1 – 3 of 3) sorted by relevance
52 static unsigned long twl4030_vsel_to_uv(const u8 vsel) in twl4030_vsel_to_uv() argument54 return (((vsel * 125) + 6000)) * 100; in twl4030_vsel_to_uv()62 static unsigned long twl6030_vsel_to_uv(const u8 vsel) in twl6030_vsel_to_uv() argument78 if (!vsel) in twl6030_vsel_to_uv()87 if (vsel == 0x3A) in twl6030_vsel_to_uv()91 return ((((vsel - 1) * 1266) + 70900)) * 10; in twl6030_vsel_to_uv()93 return ((((vsel - 1) * 1266) + 60770)) * 10; in twl6030_vsel_to_uv()
16 char vsel; in _vp_set_init_voltage() local18 vsel = voltdm->pmic->uv_to_vsel(volt); in _vp_set_init_voltage()24 vpconfig |= vsel << __ffs(vp->common->vpconfig_initvoltage_mask); in _vp_set_init_voltage()
144 unsigned long (*vsel_to_uv) (const u8 vsel);