/netbsd-current/tools/compat/dev/ |
H A D | clock_subr.h | 47 u_char dt_hour; member in struct:clock_ymdhms
|
/netbsd-current/sys/dev/ic/ |
H A D | msm6242b.c | 84 dt.dt_year, dt.dt_mon, dt.dt_day, dt.dt_hour, dt.dt_min, dt.dt_sec); 104 dt->dt_hour = (msm6242b_read(sc, MSM6242B_10HOUR_PMAM) & 116 dt->dt_year, dt->dt_mon, dt->dt_day, dt->dt_hour, dt->dt_min, dt->dt_sec); 123 MSM6242B_PMAM_BIT) == 0 && dt->dt_hour == 12) 124 dt->dt_hour = 0; 126 MSM6242B_PMAM_BIT) && dt->dt_hour != 12) 127 dt->dt_hour += 12; 136 if ((dt->dt_hour > 23) || 227 if (dt->dt_hour >= 12) { 229 if (dt->dt_hour ! [all...] |
H A D | mm58167.c | 110 _MM58167_GET(dt_hour, mm58167_hour); 140 (dt->dt_hour < dt_reasonable.dt_hour || 141 (dt->dt_hour == dt_reasonable.dt_hour && 253 _MM58167_PUT(dt_hour, mm58167_hour);
|
H A D | intersil7170reg.h | 52 uint8_t dt_hour; member in struct:intersil_dt
|
H A D | intersil7170.c | 93 dt->dt_hour = bus_space_read_1(bt, bh, INTERSIL_IHOUR); 142 bus_space_write_1(bt, bh, INTERSIL_IHOUR, dt->dt_hour);
|
H A D | mc146818.c | 102 dt->dt_hour = FROMREG((*sc->sc_mcread)(sc, MC_HOUR)); 151 (*sc->sc_mcwrite)(sc, MC_HOUR, TOREG(dt->dt_hour));
|
/netbsd-current/sys/arch/next68k/next68k/ |
H A D | rtc.c | 291 dt->dt_hour = bcdtobin(h & 0x1f); 294 if (dt->dt_hour < 12) 295 dt->dt_hour += 12; 298 if (dt->dt_hour == 12) 299 dt->dt_hour = 0; 305 val.dt_hour = bcdtobin(h & 0x3f); 333 if (dt->dt_hour == 0) { 335 } else if (dt->dt_hour < 12) { 337 rtc_write(RTC_HRS, bintobcd(dt->dt_hour) | 0x80); 338 } else if (dt->dt_hour [all...] |
/netbsd-current/sys/arch/playstation2/playstation2/ |
H A D | clock.c | 88 dt->dt_hour = bcdtobin(rtc->hour); 97 dt->dt_mon, dt->dt_day, dt->dt_hour, dt->dt_min, dt->dt_sec,
|
/netbsd-current/sys/arch/sgimips/dev/ |
H A D | dsclock.c | 133 dt->dt_hour = 142 if (dt->dt_hour == 24) 143 dt->dt_hour = 0; 145 dt->dt_hour = 174 regs[DS1286_HOUR] = bintobcd(dt->dt_hour) & DS1286_HOUR_24HR_MASK;
|
H A D | dpclock.c | 166 dt->dt_hour = bcdtobin(regs[DP8573A_SAVE_HOUR] & 176 if (dt->dt_hour == 24) 177 dt->dt_hour = 0; 179 dt->dt_hour = bcdtobin(regs[DP8573A_SAVE_HOUR] & 215 regs[DP8573A_HOUR] = bintobcd(dt->dt_hour) & DP8573A_HOUR_24HR_MASK;
|
/netbsd-current/sys/arch/arm/xscale/ |
H A D | pxa2x0_rtc.c | 133 dt.dt_hour, dt.dt_min, dt.dt_sec)); 151 dt.dt_hour, dt.dt_min, dt.dt_sec)); 165 dt.dt_hour, dt.dt_min, dt.dt_sec)); 191 dt->dt_hour = (dayr >> RDCR_HOUR_SHIFT) & RDCR_HOUR_MASK; 199 dt->dt_hour, dt->dt_min, dt->dt_sec)); 218 dt->dt_hour, dt->dt_min, dt->dt_sec)); 222 dayr |= (dt->dt_hour & RDCR_HOUR_MASK) << RDCR_HOUR_SHIFT;
|
/netbsd-current/sys/arch/amiga/dev/ |
H A D | a34kbbc.c | 121 dt->dt_hour = rt->hour1 * 10 + rt->hour2; 141 if ((dt->dt_hour > 23) || 170 rt->hour1 = dt->dt_hour / 10; 171 rt->hour2 = dt->dt_hour % 10;
|
/netbsd-current/sys/dev/ |
H A D | clock_subr.h | 46 uint8_t dt_hour; member in struct:clock_ymdhms
|
H A D | clock_subr.c | 132 * 24 + dt->dt_hour) 198 dt->dt_hour = rsec / SECS_PER_HOUR;
|
/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/dev/dec/ |
H A D | mcclock.c | 166 dt.dt_hour = regs[MC_HOUR]; 180 dt.dt_hour = 0; 212 dt.dt_hour = 0; 232 regs[MC_HOUR] = dt.dt_hour;
|
/netbsd-current/sys/dev/i2c/ |
H A D | r2025.c | 136 dt->dt_hour = hour; 139 dt->dt_hour = 0; 141 dt->dt_hour = 12; 143 dt->dt_hour = (hour - 8); 145 dt->dt_hour = hour; 183 bcd[R2025_REG_HOUR] = bintobcd(dt->dt_hour) & R2025_REG_HOUR_MASK;
|
/netbsd-current/sys/arch/x68k/dev/ |
H A D | rtclock.c | 126 dt->dt_hour = RTC_REG(RTC_HOUR10) * 10 + RTC_REG(RTC_HOUR); 154 hour1 = dt->dt_hour / 10; 155 hour2 = dt->dt_hour % 10;
|
/netbsd-current/sys/arch/luna68k/dev/ |
H A D | timekeeper.c | 129 dt->dt_hour = bcdtobin(chiptime[MK_HOUR]); 154 chiptime[MK_HOUR] = bintobcd(dt->dt_hour); 204 dt->dt_hour = chiptime[MC_HOUR]; 227 chiptime[MC_HOUR] = dt->dt_hour;
|
/netbsd-current/sys/arch/arm/marvell/ |
H A D | mvsocrtc.c | 148 dt->dt_hour = bcdtobin(rtchour); 164 (bintobcd(dt->dt_hour) << MVSOCRTC_HOUR_OFFSET) |
|
/netbsd-current/sys/arch/mipsco/obio/ |
H A D | mkclock.c | 122 dt->dt_hour = mk_read(sc, 2); 146 mk_write(sc, 2, dt->dt_hour);
|
/netbsd-current/sys/dev/ofw/ |
H A D | ofrtc.c | 179 dt->dt_hour = date[OFRTC_HR]; 195 hr = dt->dt_hour;
|
/netbsd-current/sys/arch/sparc/dev/ |
H A D | rtc.c | 163 dt->dt_hour = mc146818_read(sc, MC_HOUR); 197 mc146818_write(sc, MC_HOUR, dt->dt_hour);
|
/netbsd-current/sys/arch/evbppc/walnut/dev/ |
H A D | ds1743.c | 163 dt.dt_hour, dt.dt_min, dt.dt_sec); 239 ds1743_write(sc, DS_HOURS, bintobcd(dt->dt_hour) & 0x3f); 259 dt->dt_hour = bcdtobin(ds1743_read(sc, DS_HOURS) & 0x3f);
|
/netbsd-current/sys/arch/arm/s3c2xx0/ |
H A D | s3c2440_rtc.c | 120 dt->dt_hour = bcdtobin(reg); 140 DPRINTF(("Hour: %d\n", dt->dt_hour)); 163 bus_space_write_1(sc->sc_iot, sc->sc_ioh, RTC_BCDHOUR, bintobcd(dt->dt_hour));
|