Lines Matching refs:RF_PATH_B

217 	case RF_PATH_B:  in rtw8822c_get_path_write_addr()
236 case RF_PATH_B: in rtw8822c_get_path_read_addr()
342 rf_b = rtw_read_rf(rtwdev, RF_PATH_B, 0x0, RFREG_MASK); in rtw8822c_dac_cal_rf_mode()
383 case RF_PATH_B: in rtw8822c_dac_cal_adc()
393 if (path == RF_PATH_B) in rtw8822c_dac_cal_adc()
400 rtw_write_rf(rtwdev, RF_PATH_B, 0x0, RFREG_MASK, 0x10000); in rtw8822c_dac_cal_adc()
678 dm_info->dack_dck[RF_PATH_B][0][0] = val; in rtw8822c_dac_cal_backup_dck()
680 dm_info->dack_dck[RF_PATH_B][1][0] = val; in rtw8822c_dac_cal_backup_dck()
682 dm_info->dack_dck[RF_PATH_B][0][1] = val; in rtw8822c_dac_cal_backup_dck()
684 dm_info->dack_dck[RF_PATH_B][1][1] = val; in rtw8822c_dac_cal_backup_dck()
706 rtw8822c_dac_cal_backup_path(rtwdev, RF_PATH_B); in rtw8822c_dac_cal_backup()
735 val = dm_info->dack_dck[RF_PATH_B][0][0]; in rtw8822c_dac_cal_restore_dck()
737 val = dm_info->dack_dck[RF_PATH_B][0][1]; in rtw8822c_dac_cal_restore_dck()
741 val = dm_info->dack_dck[RF_PATH_B][1][0]; in rtw8822c_dac_cal_restore_dck()
743 val = dm_info->dack_dck[RF_PATH_B][1][1]; in rtw8822c_dac_cal_restore_dck()
869 if (!rtw8822c_dac_cal_restore_path(rtwdev, RF_PATH_B)) in __rtw8822c_dac_cal_restore()
883 dm_info->dack_msbk[RF_PATH_B][0][0] == 0 && in rtw8822c_dac_cal_restore()
884 dm_info->dack_msbk[RF_PATH_B][1][0] == 0) in rtw8822c_dac_cal_restore()
951 rtw8822c_dac_cal_adc(rtwdev, RF_PATH_B, &adc_ic_b, &adc_qc_b); in rtw8822c_rf_dac_cal()
953 rtw8822c_dac_cal_step1(rtwdev, RF_PATH_B); in rtw8822c_rf_dac_cal()
954 rtw8822c_dac_cal_step2(rtwdev, RF_PATH_B, &ic, &qc); in rtw8822c_rf_dac_cal()
958 rtw8822c_dac_cal_step3(rtwdev, RF_PATH_B, adc_ic_b, adc_qc_b, in rtw8822c_rf_dac_cal()
964 rtw8822c_dac_cal_step4(rtwdev, RF_PATH_B); in rtw8822c_rf_dac_cal()
1318 rtw_write_rf(rtwdev, RF_PATH_B, RF_LUTWE2, 0x04, 0x01); in rtw8822c_set_channel_rf()
1319 rtw_write_rf(rtwdev, RF_PATH_B, RF_LUTWA, 0x1f, 0x12); in rtw8822c_set_channel_rf()
1320 rtw_write_rf(rtwdev, RF_PATH_B, RF_LUTWD0, 0xfffff, rf_rxbb); in rtw8822c_set_channel_rf()
1321 rtw_write_rf(rtwdev, RF_PATH_B, RF_LUTWE2, 0x04, 0x00); in rtw8822c_set_channel_rf()
1324 rtw_write_rf(rtwdev, RF_PATH_B, RF_CFGCH, RFREG_MASK, rf_reg18); in rtw8822c_set_channel_rf()
1621 rx_power[RF_PATH_B] = GET_PHY_STAT_P0_PWDB_B(phy_status); in query_phy_status_page0()
1631 rx_power[RF_PATH_B] += (l_bnd - gain_b) << 1; in query_phy_status_page0()
1633 rx_power[RF_PATH_B] -= (gain_b - u_bnd) << 1; in query_phy_status_page0()
1636 rx_power[RF_PATH_B] -= 110; in query_phy_status_page0()
1639 pkt_stat->rx_power[RF_PATH_B] = rx_power[RF_PATH_B]; in query_phy_status_page0()
1666 pkt_stat->rx_power[RF_PATH_B] = GET_PHY_STAT_P1_PWDB_B(phy_status) - 110; in query_phy_status_page1()
1670 pkt_stat->rx_power[RF_PATH_B], in query_phy_status_page1()
1782 hal->tx_pwr_tbl[RF_PATH_B][DESC_RATE11M]}; in rtw8822c_set_tx_power_index()
1784 hal->tx_pwr_tbl[RF_PATH_B][DESC_RATEMCS7]}; in rtw8822c_set_tx_power_index()
1794 pwr_b = hal->tx_pwr_tbl[RF_PATH_B][rate]; in rtw8822c_set_tx_power_index()
1928 rtw_write_rf(rtwdev, RF_PATH_B, 0x1, 0xfffff, 0x40000); in rtw8822c_coex_cfg_init()
1952 rtw_write_rf(rtwdev, RF_PATH_B, 0x1, 0xfffff, rf_0x1); in rtw8822c_coex_cfg_gnt_fix()
2046 rtw_write_rf(rtwdev, RF_PATH_B, 0xde, 0xfffff, 0x22); in rtw8822c_coex_cfg_wl_rx_gain()
2047 rtw_write_rf(rtwdev, RF_PATH_B, 0x1d, 0xfffff, 0x36); in rtw8822c_coex_cfg_wl_rx_gain()
2052 rtw_write_rf(rtwdev, RF_PATH_B, 0x1d, 0xfffff, 0x0); in rtw8822c_coex_cfg_wl_rx_gain()
2121 rf_reg_bak[i][RF_PATH_B] = rtw_read_rf(rtwdev, RF_PATH_B, in rtw8822c_dpk_backup_rf_registers()
2135 rtw_write_rf(rtwdev, RF_PATH_B, rf_reg[i], RFREG_MASK, in rtw8822c_dpk_reload_rf_registers()
2136 rf_reg_bak[i][RF_PATH_B]); in rtw8822c_dpk_reload_rf_registers()
2198 reg_b = (u8)rtw_read_rf(rtwdev, RF_PATH_B, 0x00, 0xf0000); in rtw8822c_dpk_tx_pause()
2654 } else if (path == RF_PATH_B) { in rtw8822c_dpk_get_coef()
2955 rtw8822c_dpk_calibrate(rtwdev, RF_PATH_B); in rtw8822c_dpk_path_select()
2957 rtw8822c_dpk_on(rtwdev, RF_PATH_B); in rtw8822c_dpk_path_select()
2977 if (test_bit(RF_PATH_B, dpk_info->dpk_path_ok)) { in rtw8822c_dpk_enable_disable()
2979 rtw_write8(rtwdev, REG_DPD_CTL0_S1, dpk_info->dpk_gs[RF_PATH_B]); in rtw8822c_dpk_enable_disable()
2989 !test_bit(RF_PATH_B, dpk_info->dpk_path_ok) && in rtw8822c_dpk_reload_data()