Searched refs:wday (Results 1 - 3 of 3) sorted by relevance
/drivers/rtc/ |
H A D | rtc-mv.c | 73 unsigned int year, month, day, hour, minute, second, wday; local 81 wday = (rtc_time >> RTC_WDAY_OFFS) & 0x7; 91 tm->tm_wday = bcd2bin(wday); 104 unsigned int year, month, day, hour, minute, second, wday; local 112 wday = (rtc_time >> RTC_WDAY_OFFS) & 0x7; 122 alm->time.tm_wday = bcd2bin(wday);
|
H A D | rtc-ds1216.c | 21 u8 wday; member in struct:ds1216_regs 97 tm->tm_wday = (regs.wday & 7) - 1; 125 regs.wday &= ~7; 126 regs.wday |= tm->tm_wday;
|
H A D | rtc-pl031.c | 121 int wday = tm->tm_wday; local 123 /* wday masking is not working in hardware so wday must be valid */ 124 if (wday < -1 || wday > 6) { 125 dev_err(dev, "invalid wday value %d\n", tm->tm_wday); 127 } else if (wday == -1) { 128 /* wday is not provided, calculate it here */ 134 wday = calc_tm.tm_wday; 141 | ((wday [all...] |
Completed in 58 milliseconds