Lines Matching refs:writeb
143 writeb(tmp, priv->base + off); in rtca3_byte_update_bits()
152 writeb(val & ~pending, priv->base + RTCA3_RSR); in rtca3_alarm_handler_helper()
183 writeb(val & ~pending, priv->base + RTCA3_RSR); in rtca3_periodic_handler()
294 writeb(rcr2 & ~RTCA3_RCR2_START, priv->base + RTCA3_RCR2); in rtca3_set_time()
302 writeb(bin2bcd(tm->tm_sec), priv->base + RTCA3_RSECCNT); in rtca3_set_time()
303 writeb(bin2bcd(tm->tm_min), priv->base + RTCA3_RMINCNT); in rtca3_set_time()
304 writeb(bin2bcd(tm->tm_hour), priv->base + RTCA3_RHRCNT); in rtca3_set_time()
305 writeb(bin2bcd(tm->tm_wday), priv->base + RTCA3_RWKCNT); in rtca3_set_time()
306 writeb(bin2bcd(tm->tm_mday), priv->base + RTCA3_RDAYCNT); in rtca3_set_time()
307 writeb(bin2bcd(tm->tm_mon + 1), priv->base + RTCA3_RMONCNT); in rtca3_set_time()
314 writeb(rcr2 | RTCA3_RCR2_START, priv->base + RTCA3_RCR2); in rtca3_set_time()
400 writeb(rcr1, priv->base + RTCA3_RCR1); in rtca3_set_alarm()
408 writeb(RTCA3_AR_ENB | bin2bcd(tm->tm_sec), priv->base + RTCA3_RSECAR); in rtca3_set_alarm()
409 writeb(RTCA3_AR_ENB | bin2bcd(tm->tm_min), priv->base + RTCA3_RMINAR); in rtca3_set_alarm()
410 writeb(RTCA3_AR_ENB | bin2bcd(tm->tm_hour), priv->base + RTCA3_RHRAR); in rtca3_set_alarm()
411 writeb(RTCA3_AR_ENB | bin2bcd(tm->tm_wday), priv->base + RTCA3_RWKAR); in rtca3_set_alarm()
412 writeb(RTCA3_AR_ENB | bin2bcd(tm->tm_mday), priv->base + RTCA3_RDAYAR); in rtca3_set_alarm()
413 writeb(RTCA3_AR_ENB | bin2bcd(tm->tm_mon + 1), priv->base + RTCA3_RMONAR); in rtca3_set_alarm()
416 writeb(RTCA3_AR_ENB, priv->base + RTCA3_RYRAREN); in rtca3_set_alarm()
427 writeb(rcr1, priv->base + RTCA3_RCR1); in rtca3_set_alarm()
457 writeb(rcr1 & ~RTCA3_RCR1_PIE, priv->base + RTCA3_RCR1); in rtca3_set_alarm()
538 writeb(0, priv->base + RTCA3_RADJ); in rtca3_set_offset()
552 writeb(radj, priv->base + RTCA3_RADJ); in rtca3_set_offset()
603 writeb(0, priv->base + RTCA3_RCR2); in rtca3_initial_setup()
615 writeb(val, priv->base + RTCA3_RCR2); in rtca3_initial_setup()
623 writeb(val | RTCA3_RCR2_RESET, priv->base + RTCA3_RCR2); in rtca3_initial_setup()
637 writeb(0, priv->base + RTCA3_RADJ); in rtca3_initial_setup()
644 writeb(val, priv->base + RTCA3_RCR2); in rtca3_initial_setup()