Lines Matching refs:min
280 unsigned int *min, unsigned int *max) in ad5421_get_current_min_max() argument
286 *min = 4000; in ad5421_get_current_min_max()
290 *min = 3800; in ad5421_get_current_min_max()
294 *min = 3200; in ad5421_get_current_min_max()
298 *min = 0; in ad5421_get_current_min_max()
306 unsigned int min, max; in ad5421_get_offset() local
308 ad5421_get_current_min_max(st, &min, &max); in ad5421_get_offset()
309 return (min * (1 << 16)) / (max - min); in ad5421_get_offset()
316 unsigned int min, max; in ad5421_read_raw() local
330 ad5421_get_current_min_max(st, &min, &max); in ad5421_read_raw()
331 *val = max - min; in ad5421_read_raw()