Home
last modified time | relevance | path

Searched refs:time_state (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/rtc/
H A Drtc-hid-sensor-time.c56 time_state->last_time = time_state->time_buf; in hid_time_proc_event()
145 &time_state->info[i]) < 0) in hid_time_parse_report()
167 if (time_state->info[i].units != in hid_time_parse_report()
172 time_state->info[i].units == in hid_time_parse_report()
209 *tm = time_state->last_time; in hid_rtc_read_time()
229 if (time_state == NULL) in hid_time_probe()
250 time_state); in hid_time_probe()
260 &time_state->callbacks); in hid_time_probe()
282 if (IS_ERR(time_state->rtc)) { in hid_time_probe()
284 ret = PTR_ERR(time_state->rtc); in hid_time_probe()
[all …]
/openbmc/linux/kernel/time/
H A Dntp.c57 static int time_state = TIME_OK; variable
411 switch (time_state) { in second_overflow()
414 time_state = TIME_INS; in second_overflow()
418 time_state = TIME_DEL; in second_overflow()
426 time_state = TIME_OK; in second_overflow()
429 time_state = TIME_OOP; in second_overflow()
437 time_state = TIME_OK; in second_overflow()
441 time_state = TIME_WAIT; in second_overflow()
448 time_state = TIME_WAIT; in second_overflow()
452 time_state = TIME_OK; in second_overflow()
[all …]