Home
last modified time | relevance | path

Searched refs:mday (Results 1 – 15 of 15) sorted by relevance

/u-boot/drivers/rtc/
A Ds3c24x0_rtc.c46 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 Dpcf8563.c29 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 Dmax6900.c40 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 Dpt7c4338.c69 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 Ddavinci.c17 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 Dds1337.c76 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 Dds3231.c69 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 Dds164x.c55 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 Dds1556.c55 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 Dds174x.c50 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 Dmk48t59.c78 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 Dmc146818.c84 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 Drx8025.c102 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 Dds1306.c286 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 Dds1307.c84 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()

Completed in 13 milliseconds