Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-gamecube.c93 u32 rtc_bias; member
173 timestamp = (time64_t)d->rtc_bias + counter; in gamecube_rtc_read_time()
186 return regmap_write(d->regmap, RTC_COUNTER, timestamp - d->rtc_bias); in gamecube_rtc_set_time()
234 return regmap_read(d->regmap, RTC_SRAM_BIAS, &d->rtc_bias); in gamecube_rtc_read_offset_from_sram()
267 ret = regmap_read(d->regmap, RTC_SRAM_BIAS, &d->rtc_bias); in gamecube_rtc_read_offset_from_sram()
338 dev_dbg(dev, "SRAM bias: 0x%x", d->rtc_bias); in gamecube_rtc_probe()