Searched refs:wday (Results 1 – 4 of 4) sorted by relevance
/arch/m68k/atari/ |
D | time.c | 169 int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; in atari_tt_hwclk() local 186 wday = t->tm_wday + (t->tm_wday >= 0); in atari_tt_hwclk() 205 if (wday >= 0) in atari_tt_hwclk() 206 wday = bin2bcd(wday); in atari_tt_hwclk() 238 wday = RTC_READ( RTC_DAY_OF_WEEK ); in atari_tt_hwclk() 247 if (wday >= 0) RTC_WRITE( RTC_DAY_OF_WEEK, wday ); in atari_tt_hwclk() 267 wday = bcd2bin(wday); in atari_tt_hwclk() 283 t->tm_wday = wday - 1; in atari_tt_hwclk()
|
/arch/m68k/sun3x/ |
D | time.c | 52 h->wday = bin2bcd(t->tm_wday); in sun3x_hwclk() 62 t->tm_wday = bcd2bin(h->wday); in sun3x_hwclk()
|
D | time.h | 13 volatile unsigned char wday; member
|
/arch/m68k/mac/ |
D | misc.c | 641 long int days, rem, y, wday, yday; in unmktime() local 660 wday = (4 + days) % 7; /* Day in the week. Not currently used */ in unmktime() 661 if (wday < 0) wday += 7; in unmktime()
|