/u-boot/drivers/rtc/ |
A D | m41t11.c | 78 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC_ADDR, 1, data, RTC_REG_CNT); in rtc_get() 96 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, M41T11_YEAR_DATA, 1, ¢, M41T11_YEAR_SIZE); in rtc_get() 104 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, M41T11_YEAR_DATA, 1, ¢, M41T11_YEAR_SIZE); in rtc_get() 149 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, M41T11_YEAR_DATA, 1, ¢, M41T11_YEAR_SIZE); in rtc_set() 152 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC_ADDR, 1, data, RTC_REG_CNT); in rtc_set() 161 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC_ADDR, 1, &val, 1); in rtc_reset() 163 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC_ADDR, 1, &val, RTC_REG_CNT); in rtc_reset() 165 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, RTC_CONTROL_ADDR, 1, &val, 1); in rtc_reset() 167 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_CONTROL_ADDR, 1, &val, 1); in rtc_reset()
|
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()
|
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()
|
A D | max6900.c | 19 #ifndef CONFIG_SYS_I2C_RTC_ADDR 20 #define CONFIG_SYS_I2C_RTC_ADDR 0x50 macro 27 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read() 32 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
|
A D | m41t60.c | 64 if (i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, data, sizeof(data))) { in rtc_dump() 93 if (i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, data, sizeof(data))) { in rtc_validate() 104 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC, 1, data, 1)) { in rtc_validate() 140 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, data, sizeof(data))) { in rtc_validate() 191 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, data, RTC_REG_CNT)) { in rtc_set() 234 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_CTRL, 1, data + RTC_CTRL, 1)) { in rtc_reset()
|
A D | rx8025.c | 27 #ifndef CONFIG_SYS_I2C_RTC_ADDR 28 # define CONFIG_SYS_I2C_RTC_ADDR 0x32 macro 283 .chip = CONFIG_SYS_I2C_RTC_ADDR, 292 .chip = CONFIG_SYS_I2C_RTC_ADDR, 301 .chip = CONFIG_SYS_I2C_RTC_ADDR,
|
A D | rx8010sj.c | 36 #ifndef CONFIG_SYS_I2C_RTC_ADDR 37 # define CONFIG_SYS_I2C_RTC_ADDR 0x32 macro 316 .chip = CONFIG_SYS_I2C_RTC_ADDR, in rtc_get() 325 .chip = CONFIG_SYS_I2C_RTC_ADDR, in rtc_set() 334 .chip = CONFIG_SYS_I2C_RTC_ADDR, in rtc_reset() 343 .chip = CONFIG_SYS_I2C_RTC_ADDR, in rtc_init()
|
A D | m41t62.c | 322 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, buf, M41T62_DATETIME_REG_SIZE); in rtc_get() 332 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, buf, M41T62_DATETIME_REG_SIZE); in rtc_set() 335 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, buf, in rtc_set() 352 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, M41T62_REG_ALARM_HOUR, 1, &val, 1); in rtc_reset() 354 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, M41T62_REG_ALARM_HOUR, 1, &val, 1); in rtc_reset()
|
A D | x1205.c | 80 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, reg, 2, &val, 1); in rtc_write() 92 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, X1205_CCR_BASE, 2, buf, 8); in rtc_get()
|
A D | ds1307.c | 67 #ifndef CONFIG_SYS_I2C_RTC_ADDR 68 # define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro 199 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read() 205 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
|
A D | pcf8563.c | 114 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read() 119 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
|
/u-boot/drivers/bootcount/ |
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()
|
/u-boot/board/freescale/mpc8349itx/ |
A D | mpc8349itx.c | 266 #ifdef CONFIG_SYS_I2C_RTC_ADDR in misc_init_r() 320 #ifdef CONFIG_SYS_I2C_RTC_ADDR in misc_init_r() 323 if (i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, ds1339_data, sizeof(ds1339_data)) in misc_init_r() 367 (CONFIG_SYS_I2C_RTC_ADDR, 0, 1, ds1339_data, in misc_init_r()
|
/u-boot/include/configs/ |
A D | tqma6_wru4.h | 23 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
A D | socfpga_arria5_secu1.h | 28 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
A D | xpedite520x.h | 61 CONFIG_SYS_I2C_RTC_ADDR} 186 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
A D | xpedite550x.h | 78 CONFIG_SYS_I2C_RTC_ADDR} 219 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
A D | ls1012aqds.h | 53 #define CONFIG_SYS_I2C_RTC_ADDR 0x51 /* Channel 3*/ macro
|
A D | ethernut5.h | 94 #define CONFIG_SYS_I2C_RTC_ADDR 0x51 macro
|
A D | ls1046afrwy.h | 93 #define CONFIG_SYS_I2C_RTC_ADDR 0x51 /* Channel 0 I2C bus 0*/ macro
|
A D | m53menlo.h | 103 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
A D | TQM834x.h | 125 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 /* at address 0x68 */ macro
|
A D | x600.h | 77 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
A D | ls2080ardb.h | 282 #define CONFIG_SYS_I2C_RTC_ADDR 0x51 macro 285 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
A D | lx2160a_common.h | 110 #define CONFIG_SYS_I2C_RTC_ADDR 0x51 /* Channel 3*/ macro
|