Searched refs:M41T94_REG_SECONDS (Results 1 – 1 of 1) sorted by relevance
18 #define M41T94_REG_SECONDS 0x01 macro43 buf[0] = 0x80 | M41T94_REG_SECONDS; /* write time + date */ in m41t94_set_time()44 buf[M41T94_REG_SECONDS] = bin2bcd(tm->tm_sec); in m41t94_set_time()76 ret = spi_w8r8(spi, M41T94_REG_SECONDS); in m41t94_read_time()80 buf[0] = 0x80 | M41T94_REG_SECONDS; in m41t94_read_time()85 tm->tm_sec = bcd2bin(spi_w8r8(spi, M41T94_REG_SECONDS)); in m41t94_read_time()121 res = spi_w8r8(spi, M41T94_REG_SECONDS); in m41t94_probe()