Lines Matching refs:outb
361 outb(RTC_ADDR, RTC_D); /* check if clock valid */ in todpc_rtcget()
369 outb(RTC_ADDR, RTC_A); /* check if update in progress */ in todpc_rtcget()
377 outb(RTC_ADDR, i); in todpc_rtcget()
380 outb(RTC_ADDR, century); /* do century */ in todpc_rtcget()
384 outb(RTC_ADDR, day_alrm); in todpc_rtcget()
388 outb(RTC_ADDR, mon_alrm); in todpc_rtcget()
392 outb(RTC_ADDR, 0); /* re-read Seconds register */ in todpc_rtcget()
422 outb(RTC_ADDR, RTC_B); in todpc_rtcput()
424 outb(RTC_ADDR, RTC_B); in todpc_rtcput()
425 outb(RTC_DATA, reg | RTC_SET); /* allow time set now */ in todpc_rtcput()
427 outb(RTC_ADDR, i); in todpc_rtcput()
428 outb(RTC_DATA, buf[i]); in todpc_rtcput()
430 outb(RTC_ADDR, century); /* do century */ in todpc_rtcput()
431 outb(RTC_DATA, ((struct rtc_t *)buf)->rtc_century); in todpc_rtcput()
434 outb(RTC_ADDR, day_alrm); in todpc_rtcput()
438 outb(RTC_DATA, tmp); in todpc_rtcput()
441 outb(RTC_ADDR, mon_alrm); in todpc_rtcput()
442 outb(RTC_DATA, ((struct rtc_t *)buf)->rtc_amon); in todpc_rtcput()
445 outb(RTC_ADDR, RTC_B); in todpc_rtcput()
447 outb(RTC_ADDR, RTC_B); in todpc_rtcput()
448 outb(RTC_DATA, reg & ~RTC_SET); /* allow time update */ in todpc_rtcput()