Home
last modified time | relevance | path

Searched refs:M41T94_REG_HOURS (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/rtc/
H A Dm41t94.c24 #define M41T94_REG_HOURS 0x03 macro
53 buf[M41T94_REG_HOURS] = bin2bcd(tm->tm_hour); in rtc_set()
58 buf[M41T94_REG_HOURS] |= M41T94_BIT_CEB; in rtc_set()
60 buf[M41T94_REG_HOURS] |= M41T94_BIT_CB; in rtc_set()
104 hour = spi_w8r8(slave, M41T94_REG_HOURS); in rtc_get()
/openbmc/linux/drivers/rtc/
H A Drtc-m41t94.c17 #define M41T94_REG_HOURS 0x03 macro
43 buf[M41T94_REG_HOURS] = bin2bcd(tm->tm_hour); in m41t94_set_time()
48 buf[M41T94_REG_HOURS] |= M41T94_BIT_CEB; in m41t94_set_time()
50 buf[M41T94_REG_HOURS] |= M41T94_BIT_CB; in m41t94_set_time()
84 hour = spi_w8r8(spi, M41T94_REG_HOURS); in m41t94_read_time()