Home
last modified time | relevance | path

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

/drivers/base/power/
Dwakeup.c181 ws->last_time = ktime_get(); in wakeup_source_add()
549 ws->last_time = ktime_get(); in wakeup_source_activate()
551 ws->start_prevent_time = ws->last_time; in wakeup_source_activate()
664 duration = ktime_sub(now, ws->last_time); in wakeup_source_deactivate()
669 ws->last_time = now; in wakeup_source_deactivate()
835 ktime_to_ns(ws->last_time) > in pm_get_active_wakeup_sources()
836 ktime_to_ns(last_active_ws->last_time))) { in pm_get_active_wakeup_sources()
862 ktime_to_ns(ws->last_time) > in pm_print_active_wakeup_sources()
863 ktime_to_ns(last_activity_ws->last_time))) { in pm_print_active_wakeup_sources()
1044 active_time = ktime_sub(now, ws->last_time); in print_wakeup_source_stats()
[all …]
Dsysfs.c502 msec = ktime_to_ms(dev->power.wakeup->last_time); in wakeup_last_time_show()
/drivers/cpufreq/
Dcpufreq_stats.c22 unsigned long long last_time; member
38 stats->time_in_state[stats->last_index] += cur_time - stats->last_time; in cpufreq_stats_update()
39 stats->last_time = cur_time; in cpufreq_stats_update()
212 stats->last_time = get_jiffies_64(); in __cpufreq_stats_create_table()
/drivers/rtc/
Drtc-hid-sensor-time.c40 struct rtc_time last_time; member
69 time_state->last_time = time_state->time_buf; in hid_time_proc_event()
223 *tm = time_state->last_time; in hid_rtc_read_time()
/drivers/net/ethernet/sfc/
Dptp.c646 struct pps_event_time *last_time) in efx_ptp_send_times() argument
679 *last_time = now; in efx_ptp_send_times()
715 const struct pps_event_time *last_time) in efx_ptp_process_times() argument
786 last_sec = last_time->ts_real.tv_sec & MC_SECOND_MASK; in efx_ptp_process_times()
795 last_time->ts_real.tv_nsec - in efx_ptp_process_times()
809 ptp->host_time_pps = *last_time; in efx_ptp_process_times()
823 struct pps_event_time last_time = {}; in efx_ptp_synchronize() local
853 efx_ptp_send_times(efx, &last_time); in efx_ptp_synchronize()
862 &last_time); in efx_ptp_synchronize()
/drivers/char/
Drandom.c746 cycles_t last_time; member
816 delta = sample.jiffies - state->last_time; in add_timer_randomness()
817 state->last_time = sample.jiffies; in add_timer_randomness()
1421 state->last_time = INITIAL_JIFFIES; in rand_initialize_disk()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c426 unsigned long *last_time; in is_duplicate_packet() local
476 last_time = &entry->packet_time[tid]; in is_duplicate_packet()
483 last_time = &ieee->last_packet_time[tid]; in is_duplicate_packet()
494 time_after(*last_time + IEEE_PACKET_RETRY_TIME, jiffies)) { in is_duplicate_packet()
504 *last_time = jiffies; in is_duplicate_packet()
/drivers/usb/host/
Dmax3421-hcd.c1261 static unsigned long last_time; in max3421_handle_irqs() local
1265 if (time_after(jiffies, last_time + 5*HZ)) { in max3421_handle_irqs()
1279 last_time = jiffies; in max3421_handle_irqs()
/drivers/staging/rtl8192e/
Drtllib_rx.c377 unsigned long *last_time; in is_duplicate_packet() local
425 last_time = &entry->packet_time[tid]; in is_duplicate_packet()
432 last_time = &ieee->last_packet_time[tid]; in is_duplicate_packet()
439 time_after(*last_time + IEEE_PACKET_RETRY_TIME, jiffies)) { in is_duplicate_packet()
449 *last_time = jiffies; in is_duplicate_packet()
/drivers/scsi/megaraid/
Dmegaraid_sas.h1803 unsigned long last_time; member
Dmegaraid_sas_base.c1880 && time_after(jiffies, instance->last_time + 5 * HZ) in megasas_check_and_restore_queue_depth()
2589 instance->last_time = jiffies; in megasas_reset_timer()
5510 instance->last_time = 0; in megasas_probe_one()
/drivers/net/wireless/ipw2x00/
Dipw2200.c8158 unsigned long *last_time; in is_duplicate_packet() local
8191 last_time = &entry->packet_time; in is_duplicate_packet()
8197 last_time = &priv->last_packet_time; in is_duplicate_packet()
8203 time_after(*last_time + IPW_PACKET_RETRY_TIME, jiffies)) { in is_duplicate_packet()
8213 *last_time = jiffies; in is_duplicate_packet()