Home
last modified time | relevance | path

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

/linux/drivers/rtc/
H A Drtc-meson.c47 #define RTC_COUNTER (0) macro
237 ret = regmap_read(rtc->serial, RTC_COUNTER, &time); in meson_rtc_gettime()
248 return regmap_write(rtc->serial, RTC_COUNTER, rtc_tm_to_time64(tm)); in meson_rtc_settime()
361 ret = regmap_read(rtc->serial, RTC_COUNTER, &tm); in meson_rtc_probe()
H A Drtc-gamecube.c73 #define RTC_COUNTER 0x200000 macro
168 ret = regmap_read(d->regmap, RTC_COUNTER, &counter); in gamecube_rtc_read_time()
186 return regmap_write(d->regmap, RTC_COUNTER, timestamp - d->rtc_bias); in gamecube_rtc_set_time()