Home | History | Annotate | Download | only in vr

Lines Matching defs:timeh

280 	uint32_t timeh;		/* elapse time (2*timeh sec) */
284 timeh = bus_space_read_2(iot, ioh, ETIME_H_REG_W);
285 timeh = (timeh << 16) | bus_space_read_2(iot, ioh, ETIME_M_REG_W);
288 DPRINTF(("clock_get: timeh %08x timel %08x\n", timeh, timel));
290 timeh -= EPOCHOFF;
291 sec = (uint64_t)timeh * 2;
311 uint32_t timeh; /* elapse time (2*timeh sec) */
317 timeh = EPOCHOFF + (sec / 2);
326 bus_space_write_2(iot, ioh, ETIME_H_REG_W, (timeh >> 16) & 0xffff);
327 bus_space_write_2(iot, ioh, ETIME_M_REG_W, timeh & 0xffff);
336 int timeh;
339 timeh = bus_space_read_2(sc->sc_iot, sc->sc_ioh, ETIME_H_REG_W);
343 printf("clock_init() Elapse Time %04x%04x\n", timeh, timel);
345 timeh = bus_space_read_2(sc->sc_iot, sc->sc_ioh, ECMP_H_REG_W);
349 printf("clock_init() Elapse Compare %04x%04x\n", timeh, timel);
351 timeh = bus_space_read_2(sc->sc_iot, sc->sc_ioh, RTCL1_H_REG_W);
353 printf("clock_init() LONG1 %04x%04x\n", timeh, timel);
355 timeh = bus_space_read_2(sc->sc_iot, sc->sc_ioh, RTCL1_CNT_H_REG_W);
357 printf("clock_init() LONG1 CNTL %04x%04x\n", timeh, timel);
359 timeh = bus_space_read_2(sc->sc_iot, sc->sc_ioh, RTCL2_H_REG_W);
361 printf("clock_init() LONG2 %04x%04x\n", timeh, timel);
363 timeh = bus_space_read_2(sc->sc_iot, sc->sc_ioh, RTCL2_CNT_H_REG_W);
365 printf("clock_init() LONG2 CNTL %04x%04x\n", timeh, timel);
368 timeh = bus_space_read_2(sc->sc_iot, sc->sc_ioh, TCLK_H_REG_W);
370 printf("clock_init() TCLK %04x%04x\n", timeh, timel);
372 timeh = bus_space_read_2(sc->sc_iot, sc->sc_ioh,
376 printf("clock_init() TCLK CNTL %04x%04x\n", timeh, timel);