Searched refs:time_state (Results 1 – 2 of 2) sorted by relevance
66 struct hid_time_state *time_state = platform_get_drvdata(priv); in hid_time_proc_event() local68 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() local94 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() argument158 &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 …]
56 static int time_state = TIME_OK; variable383 if ((time_state == TIME_INS) && (time_status & STA_INS)) in ntp_get_next_leap()410 switch (time_state) { in second_overflow()413 time_state = TIME_INS; in second_overflow()417 time_state = TIME_DEL; in second_overflow()425 time_state = TIME_OK; in second_overflow()428 time_state = TIME_OOP; in second_overflow()436 time_state = TIME_OK; in second_overflow()440 time_state = TIME_WAIT; in second_overflow()447 time_state = TIME_WAIT; in second_overflow()[all …]