Lines Matching refs:phy_map
1412 static void _set_gnt_wl(struct rtw89_dev *rtwdev, u8 phy_map, u8 state) in _set_gnt_wl() argument
1419 if (phy_map > BTC_PHY_ALL) in _set_gnt_wl()
1423 if (!(phy_map & BIT(i))) in _set_gnt_wl()
2167 static void _set_gnt_bt(struct rtw89_dev *rtwdev, u8 phy_map, u8 state) in _set_gnt_bt() argument
2174 if (phy_map > BTC_PHY_ALL) in _set_gnt_bt()
2178 if (!(phy_map & BIT(i))) in _set_gnt_bt()
2200 static void _set_bt_plut(struct rtw89_dev *rtwdev, u8 phy_map, in _set_bt_plut() argument
2209 if (phy_map & BTC_PHY_0) in _set_bt_plut()
2216 if (phy_map & BTC_PHY_1) in _set_bt_plut()
2221 u8 phy_map, u8 type) in _set_ant() argument
2232 ant_path_type = ((phy_map << 8) + type); in _set_ant()
2260 __func__, phy_map, dm->set_ant_path & 0xff); in _set_ant()
2268 _set_gnt_wl(rtwdev, phy_map, BTC_GNT_SW_LO); in _set_ant()
2269 _set_gnt_bt(rtwdev, phy_map, BTC_GNT_SW_HI); in _set_ant()
2271 _set_gnt_wl(rtwdev, phy_map, BTC_GNT_SW_HI); in _set_ant()
2272 _set_gnt_bt(rtwdev, phy_map, BTC_GNT_SW_LO); in _set_ant()
2278 _set_gnt_wl(rtwdev, phy_map, BTC_GNT_SW_HI); in _set_ant()
2279 _set_gnt_bt(rtwdev, phy_map, BTC_GNT_SW_LO); in _set_ant()
2309 _set_gnt_wl(rtwdev, phy_map, BTC_GNT_HW); in _set_ant()
2310 _set_gnt_bt(rtwdev, phy_map, BTC_GNT_HW); in _set_ant()
2317 _set_gnt_wl(rtwdev, phy_map, BTC_GNT_SW_HI); in _set_ant()
2318 _set_gnt_bt(rtwdev, phy_map, BTC_GNT_HW); in _set_ant()
2323 _set_gnt_wl(rtwdev, phy_map, BTC_GNT_HW); in _set_ant()
2324 _set_gnt_bt(rtwdev, phy_map, BTC_GNT_HW); in _set_ant()
2330 _set_gnt_wl(rtwdev, phy_map, BTC_GNT_SW_HI); in _set_ant()
2331 _set_gnt_bt(rtwdev, phy_map, BTC_GNT_SW_HI); in _set_ant()
2336 _set_gnt_wl(rtwdev, phy_map, BTC_GNT_SW_HI); in _set_ant()
2337 _set_gnt_bt(rtwdev, phy_map, BTC_GNT_SW_LO); in _set_ant()
2338 _set_bt_plut(rtwdev, phy_map, BTC_PLT_NONE, BTC_PLT_NONE); in _set_ant()
2342 _set_gnt_wl(rtwdev, phy_map, BTC_GNT_SW_LO); in _set_ant()
2343 _set_gnt_bt(rtwdev, phy_map, BTC_GNT_SW_HI); in _set_ant()
2344 _set_bt_plut(rtwdev, phy_map, BTC_PLT_NONE, BTC_PLT_NONE); in _set_ant()
3232 btc->cx.wl.scan_info.phy_map & BIT(phy_idx) ? in _update_dbcc_band()
3789 wl->scan_info.phy_map |= BIT(phy_idx); in rtw89_btc_ntfy_scan_start()
3811 wl->scan_info.phy_map &= ~BIT(phy_idx); in rtw89_btc_ntfy_scan_finish()
3833 wl->scan_info.phy_map |= BIT(phy_idx); in rtw89_btc_ntfy_switch_band()
4243 wl->rfk_info.phy_map = FIELD_GET(BTC_RFK_PHY_MAP, phy_path); in _ntfy_wl_rfk()
4248 __func__, wl->rfk_info.phy_map, wl->rfk_info.path_map, in _ntfy_wl_rfk()
4300 void rtw89_btc_ntfy_wl_rfk(struct rtw89_dev *rtwdev, u8 phy_map, in rtw89_btc_ntfy_wl_rfk() argument
4308 band = FIELD_GET(BTC_RFK_BAND_MAP, phy_map); in rtw89_btc_ntfy_wl_rfk()
4314 !!(FIELD_GET(BTC_RFK_PHY_MAP, phy_map) & BIT(RTW89_PHY_1)), in rtw89_btc_ntfy_wl_rfk()
4316 FIELD_GET(BTC_RFK_PATH_MAP, phy_map), in rtw89_btc_ntfy_wl_rfk()
4323 _ntfy_wl_rfk(rtwdev, phy_map, type, state); in rtw89_btc_ntfy_wl_rfk()
4328 rtwdev, phy_map, type, state); in rtw89_btc_ntfy_wl_rfk()
4697 wl->scan_info.band[RTW89_PHY_0], wl->scan_info.phy_map); in _show_wl_info()