Searched refs:AD7298_BITS (Results 1 – 2 of 2) sorted by relevance
93 tmp = be16_to_cpu(buf) & RES_MASK(AD7298_BITS); in ad7298_scan_temp()100 if (tmp & (1 << (AD7298_BITS - 1))) { in ad7298_scan_temp()140 *val = ret & RES_MASK(AD7298_BITS); in ad7298_read_raw()146 scale_uv = (st->int_vref_mv * 1000) >> AD7298_BITS; in ad7298_read_raw()
21 #define AD7298_BITS 12 macro