Home
last modified time | relevance | path

Searched refs:mon_cent (Results 1 – 5 of 5) sorted by relevance

/u-boot/drivers/rtc/
A Dpcf8563.c29 uchar sec, min, hour, mday, wday, mon_cent, year; in rtc_get() local
36 mon_cent= rtc_read (0x07); in rtc_get()
41 year, mon_cent, mday, wday, in rtc_get()
58 tmp->tm_mon = bcd2bin (mon_cent & 0x1F); in rtc_get()
59 tmp->tm_year = bcd2bin (year) + ((mon_cent & 0x80) ? 1900 : 2000); in rtc_get()
125 uchar sec, min, hour, mday, wday, mon_cent, year; in pcf8563_rtc_get() local
132 mon_cent = dm_i2c_reg_read(dev, 0x07); in pcf8563_rtc_get()
136 year, mon_cent, mday, wday); in pcf8563_rtc_get()
154 tmp->tm_mon = bcd2bin(mon_cent & 0x1F); in pcf8563_rtc_get()
155 tmp->tm_year = bcd2bin(year) + ((mon_cent & 0x80) ? 1900 : 2000); in pcf8563_rtc_get()
A Dds1337.c76 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in rtc_get() local
85 mon_cent = rtc_read (RTC_MON_REG_ADDR); in rtc_get()
90 mon_cent |= 0x80; in rtc_get()
95 year, mon_cent, mday, wday, hour, min, sec, control, status); in rtc_get()
109 tmp->tm_mon = bcd2bin (mon_cent & 0x1F); in rtc_get()
110 tmp->tm_year = bcd2bin (year) + ((mon_cent & 0x80) ? 2000 : 1900); in rtc_get()
218 mon_cent = rtc_read(dev, RTC_MON_REG_ADDR); in ds1337_rtc_get()
223 mon_cent |= 0x80; in ds1337_rtc_get()
227 year, mon_cent, mday, wday); in ds1337_rtc_get()
243 tmp->tm_mon = bcd2bin(mon_cent & 0x1F); in ds1337_rtc_get()
[all …]
A Dds3231.c69 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in rtc_get() local
78 mon_cent = rtc_read (RTC_MON_REG_ADDR); in rtc_get()
83 year, mon_cent, mday, wday, hour, min, sec, control, status); in rtc_get()
97 tmp->tm_mon = bcd2bin (mon_cent & 0x1F); in rtc_get()
98 tmp->tm_year = bcd2bin (year) + ((mon_cent & 0x80) ? 2000 : 1900); in rtc_get()
178 uchar sec, min, hour, mday, wday, mon_cent, year, status; in ds3231_rtc_get() local
186 mon_cent = dm_i2c_reg_read(dev, RTC_MON_REG_ADDR); in ds3231_rtc_get()
202 tmp->tm_mon = bcd2bin(mon_cent & 0x1F); in ds3231_rtc_get()
203 tmp->tm_year = bcd2bin(year) + ((mon_cent & 0x80) ? 2000 : 1900); in ds3231_rtc_get()
A Ddavinci.c17 unsigned long sec, min, hour, mday, wday, mon_cent, year; in rtc_get() local
33 mon_cent = readl(&rtc->month); in rtc_get()
38 year, mon_cent, mday, wday, in rtc_get()
45 tmp->tm_mon = bcd2bin(mon_cent & 0x1F); in rtc_get()
A Dds174x.c75 year, mon_cent, mday, wday, in rtc_get()

Completed in 6 milliseconds