Lines Matching refs:dtr
204 int dtr = i2c_smbus_read_byte_data(client, ISL1208_REG_DTR); in isl1208_i2c_get_dtr() local
205 if (dtr < 0) in isl1208_i2c_get_dtr()
209 dtr = ((dtr & 0x3) * 20) * (dtr & (1 << 2) ? -1 : 1); in isl1208_i2c_get_dtr()
211 return dtr + 100; in isl1208_i2c_get_dtr()
268 int sr, dtr, atr, usr; in isl1208_rtc_proc() local
287 dtr = isl1208_i2c_get_dtr(client); in isl1208_rtc_proc()
288 if (dtr >= 0) in isl1208_rtc_proc()
289 seq_printf(seq, "digital_trim\t: %d ppm\n", dtr - 100); in isl1208_rtc_proc()
674 int dtr = isl1208_i2c_get_dtr(to_i2c_client(dev->parent)); in isl1208_sysfs_show_dtrim() local
675 if (dtr < 0) in isl1208_sysfs_show_dtrim()
676 return dtr; in isl1208_sysfs_show_dtrim()
678 return sprintf(buf, "%d ppm\n", dtr - 100); in isl1208_sysfs_show_dtrim()