Home | History | Annotate | Download | only in vr

Lines Matching defs:timel

281 	uint32_t timel;		/* timel/32768 sec */
286 timel = bus_space_read_2(iot, ioh, ETIME_L_REG_W);
288 DPRINTF(("clock_get: timeh %08x timel %08x\n", timeh, timel));
294 tvp->tv_sec += timel / ETIME_L_HZ;
297 usec = (timel % ETIME_L_HZ);
312 uint32_t timel; /* timel/32768 sec */
318 timel = sec % 2;
324 timel += (uint32_t)cnt;
328 bus_space_write_2(iot, ioh, ETIME_L_REG_W, timel);
337 int timel;
340 timel = bus_space_read_2(sc->sc_iot, sc->sc_ioh, ETIME_M_REG_W);
341 timel = (timel << 16)
343 printf("clock_init() Elapse Time %04x%04x\n", timeh, timel);
346 timel = bus_space_read_2(sc->sc_iot, sc->sc_ioh, ECMP_M_REG_W);
347 timel = (timel << 16)
349 printf("clock_init() Elapse Compare %04x%04x\n", timeh, timel);
352 timel = bus_space_read_2(sc->sc_iot, sc->sc_ioh, RTCL1_L_REG_W);
353 printf("clock_init() LONG1 %04x%04x\n", timeh, timel);
356 timel = bus_space_read_2(sc->sc_iot, sc->sc_ioh, RTCL1_CNT_L_REG_W);
357 printf("clock_init() LONG1 CNTL %04x%04x\n", timeh, timel);
360 timel = bus_space_read_2(sc->sc_iot, sc->sc_ioh, RTCL2_L_REG_W);
361 printf("clock_init() LONG2 %04x%04x\n", timeh, timel);
364 timel = bus_space_read_2(sc->sc_iot, sc->sc_ioh, RTCL2_CNT_L_REG_W);
365 printf("clock_init() LONG2 CNTL %04x%04x\n", timeh, timel);
369 timel = bus_space_read_2(sc->sc_iot, sc->sc_ioh, TCLK_L_REG_W);
370 printf("clock_init() TCLK %04x%04x\n", timeh, timel);
374 timel = bus_space_read_2(sc->sc_iot, sc->sc_ioh,
376 printf("clock_init() TCLK CNTL %04x%04x\n", timeh, timel);