Home
last modified time | relevance | path

Searched refs:wday (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/arch/m68k/atari/
Dtime.c229 int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; in atari_tt_hwclk() local
246 wday = t->tm_wday + (t->tm_wday >= 0); in atari_tt_hwclk()
265 if (wday >= 0) BIN_TO_BCD(wday); in atari_tt_hwclk()
296 wday = RTC_READ( RTC_DAY_OF_WEEK ); in atari_tt_hwclk()
305 if (wday >= 0) RTC_WRITE( RTC_DAY_OF_WEEK, wday ); in atari_tt_hwclk()
325 BCD_TO_BIN(wday); in atari_tt_hwclk()
341 t->tm_wday = wday - 1; in atari_tt_hwclk()
/linux-2.4.37.9/arch/m68k/sun3/
Dintersil.c34 unsigned char wday; in sun3_gettod() local
51 wday = todintersil->weekday; in sun3_gettod()
/linux-2.4.37.9/arch/m68k/sun3x/
Dtime.c76 h->wday = BIN_TO_BCD(t->tm_wday); in sun3x_hwclk()
86 t->tm_wday = BCD_TO_BIN(h->wday); in sun3x_hwclk()
Dtime.h15 volatile unsigned char wday; member
/linux-2.4.37.9/arch/m68k/mac/
Dmisc.c534 long int days, rem, y, wday, yday; in unmktime() local
553 wday = (4 + days) % 7; /* Day in the week. Not currently used */ in unmktime()
554 if (wday < 0) wday += 7; in unmktime()
/linux-2.4.37.9/drivers/acorn/char/
Dpcf8583.h18 unsigned char wday; member
Dpcf8583.c95 dt->wday = buf[5] >> 5; in pcf8583_get_datetime()
129 buf[7] = BIN_TO_BCD(dt->mon) | (dt->wday << 5); in pcf8583_set_datetime()
/linux-2.4.37.9/arch/ppc/amiga/
Dconfig.c618 t->wday = tod->weekday; in amiga_hwclk()
632 if (t->wday != -1) in amiga_hwclk()
633 tod->weekday = t->wday; in amiga_hwclk()
656 t->wday = tod->weekday; in amiga_hwclk()
683 if (t->wday != -1) in amiga_hwclk()
684 tod->weekday = t->wday; in amiga_hwclk()