/openbmc/u-boot/drivers/rtc/ |
H A D | m41t11.c | 77 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC_ADDR, 1, data, RTC_REG_CNT); in rtc_get() 95 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, M41T11_YEAR_DATA, 1, ¢, M41T11_YEAR_SIZE); in rtc_get() 103 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, M41T11_YEAR_DATA, 1, ¢, M41T11_YEAR_SIZE); in rtc_get() 148 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, M41T11_YEAR_DATA, 1, ¢, M41T11_YEAR_SIZE); in rtc_set() 151 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC_ADDR, 1, data, RTC_REG_CNT); in rtc_set() 160 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC_ADDR, 1, &val, 1); in rtc_reset() 162 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC_ADDR, 1, &val, RTC_REG_CNT); in rtc_reset() 164 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, RTC_CONTROL_ADDR, 1, &val, 1); in rtc_reset() 166 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_CONTROL_ADDR, 1, &val, 1); in rtc_reset()
|
H A D | ds1374.c | 32 #ifndef CONFIG_SYS_I2C_RTC_ADDR 33 # define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro 197 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read() 203 val |= i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg); in rtc_write() 204 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write() 206 val = i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg) & ~val; in rtc_write() 207 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write() 213 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write_raw()
|
H A D | rs5c372.c | 42 #ifndef CONFIG_SYS_I2C_RTC_ADDR 43 #define CONFIG_SYS_I2C_RTC_ADDR 0x32 macro 66 ret = i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 0, buf, len); in rs5c372_readram() 106 ret = i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 0, buf, RS5C372_RAM_SIZE+1); in rs5c372_enable() 207 ret = i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 0, buf, 1); in rtc_set() 236 ret = i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 0, buf, 8); in rtc_set()
|
H A D | m41t60.c | 62 if (i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, data, sizeof(data))) { in rtc_dump() 91 if (i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, data, sizeof(data))) { in rtc_validate() 102 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC, 1, data, 1)) { in rtc_validate() 138 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, data, sizeof(data))) { in rtc_validate() 189 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, data, RTC_REG_CNT)) { in rtc_set() 232 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_CTRL, 1, data + RTC_CTRL, 1)) { in rtc_reset()
|
H A D | max6900.c | 18 #ifndef CONFIG_SYS_I2C_RTC_ADDR 19 #define CONFIG_SYS_I2C_RTC_ADDR 0x50 macro 26 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read() 31 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
|
H A D | rx8025.c | 26 #ifndef CONFIG_SYS_I2C_RTC_ADDR 27 # define CONFIG_SYS_I2C_RTC_ADDR 0x32 macro 84 if (i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 0, buf, 16)) in rtc_get() 170 if (i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 0, buf, 16)) in rtc_reset() 187 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 0, buf, 2) != 0) in rtc_write()
|
H A D | m41t62.c | 182 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, buf, M41T62_DATETIME_REG_SIZE); in rtc_get() 192 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, buf, M41T62_DATETIME_REG_SIZE); in rtc_set() 195 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, buf, in rtc_set() 212 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, M41T62_REG_ALARM_HOUR, 1, &val, 1); in rtc_reset() 214 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, M41T62_REG_ALARM_HOUR, 1, &val, 1); in rtc_reset()
|
H A D | rx8010sj.c | 35 #ifndef CONFIG_SYS_I2C_RTC_ADDR 36 # define CONFIG_SYS_I2C_RTC_ADDR 0x32 macro 315 .chip = CONFIG_SYS_I2C_RTC_ADDR, in rtc_get() 324 .chip = CONFIG_SYS_I2C_RTC_ADDR, in rtc_set() 333 .chip = CONFIG_SYS_I2C_RTC_ADDR, in rtc_reset() 342 .chip = CONFIG_SYS_I2C_RTC_ADDR, in rtc_init()
|
H A D | ds1307.c | 64 #ifndef CONFIG_SYS_I2C_RTC_ADDR 65 # define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro 196 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read() 202 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
|
H A D | pcf8563.c | 111 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read() 116 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
|
H A D | pt7c4338.c | 52 return i2c_reg_read(CONFIG_SYS_I2C_RTC_ADDR, reg); in rtc_read() 57 i2c_reg_write(CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
|
H A D | x1205.c | 79 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, reg, 2, &val, 1); in rtc_write() 91 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, X1205_CCR_BASE, 2, buf, 8); in rtc_get()
|
H A D | ds3231.c | 159 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read() 165 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
|
H A D | ds1337.c | 183 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read() 189 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
|
/openbmc/u-boot/drivers/bootcount/ |
H A D | bootcount_i2c.c | 20 ret = i2c_write(CONFIG_SYS_I2C_RTC_ADDR, CONFIG_SYS_BOOTCOUNT_ADDR, in bootcount_store() 31 ret = i2c_read(CONFIG_SYS_I2C_RTC_ADDR, CONFIG_SYS_BOOTCOUNT_ADDR, in bootcount_load()
|
/openbmc/u-boot/board/freescale/mpc8349itx/ |
H A D | mpc8349itx.c | 257 #ifdef CONFIG_SYS_I2C_RTC_ADDR in misc_init_r() 311 #ifdef CONFIG_SYS_I2C_RTC_ADDR in misc_init_r() 314 if (i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, ds1339_data, sizeof(ds1339_data)) in misc_init_r() 358 (CONFIG_SYS_I2C_RTC_ADDR, 0, 1, ds1339_data, in misc_init_r()
|
/openbmc/u-boot/include/configs/ |
H A D | tqma6_wru4.h | 25 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
H A D | xpedite520x.h | 63 CONFIG_SYS_I2C_RTC_ADDR} 188 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
H A D | xpedite550x.h | 80 CONFIG_SYS_I2C_RTC_ADDR} 221 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
H A D | aristainetos-common.h | 177 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
H A D | pcm052.h | 61 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
H A D | ls1012aqds.h | 57 #define CONFIG_SYS_I2C_RTC_ADDR 0x51 /* Channel 3*/ macro
|
H A D | ls2080ardb.h | 305 #define CONFIG_SYS_I2C_RTC_ADDR 0x51 macro 308 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
H A D | mcx.h | 76 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
H A D | mx53ppd.h | 54 #define CONFIG_SYS_I2C_RTC_ADDR 0x30 macro
|