Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/rtc/
Drtc-hid-sensor-time.c66 struct hid_time_state *time_state = platform_get_drvdata(priv); in hid_time_proc_event() local
68 spin_lock_irqsave(&time_state->lock_last_time, flags); in hid_time_proc_event()
69 time_state->last_time = time_state->time_buf; in hid_time_proc_event()
70 spin_unlock_irqrestore(&time_state->lock_last_time, flags); in hid_time_proc_event()
71 complete(&time_state->comp_last_time); in hid_time_proc_event()
93 struct hid_time_state *time_state = platform_get_drvdata(priv); in hid_time_capture_sample() local
94 struct rtc_time *time_buf = &time_state->time_buf; in hid_time_capture_sample()
150 struct hid_time_state *time_state) in hid_time_parse_report() argument
158 &time_state->info[i]) < 0) in hid_time_parse_report()
161 report_id = time_state->info[0].report_id; in hid_time_parse_report()
[all …]
/linux-4.4.14/kernel/time/
Dntp.c52 static int time_state = TIME_OK; variable
377 if ((time_state == TIME_INS) && (time_status & STA_INS)) in ntp_get_next_leap()
403 switch (time_state) { in second_overflow()
406 time_state = TIME_INS; in second_overflow()
410 time_state = TIME_DEL; in second_overflow()
418 time_state = TIME_OK; in second_overflow()
421 time_state = TIME_OOP; in second_overflow()
429 time_state = TIME_OK; in second_overflow()
433 time_state = TIME_WAIT; in second_overflow()
440 time_state = TIME_WAIT; in second_overflow()
[all …]