Lines Matching defs:handle
49 todr_chip_handle_t handle;
59 handle = &sc->sc_handle;
60 handle->cookie = sc;
61 KASSERT(handle->todr_gettime == NULL);
62 KASSERT(handle->todr_settime == NULL);
63 if (handle->todr_gettime_ymdhms == NULL) {
64 handle->todr_gettime_ymdhms = mc146818_gettime_ymdhms;
66 if (handle->todr_settime_ymdhms == NULL) {
67 handle->todr_settime_ymdhms = mc146818_settime_ymdhms;
70 todr_attach(handle);
79 mc146818_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
84 sc = handle->cookie;
131 mc146818_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
136 sc = handle->cookie;