Searched refs:tm_wday (Results 1 – 14 of 14) sorted by relevance
170 if (tm.tm_wday == 0) tm.tm_wday = 7; in m41t81_set_time()171 tm.tm_wday = bin2bcd(tm.tm_wday); in m41t81_set_time()172 m41t81_write(M41T81REG_DY, tm.tm_wday); in m41t81_set_time()
54 todintersil->weekday = t->tm_wday; in sun3_hwclk()64 t->tm_wday = todintersil->weekday; in sun3_hwclk()
63 wtime.tm_wday = bcd2bin(rtc->bcd_dow)-1; in rtc_ioctl()118 if (rtc_tm.tm_wday >= 0) in rtc_ioctl()119 rtc->bcd_dow = bin2bcd(rtc_tm.tm_wday+1); in rtc_ioctl()
286 if (t->tm_wday >= 0) in bvme6000_hwclk()287 rtc->bcd_dow = bin2bcd(t->tm_wday+1); in bvme6000_hwclk()301 t->tm_wday = bcd2bin(rtc->bcd_dow)-1; in bvme6000_hwclk()
52 h->wday = bin2bcd(t->tm_wday); in sun3x_hwclk()62 t->tm_wday = bcd2bin(h->wday); in sun3x_hwclk()
141 val.weekday = t->tm_wday; in atari_mste_hwclk()162 t->tm_wday = val.weekday; in atari_mste_hwclk()186 wday = t->tm_wday + (t->tm_wday >= 0); in atari_tt_hwclk()283 t->tm_wday = wday - 1; in atari_tt_hwclk()
223 t->tm_wday=rtc->day_of_week; in dn_dummy_hwclk()231 if(t->tm_wday!=-1) in dn_dummy_hwclk()232 rtc->day_of_week=t->tm_wday; in dn_dummy_hwclk()
240 if (t->tm_wday >= 0) in q40_hwclk()241 Q40_RTC_DOW = bin2bcd(t->tm_wday+1); in q40_hwclk()259 t->tm_wday = bcd2bin(Q40_RTC_DOW)-1; in q40_hwclk()
53 int tm_wday; member
40 pr_debug("%s:%d tm_wday %d\n", func, line, tm->tm_wday); in _dump_tm()
59 wtime.tm_wday = bcd2bin(rtc->bcd_dow)-1; in rtc_ioctl()
211 t->tm_wday = -1; in hp300_hwclk()
717 t->tm_wday = 0; in mac_hwclk()
990 tm->tm_wday = day % 7; in GregorianDay()