Lines Matching refs:tch
234 todr_gettime(todr_chip_handle_t tch, struct timeval *tvp)
239 if (tch->todr_gettime) {
240 rv = tch->todr_gettime(tch, tvp);
249 } else if (tch->todr_gettime_ymdhms) {
250 rv = tch->todr_gettime_ymdhms(tch, &dt);
283 todr_settime(todr_chip_handle_t tch, struct timeval *tvp)
288 if (tch->todr_settime) {
292 rv = tch->todr_settime(tch, ©);
295 } else if (tch->todr_settime_ymdhms) {
300 rv = tch->todr_settime_ymdhms(tch, &dt);