Searched refs:POWER_WRITE (Results 1 - 1 of 1) sorted by relevance
/netbsd-current/sys/dev/i2c/ |
H A D | twl4030.c | 154 #define POWER_WRITE(sc, reg, val) twl_write((sc), ADDR_POWER, (reg), (val), I2C_F_POLL) macro 166 POWER_WRITE(sc, RTC_CTRL_REG, rtc_ctrl); 204 POWER_WRITE(sc, SECONDS_REG, bintobcd(dt->dt_sec)); 205 POWER_WRITE(sc, MINUTES_REG, bintobcd(dt->dt_min)); 206 POWER_WRITE(sc, HOURS_REG, bintobcd(dt->dt_hour)); 207 POWER_WRITE(sc, DAYS_REG, bintobcd(dt->dt_day)); 208 POWER_WRITE(sc, MONTHS_REG, bintobcd(dt->dt_mon)); 209 POWER_WRITE(sc, YEARS_REG, bintobcd(dt->dt_year % 100)); 210 POWER_WRITE(sc, WEEKS_REG, bintobcd(dt->dt_wday));
|
Completed in 150 milliseconds