Lines Matching refs:RF_PATH_B
49 efuse->thermal_meter[RF_PATH_B] = map->path_b_thermal; in rtw8822c_read_efuse()
225 case RF_PATH_B: in rtw8822c_get_path_write_addr()
244 case RF_PATH_B: in rtw8822c_get_path_read_addr()
350 rf_b = rtw_read_rf(rtwdev, RF_PATH_B, 0x0, RFREG_MASK); in rtw8822c_dac_cal_rf_mode()
391 case RF_PATH_B: in rtw8822c_dac_cal_adc()
401 if (path == RF_PATH_B) in rtw8822c_dac_cal_adc()
408 rtw_write_rf(rtwdev, RF_PATH_B, 0x0, RFREG_MASK, 0x10000); in rtw8822c_dac_cal_adc()
686 dm_info->dack_dck[RF_PATH_B][0][0] = val; in rtw8822c_dac_cal_backup_dck()
688 dm_info->dack_dck[RF_PATH_B][1][0] = val; in rtw8822c_dac_cal_backup_dck()
690 dm_info->dack_dck[RF_PATH_B][0][1] = val; in rtw8822c_dac_cal_backup_dck()
692 dm_info->dack_dck[RF_PATH_B][1][1] = val; in rtw8822c_dac_cal_backup_dck()
714 rtw8822c_dac_cal_backup_path(rtwdev, RF_PATH_B); in rtw8822c_dac_cal_backup()
743 val = dm_info->dack_dck[RF_PATH_B][0][0]; in rtw8822c_dac_cal_restore_dck()
745 val = dm_info->dack_dck[RF_PATH_B][0][1]; in rtw8822c_dac_cal_restore_dck()
749 val = dm_info->dack_dck[RF_PATH_B][1][0]; in rtw8822c_dac_cal_restore_dck()
751 val = dm_info->dack_dck[RF_PATH_B][1][1]; in rtw8822c_dac_cal_restore_dck()
877 if (!rtw8822c_dac_cal_restore_path(rtwdev, RF_PATH_B)) in __rtw8822c_dac_cal_restore()
891 dm_info->dack_msbk[RF_PATH_B][0][0] == 0 && in rtw8822c_dac_cal_restore()
892 dm_info->dack_msbk[RF_PATH_B][1][0] == 0) in rtw8822c_dac_cal_restore()
959 rtw8822c_dac_cal_adc(rtwdev, RF_PATH_B, &adc_ic_b, &adc_qc_b); in rtw8822c_rf_dac_cal()
961 rtw8822c_dac_cal_step1(rtwdev, RF_PATH_B); in rtw8822c_rf_dac_cal()
962 rtw8822c_dac_cal_step2(rtwdev, RF_PATH_B, &ic, &qc); in rtw8822c_rf_dac_cal()
966 rtw8822c_dac_cal_step3(rtwdev, RF_PATH_B, adc_ic_b, adc_qc_b, in rtw8822c_rf_dac_cal()
972 rtw8822c_dac_cal_step4(rtwdev, RF_PATH_B); in rtw8822c_rf_dac_cal()
1054 bb_gain[RF_PATH_B][i] = FIELD_GET(PPG_2G_B_MASK, pg_pwr); in rtw8822c_power_trim()
1204 reg_rf0_b = (u8)rtw_read_rf(rtwdev, RF_PATH_B, in check_rf_status()
1249 } else if (path == RF_PATH_B) { in rtw8822c_txgapk_bb_dpk()
1269 } else if (path == RF_PATH_B) { in rtw8822c_txgapk_afe_dpk()
1305 } else if (path == RF_PATH_B) { in rtw8822c_txgapk_afe_dpk_restore()
1356 } else if (path == RF_PATH_B) { in rtw8822c_txgapk_bb_dpk_restore()
2225 rtw_write_rf(rtwdev, RF_PATH_B, RF_LUTWE2, 0x04, 0x01); in rtw8822c_set_channel_rf()
2226 rtw_write_rf(rtwdev, RF_PATH_B, RF_LUTWA, 0x1f, 0x12); in rtw8822c_set_channel_rf()
2227 rtw_write_rf(rtwdev, RF_PATH_B, RF_LUTWD0, 0xfffff, rf_rxbb); in rtw8822c_set_channel_rf()
2228 rtw_write_rf(rtwdev, RF_PATH_B, RF_LUTWE2, 0x04, 0x00); in rtw8822c_set_channel_rf()
2231 rtw_write_rf(rtwdev, RF_PATH_B, RF_CFGCH, RFREG_MASK, rf_reg18); in rtw8822c_set_channel_rf()
2539 rx_power[RF_PATH_B] = GET_PHY_STAT_P0_PWDB_B(phy_status); in query_phy_status_page0()
2549 rx_power[RF_PATH_B] += (l_bnd - gain_b) << 1; in query_phy_status_page0()
2551 rx_power[RF_PATH_B] -= (gain_b - u_bnd) << 1; in query_phy_status_page0()
2554 rx_power[RF_PATH_B] -= 110; in query_phy_status_page0()
2557 pkt_stat->rx_power[RF_PATH_B] = rx_power[RF_PATH_B]; in query_phy_status_page0()
2595 pkt_stat->rx_power[RF_PATH_B] = GET_PHY_STAT_P1_PWDB_B(phy_status) - 110; in query_phy_status_page1()
2599 pkt_stat->rx_power[RF_PATH_B], in query_phy_status_page1()
2605 pkt_stat->rx_evm[RF_PATH_B] = GET_PHY_STAT_P1_RXEVM_B(phy_status); in query_phy_status_page1()
2608 pkt_stat->rx_snr[RF_PATH_B] = GET_PHY_STAT_P1_RXSNR_B(phy_status); in query_phy_status_page1()
2611 pkt_stat->cfo_tail[RF_PATH_B] = GET_PHY_STAT_P1_CFO_TAIL_B(phy_status); in query_phy_status_page1()
2619 } else if (path == RF_PATH_B) { in query_phy_status_page1()
2749 hal->tx_pwr_tbl[RF_PATH_B][DESC_RATE11M]}; in rtw8822c_set_tx_power_index()
2751 hal->tx_pwr_tbl[RF_PATH_B][DESC_RATEMCS7]}; in rtw8822c_set_tx_power_index()
2761 pwr_b = hal->tx_pwr_tbl[RF_PATH_B][rate]; in rtw8822c_set_tx_power_index()
2902 rtw_write_rf(rtwdev, RF_PATH_B, RF_SYN_CTRL, RFREG_MASK, 0x80010); in rtw8822c_do_lck()
2954 rtw_write_rf(rtwdev, RF_PATH_B, RF_MODOPT, 0xfffff, 0x40000); in rtw8822c_coex_cfg_init()
2978 rtw_write_rf(rtwdev, RF_PATH_B, 0x1, 0xfffff, rf_0x1); in rtw8822c_coex_cfg_gnt_fix()
3080 rtw_write_rf(rtwdev, RF_PATH_B, RF_RCKD, RFREG_MASK, 0x22); in rtw8822c_coex_cfg_wl_rx_gain()
3081 rtw_write_rf(rtwdev, RF_PATH_B, RF_RCK, RFREG_MASK, 0x36); in rtw8822c_coex_cfg_wl_rx_gain()
3089 rtw_write_rf(rtwdev, RF_PATH_B, RF_RCKD, RFREG_MASK, 0x20); in rtw8822c_coex_cfg_wl_rx_gain()
3090 rtw_write_rf(rtwdev, RF_PATH_B, RF_RCK, RFREG_MASK, 0x0); in rtw8822c_coex_cfg_wl_rx_gain()
3210 rf_reg_bak[i][RF_PATH_B] = rtw_read_rf(rtwdev, RF_PATH_B, in rtw8822c_dpk_backup_rf_registers()
3224 rtw_write_rf(rtwdev, RF_PATH_B, rf_reg[i], RFREG_MASK, in rtw8822c_dpk_reload_rf_registers()
3225 rf_reg_bak[i][RF_PATH_B]); in rtw8822c_dpk_reload_rf_registers()
3287 reg_b = (u8)rtw_read_rf(rtwdev, RF_PATH_B, 0x00, 0xf0000); in rtw8822c_dpk_tx_pause()
3743 } else if (path == RF_PATH_B) { in rtw8822c_dpk_get_coef()
4044 rtw8822c_dpk_calibrate(rtwdev, RF_PATH_B); in rtw8822c_dpk_path_select()
4046 rtw8822c_dpk_on(rtwdev, RF_PATH_B); in rtw8822c_dpk_path_select()
4066 if (test_bit(RF_PATH_B, dpk_info->dpk_path_ok)) { in rtw8822c_dpk_enable_disable()
4068 rtw_write8(rtwdev, REG_DPD_CTL0_S1, dpk_info->dpk_gs[RF_PATH_B]); in rtw8822c_dpk_enable_disable()
4078 !test_bit(RF_PATH_B, dpk_info->dpk_path_ok) && in rtw8822c_dpk_reload_data()
4426 case RF_PATH_B: in rtw8822c_pwrtrack_set()
4488 rtw_write_rf(rtwdev, RF_PATH_B, RF_T_METER, BIT(19), 0x01); in rtw8822c_pwr_track()
4489 rtw_write_rf(rtwdev, RF_PATH_B, RF_T_METER, BIT(19), 0x00); in rtw8822c_pwr_track()
4490 rtw_write_rf(rtwdev, RF_PATH_B, RF_T_METER, BIT(19), 0x01); in rtw8822c_pwr_track()