Lines Matching refs:txsc_idx
584 u8 txsc_idx = 0; in rtw89_phy_get_txsc() local
588 return txsc_idx; in rtw89_phy_get_txsc()
592 txsc_idx = pri_ch > central_ch ? 1 : 2; in rtw89_phy_get_txsc()
597 txsc_idx = (pri_ch - central_ch) >> 1; in rtw89_phy_get_txsc()
599 txsc_idx = ((central_ch - pri_ch) >> 1) + 1; in rtw89_phy_get_txsc()
601 txsc_idx = pri_ch > central_ch ? 9 : 10; in rtw89_phy_get_txsc()
611 txsc_idx = tmp; in rtw89_phy_get_txsc()
614 txsc_idx = 9; in rtw89_phy_get_txsc()
616 txsc_idx = 11; in rtw89_phy_get_txsc()
618 txsc_idx = 10; in rtw89_phy_get_txsc()
620 txsc_idx = 12; in rtw89_phy_get_txsc()
624 txsc_idx = pri_ch > central_ch ? 13 : 14; in rtw89_phy_get_txsc()
630 txsc_idx = (10 - (pri_ch - central_ch)) >> 1; in rtw89_phy_get_txsc()
632 txsc_idx = ((central_ch - pri_ch) >> 1) + 5; in rtw89_phy_get_txsc()
634 txsc_idx = pri_ch > central_ch ? 10 : 12; in rtw89_phy_get_txsc()
636 txsc_idx = 14; in rtw89_phy_get_txsc()
643 return txsc_idx; in rtw89_phy_get_txsc()