as3722.c | 215 static int as3722_write(struct as3722_softc *, uint8_t, uint8_t, int); 292 error = as3722_write(sc, AS3722_GPIO0_CTRL_REG, 349 as3722_write(struct as3722_softc *sc, uint8_t reg, uint8_t val, int flags) function in typeref:typename:int 369 return as3722_write(sc, reg, new, flags); 477 error += as3722_write(sc, AS3722_RTC_SECOND_REG, buf[0], flags); 478 error += as3722_write(sc, AS3722_RTC_MINUTE_REG, buf[1], flags); 479 error += as3722_write(sc, AS3722_RTC_HOUR_REG, buf[2], flags); 480 error += as3722_write(sc, AS3722_RTC_DAY_REG, buf[3], flags); 481 error += as3722_write(sc, AS3722_RTC_MONTH_REG, buf[4], flags); 482 error += as3722_write(sc, AS3722_RTC_YEAR_REG, buf[5], flags) [all...] |