Lines Matching defs:timel
280 uint32_t timel; /* timel/32768 sec */
285 timel = bus_space_read_2(iot, ioh, ETIME_L_REG_W);
287 DPRINTF(("clock_get: timeh %08x timel %08x\n", timeh, timel));
293 tvp->tv_sec += timel / ETIME_L_HZ;
296 usec = (timel % ETIME_L_HZ);
311 uint32_t timel; /* timel/32768 sec */
317 timel = sec % 2;
323 timel += (uint32_t)cnt;
327 bus_space_write_2(iot, ioh, ETIME_L_REG_W, timel);
336 int timel;
339 timel = bus_space_read_2(sc->sc_iot, sc->sc_ioh, ETIME_M_REG_W);
340 timel = (timel << 16)
342 printf("clock_init() Elapse Time %04x%04x\n", timeh, timel);
345 timel = bus_space_read_2(sc->sc_iot, sc->sc_ioh, ECMP_M_REG_W);
346 timel = (timel << 16)
348 printf("clock_init() Elapse Compare %04x%04x\n", timeh, timel);
351 timel = bus_space_read_2(sc->sc_iot, sc->sc_ioh, RTCL1_L_REG_W);
352 printf("clock_init() LONG1 %04x%04x\n", timeh, timel);
355 timel = bus_space_read_2(sc->sc_iot, sc->sc_ioh, RTCL1_CNT_L_REG_W);
356 printf("clock_init() LONG1 CNTL %04x%04x\n", timeh, timel);
359 timel = bus_space_read_2(sc->sc_iot, sc->sc_ioh, RTCL2_L_REG_W);
360 printf("clock_init() LONG2 %04x%04x\n", timeh, timel);
363 timel = bus_space_read_2(sc->sc_iot, sc->sc_ioh, RTCL2_CNT_L_REG_W);
364 printf("clock_init() LONG2 CNTL %04x%04x\n", timeh, timel);
368 timel = bus_space_read_2(sc->sc_iot, sc->sc_ioh, TCLK_L_REG_W);
369 printf("clock_init() TCLK %04x%04x\n", timeh, timel);
373 timel = bus_space_read_2(sc->sc_iot, sc->sc_ioh,
375 printf("clock_init() TCLK CNTL %04x%04x\n", timeh, timel);