Home
last modified time | relevance | path

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

/drivers/staging/media/lirc/
Dlirc_sir.c436 ktime_t curr_time; in sir_interrupt() local
462 curr_time = ktime_get(); in sir_interrupt()
464 ktime_us_delta(last, curr_time), in sir_interrupt()
468 curr_time), in sir_interrupt()
497 last = curr_time; in sir_interrupt()
501 last_intr_time = curr_time; in sir_interrupt()
/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 …]
/drivers/staging/rtl8188eu/core/
Drtw_pwrctrl.c346 unsigned long curr_time, delta_time; in PS_RDY_CHECK() local
351 curr_time = jiffies; in PS_RDY_CHECK()
352 delta_time = curr_time - pwrpriv->DelayLPSLastTimeStamp; in PS_RDY_CHECK()
Drtw_mlme.c146 unsigned long curr_time; in _rtw_free_network() local
156 curr_time = jiffies; in _rtw_free_network()
161 delta_time = (curr_time - pnetwork->last_scanned)/HZ; in _rtw_free_network()
/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 …]
/drivers/infiniband/hw/mlx4/
Dalias_GUID.c711 u64 curr_time = ktime_get_boot_ns(); in get_low_record_time_index() local
713 *resched_delay_sec = (low_record_time < curr_time) ? 0 : in get_low_record_time_index()
714 div_u64((low_record_time - curr_time), NSEC_PER_SEC); in get_low_record_time_index()
/drivers/tty/serial/
Dcrisv10.c2337 unsigned long curr_time = jiffies; in handle_ser_rx_interrupt() local
2346 (curr_time - info->last_rx_active) * (1000000/HZ) + in handle_ser_rx_interrupt()
3297 unsigned long curr_time = jiffies; in get_lsr_info() local
3300 (curr_time - info->last_tx_active) * 1000000/HZ + in get_lsr_info()
3695 unsigned long curr_time = jiffies; in rs_wait_until_sent() local
3698 (curr_time - info->last_tx_active) * (1000000/HZ) + in rs_wait_until_sent()
3714 curr_time = jiffies; in rs_wait_until_sent()
3717 (curr_time - info->last_tx_active) * (1000000/HZ) + in rs_wait_until_sent()
/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()