Lines Matching refs:txp
63 u8 txbuf[5+7], *txp;
78 txp = txbuf;
84 txp = &txbuf[5];
85 txp[RS5C348_REG_SECS] = bin2bcd(tm->tm_sec);
86 txp[RS5C348_REG_MINS] = bin2bcd(tm->tm_min);
88 txp[RS5C348_REG_HOURS] = bin2bcd(tm->tm_hour);
91 txp[RS5C348_REG_HOURS] = bin2bcd((tm->tm_hour + 11) % 12 + 1) |
94 txp[RS5C348_REG_WDAY] = bin2bcd(tm->tm_wday);
95 txp[RS5C348_REG_DAY] = bin2bcd(tm->tm_mday);
96 txp[RS5C348_REG_MONTH] = bin2bcd(tm->tm_mon + 1) |
98 txp[RS5C348_REG_YEAR] = bin2bcd(tm->tm_year % 100);