Home
last modified time | relevance | path

Searched refs:time_now (Results 1 – 6 of 6) sorted by relevance

/drivers/misc/
Dmemory_state_time.c75 u64 time_now; member
97 static u64 get_time_diff(u64 time_now) in get_time_diff() argument
101 ms = time_now - last_update; in get_time_diff()
102 last_update = time_now; in get_time_diff()
137 static void update_table(u64 time_now) in update_table() argument
145 += get_time_diff(time_now); in update_table()
181 update_table(freq_state_update->time_now); in freq_update_do_work()
195 update_table(bw_state_update->time_now); in bw_update_do_work()
215 freq_container->time_now = ktime_get_boot_ns(); in memory_state_freq_update()
237 bw_container->time_now = ktime_get_boot_ns(); in memory_state_bw_update()
/drivers/rtc/
Drtc-sun6i.c225 unsigned long time_now = 0; in sun6i_rtc_setalarm() local
237 rtc_tm_to_time(&tm_now, &time_now); in sun6i_rtc_setalarm()
238 if (time_set <= time_now) { in sun6i_rtc_setalarm()
243 time_gap = time_set - time_now; in sun6i_rtc_setalarm()
/drivers/cpufreq/
Dcpufreq_governor.c207 ktime_t time_now = ktime_get(); in need_load_eval() local
208 s64 delta_us = ktime_us_delta(time_now, shared->time_stamp); in need_load_eval()
214 shared->time_stamp = time_now; in need_load_eval()
/drivers/scsi/aacraid/
Dcommsup.c1542 unsigned long time_now, flagv = 0; in aac_check_health() local
1566 time_now = jiffies/HZ; in aac_check_health()
1598 if ((time_now - time_last) > aif_timeout) { in aac_check_health()
1747 u32 time_now, time_last; in aac_command_thread() local
1761 time_now = jiffies/HZ; in aac_command_thread()
1837 if ((time_now - time_last) > aif_timeout) { in aac_command_thread()
/drivers/media/common/siano/
Dsmscoreapi.c1486 unsigned long time_now = jiffies_to_msecs(jiffies); in smscore_onresponse() local
1489 last_sample_time = time_now; in smscore_onresponse()
1491 if (time_now - last_sample_time > 10000) { in smscore_onresponse()
1494 (time_now - last_sample_time))); in smscore_onresponse()
1496 last_sample_time = time_now; in smscore_onresponse()
/drivers/net/ethernet/sfc/
Dptp.c1885 struct timespec64 time_now; in efx_phc_settime() local
1888 rc = efx_phc_gettime(ptp, &time_now); in efx_phc_settime()
1892 delta = timespec64_sub(*e_ts, time_now); in efx_phc_settime()