Searched refs:lsb_resol (Results 1 – 1 of 1) sorted by relevance
42 unsigned int lsb_resol; /* Resolution of the ADC sample LSB */ member66 DIV_ROUND_CLOSEST(regval * data->lsb_resol, 1000)); in ads7828_in_show()152 data->lsb_resol = DIV_ROUND_CLOSEST(vref_mv * 1000, 4096); in ads7828_probe()156 data->lsb_resol = DIV_ROUND_CLOSEST(vref_mv * 1000, 256); in ads7828_probe()