Lines Matching refs:txp
67 u8 txbuf[5+7], *txp;
71 txp = txbuf;
77 txp = &txbuf[5];
78 txp[RS5C348_REG_SECS] = bin2bcd(tm->tm_sec);
79 txp[RS5C348_REG_MINS] = bin2bcd(tm->tm_min);
81 txp[RS5C348_REG_HOURS] = bin2bcd(tm->tm_hour);
84 txp[RS5C348_REG_HOURS] = bin2bcd((tm->tm_hour + 11) % 12 + 1) |
87 txp[RS5C348_REG_WDAY] = bin2bcd(tm->tm_wday);
88 txp[RS5C348_REG_DAY] = bin2bcd(tm->tm_mday);
89 txp[RS5C348_REG_MONTH] = bin2bcd(tm->tm_mon + 1) |
91 txp[RS5C348_REG_YEAR] = bin2bcd(tm->tm_year % 100);