Home
last modified time | relevance | path

Searched refs:last_time (Results 1 – 14 of 14) sorted by relevance

/drivers/base/power/
Dwakeup.c141 ws->last_time = ktime_get(); in wakeup_source_add()
414 ws->last_time = ktime_get(); in wakeup_source_activate()
416 ws->start_prevent_time = ws->last_time; in wakeup_source_activate()
529 duration = ktime_sub(now, ws->last_time); in wakeup_source_deactivate()
534 ws->last_time = now; in wakeup_source_deactivate()
700 ktime_to_ns(ws->last_time) > in pm_get_active_wakeup_sources()
701 ktime_to_ns(last_active_ws->last_time))) { in pm_get_active_wakeup_sources()
727 ktime_to_ns(ws->last_time) > in print_active_wakeup_sources()
728 ktime_to_ns(last_activity_ws->last_time))) { in print_active_wakeup_sources()
835 ktime_compare(ws->last_time, last_read_time) > 0) { in pm_save_wakeup_count()
[all …]
Dsysfs.c466 msec = ktime_to_ms(dev->power.wakeup->last_time); in wakeup_last_time_show()
/drivers/staging/media/lirc/
Dlirc_igorplugusb.c209 struct timeval last_time; member
289 ir->last_time.tv_usec += code; in send_fragment()
332 timediff = now.tv_sec - ir->last_time.tv_sec; in igorplugusb_remote_poll()
337 timediff += now.tv_usec - ir->last_time.tv_usec; in igorplugusb_remote_poll()
339 ir->last_time.tv_sec = now.tv_sec; in igorplugusb_remote_poll()
340 ir->last_time.tv_usec = now.tv_usec; in igorplugusb_remote_poll()
478 do_gettimeofday(&ir->last_time); in igorplugusb_remote_probe()
/drivers/rtc/
Drtc-hid-sensor-time.c44 struct rtc_time last_time; member
73 time_state->last_time = time_state->time_buf; in hid_time_proc_event()
203 *tm = time_state->last_time; in hid_rtc_read_time()
/drivers/net/ethernet/sfc/
Dptp.c361 struct pps_event_time *last_time) in efx_ptp_send_times() argument
395 *last_time = now; in efx_ptp_send_times()
430 const struct pps_event_time *last_time) in efx_ptp_process_times() argument
489 last_time->ts_real.tv_nsec - in efx_ptp_process_times()
498 last_sec = last_time->ts_real.tv_sec & MC_SECOND_MASK; in efx_ptp_process_times()
511 ptp->host_time_pps = *last_time; in efx_ptp_process_times()
525 struct pps_event_time last_time = {}; in efx_ptp_synchronize() local
550 efx_ptp_send_times(efx, &last_time); in efx_ptp_synchronize()
559 &last_time); in efx_ptp_synchronize()
/drivers/cpufreq/
Dcpufreq_stats.c34 unsigned long long last_time; member
89 cur_time - stat->last_time; in cpufreq_stats_update()
92 cur_time - stat->last_time; in cpufreq_stats_update()
94 stat->last_time = cur_time; in cpufreq_stats_update()
431 stat->last_time = get_jiffies_64(); in cpufreq_stats_create_table()
/drivers/staging/rtl8187se/ieee80211/
Dieee80211_rx.c376 unsigned long *last_time; in is_duplicate_packet() local
423 last_time = &entry->packet_time[tid]; in is_duplicate_packet()
430 last_time = &ieee->last_packet_time[tid]; in is_duplicate_packet()
441 time_after(*last_time + IEEE_PACKET_RETRY_TIME, jiffies)) { in is_duplicate_packet()
455 *last_time = jiffies; in is_duplicate_packet()
/drivers/char/
Drandom.c631 cycles_t last_time; member
694 delta = sample.jiffies - state->last_time; in add_timer_randomness()
695 state->last_time = sample.jiffies; in add_timer_randomness()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c429 unsigned long *last_time; in is_duplicate_packet() local
480 last_time = &entry->packet_time[tid]; in is_duplicate_packet()
487 last_time = &ieee->last_packet_time[tid]; in is_duplicate_packet()
498 time_after(*last_time + IEEE_PACKET_RETRY_TIME, jiffies)) { in is_duplicate_packet()
512 *last_time = jiffies; in is_duplicate_packet()
/drivers/staging/rtl8192e/
Drtllib_rx.c366 unsigned long *last_time; in is_duplicate_packet() local
412 last_time = &entry->packet_time[tid]; in is_duplicate_packet()
419 last_time = &ieee->last_packet_time[tid]; in is_duplicate_packet()
426 time_after(*last_time + IEEE_PACKET_RETRY_TIME, jiffies)) { in is_duplicate_packet()
436 *last_time = jiffies; in is_duplicate_packet()
/drivers/staging/ozwpan/
Dozhcd.c377 static unsigned long last_time; in oz_complete_urb() local
382 jiffies-last_time, atomic_read(&g_pending_urbs)); in oz_complete_urb()
383 last_time = jiffies; in oz_complete_urb()
/drivers/scsi/megaraid/
Dmegaraid_sas.h1352 unsigned long last_time; member
Dmegaraid_sas_base.c1612 && time_after(jiffies, instance->last_time + 5 * HZ) in megasas_check_and_restore_queue_depth()
1933 instance->last_time = jiffies; in megasas_reset_timer()
4127 instance->last_time = 0; in megasas_probe_one()
/drivers/net/wireless/ipw2x00/
Dipw2200.c8249 unsigned long *last_time; in is_duplicate_packet() local
8282 last_time = &entry->packet_time; in is_duplicate_packet()
8288 last_time = &priv->last_packet_time; in is_duplicate_packet()
8294 time_after(*last_time + IPW_PACKET_RETRY_TIME, jiffies)) { in is_duplicate_packet()
8304 *last_time = jiffies; in is_duplicate_packet()