Home
last modified time | relevance | path

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

/linux/drivers/rtc/
H A Drtc-zynqmp.c182 long offset_val; in xlnx_rtc_read_offset() local
190 offset_val = max_tick - freq; in xlnx_rtc_read_offset()
192 offset_val *= tick_mult; in xlnx_rtc_read_offset()
198 offset_val += (fract_part * fract_data); in xlnx_rtc_read_offset()
201 *offset = offset_val; in xlnx_rtc_read_offset()
/linux/drivers/iio/
H A Dinkern.c643 int offset_type, offset_val, offset_val2; in iio_convert_raw_to_processed_unlocked() local
647 offset_type = iio_channel_read(chan, &offset_val, &offset_val2, in iio_convert_raw_to_processed_unlocked()
661 offset_val /= offset_val2; in iio_convert_raw_to_processed_unlocked()
664 offset_val >>= offset_val2; in iio_convert_raw_to_processed_unlocked()
670 raw64 += offset_val; in iio_convert_raw_to_processed_unlocked()
/linux/rust/kernel/
H A Ddma.rs965 let Ok(offset_val) = usize::try_from(*offset) else { in drop()
969 if offset_val >= self.size() { in drop()
973 let count = (self.size() - offset_val).min(writer.len()); in drop()
975 writer.write_dma(self, offset_val, count)?; in drop()
/linux/drivers/gpu/drm/amd/display/modules/power/
H A Dpower_abm.c1747 unsigned int offset_val = params.backlight_lut_array[lut_index]; in fill_backlight_transform_table() local
1750 ASSERT(offset_val <= 0xFFFF); in fill_backlight_transform_table()
1753 table->backlight_offsets[i] = cpu_to_be16((uint16_t)offset_val); in fill_backlight_transform_table()
1785 unsigned int offset_val = params.backlight_lut_array[lut_index]; in fill_backlight_transform_table_v_2_2() local
1788 ASSERT(offset_val <= 0xFFFF); in fill_backlight_transform_table_v_2_2()
1793 cpu_to_be16((uint16_t)offset_val) : cpu_to_le16((uint16_t)offset_val); in fill_backlight_transform_table_v_2_2()
/linux/sound/soc/codecs/
H A Dwcd934x.c4291 int offset_val = 0; in wcd934x_codec_enable_interp_clk()
4310 val += offset_val; in wcd934x_codec_enable_mix_path()
4303 int offset_val = 0; wcd934x_codec_enable_mix_path() local