Lines Matching refs:time
195 alrm->time.tm_year = ioread32(priv->iobase + HW_ALYEAR); in asm9260_rtc_read_alarm()
196 alrm->time.tm_mon = ioread32(priv->iobase + HW_ALMON); in asm9260_rtc_read_alarm()
197 alrm->time.tm_mday = ioread32(priv->iobase + HW_ALDOM); in asm9260_rtc_read_alarm()
198 alrm->time.tm_wday = ioread32(priv->iobase + HW_ALDOW); in asm9260_rtc_read_alarm()
199 alrm->time.tm_yday = ioread32(priv->iobase + HW_ALDOY); in asm9260_rtc_read_alarm()
200 alrm->time.tm_hour = ioread32(priv->iobase + HW_ALHOUR); in asm9260_rtc_read_alarm()
201 alrm->time.tm_min = ioread32(priv->iobase + HW_ALMIN); in asm9260_rtc_read_alarm()
202 alrm->time.tm_sec = ioread32(priv->iobase + HW_ALSEC); in asm9260_rtc_read_alarm()
207 return rtc_valid_tm(&alrm->time); in asm9260_rtc_read_alarm()
214 iowrite32(alrm->time.tm_year, priv->iobase + HW_ALYEAR); in asm9260_rtc_set_alarm()
215 iowrite32(alrm->time.tm_mon, priv->iobase + HW_ALMON); in asm9260_rtc_set_alarm()
216 iowrite32(alrm->time.tm_mday, priv->iobase + HW_ALDOM); in asm9260_rtc_set_alarm()
217 iowrite32(alrm->time.tm_wday, priv->iobase + HW_ALDOW); in asm9260_rtc_set_alarm()
218 iowrite32(alrm->time.tm_yday, priv->iobase + HW_ALDOY); in asm9260_rtc_set_alarm()
219 iowrite32(alrm->time.tm_hour, priv->iobase + HW_ALHOUR); in asm9260_rtc_set_alarm()
220 iowrite32(alrm->time.tm_min, priv->iobase + HW_ALMIN); in asm9260_rtc_set_alarm()
221 iowrite32(alrm->time.tm_sec, priv->iobase + HW_ALSEC); in asm9260_rtc_set_alarm()