Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/sun4u/snowbird/io/todds1307/
H A Dtodds1307.c100 static int bcd2int(unsigned char num);
557 rtc->rtc_year = bcd2int(i2c_tp->i2c_rbuf[6]); in todds1307_read_rtc()
558 rtc->rtc_mon = bcd2int(i2c_tp->i2c_rbuf[5]); in todds1307_read_rtc()
559 rtc->rtc_dom = bcd2int(i2c_tp->i2c_rbuf[4]); in todds1307_read_rtc()
560 rtc->rtc_dow = bcd2int(i2c_tp->i2c_rbuf[3]); in todds1307_read_rtc()
561 rtc->rtc_hrs = bcd2int(i2c_tp->i2c_rbuf[2]); in todds1307_read_rtc()
562 rtc->rtc_min = bcd2int(i2c_tp->i2c_rbuf[1]); in todds1307_read_rtc()
563 rtc->rtc_sec = bcd2int(i2c_tp->i2c_rbuf[0]); in todds1307_read_rtc()
661 bcd2int(unsigned char num) { in bcd2int() function