Searched refs:curr_time (Results 1 – 8 of 8) sorted by relevance
/drivers/staging/media/lirc/ |
D | lirc_sir.c | 436 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/ |
D | 4965-rs.c | 250 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/ |
D | rtw_pwrctrl.c | 346 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()
|
D | rtw_mlme.c | 146 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/ |
D | rs.c | 263 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/ |
D | alias_GUID.c | 711 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/ |
D | crisv10.c | 2337 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/ |
D | rtl871x_mlme.c | 106 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()
|