Home
last modified time | relevance | path

Searched refs:offset_val (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/rtc/
H A Drtc-zynqmp.c184 long offset_val; in xlnx_rtc_read_offset() local
188 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()
/openbmc/linux/drivers/iio/
H A Dinkern.c637 int offset_type, offset_val, offset_val2; in iio_convert_raw_to_processed_unlocked() local
640 offset_type = iio_channel_read(chan, &offset_val, &offset_val2, in iio_convert_raw_to_processed_unlocked()
654 offset_val /= offset_val2; in iio_convert_raw_to_processed_unlocked()
657 offset_val >>= offset_val2; in iio_convert_raw_to_processed_unlocked()
663 raw64 += offset_val; in iio_convert_raw_to_processed_unlocked()
/openbmc/linux/sound/soc/codecs/
H A Dwcd9335.c3036 int offset_val = 0; in wcd9335_codec_enable_mix_path() local
3076 val += offset_val; in wcd9335_codec_enable_mix_path()
3297 int offset_val = 0; in wcd9335_codec_enable_interpolator() local
3340 val += offset_val; in wcd9335_codec_enable_interpolator()
H A Dwcd934x.c4360 int offset_val = 0; in wcd934x_codec_enable_mix_path() local
4379 val += offset_val; in wcd934x_codec_enable_mix_path()