Lines Matching refs:dtr
178 int dtr = i2c_smbus_read_byte_data(client, ISL1208_REG_DTR); in isl1208_i2c_get_dtr() local
179 if (dtr < 0) in isl1208_i2c_get_dtr()
183 dtr = ((dtr & 0x3) * 20) * (dtr & (1 << 2) ? -1 : 1); in isl1208_i2c_get_dtr()
185 return dtr; in isl1208_i2c_get_dtr()
242 int sr, dtr, atr, usr; in isl1208_rtc_proc() local
261 dtr = isl1208_i2c_get_dtr(client); in isl1208_rtc_proc()
262 if (dtr >= 0 - 1) in isl1208_rtc_proc()
263 seq_printf(seq, "digital_trim\t: %d ppm\n", dtr); in isl1208_rtc_proc()
568 int dtr = isl1208_i2c_get_dtr(to_i2c_client(dev)); in isl1208_sysfs_show_dtrim() local
569 if (dtr < 0) in isl1208_sysfs_show_dtrim()
570 return dtr; in isl1208_sysfs_show_dtrim()
572 return sprintf(buf, "%d ppm\n", dtr); in isl1208_sysfs_show_dtrim()