Searched refs:cur_uvolt (Results 1 – 2 of 2) sorted by relevance
149 int cur_uvolt; in sy8106a_regnode_set_voltage() local156 cur_uvolt = (oval & SEL_VOLTAGE_MASK) * SEL_VOLTAGE_STEP + in sy8106a_regnode_set_voltage()165 (abs(cur_uvolt - min_uvolt) / SEL_VOLTAGE_STEP); in sy8106a_regnode_set_voltage()
130 int cur_uvolt; in syr827_regnode_set_voltage() local137 cur_uvolt = (val & VSEL_NSEL_MASK) * VSEL_VOLTAGE_STEP + in syr827_regnode_set_voltage()147 (abs(cur_uvolt - min_uvolt) / VSEL_VOLTAGE_STEP); in syr827_regnode_set_voltage()