Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dit87.c641 static int adc_lsb(const struct it87_data *data, int nr) in adc_lsb() function
658 val = DIV_ROUND_CLOSEST(val * 10, adc_lsb(data, nr)); in in_to_reg()
664 return DIV_ROUND_CLOSEST(val * adc_lsb(data, nr), 10); in in_from_reg()