Lines Matching defs:elapsed
849 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed)
851 if (!elapsed)
854 return (100 * airtime / elapsed) / USEC_PER_MSEC;
858 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed)
860 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed);
961 unsigned int elapsed,
977 do_div(tpt, elapsed);
991 do_div(tpt, elapsed * 100);
1019 unsigned int elapsed = jiffies_to_msecs(ts - mvm->tcm.ts);
1035 mvm->tcm.result.elapsed = elapsed;
1050 load = iwl_mvm_tcm_load(mvm, airtime, elapsed);
1082 load = iwl_mvm_tcm_load(mvm, total_airtime, elapsed);
1086 band_load = iwl_mvm_tcm_load(mvm, band_airtime[i], elapsed);