/freebsd/sys/contrib/dev/rtw89/ |
H A D | phy.c | 676 u8 pri_ch = chan->primary_channel; in rtw89_phy_read_rf() 686 txsc_idx = pri_ch > central_ch ? 1 : 2; in rtw89_phy_read_rf() 690 if (pri_ch > central_ch) in rtw89_phy_read_rf() 691 txsc_idx = (pri_ch - central_ch) >> 1; in rtw89_phy_read_rf() 693 txsc_idx = ((central_ch - pri_ch) >> 1) + 1; in rtw89_phy_read_rf() 695 txsc_idx = pri_ch > central_ch ? 9 : 10; in rtw89_phy_read_rf() 699 if (pri_ch > central_ch) in rtw89_phy_read_rf_a() 700 tmp = (pri_ch - central_ch) >> 1; in rtw89_phy_read_rf_a() 702 tmp = ((central_ch - pri_ch) >> 1) + 1; in rtw89_phy_read_rf_a() 718 txsc_idx = pri_ch > central_c in rtw89_phy_read_rf_a() 605 u8 pri_ch = chan->primary_channel; rtw89_phy_get_txsc() local 1730 rtw89_phy_fill_txpwr_limit_40m(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit * lmt,u8 band,u8 ntx,u8 ch,u8 pri_ch) rtw89_phy_fill_txpwr_limit_40m() argument 1751 rtw89_phy_fill_txpwr_limit_80m(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit * lmt,u8 band,u8 ntx,u8 ch,u8 pri_ch) rtw89_phy_fill_txpwr_limit_80m() argument 1792 rtw89_phy_fill_txpwr_limit_160m(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit * lmt,u8 band,u8 ntx,u8 ch,u8 pri_ch) rtw89_phy_fill_txpwr_limit_160m() argument 1883 u8 pri_ch = chan->primary_channel; rtw89_phy_fill_txpwr_limit() local [all...] |
H A D | rtw8851b.c | 1109 static void rtw8851b_ctrl_bw(struct rtw89_dev *rtwdev, u8 pri_ch, u8 bw, in rtw8851b_ctrl_bw() 1132 pri_ch, phy_idx); in rtw8851b_ctrl_cck_en() 1134 if (pri_ch == RTW89_SC_20_UPPER) in rtw8851b_ctrl_cck_en() 1144 pri_ch, phy_idx); in rtw8851b_ctrl_cck_en() 1148 pri_ch); in rtw8851b_spur_freq() 1322 u8 pri_ch = chan->pri_ch_idx; in rtw8851b_5m_mask() 1330 mask_5m_low = pri_ch == RTW89_SC_20_LOWER; in rtw8851b_5m_mask() 1334 mask_5m_en = pri_ch == RTW89_SC_20_UPMOST || in rtw8851b_5m_mask() 1335 pri_ch == RTW89_SC_20_LOWEST; in rtw8851b_5m_mask() 1336 mask_5m_low = pri_ch in rtw8851b_5m_mask() 1086 rtw8851b_ctrl_bw(struct rtw89_dev * rtwdev,u8 pri_ch,u8 bw,enum rtw89_phy_idx phy_idx) rtw8851b_ctrl_bw() argument 1299 u8 pri_ch = chan->pri_ch_idx; rtw8851b_5m_mask() local [all...] |
H A D | rtw8852b.c | 1197 rtw8852b_ctrl_bw(struct rtw89_dev * rtwdev,u8 pri_ch,u8 bw,enum rtw89_phy_idx phy_idx) rtw8852b_ctrl_bw() argument 1298 u8 pri_ch = chan->pri_ch_idx; rtw8852b_5m_mask() local
|
H A D | rtw8852c.c | 1121 rtw8852c_ctrl_bw(struct rtw89_dev *rtwdev, u8 pri_ch, u8 bw, in rtw8852c_ctrl_bw() 1157 pri_ch, in rtw8852c_ctrl_bw() 1174 pri_ch, in rtw8852c_spur_freq() 1191 pri_ch, in rtw8852c_spur_freq() 1204 pri_ch); in rtw8852c_spur_freq() 1439 u8 pri_ch = chan->pri_ch_idx; in rtw8852c_bb_reset_all() 1446 mask_5m_low = pri_ch == RTW89_SC_20_LOWER; in rtw8852c_bb_reset_all() 1449 mask_5m_en = pri_ch == RTW89_SC_20_UPMOST || in rtw8852c_bb_reset_all() 1450 pri_ch == RTW89_SC_20_LOWEST; in rtw8852c_bb_reset_all() 1451 mask_5m_low = pri_ch in rtw8852c_bb_reset_all() 1065 rtw8852c_ctrl_bw(struct rtw89_dev * rtwdev,u8 pri_ch,u8 bw,enum rtw89_phy_idx phy_idx) rtw8852c_ctrl_bw() argument 1383 u8 pri_ch = chan->pri_ch_idx; rtw8852c_5m_mask() local [all...] |
H A D | rtw8852a.c | 999 rtw8852a_ctrl_bw(struct rtw89_dev *rtwdev, u8 pri_ch, u8 bw, in rtw8852a_ctrl_bw() 1034 pri_ch, in rtw8852a_ctrl_bw() 1036 if (pri_ch == RTW89_SC_20_UPPER) in rtw8852a_ctrl_bw() 1047 pri_ch, in rtw8852a_spur_elimination() 1052 pri_ch); in rtw8852a_spur_elimination() 977 rtw8852a_ctrl_bw(struct rtw89_dev * rtwdev,u8 pri_ch,u8 bw,enum rtw89_phy_idx phy_idx) rtw8852a_ctrl_bw() argument
|
H A D | fw.c | 2552 h2c->info[0].pri_ch = chan->primary_channel; in rtw89_fw_h2c_cxdrv_init() 4712 le32_encode_bits(ch_info->pri_ch, RTW89_H2C_CHINFO_W0_PRI_CH); 4786 le32_encode_bits(ch_info->pri_ch, RTW89_H2C_CHINFO_BE_W0_PRI_CH); 5931 ch_info->pri_ch) 6020 ch_info->pri_ch != info->channel_6ghz) 6038 ch_info->pri_ch = op->primary_channel; 6080 ch_info->pri_ch != info->channel_6ghz) 6153 ch_info->pri_ch = channel->hw_value; 6230 ch_info->pri_ch = channel->hw_value;
|
H A D | fw.h | 321 u8 pri_ch; 345 u8 pri_ch; 1769 u8 pri_ch; in SET_BA_CAM_SSN() 257 u8 pri_ch; global() member
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76_connac_mcu.h | 233 u8 pri_ch; member
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | mcu.c | 492 ch->pri_ch = chandef->chan->hw_value; in mt7915_mcu_bss_rfch_tlv()
|