Searched refs:offset_val (Results 1 – 3 of 3) sorted by relevance
184 long offset_val; in xlnx_rtc_read_offset() local188 offset_val = calibval & RTC_TICK_MASK; in xlnx_rtc_read_offset()189 offset_val = offset_val - RTC_CALIB_DEF; in xlnx_rtc_read_offset()190 offset_val = offset_val * tick_mult; in xlnx_rtc_read_offset()194 offset_val += ((calibval & RTC_FR_MASK) >> RTC_FR_DATSHIFT) in xlnx_rtc_read_offset()196 *offset = offset_val; in xlnx_rtc_read_offset()
604 int offset_type, offset_val, offset_val2; in iio_convert_raw_to_processed_unlocked() local607 offset_type = iio_channel_read(chan, &offset_val, &offset_val2, in iio_convert_raw_to_processed_unlocked()621 offset_val /= offset_val2; in iio_convert_raw_to_processed_unlocked()624 offset_val >>= offset_val2; in iio_convert_raw_to_processed_unlocked()630 raw64 += offset_val; in iio_convert_raw_to_processed_unlocked()
4352 int offset_val = 0; in wcd934x_codec_enable_mix_path() local4371 val += offset_val; in wcd934x_codec_enable_mix_path()