Lines Matching refs:tch
387 if ((rv = todr_wenable(tch, 1)) != 0) { \
395 if (todr_wenable(tch, 0) != 0) \
401 todr_gettime(todr_chip_handle_t tch, struct timeval *tvp) in todr_gettime() argument
410 if (tch->todr_gettime) { in todr_gettime()
412 rv = tch->todr_gettime(tch, tvp); in todr_gettime()
422 } else if (tch->todr_gettime_ymdhms) { in todr_gettime()
425 rv = tch->todr_gettime_ymdhms(tch, &dt); in todr_gettime()
459 todr_settime(todr_chip_handle_t tch, struct timeval *tvp) in todr_settime() argument
463 if (tch->todr_settime) { in todr_settime()
467 rv = tch->todr_settime(tch, ©); in todr_settime()
471 } else if (tch->todr_settime_ymdhms) { in todr_settime()
478 rv = tch->todr_settime_ymdhms(tch, &dt); in todr_settime()