/drivers/cpufreq/ |
D | cpufreq_stats.c | 17 unsigned long long last_time; member 36 stats->last_time = cur_time; in cpufreq_stats_update() 45 stats->last_time = local_clock(); in cpufreq_stats_reset_table() 92 time += local_clock() - stats->last_time; in show_time_in_state() 252 stats->last_time = local_clock(); in cpufreq_stats_create_table() 285 cpufreq_stats_update(stats, stats->last_time); in cpufreq_stats_record_transition()
|
/drivers/base/power/ |
D | wakeup_stats.c | 43 ws->active ? ktime_sub(ktime_get(), ws->last_time) : 0; in active_time_ms_show() 57 active_time = ktime_sub(ktime_get(), ws->last_time); in total_time_ms_show() 73 active_time = ktime_sub(ktime_get(), ws->last_time); in max_time_ms_show() 87 return sysfs_emit(buf, "%lld\n", ktime_to_ms(ws->last_time)); in last_change_ms_show()
|
D | wakeup.c | 576 ws->last_time = ktime_get(); in wakeup_source_activate() 578 ws->start_prevent_time = ws->last_time; in wakeup_source_activate() 695 duration = ktime_sub(now, ws->last_time); in wakeup_source_deactivate() 700 ws->last_time = now; in wakeup_source_deactivate() 867 ktime_to_ns(ws->last_time) > in pm_get_active_wakeup_sources() 868 ktime_to_ns(last_active_ws->last_time))) { in pm_get_active_wakeup_sources() 894 ktime_to_ns(ws->last_time) > in pm_print_active_wakeup_sources() 895 ktime_to_ns(last_activity_ws->last_time))) { in pm_print_active_wakeup_sources() 1127 active_time = ktime_sub(now, ws->last_time); in print_wakeup_source_stats() 1143 ktime_to_ms(max_time), ktime_to_ms(ws->last_time), in print_wakeup_source_stats()
|
D | sysfs.c | 502 msec = ktime_to_ms(dev->power.wakeup->last_time); in wakeup_last_time_ms_show()
|
/drivers/acpi/ |
D | button.c | 158 ktime_t last_time; member 205 next_report = ktime_add(button->last_time, in acpi_lid_notify_state() 262 button->last_time = ktime_get(); in acpi_lid_notify_state() 462 button->last_time = ktime_get(); in acpi_button_resume() 475 button->last_time = ktime_get(); in acpi_lid_input_open()
|
/drivers/rtc/ |
D | rtc-hid-sensor-time.c | 27 struct rtc_time last_time; member 56 time_state->last_time = time_state->time_buf; in hid_time_proc_event() 209 *tm = time_state->last_time; in hid_rtc_read_time()
|
/drivers/thermal/ |
D | thermal_sysfs.c | 666 ktime_t last_time; member 675 delta = ktime_sub(now, stats->last_time); in update_time_in_state() 678 stats->last_time = now; in update_time_in_state() 749 stats->last_time = ktime_get(); in reset_store() 852 stats->last_time = ktime_get(); in cooling_device_stats_setup()
|
/drivers/net/ethernet/sfc/siena/ |
D | ptp.c | 857 struct pps_event_time *last_time) in efx_ptp_send_times() argument 888 *last_time = now; in efx_ptp_send_times() 924 const struct pps_event_time *last_time) in efx_ptp_process_times() argument 995 last_sec = last_time->ts_real.tv_sec & MC_SECOND_MASK; in efx_ptp_process_times() 1004 last_time->ts_real.tv_nsec - in efx_ptp_process_times() 1018 ptp->host_time_pps = *last_time; in efx_ptp_process_times() 1032 struct pps_event_time last_time = {}; in efx_ptp_synchronize() local 1062 efx_ptp_send_times(efx, &last_time); in efx_ptp_synchronize() 1071 &last_time); in efx_ptp_synchronize()
|
/drivers/net/ethernet/sfc/ |
D | ptp.c | 867 struct pps_event_time *last_time) in efx_ptp_send_times() argument 898 *last_time = now; in efx_ptp_send_times() 934 const struct pps_event_time *last_time) in efx_ptp_process_times() argument 1005 last_sec = last_time->ts_real.tv_sec & MC_SECOND_MASK; in efx_ptp_process_times() 1014 last_time->ts_real.tv_nsec - in efx_ptp_process_times() 1028 ptp->host_time_pps = *last_time; in efx_ptp_process_times() 1042 struct pps_event_time last_time = {}; in efx_ptp_synchronize() local 1072 efx_ptp_send_times(efx, &last_time); in efx_ptp_synchronize() 1081 &last_time); in efx_ptp_synchronize()
|
/drivers/char/ |
D | random.c | 1096 unsigned long last_time; member 1134 delta = now - READ_ONCE(state->last_time); in add_timer_randomness() 1135 WRITE_ONCE(state->last_time, now); in add_timer_randomness() 1208 state->last_time = INITIAL_JIFFIES; in rand_initialize_disk()
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 419 unsigned long *last_time; in is_duplicate_packet() local 467 last_time = &entry->packet_time[tid]; in is_duplicate_packet() 474 last_time = &ieee->last_packet_time[tid]; in is_duplicate_packet() 485 time_after(*last_time + IEEE_PACKET_RETRY_TIME, jiffies)) { in is_duplicate_packet() 495 *last_time = jiffies; in is_duplicate_packet()
|
/drivers/usb/host/ |
D | max3421-hcd.c | 1258 static unsigned long last_time; in max3421_handle_irqs() local 1262 if (time_after(jiffies, last_time + 5*HZ)) { in max3421_handle_irqs() 1276 last_time = jiffies; in max3421_handle_irqs()
|
/drivers/staging/rtl8192e/ |
D | rtllib_rx.c | 369 unsigned long *last_time; in is_duplicate_packet() local 417 last_time = &entry->packet_time[tid]; in is_duplicate_packet() 424 last_time = &ieee->last_packet_time[tid]; in is_duplicate_packet() 431 time_after(*last_time + IEEE_PACKET_RETRY_TIME, jiffies)) { in is_duplicate_packet() 441 *last_time = jiffies; in is_duplicate_packet()
|
/drivers/hid/ |
D | hid-logitech-hidpp.c | 174 unsigned long long last_time; member 481 previous = counter->last_time; in hidpp_scroll_counter_handle_scroll() 482 counter->last_time = now; in hidpp_scroll_counter_handle_scroll()
|
/drivers/scsi/megaraid/ |
D | megaraid_sas.h | 2414 unsigned long last_time; member
|
D | megaraid_sas_base.c | 2258 && time_after(jiffies, instance->last_time + 5 * HZ) in megasas_check_and_restore_queue_depth() 2946 instance->last_time = jiffies; in megasas_reset_timer() 7436 instance->last_time = 0; in megasas_init_ctrl_params()
|
/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2200.c | 8124 unsigned long *last_time; in is_duplicate_packet() local 8157 last_time = &entry->packet_time; in is_duplicate_packet() 8163 last_time = &priv->last_packet_time; in is_duplicate_packet() 8169 time_after(*last_time + IPW_PACKET_RETRY_TIME, jiffies)) { in is_duplicate_packet() 8179 *last_time = jiffies; in is_duplicate_packet()
|