Searched refs:curr_time (Results 1 – 10 of 10) sorted by relevance
/drivers/media/rc/ |
D | sir_ir.c | 153 ktime_t curr_time; in sir_interrupt() local 180 curr_time = ktime_get(); in sir_interrupt() 182 ktime_us_delta(last, curr_time), in sir_interrupt() 186 curr_time), in sir_interrupt() 215 last = curr_time; in sir_interrupt() 219 last_intr_time = curr_time; in sir_interrupt()
|
/drivers/clocksource/ |
D | timer-davinci.c | 158 unsigned int curr_time; in davinci_clockevent_set_next_event_cmp() local 160 curr_time = davinci_clockevent_read(clockevent, in davinci_clockevent_set_next_event_cmp() 163 clockevent->cmp_off, curr_time + cycles); in davinci_clockevent_set_next_event_cmp()
|
/drivers/net/wireless/intel/iwlegacy/ |
D | 4965-rs.c | 235 il4965_rs_tl_rm_old_stats(struct il_traffic_load *tl, u32 curr_time) in il4965_rs_tl_rm_old_stats() argument 238 u32 oldest_time = curr_time - TID_MAX_TIME_DIFF; in il4965_rs_tl_rm_old_stats() 258 u32 curr_time = jiffies_to_msecs(jiffies); in il4965_rs_tl_add_packet() local 275 curr_time -= curr_time % TID_ROUND_VALUE; in il4965_rs_tl_add_packet() 280 tl->time_stamp = curr_time; in il4965_rs_tl_add_packet() 287 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in il4965_rs_tl_add_packet() 293 il4965_rs_tl_rm_old_stats(tl, curr_time); in il4965_rs_tl_add_packet() 311 u32 curr_time = jiffies_to_msecs(jiffies); in il4965_rs_tl_get_load() local 321 curr_time -= curr_time % TID_ROUND_VALUE; in il4965_rs_tl_get_load() 326 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in il4965_rs_tl_get_load() [all …]
|
/drivers/staging/r8188eu/core/ |
D | rtw_pwrctrl.c | 249 u32 curr_time, delta_time; in PS_RDY_CHECK() local 253 curr_time = jiffies; in PS_RDY_CHECK() 254 delta_time = curr_time - pwrpriv->DelayLPSLastTimeStamp; in PS_RDY_CHECK()
|
D | rtw_mlme.c | 203 u32 curr_time, delta_time; in _rtw_free_network() local 212 curr_time = jiffies; in _rtw_free_network() 217 delta_time = (curr_time - pnetwork->last_scanned) / HZ; in _rtw_free_network()
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | rs.c | 249 static void rs_tl_rm_old_stats(struct iwl_traffic_load *tl, u32 curr_time) in rs_tl_rm_old_stats() argument 252 u32 oldest_time = curr_time - TID_MAX_TIME_DIFF; in rs_tl_rm_old_stats() 273 u32 curr_time = jiffies_to_msecs(jiffies); in rs_tl_add_packet() local 290 curr_time -= curr_time % TID_ROUND_VALUE; in rs_tl_add_packet() 295 tl->time_stamp = curr_time; in rs_tl_add_packet() 302 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in rs_tl_add_packet() 308 rs_tl_rm_old_stats(tl, curr_time); in rs_tl_add_packet() 355 u32 curr_time = jiffies_to_msecs(jiffies); in rs_tl_get_load() local 365 curr_time -= curr_time % TID_ROUND_VALUE; in rs_tl_get_load() 370 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in rs_tl_get_load() [all …]
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_selftests.c | 1761 u64 start_time, curr_time = 0; in stmmac_test_tbs() local 1784 stmmac_get_systime(priv, priv->ptpaddr, &curr_time); in stmmac_test_tbs() 1787 if (!curr_time) { in stmmac_test_tbs() 1792 start_time = curr_time; in stmmac_test_tbs() 1793 curr_time += STMMAC_TBS_LT_OFFSET; in stmmac_test_tbs() 1796 attr.timestamp = curr_time; in stmmac_test_tbs() 1806 stmmac_get_systime(priv, priv->ptpaddr, &curr_time); in stmmac_test_tbs() 1809 if ((curr_time - start_time) < STMMAC_TBS_LT_OFFSET) in stmmac_test_tbs()
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_pwrctrl.c | 314 unsigned long curr_time, delta_time; in PS_RDY_CHECK() local 321 curr_time = jiffies; in PS_RDY_CHECK() 323 delta_time = curr_time - pwrpriv->DelayLPSLastTimeStamp; in PS_RDY_CHECK()
|
/drivers/infiniband/hw/mlx4/ |
D | alias_GUID.c | 712 u64 curr_time = ktime_get_boottime_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()
|
/drivers/staging/rtl8712/ |
D | rtl871x_mlme.c | 94 u32 curr_time, delta_time; in _free_network() local 102 curr_time = jiffies; in _free_network() 103 delta_time = (curr_time - (u32)pnetwork->last_scanned) / HZ; in _free_network()
|