Lines Matching refs:txsc_idx
674 u8 txsc_idx = 0; in rtw89_phy_get_txsc() local
678 return txsc_idx; in rtw89_phy_get_txsc()
682 txsc_idx = pri_ch > central_ch ? 1 : 2; in rtw89_phy_get_txsc()
687 txsc_idx = (pri_ch - central_ch) >> 1; in rtw89_phy_get_txsc()
689 txsc_idx = ((central_ch - pri_ch) >> 1) + 1; in rtw89_phy_get_txsc()
691 txsc_idx = pri_ch > central_ch ? 9 : 10; in rtw89_phy_get_txsc()
701 txsc_idx = tmp; in rtw89_phy_get_txsc()
704 txsc_idx = 9; in rtw89_phy_get_txsc()
706 txsc_idx = 11; in rtw89_phy_get_txsc()
708 txsc_idx = 10; in rtw89_phy_get_txsc()
710 txsc_idx = 12; in rtw89_phy_get_txsc()
714 txsc_idx = pri_ch > central_ch ? 13 : 14; in rtw89_phy_get_txsc()
720 txsc_idx = (10 - (pri_ch - central_ch)) >> 1; in rtw89_phy_get_txsc()
722 txsc_idx = ((central_ch - pri_ch) >> 1) + 5; in rtw89_phy_get_txsc()
724 txsc_idx = pri_ch > central_ch ? 10 : 12; in rtw89_phy_get_txsc()
726 txsc_idx = 14; in rtw89_phy_get_txsc()
733 return txsc_idx; in rtw89_phy_get_txsc()