Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/rtc/
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()
/linux-6.12.1/drivers/iio/
Dinkern.c604 int offset_type, offset_val, offset_val2; in iio_convert_raw_to_processed_unlocked() local
607 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()
/linux-6.12.1/sound/soc/codecs/
Dwcd934x.c4352 int offset_val = 0; in wcd934x_codec_enable_mix_path() local
4371 val += offset_val; in wcd934x_codec_enable_mix_path()