Lines Matching refs:hal
50 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_read_efuse() local
74 hal->pkg_type = map->rfe_option & BIT(5) ? 1 : 0; in rtw8821c_read_efuse()
83 hal->rfe_btg = true; in rtw8821c_read_efuse()
160 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_phy_set_param() local
195 hal->ch_param[0] = rtw_read32_mask(rtwdev, REG_TXSF2, MASKDWORD); in rtw8821c_phy_set_param()
196 hal->ch_param[1] = rtw_read32_mask(rtwdev, REG_TXSF6, MASKDWORD); in rtw8821c_phy_set_param()
197 hal->ch_param[2] = rtw_read32_mask(rtwdev, REG_TXFILTER, MASKDWORD); in rtw8821c_phy_set_param()
312 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_set_channel_rf() local
344 if (hal->rfe_btg) in rtw8821c_set_channel_rf()
387 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_set_channel_bb() local
404 hal->ch_param[0]); in rtw8821c_set_channel_bb()
406 hal->ch_param[1] & MASKLWORD); in rtw8821c_set_channel_bb()
408 hal->ch_param[2]); in rtw8821c_set_channel_bb()
659 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_set_tx_power_index_by_rate() local
667 pwr_index = hal->tx_pwr_tbl[path][rate]; in rtw8821c_set_tx_power_index_by_rate()
681 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_set_tx_power_index() local
684 for (path = 0; path < hal->rf_path_num; path++) { in rtw8821c_set_tx_power_index()
1047 u8 channel = rtwdev->hal.current_channel; in rtw8821c_pwrtrack_set()
1048 u8 band_width = rtwdev->hal.current_band_width; in rtw8821c_pwrtrack_set()