Home
last modified time | relevance | path

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

/openbmc/linux/kernel/time/
H A Dtimeconv.c50 u64 u64tmp, udays, century, year; in time64_to_tm() local
107 u64tmp = 4 * udays + 3; in time64_to_tm()
108 century = div64_u64_rem(u64tmp, 146097, &u64tmp); in time64_to_tm()
109 day_of_century = (u32) (u64tmp / 4); in time64_to_tm()
112 u64tmp = 2939745ULL * u32tmp; in time64_to_tm()
113 year_of_century = upper_32_bits(u64tmp); in time64_to_tm()
114 day_of_year = lower_32_bits(u64tmp) / 2939745 / 4; in time64_to_tm()
/openbmc/linux/drivers/rtc/
H A Dlib.c57 u64 u64tmp; in rtc_time64_to_tm() local
103 u64tmp = 2939745ULL * u32tmp; in rtc_time64_to_tm()
104 year_of_century = upper_32_bits(u64tmp); in rtc_time64_to_tm()
105 day_of_year = lower_32_bits(u64tmp) / 2939745 / 4; in rtc_time64_to_tm()
/openbmc/linux/drivers/media/dvb-frontends/
H A Drtl2832_sdr.c492 u64 u64tmp; in rtl2832_sdr_set_adc() local
523 u64tmp = f_if % pdata->clk; in rtl2832_sdr_set_adc()
524 u64tmp *= 0x400000; in rtl2832_sdr_set_adc()
525 u64tmp = div_u64(u64tmp, pdata->clk); in rtl2832_sdr_set_adc()
526 u64tmp = -u64tmp; in rtl2832_sdr_set_adc()
527 u32tmp = u64tmp & 0x3fffff; in rtl2832_sdr_set_adc()