Searched refs:wday (Results 1 – 4 of 4) sorted by relevance
/arch/m68k/atari/ |
D | time.c | 200 int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; in atari_tt_hwclk() local 217 wday = t->tm_wday + (t->tm_wday >= 0); in atari_tt_hwclk() 236 if (wday >= 0) in atari_tt_hwclk() 237 wday = bin2bcd(wday); in atari_tt_hwclk() 269 wday = RTC_READ( RTC_DAY_OF_WEEK ); in atari_tt_hwclk() 278 if (wday >= 0) RTC_WRITE( RTC_DAY_OF_WEEK, wday ); in atari_tt_hwclk() 298 wday = bcd2bin(wday); in atari_tt_hwclk() 314 t->tm_wday = wday - 1; in atari_tt_hwclk()
|
/arch/m68k/sun3x/ |
D | time.c | 53 h->wday = bin2bcd(t->tm_wday); in sun3x_hwclk() 63 t->tm_wday = bcd2bin(h->wday); in sun3x_hwclk()
|
D | time.h | 13 volatile unsigned char wday; member
|
/arch/m68k/mac/ |
D | misc.c | 558 int days, rem, y, wday, yday; in unmktime() local 576 wday = (4 + days) % 7; /* Day in the week. Not currently used */ in unmktime() 577 if (wday < 0) wday += 7; in unmktime()
|