Lines Matching refs:uval
207 unsigned int uval; in max31827_read() local
215 MAX31827_CONFIGURATION_REG, &uval); in max31827_read()
219 uval = FIELD_GET(MAX31827_CONFIGURATION_1SHOT_MASK | in max31827_read()
221 uval); in max31827_read()
222 *val = !!uval; in max31827_read()
255 ret = regmap_read(st->regmap, MAX31827_T_REG, &uval); in max31827_read()
262 *val = MAX31827_16_BIT_TO_M_DGR(uval); in max31827_read()
266 ret = regmap_read(st->regmap, MAX31827_TH_REG, &uval); in max31827_read()
270 *val = MAX31827_16_BIT_TO_M_DGR(uval); in max31827_read()
274 &uval); in max31827_read()
278 *val = MAX31827_16_BIT_TO_M_DGR(uval); in max31827_read()
282 MAX31827_CONFIGURATION_REG, &uval); in max31827_read()
287 uval); in max31827_read()
290 ret = regmap_read(st->regmap, MAX31827_TL_REG, &uval); in max31827_read()
294 *val = MAX31827_16_BIT_TO_M_DGR(uval); in max31827_read()
298 &uval); in max31827_read()
302 *val = MAX31827_16_BIT_TO_M_DGR(uval); in max31827_read()
306 MAX31827_CONFIGURATION_REG, &uval); in max31827_read()
311 uval); in max31827_read()
323 MAX31827_CONFIGURATION_REG, &uval); in max31827_read()
327 uval = FIELD_GET(MAX31827_CONFIGURATION_CNV_RATE_MASK, in max31827_read()
328 uval); in max31827_read()
329 *val = max31827_conversions[uval]; in max31827_read()