sys/dev/i2c/ac100.c
113
static int ac100_write(struct ac100_softc *, uint8_t, uint16_t);
sys/dev/i2c/ac100.c
158
ac100_write(sc, AC100_RTC_CTRL_REG, AC100_RTC_CTRL_12H_24H_MODE);
sys/dev/i2c/ac100.c
245
ac100_write(sc, AC100_RTC_SEC_REG, bintobcd(dt->dt_sec) & 0x7f);
sys/dev/i2c/ac100.c
246
ac100_write(sc, AC100_RTC_MIN_REG, bintobcd(dt->dt_min) & 0x7f);
sys/dev/i2c/ac100.c
247
ac100_write(sc, AC100_RTC_HOU_REG, bintobcd(dt->dt_hour) & 0x3f);
sys/dev/i2c/ac100.c
248
ac100_write(sc, AC100_RTC_WEE_REG, bintobcd(dt->dt_wday) & 0x7);
sys/dev/i2c/ac100.c
249
ac100_write(sc, AC100_RTC_DAY_REG, bintobcd(dt->dt_day) & 0x3f);
sys/dev/i2c/ac100.c
250
ac100_write(sc, AC100_RTC_MON_REG, bintobcd(dt->dt_mon) & 0x1f);
sys/dev/i2c/ac100.c
251
ac100_write(sc, AC100_RTC_YEA_REG,
sys/dev/i2c/ac100.c
253
ac100_write(sc, AC100_RTC_UPD_TRIG_REG, AC100_RTC_UPD_TRIG_WRITE);