Lines Matching full:elapsed
812 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument
814 if (!elapsed) in iwl_mvm_tcm_load_percentage()
817 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage()
821 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) in iwl_mvm_tcm_load() argument
823 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load()
924 unsigned int elapsed, in iwl_mvm_check_uapsd_agg_expected_tpt() argument
940 do_div(tpt, elapsed); in iwl_mvm_check_uapsd_agg_expected_tpt()
954 do_div(tpt, elapsed * 100); in iwl_mvm_check_uapsd_agg_expected_tpt()
982 unsigned int elapsed = jiffies_to_msecs(ts - mvm->tcm.ts); in iwl_mvm_calc_tcm_stats() local
998 mvm->tcm.result.elapsed = elapsed; in iwl_mvm_calc_tcm_stats()
1013 load = iwl_mvm_tcm_load(mvm, airtime, elapsed); in iwl_mvm_calc_tcm_stats()
1045 load = iwl_mvm_tcm_load(mvm, total_airtime, elapsed); in iwl_mvm_calc_tcm_stats()
1049 band_load = iwl_mvm_tcm_load(mvm, band_airtime[i], elapsed); in iwl_mvm_calc_tcm_stats()