Lines Matching refs:airtime
725 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument
730 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage()
734 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) in iwl_mvm_tcm_load() argument
736 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load()
922 u32 airtime = mdata->rx.airtime + mdata->tx.airtime; in iwl_mvm_calc_tcm_stats() local
924 total_airtime += airtime; in iwl_mvm_calc_tcm_stats()
925 band_airtime[band[mac]] += airtime; in iwl_mvm_calc_tcm_stats()
927 load = iwl_mvm_tcm_load(mvm, airtime, elapsed); in iwl_mvm_calc_tcm_stats()
930 mvm->tcm.result.airtime[mac] = airtime; in iwl_mvm_calc_tcm_stats()
955 memset(&mdata->rx.airtime, 0, sizeof(mdata->rx.airtime)); in iwl_mvm_calc_tcm_stats()
956 memset(&mdata->tx.airtime, 0, sizeof(mdata->tx.airtime)); in iwl_mvm_calc_tcm_stats()
1066 memset(&mdata->rx.airtime, 0, sizeof(mdata->rx.airtime)); in iwl_mvm_resume_tcm()
1067 memset(&mdata->tx.airtime, 0, sizeof(mdata->tx.airtime)); in iwl_mvm_resume_tcm()