Home
last modified time | relevance | path

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

/freebsd/sys/dev/iicbus/pmic/silergy/
H A Dsy8106a.c53 #define SEL_VOLTAGE_STEP 10000 /* uV */ macro
156 cur_uvolt = (oval & SEL_VOLTAGE_MASK) * SEL_VOLTAGE_STEP + in sy8106a_regnode_set_voltage()
160 val = SEL_GO | ((min_uvolt - SEL_VOLTAGE_BASE) / SEL_VOLTAGE_STEP); in sy8106a_regnode_set_voltage()
165 (abs(cur_uvolt - min_uvolt) / SEL_VOLTAGE_STEP); in sy8106a_regnode_set_voltage()
179 *uvolt = (val & SEL_VOLTAGE_MASK) * SEL_VOLTAGE_STEP + in sy8106a_regnode_get_voltage()