Lines Matching full:tm
64 struct efi_tm tm; in efirtc_probe() local
72 if ((error = efi_get_time(&tm)) != 0) { in efirtc_probe()
132 struct efi_tm tm; in efirtc_gettime() local
135 error = efi_get_time(&tm); in efirtc_gettime()
139 ct.sec = tm.tm_sec; in efirtc_gettime()
140 ct.min = tm.tm_min; in efirtc_gettime()
141 ct.hour = tm.tm_hour; in efirtc_gettime()
142 ct.day = tm.tm_mday; in efirtc_gettime()
143 ct.mon = tm.tm_mon; in efirtc_gettime()
144 ct.year = tm.tm_year; in efirtc_gettime()
145 ct.nsec = tm.tm_nsec; in efirtc_gettime()
155 struct efi_tm tm; in efirtc_settime() local
169 bzero(&tm, sizeof(tm)); in efirtc_settime()
170 tm.tm_sec = ct.sec; in efirtc_settime()
171 tm.tm_min = ct.min; in efirtc_settime()
172 tm.tm_hour = ct.hour; in efirtc_settime()
173 tm.tm_mday = ct.day; in efirtc_settime()
174 tm.tm_mon = ct.mon; in efirtc_settime()
175 tm.tm_year = ct.year; in efirtc_settime()
176 tm.tm_nsec = ct.nsec; in efirtc_settime()
178 return (efi_set_time(&tm)); in efirtc_settime()