Searched defs:week (Results 1 - 4 of 4) sorted by path
/drivers/rtc/ |
H A D | rtc-ds1553.c | 106 unsigned int year, month, day, hour, minute, second, week; local 118 week = readb(ioaddr + RTC_DAY) & RTC_DAY_MASK; 127 tm->tm_wday = bcd2bin(week);
|
H A D | rtc-ds1742.c | 93 unsigned int year, month, day, hour, minute, second, week; local 105 week = readb(ioaddr + RTC_DAY) & RTC_DAY_MASK; 114 tm->tm_wday = bcd2bin(week);
|
H A D | rtc-ds3232.c | 107 unsigned int week, twelve_hr, am_pm; local 120 week = buf[3]; 145 /* Day of the week in linux range is 0~6 while 1~7 in RTC chip */ 146 time->tm_wday = bcd2bin(week) - 1; 168 /* Day of the week in linux range is 0~6 while 1~7 in RTC chip */
|
H A D | rtc-stk17ta8.c | 105 unsigned int year, month, day, hour, minute, second, week; local 120 week = readb(ioaddr + RTC_DAY) & RTC_DAY_MASK; 129 tm->tm_wday = bcd2bin(week);
|
Completed in 84 milliseconds