Lines Matching refs:hal

80 	struct rtw_hal *hal = &rtwdev->hal;  in rtw8822b_phy_set_param()  local
104 rtw8822b_config_trx_mode(rtwdev, hal->antenna_tx, hal->antenna_rx, in rtw8822b_phy_set_param()
213 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_channel_rfe_efem() local
228 if (hal->antenna_rx == BB_PATH_AB || in rtw8822b_set_channel_rfe_efem()
229 hal->antenna_tx == BB_PATH_AB) { in rtw8822b_set_channel_rfe_efem()
232 } else if (hal->antenna_rx == hal->antenna_tx) { in rtw8822b_set_channel_rfe_efem()
243 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_channel_rfe_ifem() local
259 if (hal->antenna_rx == BB_PATH_AB || in rtw8822b_set_channel_rfe_ifem()
260 hal->antenna_tx == BB_PATH_AB) { in rtw8822b_set_channel_rfe_ifem()
263 } else if (hal->antenna_rx == hal->antenna_tx) { in rtw8822b_set_channel_rfe_ifem()
346 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_channel_cca() local
356 if (hal->antenna_rx == BB_PATH_A || in rtw8822b_set_channel_cca()
357 hal->antenna_rx == BB_PATH_B) in rtw8822b_set_channel_cca()
364 if (hal->antenna_rx == BB_PATH_A || in rtw8822b_set_channel_cca()
365 hal->antenna_rx == BB_PATH_B) in rtw8822b_set_channel_cca()
392 if ((hal->cut_version == RTW_CHIP_VER_CUT_B && in rtw8822b_set_channel_cca()
405 if (is_efem_cca && !(hal->cut_version == RTW_CHIP_VER_CUT_B)) in rtw8822b_set_channel_cca()
437 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_channel_rf() local
487 if (hal->rf_type > RF_1T1R) in rtw8822b_set_channel_rf()
501 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_toggle_igi() local
512 hal->antenna_rx | (hal->antenna_rx << 4)); in rtw8822b_toggle_igi()
667 u8 ch = rtwdev->hal.current_channel; in rtw8822b_config_trx_mode()
869 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_tx_power_index_by_rate() local
877 pwr_index = hal->tx_pwr_tbl[path][rate]; in rtw8822b_set_tx_power_index_by_rate()
891 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_tx_power_index() local
894 for (path = 0; path < hal->rf_path_num; path++) { in rtw8822b_set_tx_power_index()
915 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_antenna() local
928 hal->antenna_tx = antenna_tx; in rtw8822b_set_antenna()
929 hal->antenna_rx = antenna_rx; in rtw8822b_set_antenna()