/u-boot/drivers/rtc/ |
A D | s3c24x0_rtc.c | 46 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local 58 mday = readb(&rtc->bcddate); in rtc_get() 79 year, mon, mday, wday, hour, min, sec); in rtc_get() 88 tmp->tm_mday = bcd2bin(mday & 0x3F); in rtc_get() 110 uchar sec, min, hour, mday, wday, mon, year; in rtc_set() local 120 mday = bin2bcd(tmp->tm_mday); in rtc_set() 132 writeb(mday, &rtc->bcddate); in rtc_set()
|
A D | pcf8563.c | 29 uchar sec, min, hour, mday, wday, mon_cent, year; in rtc_get() local 34 mday = rtc_read (0x05); in rtc_get() 41 year, mon_cent, mday, wday, in rtc_get() 57 tmp->tm_mday = bcd2bin (mday & 0x3F); in rtc_get() 125 uchar sec, min, hour, mday, wday, mon_cent, year; in pcf8563_rtc_get() local 130 mday = dm_i2c_reg_read(dev, 0x05); in pcf8563_rtc_get() 136 year, mon_cent, mday, wday); in pcf8563_rtc_get() 153 tmp->tm_mday = bcd2bin(mday & 0x3F); in pcf8563_rtc_get()
|
A D | max6900.c | 40 uchar sec, min, hour, mday, wday, mon, cent, year; in rtc_get() local 47 mday = rtc_read (0x86); in rtc_get() 62 year, mon, cent, mday, wday, in rtc_get() 68 tmp->tm_mday = bcd2bin (mday & 0x3F); in rtc_get()
|
A D | pt7c4338.c | 69 u8 sec, min, hour, mday, wday, mon, year, ctl_stat; in rtc_get() local 76 mday = rtc_read(RTC_DATE_REG_ADDR); in rtc_get() 81 year, mon, mday, wday, hour, min, sec, ctl_stat); in rtc_get() 95 tmp->tm_mday = bcd2bin(mday & 0x3F); in rtc_get() 146 u8 sec, min, hour, mday, wday, mon, year, ctl_stat; in pt7c4338_rtc_get() local 153 mday = rtc_read(dev, RTC_DATE_REG_ADDR); in pt7c4338_rtc_get() 157 year, mon, mday, wday); in pt7c4338_rtc_get() 174 tmp->tm_mday = bcd2bin(mday & 0x3F); in pt7c4338_rtc_get()
|
A D | davinci.c | 17 unsigned long sec, min, hour, mday, wday, mon_cent, year; in rtc_get() local 31 mday = readl(&rtc->day); in rtc_get() 38 year, mon_cent, mday, wday, in rtc_get() 44 tmp->tm_mday = bcd2bin(mday & 0x3F); in rtc_get()
|
A D | ds1337.c | 76 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in rtc_get() local 84 mday = rtc_read (RTC_DATE_REG_ADDR); in rtc_get() 95 year, mon_cent, mday, wday, hour, min, sec, control, status); in rtc_get() 108 tmp->tm_mday = bcd2bin (mday & 0x3F); in rtc_get() 209 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in ds1337_rtc_get() local 217 mday = rtc_read(dev, RTC_DATE_REG_ADDR); in ds1337_rtc_get() 227 year, mon_cent, mday, wday); in ds1337_rtc_get() 242 tmp->tm_mday = bcd2bin(mday & 0x3F); in ds1337_rtc_get()
|
A D | ds3231.c | 69 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in rtc_get() local 77 mday = rtc_read (RTC_DATE_REG_ADDR); in rtc_get() 83 year, mon_cent, mday, wday, hour, min, sec, control, status); in rtc_get() 96 tmp->tm_mday = bcd2bin (mday & 0x3F); in rtc_get() 178 uchar sec, min, hour, mday, wday, mon_cent, year, status; in ds3231_rtc_get() local 185 mday = dm_i2c_reg_read(dev, RTC_DATE_REG_ADDR); in ds3231_rtc_get() 201 tmp->tm_mday = bcd2bin(mday & 0x3F); in ds3231_rtc_get()
|
A D | ds164x.c | 55 uchar mday, wday, mon, year; in rtc_get() local 66 mday = rtc_read( RTC_DAY_OF_MONTH ); in rtc_get() 77 year, mon, mday, wday, in rtc_get() 83 tmp->tm_mday = bcd2bin( mday & 0x3F ); in rtc_get()
|
A D | ds1556.c | 55 uchar mday, wday, mon, year; in rtc_get() local 68 mday = rtc_read( RTC_DAY_OF_MONTH ); in rtc_get() 80 year, century, mon, mday, wday, in rtc_get() 86 tmp->tm_mday = bcd2bin( mday & 0x3F ); in rtc_get()
|
A D | ds174x.c | 50 uchar mday, wday, mon, year; in rtc_get() local 63 mday = rtc_read( RTC_DAY_OF_MONTH ); in rtc_get() 75 year, mon_cent, mday, wday, in rtc_get() 81 tmp->tm_mday = bcd2bin( mday & 0x3F ); in rtc_get()
|
A D | mk48t59.c | 78 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local 90 mday = rtc_read (RTC_DAY_OF_MONTH); in rtc_get() 102 year, mon, mday, wday, in rtc_get() 108 tmp->tm_mday = bcd2bin (mday & 0x3F); in rtc_get()
|
A D | mc146818.c | 84 uchar sec, min, hour, mday, wday __attribute__((unused)),mon, year; in mc146818_get() local 93 mday = mc146818_read8(RTC_DATE_OF_MONTH); in mc146818_get() 99 year, mon, mday, wday, hour, min, sec); in mc146818_get() 109 tmp->tm_mday = bcd2bin(mday & 0x3f); in mc146818_get()
|
A D | rx8025.c | 102 uchar sec, min, hour, mday, wday, mon, year, ctl2; local 118 mday = rtc_read(RTC_DATE_REG_ADDR); 124 year, mon, mday, wday, hour, min, sec); 151 tmp->tm_mday = bcd2bin (mday & 0x3F);
|
A D | ds1306.c | 286 unsigned char sec, min, hour, mday, wday, mon, year; in rtc_get() local 307 mday = rtc_read (RTC_DATE_OF_MONTH); in rtc_get() 316 year, mon, mday, wday, hour, min, sec); in rtc_get() 337 tmp->tm_mday = bcd2bin (mday & 0x3F); /* convert Day of the Month */ in rtc_get()
|
A D | ds1307.c | 84 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local 93 mday = rtc_read (RTC_DATE_REG_ADDR); in rtc_get() 99 year, mon, mday, wday, hour, min, sec); in rtc_get() 130 tmp->tm_mday = bcd2bin (mday & 0x3F); in rtc_get()
|