Searched refs:time_now (Results 1 – 10 of 10) sorted by relevance
| /drivers/md/ |
| A D | dm-ps-historical-service-time.c | 368 u64 time_now, struct path_selector *ps) in hst_compare() argument 396 if ((!out1 && stale1 < time_now) || (!out2 && stale2 < time_now) || in hst_compare() 421 if (stale2 < time_now) in hst_compare() 425 if (stale1 < time_now) in hst_compare() 435 u64 time_now = ktime_get_ns(); in hst_select_path() local 444 if (!best || (hst_compare(pi, best, time_now, ps) < 0)) in hst_select_path()
|
| /drivers/char/tpm/ |
| A D | tpm_tis_spi_cr50.c | 82 unsigned long time_now = jiffies; in cr50_ensure_access_delay() local 91 if (time_in_range_open(time_now, phy->last_access, allowed_access)) { in cr50_ensure_access_delay() 92 unsigned long remaining, timeout = allowed_access - time_now; in cr50_ensure_access_delay()
|
| /drivers/rtc/ |
| A D | rtc-sun6i.c | 543 time64_t time_now; in sun6i_rtc_setalarm() local 551 time_now = rtc_tm_to_time64(&tm_now); in sun6i_rtc_setalarm() 552 if (time_set <= time_now) { in sun6i_rtc_setalarm() 556 if ((time_set - time_now) > U32_MAX) { in sun6i_rtc_setalarm() 561 counter_val = time_set - time_now; in sun6i_rtc_setalarm()
|
| /drivers/gpu/drm/i915/ |
| A D | i915_hwmon.c | 675 u64 rotations, time_now, time; in hwm_fan_input_read() local 684 time_now = get_jiffies_64(); in hwm_fan_input_read() 692 time = jiffies_delta_to_msecs(time_now - fi->time_prev); in hwm_fan_input_read() 706 fi->time_prev = time_now; in hwm_fan_input_read()
|
| /drivers/gpu/drm/xe/ |
| A D | xe_hwmon.c | 1044 u64 rotations, time_now, time; in xe_hwmon_fan_input_read() local 1051 time_now = get_jiffies_64(); in xe_hwmon_fan_input_read() 1059 time = jiffies_delta_to_msecs(time_now - fi->time_prev); in xe_hwmon_fan_input_read() 1072 fi->time_prev = time_now; in xe_hwmon_fan_input_read()
|
| /drivers/media/common/siano/ |
| A D | smscoreapi.c | 1478 unsigned long time_now = jiffies_to_msecs(jiffies); in smscore_onresponse() local 1481 last_sample_time = time_now; in smscore_onresponse() 1483 if (time_now - last_sample_time > 10000) { in smscore_onresponse() 1486 (time_now - last_sample_time))); in smscore_onresponse() 1488 last_sample_time = time_now; in smscore_onresponse()
|
| /drivers/net/ethernet/netronome/nfp/abm/ |
| A D | qdisc.c | 83 static void __nfp_abm_stats_update(struct nfp_abm_link *alink, u64 time_now) in __nfp_abm_stats_update() argument 85 alink->last_stats_update = time_now; in __nfp_abm_stats_update()
|
| /drivers/net/ethernet/sfc/siena/ |
| A D | ptp.c | 2130 struct timespec64 time_now; in efx_phc_settime() local 2133 rc = efx_phc_gettime(ptp, &time_now); in efx_phc_settime() 2137 delta = timespec64_sub(*e_ts, time_now); in efx_phc_settime()
|
| /drivers/net/ethernet/sfc/ |
| A D | ptp.c | 2172 struct timespec64 time_now; in efx_phc_settime() local 2175 rc = efx_phc_gettime(ptp, &time_now); in efx_phc_settime() 2179 delta = timespec64_sub(*e_ts, time_now); in efx_phc_settime()
|
| /drivers/scsi/aacraid/ |
| A D | commsup.c | 1941 u32 time_now, time_last; in wakeup_fibctx_threads() local 1946 time_now = jiffies/HZ; in wakeup_fibctx_threads() 1980 if ((time_now - time_last) > aif_timeout) { in wakeup_fibctx_threads()
|
Completed in 38 milliseconds