Lines Matching refs:txchain

68 	uint active_chains, txchain;  in brcms_c_tempsense_upd()  local
73 txchain = active_chains & 0xf; in brcms_c_tempsense_upd()
75 if (wlc->stf->txchain == wlc->stf->hw_txchain) { in brcms_c_tempsense_upd()
76 if (txchain && (txchain < wlc->stf->hw_txchain)) in brcms_c_tempsense_upd()
78 brcms_c_stf_txchain_set(wlc, txchain, true); in brcms_c_tempsense_upd()
79 } else if (wlc->stf->txchain < wlc->stf->hw_txchain) { in brcms_c_tempsense_upd()
80 if (txchain == wlc->stf->hw_txchain) in brcms_c_tempsense_upd()
82 brcms_c_stf_txchain_set(wlc, txchain, true); in brcms_c_tempsense_upd()
171 ((core_mask & ~wlc->stf->txchain) in brcms_c_stf_txcore_set()
172 || !(core_mask & wlc->stf->txchain))) in brcms_c_stf_txcore_set()
173 core_mask = wlc->stf->txchain; in brcms_c_stf_txcore_set()
204 wlc->stf->txchain : txcore_default[i]; in brcms_c_stf_spatial_policy_set()
247 WARN_ON(wlc->stf->txchain <= 0); in _brcms_c_stf_phy_txant_upd()
249 wlc->stf->txchain << PHY_TXC_ANT_SHIFT; in _brcms_c_stf_phy_txant_upd()
266 u8 txchain = (u8) int_val; in brcms_c_stf_txchain_set() local
270 if (wlc->stf->txchain == txchain) in brcms_c_stf_txchain_set()
273 if ((txchain & ~wlc->stf->hw_txchain) in brcms_c_stf_txchain_set()
274 || !(txchain & wlc->stf->hw_txchain)) in brcms_c_stf_txchain_set()
281 txstreams = (u8) hweight8(txchain); in brcms_c_stf_txchain_set()
285 wlc->stf->txchain = txchain; in brcms_c_stf_txchain_set()
294 wlc_phy_stf_chain_set(wlc->band->pi, wlc->stf->txchain, in brcms_c_stf_txchain_set()
375 wlc->stf->hw_txchain = sprom->txchain; in brcms_c_stf_phy_chain_calc()
386 wlc->stf->txchain = wlc->stf->hw_txchain; in brcms_c_stf_phy_chain_calc()
413 phytxant = wlc->stf->txchain << PHY_TXC_ANT_SHIFT; in _brcms_c_stf_phytxchain_sel()
415 phytxant = wlc->stf->txchain << PHY_TXC_ANT_SHIFT; in _brcms_c_stf_phytxchain_sel()