Home
last modified time | relevance | path

Searched refs:curr_time (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/tools/laptop/dslm/
Ddslm.c72 time_t curr_time = 0; in measure() local
93 curr_time = time(0); in measure()
94 time_diff = curr_time - last_time; in measure()
101 last_time = curr_time; in measure()
103 printf("%s: State-change to %s\n", myctime(curr_time), in measure()
110 printf("\nTotal running time: %lus\n", curr_time - start_time); in measure()
/Linux-v4.19/drivers/media/rc/
Dsir_ir.c157 ktime_t curr_time; in sir_interrupt() local
184 curr_time = ktime_get(); in sir_interrupt()
186 ktime_us_delta(last, curr_time), in sir_interrupt()
190 curr_time), in sir_interrupt()
219 last = curr_time; in sir_interrupt()
223 last_intr_time = curr_time; in sir_interrupt()
/Linux-v4.19/arch/x86/kernel/
Dhpet.c1328 struct rtc_time curr_time; in hpet_rtc_interrupt() local
1332 memset(&curr_time, 0, sizeof(struct rtc_time)); in hpet_rtc_interrupt()
1335 mc146818_get_time(&curr_time); in hpet_rtc_interrupt()
1338 curr_time.tm_sec != hpet_prev_update_sec) { in hpet_rtc_interrupt()
1341 hpet_prev_update_sec = curr_time.tm_sec; in hpet_rtc_interrupt()
1351 (curr_time.tm_sec == hpet_alarm_time.tm_sec) && in hpet_rtc_interrupt()
1352 (curr_time.tm_min == hpet_alarm_time.tm_min) && in hpet_rtc_interrupt()
1353 (curr_time.tm_hour == hpet_alarm_time.tm_hour)) in hpet_rtc_interrupt()
/Linux-v4.19/drivers/net/wireless/intel/iwlegacy/
D4965-rs.c250 il4965_rs_tl_rm_old_stats(struct il_traffic_load *tl, u32 curr_time) in il4965_rs_tl_rm_old_stats() argument
253 u32 oldest_time = curr_time - TID_MAX_TIME_DIFF; in il4965_rs_tl_rm_old_stats()
273 u32 curr_time = jiffies_to_msecs(jiffies); in il4965_rs_tl_add_packet() local
290 curr_time -= curr_time % TID_ROUND_VALUE; in il4965_rs_tl_add_packet()
295 tl->time_stamp = curr_time; in il4965_rs_tl_add_packet()
302 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in il4965_rs_tl_add_packet()
308 il4965_rs_tl_rm_old_stats(tl, curr_time); in il4965_rs_tl_add_packet()
326 u32 curr_time = jiffies_to_msecs(jiffies); in il4965_rs_tl_get_load() local
336 curr_time -= curr_time % TID_ROUND_VALUE; in il4965_rs_tl_get_load()
341 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in il4965_rs_tl_get_load()
[all …]
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_pwrctrl.c337 unsigned long curr_time, delta_time; in PS_RDY_CHECK() local
341 curr_time = jiffies; in PS_RDY_CHECK()
342 delta_time = curr_time - pwrpriv->DelayLPSLastTimeStamp; in PS_RDY_CHECK()
Drtw_mlme.c137 unsigned long curr_time; in _rtw_free_network() local
147 curr_time = jiffies; in _rtw_free_network()
152 delta_time = (curr_time - pnetwork->last_scanned)/HZ; in _rtw_free_network()
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c263 static void rs_tl_rm_old_stats(struct iwl_traffic_load *tl, u32 curr_time) in rs_tl_rm_old_stats() argument
266 u32 oldest_time = curr_time - TID_MAX_TIME_DIFF; in rs_tl_rm_old_stats()
287 u32 curr_time = jiffies_to_msecs(jiffies); in rs_tl_add_packet() local
304 curr_time -= curr_time % TID_ROUND_VALUE; in rs_tl_add_packet()
309 tl->time_stamp = curr_time; in rs_tl_add_packet()
316 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in rs_tl_add_packet()
322 rs_tl_rm_old_stats(tl, curr_time); in rs_tl_add_packet()
369 u32 curr_time = jiffies_to_msecs(jiffies); in rs_tl_get_load() local
379 curr_time -= curr_time % TID_ROUND_VALUE; in rs_tl_get_load()
384 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in rs_tl_get_load()
[all …]
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dalias_GUID.c712 u64 curr_time = ktime_get_boot_ns(); in get_low_record_time_index() local
714 *resched_delay_sec = (low_record_time < curr_time) ? 0 : in get_low_record_time_index()
715 div_u64((low_record_time - curr_time), NSEC_PER_SEC); in get_low_record_time_index()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_pwrctrl.c353 unsigned long curr_time, delta_time; in PS_RDY_CHECK() local
369 curr_time = jiffies; in PS_RDY_CHECK()
371 delta_time = curr_time - pwrpriv->DelayLPSLastTimeStamp; in PS_RDY_CHECK()
/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_mlme.c106 u32 curr_time, delta_time; in _free_network() local
114 curr_time = jiffies; in _free_network()
115 delta_time = (curr_time - (u32)pnetwork->last_scanned) / HZ; in _free_network()