Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/rtc/
H A Dm41t62.c40 #define M41T62_DATETIME_REG_SIZE (M41T62_REG_YEAR + 1) macro
109 u8 buf[M41T62_DATETIME_REG_SIZE]; in m41t62_rtc_get()
123 u8 buf[M41T62_DATETIME_REG_SIZE]; in m41t62_rtc_set()
180 u8 buf[M41T62_DATETIME_REG_SIZE]; in rtc_get()
182 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, buf, M41T62_DATETIME_REG_SIZE); in rtc_get()
190 u8 buf[M41T62_DATETIME_REG_SIZE]; in rtc_set()
192 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, buf, M41T62_DATETIME_REG_SIZE); in rtc_set()
196 M41T62_DATETIME_REG_SIZE)) { in rtc_set()