Searched refs:ac100_write (Results 1 - 1 of 1) sorted by relevance
/netbsd-current/sys/dev/i2c/ |
H A D | ac100.c | 115 static int ac100_write(struct ac100_softc *, uint8_t, uint16_t); 148 ac100_write(sc, AC100_RTC_CTRL_REG, AC100_RTC_CTRL_12H_24H_MODE); 172 ac100_write(struct ac100_softc *sc, uint8_t reg, uint16_t val) function 210 ac100_write(sc, AC100_RTC_SEC_REG, bintobcd(dt->dt_sec) & 0x7f); 211 ac100_write(sc, AC100_RTC_MIN_REG, bintobcd(dt->dt_min) & 0x7f); 212 ac100_write(sc, AC100_RTC_HOU_REG, bintobcd(dt->dt_hour) & 0x3f); 213 ac100_write(sc, AC100_RTC_WEE_REG, bintobcd(dt->dt_wday) & 0x7); 214 ac100_write(sc, AC100_RTC_DAY_REG, bintobcd(dt->dt_day) & 0x3f); 215 ac100_write(sc, AC100_RTC_MON_REG, bintobcd(dt->dt_mon) & 0x1f); 216 ac100_write(s [all...] |
Completed in 189 milliseconds