Home
last modified time | relevance | path

Searched refs:cur_uvolt (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/iicbus/pmic/silergy/
H A Dsy8106a.c149 int cur_uvolt; in sy8106a_regnode_set_voltage() local
156 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()
H A Dsyr827.c130 int cur_uvolt; in syr827_regnode_set_voltage() local
137 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()