Lines Matching refs:i2c_rbuf
299 tempVal = i2c_tp->i2c_rbuf[0];
525 tmpval = i2c_tp->i2c_rbuf[0];
647 tmpval = i2c_tp->i2c_rbuf[0];
687 tmpval = i2c_tp->i2c_rbuf[0];
776 bcopy(i2c_tp->i2c_rbuf, tod_read, 7);
788 if (bcmp(tod_read, i2c_tp->i2c_rbuf, 7) != 0) {
794 } while (i2c_tp->i2c_rbuf[0] == 0x59 &&
796 bcmp(&tod_read[1], &i2c_tp->i2c_rbuf[1], 6) != 0 &&
803 bcopy(i2c_tp->i2c_rbuf, tod_read, 7);
806 rtc->rtc_year = BCD_TO_BYTE(i2c_tp->i2c_rbuf[6]);
807 rtc->rtc_mon = BCD_TO_BYTE(i2c_tp->i2c_rbuf[5]);
808 rtc->rtc_dom = BCD_TO_BYTE(i2c_tp->i2c_rbuf[4]);
809 rtc->rtc_dow = BCD_TO_BYTE(i2c_tp->i2c_rbuf[3]);
810 rtc->rtc_hrs = BCD_TO_BYTE(i2c_tp->i2c_rbuf[2]);
811 rtc->rtc_min = BCD_TO_BYTE(i2c_tp->i2c_rbuf[1]);
812 rtc->rtc_sec = BCD_TO_BYTE(i2c_tp->i2c_rbuf[0]);