Lines Matching refs:active_tbl
1319 static inline u8 rs_search_tbl(u8 active_tbl) in rs_search_tbl() argument
1321 return (active_tbl ^ 1) & 1; in rs_search_tbl()
1329 struct iwl_scale_tbl_info *active_tbl = in rs_get_best_rate() local
1330 &(lq_sta->lq_info[lq_sta->active_tbl]); in rs_get_best_rate()
1331 s32 success_ratio = active_tbl->win[index].success_ratio; in rs_get_best_rate()
1332 u16 expected_current_tpt = active_tbl->expected_tpt[index]; in rs_get_best_rate()
1414 int active_tbl; in rs_stay_in_table() local
1419 active_tbl = lq_sta->active_tbl; in rs_stay_in_table()
1421 tbl = &(lq_sta->lq_info[active_tbl]); in rs_stay_in_table()
1675 struct iwl_scale_tbl_info *tbl = &lq_sta->lq_info[lq_sta->active_tbl]; in rs_switch_to_column()
1677 &lq_sta->lq_info[rs_search_tbl(lq_sta->active_tbl)]; in rs_switch_to_column()
2065 u8 active_tbl = 0; in rs_rate_scale_perform() local
2081 active_tbl = lq_sta->active_tbl; in rs_rate_scale_perform()
2083 active_tbl = rs_search_tbl(lq_sta->active_tbl); in rs_rate_scale_perform()
2085 tbl = &(lq_sta->lq_info[active_tbl]); in rs_rate_scale_perform()
2108 tbl = &(lq_sta->lq_info[lq_sta->active_tbl]); in rs_rate_scale_perform()
2162 lq_sta->active_tbl = active_tbl; in rs_rate_scale_perform()
2177 active_tbl = lq_sta->active_tbl; in rs_rate_scale_perform()
2178 tbl = &(lq_sta->lq_info[active_tbl]); in rs_rate_scale_perform()
2307 tbl = &lq_sta->lq_info[rs_search_tbl(lq_sta->active_tbl)]; in rs_rate_scale_perform()
2325 tbl1 = &(lq_sta->lq_info[lq_sta->active_tbl]); in rs_rate_scale_perform()
2642 u8 active_tbl = 0; in rs_initialize_lq() local
2648 active_tbl = lq_sta->active_tbl; in rs_initialize_lq()
2650 active_tbl = rs_search_tbl(lq_sta->active_tbl); in rs_initialize_lq()
2652 tbl = &(lq_sta->lq_info[active_tbl]); in rs_initialize_lq()
3141 curr_tbl = &lq_sta->lq_info[lq_sta->active_tbl]; in __iwl_mvm_rs_tx_status()
3142 other_tbl = &lq_sta->lq_info[rs_search_tbl(lq_sta->active_tbl)]; in __iwl_mvm_rs_tx_status()
3144 curr_tbl = &lq_sta->lq_info[rs_search_tbl(lq_sta->active_tbl)]; in __iwl_mvm_rs_tx_status()
3145 other_tbl = &lq_sta->lq_info[lq_sta->active_tbl]; in __iwl_mvm_rs_tx_status()
3151 tmp_tbl = &lq_sta->lq_info[lq_sta->active_tbl]; in __iwl_mvm_rs_tx_status()
3153 tmp_tbl = &lq_sta->lq_info[rs_search_tbl(lq_sta->active_tbl)]; in __iwl_mvm_rs_tx_status()
3755 struct iwl_scale_tbl_info *tbl = &(lq_sta->lq_info[lq_sta->active_tbl]); in rs_sta_dbgfs_scale_table_read()
3869 lq_sta->active_tbl == i ? "*" : "x", in rs_sta_dbgfs_stats_table_read()