/netbsd-current/tools/compat/dev/ |
H A D | clock_subr.h | 46 u_char dt_wday; /* Day of week */ member in struct:clock_ymdhms
|
/netbsd-current/sys/dev/ |
H A D | clock_subr.h | 45 uint8_t dt_wday; /* Day of week */ member in struct:clock_ymdhms
|
H A D | clock_subr.c | 156 dt->dt_wday = (days + 4) % 7;
|
/netbsd-current/sys/modules/examples/current_time/ |
H A D | current_time.c | 60 w_day[dt.dt_wday], dt.dt_year, dt.dt_mon, dt.dt_day, dt.dt_hour,
|
/netbsd-current/sys/arch/amiga/dev/ |
H A D | a34kbbc.c | 122 dt->dt_wday = rt->weekday; 142 (dt->dt_wday > 6) || 172 rt->weekday = dt->dt_wday;
|
/netbsd-current/sys/arch/luna68k/dev/ |
H A D | timekeeper.c | 130 dt->dt_wday = bcdtobin(chiptime[MK_DOW]); 155 chiptime[MK_DOW] = bintobcd(dt->dt_wday); 205 dt->dt_wday = chiptime[MC_DOW]; 228 chiptime[MC_DOW] = dt->dt_wday;
|
/netbsd-current/sys/arch/sgimips/dev/ |
H A D | dsclock.c | 149 dt->dt_wday = bcdtobin(regs[DS1286_DOW]); 175 regs[DS1286_DOW] = bintobcd(dt->dt_wday);
|
H A D | dpclock.c | 183 dt->dt_wday = bcdtobin(regs[DP8573A_DOW]); /* Not from time saved */ 216 regs[DP8573A_DOW] = bintobcd(dt->dt_wday);
|
/netbsd-current/sys/dev/ic/ |
H A D | intersil7170.c | 99 dt->dt_wday = bus_space_read_1(bt, bh, INTERSIL_IDOW); 148 bus_space_write_1(bt, bh, INTERSIL_IDOW, dt->dt_wday);
|
H A D | mc146818.c | 103 dt->dt_wday = FROMREG((*sc->sc_mcread)(sc, MC_DOW)); 152 (*sc->sc_mcwrite)(sc, MC_DOW, TOREG(dt->dt_wday));
|
H A D | rs5c313.c | 189 dt->dt_wday = rs5c313_read_reg(sc, RS5C313_WDAY); 250 rs5c313_write_reg(sc, RS5C313_WDAY, dt->dt_wday);
|
H A D | mk48txx.c | 125 dt->dt_wday = bcdtobin((*sc->sc_nvrd)(sc, clkoff + MK48TXX_IWDAY)); 183 (*sc->sc_nvwr)(sc, clkoff + MK48TXX_IWDAY, bintobcd(dt->dt_wday));
|
H A D | msm6242b.c | 112 dt->dt_wday = msm6242b_read(sc, MSM6242B_WEEK); 248 msm6242b_write(sc, MSM6242B_WEEK, dt->dt_wday);
|
/netbsd-current/sys/arch/arm/s3c2xx0/ |
H A D | s3c2440_rtc.c | 128 dt->dt_wday = bcdtobin(reg); 143 DPRINTF(("Day: %d\n", dt->dt_wday)); 165 bus_space_write_1(sc->sc_iot, sc->sc_ioh, RTC_BCDDAY, bintobcd(dt->dt_wday));
|
/netbsd-current/sys/dev/i2c/ |
H A D | rkpmic.c | 290 I2C_WRITE(sc, WEEKS_REG, bintobcd(dt->dt_wday == 0 ? 7 : dt->dt_wday)); 319 dt->dt_wday = bcdtobin(I2C_READ(sc, WEEKS_REG)); 320 if (dt->dt_wday == 7) 321 dt->dt_wday = 0; 339 dt->dt_year, dt->dt_mon, dt->dt_day, dt->dt_wday,
|
H A D | r2025.c | 148 dt->dt_wday = bcdtobin(bcd[R2025_REG_WDAY] & R2025_REG_WDAY_MASK); 184 bcd[R2025_REG_WDAY] = bintobcd(dt->dt_wday) & R2025_REG_WDAY_MASK;
|
H A D | ac100.c | 196 dt->dt_wday = bcdtobin(wee & 0x7); 213 ac100_write(sc, AC100_RTC_WEE_REG, bintobcd(dt->dt_wday) & 0x7);
|
H A D | pcf8563.c | 177 dt->dt_wday = bcdtobin(bcd[PCF8563_R_WEEKDAY] & PCF8563_M_WEEKDAY); 198 bcd[PCF8563_R_WEEKDAY] = bintobcd(dt->dt_wday);
|
/netbsd-current/sys/arch/vax/vax/ |
H A D | ka820.c | 491 c.dt_wday = ka820_clkpage->dayofwk; 501 c.dt_wday = ((c.dt_wday << 7) | (c.dt_wday >> 1)) & 0377; 521 ka820_clkpage->dayofwk = ((c.dt_wday << 1) | (c.dt_wday >> 7)) & 0377;
|
H A D | clock.c | 283 c.dt_wday = REGPEEK(WDAY_OFF); 311 REGPOKE(WDAY_OFF, c.dt_wday);
|
/netbsd-current/sys/arch/sgimips/mace/ |
H A D | mcclock_mace.c | 193 dt->dt_wday = bcdtobin(regs[DS1687_SOFT_DOW]); 214 regs[DS1687_SOFT_DOW] = bintobcd(dt->dt_wday);
|
/netbsd-current/sys/arch/arm/xscale/ |
H A D | pxa2x0_rtc.c | 223 dayr |= ((dt->dt_wday + 1) & RDCR_DOW_MASK) << RDCR_DOW_SHIFT; 224 wom = ((dt->dt_day - 1 + 6 - dt->dt_wday) / 7) + 1;
|
/netbsd-current/sys/arch/arm/marvell/ |
H A D | mvsocrtc.c | 165 (bintobcd(dt->dt_wday) << MVSOCRTC_WDAY_OFFSET);
|
/netbsd-current/sys/arch/mipsco/obio/ |
H A D | mkclock.c | 123 dt->dt_wday = mk_read(sc, 3);
|
/netbsd-current/sys/arch/sparc/dev/ |
H A D | rtc.c | 198 mc146818_write(sc, MC_DOW, dt->dt_wday + 1);
|