Home | History | Annotate | Download | only in dev

Lines Matching refs:RTC

106  *  'sc_flags' state info. Only used by the rtc-device functions.
406 struct rtc *rtc = cookie;
408 rtc->rtc_regno = regno;
409 return rtc->rtc_data & 0xff;
414 struct rtc *rtc = cookie;
416 rtc->rtc_regno = regno;
417 rtc->rtc_data = value;
428 regb = mc146818_read(RTC, MC_REGB);
429 MC146818_GETTOD(RTC, &clkregs);
436 " A write to /dev/rtc will correct this.\n");
476 MC146818_PUTTOD(RTC, &clkregs);
483 * RTC-device support *
519 MC146818_GETTOD(RTC, &clkregs);
571 mc146818_write(RTC, MC_REGB,
572 mc146818_read(RTC, MC_REGB) | MC_REGB_24HR | MC_REGB_BINARY);
573 MC146818_GETTOD(RTC, &clkregs);
585 MC146818_PUTTOD(RTC, &clkregs);