| /OK3568_Linux_fs/u-boot/drivers/rtc/ |
| H A D | m41t11.c | 33 #if defined(CONFIG_SYS_I2C_RTC_ADDR) && defined(CONFIG_CMD_DATE) 80 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC_ADDR, 1, data, RTC_REG_CNT); in rtc_get() 98 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, M41T11_YEAR_DATA, 1, ¢, M41T11_YEAR_SIZE); in rtc_get() 106 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, M41T11_YEAR_DATA, 1, ¢, M41T11_YEAR_SIZE); in rtc_get() 151 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, M41T11_YEAR_DATA, 1, ¢, M41T11_YEAR_SIZE); in rtc_set() 154 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC_ADDR, 1, data, RTC_REG_CNT); in rtc_set() 163 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC_ADDR, 1, &val, 1); in rtc_reset() 165 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC_ADDR, 1, &val, RTC_REG_CNT); in rtc_reset() 167 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, RTC_CONTROL_ADDR, 1, &val, 1); in rtc_reset() 169 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_CONTROL_ADDR, 1, &val, 1); in rtc_reset()
|
| H A D | rv3029.c | 46 ret = i2c_read(CONFIG_SYS_I2C_RTC_ADDR, RTC_RV3029_CLOCK_PAGE, 1, buf, \ in rtc_get() 101 ret = i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_RV3029_CLOCK_PAGE, 1, in rtc_set() 114 (void)i2c_read(CONFIG_SYS_I2C_RTC_ADDR, RTC_RV3029_CTRL1, 1, in set_eere_bit() 122 (void)i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_RV3029_CTRL1, 1, in set_eere_bit() 133 (void)i2c_read(CONFIG_SYS_I2C_RTC_ADDR, RTC_RV3029_CTRL_STATUS, in wait_eebusy() 148 (void)i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_RV3029_CTRL_RESET, 1, in rtc_reset() 160 (void)i2c_read(CONFIG_SYS_I2C_RTC_ADDR, RTC_RV3029_EEPROM_CTRL, in rtc_reset() 177 (void)i2c_write(CONFIG_SYS_I2C_RTC_ADDR, in rtc_reset()
|
| H A D | ds1374.c | 35 #ifndef CONFIG_SYS_I2C_RTC_ADDR 36 # define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro 215 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read() 221 val |= i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg); in rtc_write() 222 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write() 224 val = i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg) & ~val; in rtc_write() 225 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write() 231 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write_raw()
|
| H A D | m41t60.c | 24 #if defined(CONFIG_SYS_I2C_RTC_ADDR) && defined(CONFIG_CMD_DATE) 65 if (i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, data, sizeof(data))) { in rtc_dump() 94 if (i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, data, sizeof(data))) { in rtc_validate() 105 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_SEC, 1, data, 1)) { in rtc_validate() 141 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, data, sizeof(data))) { in rtc_validate() 192 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, data, RTC_REG_CNT)) { in rtc_set() 235 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_CTRL, 1, data + RTC_CTRL, 1)) { in rtc_reset()
|
| H A D | rs5c372.c | 43 #ifndef CONFIG_SYS_I2C_RTC_ADDR 44 #define CONFIG_SYS_I2C_RTC_ADDR 0x32 macro 67 ret = i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 0, buf, len); in rs5c372_readram() 107 ret = i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 0, buf, RS5C372_RAM_SIZE+1); in rs5c372_enable() 208 ret = i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 0, buf, 1); in rtc_set() 237 ret = i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 0, buf, 8); in rtc_set()
|
| H A D | m41t62.c | 59 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, buf, M41T62_DATETIME_REG_SIZE); in rtc_get() 95 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, buf, M41T62_DATETIME_REG_SIZE); in rtc_set() 114 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, buf, M41T62_DATETIME_REG_SIZE)) { in rtc_set() 130 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, M41T62_REG_ALARM_HOUR, 1, &val, 1); in rtc_reset() 132 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, M41T62_REG_ALARM_HOUR, 1, &val, 1); in rtc_reset()
|
| H A D | max6900.c | 21 #ifndef CONFIG_SYS_I2C_RTC_ADDR 22 #define CONFIG_SYS_I2C_RTC_ADDR 0x50 macro 29 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read() 34 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
|
| H A D | rx8025.c | 29 #ifndef CONFIG_SYS_I2C_RTC_ADDR 30 # define CONFIG_SYS_I2C_RTC_ADDR 0x32 macro 87 if (i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 0, buf, 16)) in rtc_get() 174 if (i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 0, buf, 16)) in rtc_reset() 206 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, 0, 0, buf, 2) != 0) in rtc_write()
|
| H A D | ds1307.c | 67 #ifndef CONFIG_SYS_I2C_RTC_ADDR 68 # define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro 216 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read() 222 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
|
| H 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()
|
| H A D | pt7c4338.c | 53 return i2c_reg_read(CONFIG_SYS_I2C_RTC_ADDR, reg); in rtc_read() 58 i2c_reg_write(CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
|
| H A D | x1205.c | 82 i2c_write(CONFIG_SYS_I2C_RTC_ADDR, reg, 2, &val, 1); in rtc_write() 94 i2c_read(CONFIG_SYS_I2C_RTC_ADDR, X1205_CCR_BASE, 2, buf, 8); in rtc_get()
|
| H A D | ds3231.c | 162 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read() 168 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
|
| H A D | isl1208.c | 141 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read() 146 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
|
| H A D | ds1337.c | 186 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read() 192 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
|
| /OK3568_Linux_fs/u-boot/board/freescale/mpc8349itx/ |
| H A D | mpc8349itx.c | 258 #ifdef CONFIG_SYS_I2C_RTC_ADDR in misc_init_r() 312 #ifdef CONFIG_SYS_I2C_RTC_ADDR in misc_init_r() 315 if (i2c_read(CONFIG_SYS_I2C_RTC_ADDR, 0, 1, ds1339_data, sizeof(ds1339_data)) in misc_init_r() 359 (CONFIG_SYS_I2C_RTC_ADDR, 0, 1, ds1339_data, in misc_init_r()
|
| /OK3568_Linux_fs/u-boot/drivers/bootcount/ |
| H A D | bootcount_i2c.c | 21 ret = i2c_write(CONFIG_SYS_I2C_RTC_ADDR, CONFIG_SYS_BOOTCOUNT_ADDR, in bootcount_store() 32 ret = i2c_read(CONFIG_SYS_I2C_RTC_ADDR, CONFIG_SYS_BOOTCOUNT_ADDR, in bootcount_load()
|
| /OK3568_Linux_fs/u-boot/include/configs/ |
| H A D | xpedite520x.h | 72 CONFIG_SYS_I2C_RTC_ADDR} 201 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
| H A D | xpedite550x.h | 89 CONFIG_SYS_I2C_RTC_ADDR} 235 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
| H A D | tqma6_wru4.h | 30 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
| H A D | ls2080ardb.h | 312 #define CONFIG_SYS_I2C_RTC_ADDR 0x51 macro 315 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
| H A D | m28evk.h | 60 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
| H A D | aristainetos-common.h | 187 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
| H A D | pcm052.h | 78 #define CONFIG_SYS_I2C_RTC_ADDR 0x68 macro
|
| H A D | ls1012aqds.h | 60 #define CONFIG_SYS_I2C_RTC_ADDR 0x51 /* Channel 3*/ macro
|