Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dmax17040_battery.c58 u16 vcell_div; member
69 .vcell_div = 1,
78 .vcell_div = 1,
87 .vcell_div = 1,
96 .vcell_div = 1,
105 .vcell_div = 8,
114 .vcell_div = 4,
123 .vcell_div = 8,
132 .vcell_div = 4,
186 return (vcell >> d->vcell_shift) * d->vcell_mul / d->vcell_div; in max17040_raw_vcell_to_uvolts()