Lines Matching refs:hal
459 struct rtw_hal *hal = &rtwdev->hal; in rtw_fw_send_phydm_info() local
468 if (hal->rf_type == RF_1T1R) in rtw_fw_send_phydm_info()
470 else if (hal->rf_type == RF_2T2R) in rtw_fw_send_phydm_info()
478 PHYDM_INFO_SET_CUT_VER(h2c_pkt, hal->cut_version); in rtw_fw_send_phydm_info()
479 PHYDM_INFO_SET_RX_ANT_STATUS(h2c_pkt, hal->antenna_tx); in rtw_fw_send_phydm_info()
480 PHYDM_INFO_SET_TX_ANT_STATUS(h2c_pkt, hal->antenna_rx); in rtw_fw_send_phydm_info()
2147 rtwdev->hal.rcr &= ~BIT_CBSSID_BCN; in rtw_hw_scan_start()
2148 rtw_write32(rtwdev, REG_RCR, rtwdev->hal.rcr); in rtw_hw_scan_start()
2158 struct rtw_hal *hal = &rtwdev->hal; in rtw_hw_scan_complete() local
2165 rtwdev->hal.rcr |= BIT_CBSSID_BCN; in rtw_hw_scan_complete()
2166 rtw_write32(rtwdev, REG_RCR, rtwdev->hal.rcr); in rtw_hw_scan_complete()
2173 rtw_phy_set_tx_power_level(rtwdev, hal->current_channel); in rtw_hw_scan_complete()
2273 struct rtw_hal *hal = &rtwdev->hal; in rtw_store_op_chan() local
2277 scan_info->op_chan = hal->current_channel; in rtw_store_op_chan()
2278 scan_info->op_bw = hal->current_band_width; in rtw_store_op_chan()
2279 scan_info->op_pri_ch_idx = hal->current_primary_channel_index; in rtw_store_op_chan()
2280 scan_info->op_pri_ch = hal->primary_channel; in rtw_store_op_chan()
2308 struct rtw_hal *hal = &rtwdev->hal; in rtw_hw_scan_chan_switch() local
2347 rtw_is_op_chan(rtwdev, hal->current_channel)) { in rtw_hw_scan_chan_switch()