Searched refs:X1205_CCR_BASE (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/rtc/ |
H A D | x1205.c | 64 #define X1205_CCR_BASE 0x30 /* Base address of CCR */ macro 91 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, X1205_CCR_BASE, 2, buf, 8); in rtc_get() 148 rtc_write(X1205_CCR_BASE + i, buf[i]); in rtc_set()
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-x1205.c | 65 #define X1205_CCR_BASE 0x30 /* Base address of CCR */ macro 123 if (reg_base < X1205_CCR_BASE) in x1205_get_datetime() 209 if (reg_base < X1205_CCR_BASE) in x1205_set_datetime() 236 if (reg_base < X1205_CCR_BASE) { in x1205_set_datetime() 286 err = x1205_set_datetime(client, &tm, X1205_CCR_BASE, 0); in x1205_fix_osc() 537 tm, X1205_CCR_BASE); in x1205_rtc_read_time() 543 tm, X1205_CCR_BASE, 0); in x1205_rtc_set_time()
|