Searched refs:pri_ch (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/drivers/net/wireless/realtek/rtw89/ |
D | phy.c | 600 u8 pri_ch = chan->primary_channel; in rtw89_phy_get_txsc() local 610 txsc_idx = pri_ch > central_ch ? 1 : 2; in rtw89_phy_get_txsc() 614 if (pri_ch > central_ch) in rtw89_phy_get_txsc() 615 txsc_idx = (pri_ch - central_ch) >> 1; in rtw89_phy_get_txsc() 617 txsc_idx = ((central_ch - pri_ch) >> 1) + 1; in rtw89_phy_get_txsc() 619 txsc_idx = pri_ch > central_ch ? 9 : 10; in rtw89_phy_get_txsc() 623 if (pri_ch > central_ch) in rtw89_phy_get_txsc() 624 tmp = (pri_ch - central_ch) >> 1; in rtw89_phy_get_txsc() 626 tmp = ((central_ch - pri_ch) >> 1) + 1; in rtw89_phy_get_txsc() 642 txsc_idx = pri_ch > central_ch ? 13 : 14; in rtw89_phy_get_txsc() [all …]
|
D | rtw8851b.c | 1090 static void rtw8851b_ctrl_bw(struct rtw89_dev *rtwdev, u8 pri_ch, u8 bw, in rtw8851b_ctrl_bw() argument 1113 pri_ch, phy_idx); in rtw8851b_ctrl_bw() 1115 if (pri_ch == RTW89_SC_20_UPPER) in rtw8851b_ctrl_bw() 1125 pri_ch, phy_idx); in rtw8851b_ctrl_bw() 1129 pri_ch); in rtw8851b_ctrl_bw() 1303 u8 pri_ch = chan->pri_ch_idx; in rtw8851b_5m_mask() local 1311 mask_5m_low = pri_ch == RTW89_SC_20_LOWER; in rtw8851b_5m_mask() 1315 mask_5m_en = pri_ch == RTW89_SC_20_UPMOST || in rtw8851b_5m_mask() 1316 pri_ch == RTW89_SC_20_LOWEST; in rtw8851b_5m_mask() 1317 mask_5m_low = pri_ch == RTW89_SC_20_LOWEST; in rtw8851b_5m_mask()
|
D | rtw8852b.c | 1201 static void rtw8852b_ctrl_bw(struct rtw89_dev *rtwdev, u8 pri_ch, u8 bw, in rtw8852b_ctrl_bw() argument 1244 pri_ch, phy_idx); in rtw8852b_ctrl_bw() 1252 if (pri_ch == RTW89_SC_20_UPPER) in rtw8852b_ctrl_bw() 1262 pri_ch, phy_idx); in rtw8852b_ctrl_bw() 1272 pri_ch); in rtw8852b_ctrl_bw() 1302 u8 pri_ch = chan->pri_ch_idx; in rtw8852b_5m_mask() local 1310 mask_5m_low = pri_ch == RTW89_SC_20_LOWER; in rtw8852b_5m_mask() 1314 mask_5m_en = pri_ch == RTW89_SC_20_UPMOST || in rtw8852b_5m_mask() 1315 pri_ch == RTW89_SC_20_LOWEST; in rtw8852b_5m_mask() 1316 mask_5m_low = pri_ch == RTW89_SC_20_LOWEST; in rtw8852b_5m_mask()
|
D | rtw8852c.c | 1068 rtw8852c_ctrl_bw(struct rtw89_dev *rtwdev, u8 pri_ch, u8 bw, in rtw8852c_ctrl_bw() argument 1104 pri_ch, in rtw8852c_ctrl_bw() 1121 pri_ch, in rtw8852c_ctrl_bw() 1138 pri_ch, in rtw8852c_ctrl_bw() 1151 pri_ch); in rtw8852c_ctrl_bw() 1386 u8 pri_ch = chan->pri_ch_idx; in rtw8852c_5m_mask() local 1393 mask_5m_low = pri_ch == RTW89_SC_20_LOWER; in rtw8852c_5m_mask() 1396 mask_5m_en = pri_ch == RTW89_SC_20_UPMOST || in rtw8852c_5m_mask() 1397 pri_ch == RTW89_SC_20_LOWEST; in rtw8852c_5m_mask() 1398 mask_5m_low = pri_ch == RTW89_SC_20_LOWEST; in rtw8852c_5m_mask()
|
D | rtw8852a.c | 980 rtw8852a_ctrl_bw(struct rtw89_dev *rtwdev, u8 pri_ch, u8 bw, in rtw8852a_ctrl_bw() argument 1015 pri_ch, in rtw8852a_ctrl_bw() 1017 if (pri_ch == RTW89_SC_20_UPPER) in rtw8852a_ctrl_bw() 1028 pri_ch, in rtw8852a_ctrl_bw() 1033 pri_ch); in rtw8852a_ctrl_bw()
|
D | fw.c | 3051 RTW89_SET_FWCMD_CHINFO_PRI_CH(cmd, ch_info->pri_ch); in rtw89_fw_h2c_scan_list_offload() 3650 ch_info->pri_ch) in rtw89_update_6ghz_rnr_chan() 3739 ch_info->pri_ch != info->channel_6ghz) in rtw89_hw_scan_add_chan() 3751 ch_info->pri_ch = op->primary_channel; in rtw89_hw_scan_add_chan() 3804 ch_info->pri_ch = channel->hw_value; in rtw89_hw_scan_add_chan_list()
|
D | fw.h | 257 u8 pri_ch; member
|
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/ |
D | mt76_connac_mcu.h | 229 u8 pri_ch; member
|
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mcu.c | 490 ch->pri_ch = chandef->chan->hw_value; in mt7915_mcu_bss_rfch_tlv()
|