Searched refs:sw_volt (Results 1 – 2 of 2) sorted by relevance
25 int sw_volt; in mc34vr500_get_sw_volt() local54 sw_volt = 625 + (swxvolt - spb) * 25; in mc34vr500_get_sw_volt()56 debug("%s: SW%u volt = %dmV\n", __func__, sw + 1, sw_volt); in mc34vr500_get_sw_volt()57 return sw_volt; in mc34vr500_get_sw_volt()60 int mc34vr500_set_sw_volt(uint8_t sw, int sw_volt) in mc34vr500_set_sw_volt() argument67 debug("%s: Set SW%u volt to %dmV\n", __func__, sw + 1, sw_volt); in mc34vr500_set_sw_volt()69 if (sw > SW4 || sw_volt < 625) in mc34vr500_set_sw_volt()84 swxvolt = (sw_volt - 625) / 25 + spb; in mc34vr500_set_sw_volt()
172 int mc34vr500_set_sw_volt(uint8_t sw, int sw_volt);