HomeSort by: relevance | last modified time | path
    Searched defs:DAYS_REG (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/dev/i2c/
rkpmic.c 51 #define DAYS_REG 0x03
287 I2C_WRITE(sc, DAYS_REG, bintobcd(dt->dt_day));
316 dt->dt_day = bcdtobin(I2C_READ(sc, DAYS_REG));
twl4030.c 75 #define DAYS_REG 0x1f
174 days_reg, months_reg, years_reg, weeks_reg; local in function:twl_rtc_gettime
180 days_reg = POWER_READ(sc, DAYS_REG);
189 dt->dt_day = bcdtobin(days_reg);
207 POWER_WRITE(sc, DAYS_REG, bintobcd(dt->dt_day));

Completed in 13 milliseconds