Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/rtc/
Drtc-hid-sensor-time.c53 struct hid_time_state *time_state = platform_get_drvdata(priv); in hid_time_proc_event() local
55 spin_lock_irqsave(&time_state->lock_last_time, flags); in hid_time_proc_event()
56 time_state->last_time = time_state->time_buf; in hid_time_proc_event()
57 spin_unlock_irqrestore(&time_state->lock_last_time, flags); in hid_time_proc_event()
58 complete(&time_state->comp_last_time); in hid_time_proc_event()
80 struct hid_time_state *time_state = platform_get_drvdata(priv); in hid_time_capture_sample() local
81 struct rtc_time *time_buf = &time_state->time_buf; in hid_time_capture_sample()
137 struct hid_time_state *time_state) in hid_time_parse_report() argument
145 &time_state->info[i]) < 0) in hid_time_parse_report()
148 report_id = time_state->info[0].report_id; in hid_time_parse_report()
[all …]
/kernel/linux/linux-5.10/kernel/time/
Dntp.c57 static int time_state = TIME_OK; variable
384 if ((time_state == TIME_INS) && (time_status & STA_INS)) in ntp_get_next_leap()
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()
[all …]