/drivers/net/wireless/realtek/rtw88/ |
D | phy.c | 111 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_phy_cck_pd_init() local 116 dm_info->cck_pd_lv[i][j] = CCK_PD_LV0; in rtw_phy_cck_pd_init() 119 dm_info->cck_fa_avg = CCK_FA_AVG_RESET; in rtw_phy_cck_pd_init() 144 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_phy_init() local 147 dm_info->fa_history[3] = 0; in rtw_phy_init() 148 dm_info->fa_history[2] = 0; in rtw_phy_init() 149 dm_info->fa_history[1] = 0; in rtw_phy_init() 150 dm_info->fa_history[0] = 0; in rtw_phy_init() 151 dm_info->igi_bitmap = 0; in rtw_phy_init() 152 dm_info->igi_history[3] = 0; in rtw_phy_init() [all …]
|
D | rtw8821c.c | 99 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw8821c_pwrtrack_init() local 103 dm_info->default_ofdm_index = 24; in rtw8821c_pwrtrack_init() 105 dm_info->default_ofdm_index = swing_idx; in rtw8821c_pwrtrack_init() 107 ewma_thermal_init(&dm_info->avg_thermal[RF_PATH_A]); in rtw8821c_pwrtrack_init() 108 dm_info->delta_power_index[RF_PATH_A] = 0; in rtw8821c_pwrtrack_init() 109 dm_info->delta_power_index_last[RF_PATH_A] = 0; in rtw8821c_pwrtrack_init() 110 dm_info->pwr_trk_triggered = false; in rtw8821c_pwrtrack_init() 111 dm_info->pwr_trk_init_trigger = true; in rtw8821c_pwrtrack_init() 112 dm_info->thermal_meter_k = rtwdev->efuse.thermal_meter_k; in rtw8821c_pwrtrack_init() 163 rtwdev->dm_info.cck_pd_default = rtw_read8(rtwdev, REG_CSRATIO) & 0x1f; in rtw8821c_phy_set_param() [all …]
|
D | debug.c | 637 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_debugfs_get_simple_phy_info() local 641 dm_info->rssi[RF_PATH_A] - 100, hal->current_channel); in rtw_debugfs_get_simple_phy_info() 647 rtw_print_rate(m, dm_info->tx_rate); in rtw_debugfs_get_simple_phy_info() 648 seq_printf(m, "(0x%x)\n", dm_info->tx_rate); in rtw_debugfs_get_simple_phy_info() 651 rtw_print_rate(m, dm_info->curr_rx_rate); in rtw_debugfs_get_simple_phy_info() 652 seq_printf(m, "(0x%x)\n", dm_info->curr_rx_rate); in rtw_debugfs_get_simple_phy_info() 659 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_debugfs_get_phy_info() local 661 struct rtw_pkt_count *last_cnt = &dm_info->last_pkt_count; in rtw_debugfs_get_phy_info() 663 struct ewma_evm *ewma_evm = dm_info->ewma_evm; in rtw_debugfs_get_phy_info() 664 struct ewma_snr *ewma_snr = dm_info->ewma_snr; in rtw_debugfs_get_phy_info() [all …]
|
D | rtw8723d.c | 120 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw8723d_pwrtrack_init() local 123 dm_info->default_ofdm_index = RTW_DEF_OFDM_SWING_INDEX; in rtw8723d_pwrtrack_init() 126 ewma_thermal_init(&dm_info->avg_thermal[path]); in rtw8723d_pwrtrack_init() 127 dm_info->delta_power_index[path] = 0; in rtw8723d_pwrtrack_init() 129 dm_info->pwr_trk_triggered = false; in rtw8723d_pwrtrack_init() 130 dm_info->pwr_trk_init_trigger = true; in rtw8723d_pwrtrack_init() 131 dm_info->thermal_meter_k = rtwdev->efuse.thermal_meter_k; in rtw8723d_pwrtrack_init() 132 dm_info->txagc_remnant_cck = 0; in rtw8723d_pwrtrack_init() 133 dm_info->txagc_remnant_ofdm = 0; in rtw8723d_pwrtrack_init() 195 rtwdev->dm_info.cck_pd_default = rtw_read8(rtwdev, REG_CSRATIO) & 0x1f; in rtw8723d_phy_set_param() [all …]
|
D | rtw8822b.c | 107 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw8822b_pwrtrack_init() local 112 dm_info->default_ofdm_index = 24; in rtw8822b_pwrtrack_init() 114 dm_info->default_ofdm_index = swing_idx; in rtw8822b_pwrtrack_init() 117 ewma_thermal_init(&dm_info->avg_thermal[path]); in rtw8822b_pwrtrack_init() 118 dm_info->delta_power_index[path] = 0; in rtw8822b_pwrtrack_init() 120 dm_info->pwr_trk_triggered = false; in rtw8822b_pwrtrack_init() 121 dm_info->pwr_trk_init_trigger = true; in rtw8822b_pwrtrack_init() 122 dm_info->thermal_meter_k = rtwdev->efuse.thermal_meter_k; in rtw8822b_pwrtrack_init() 820 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in query_phy_status_page0() local 830 dm_info->rssi[RF_PATH_A] = pkt_stat->rssi; in query_phy_status_page0() [all …]
|
D | rtw8822c.c | 378 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw8822c_dac_cal_adc() local 428 dm_info->dack_adck[path] = temp; in rtw8822c_dac_cal_adc() 455 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw8822c_dac_cal_step1() local 462 rtw_write32(rtwdev, base_addr + 0x68, dm_info->dack_adck[path]); in rtw8822c_dac_cal_step1() 637 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw8822c_dac_cal_backup_vec() local 647 dm_info->dack_msbk[path][vec][i] = val; in rtw8822c_dac_cal_backup_vec() 673 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw8822c_dac_cal_backup_dck() local 677 dm_info->dack_dck[RF_PATH_A][0][0] = val; in rtw8822c_dac_cal_backup_dck() 679 dm_info->dack_dck[RF_PATH_A][0][1] = val; in rtw8822c_dac_cal_backup_dck() 681 dm_info->dack_dck[RF_PATH_A][1][0] = val; in rtw8822c_dac_cal_backup_dck() [all …]
|
D | rx.c | 45 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_rx_phy_stat() local 46 struct rtw_pkt_count *cur_pkt_cnt = &dm_info->cur_pkt_count; in rtw_rx_phy_stat() 50 dm_info->curr_rx_rate = pkt_stat->rate; in rtw_rx_phy_stat() 82 ewma_evm_add(&dm_info->ewma_evm[idx], in rtw_rx_phy_stat() 83 dm_info->rx_evm_dbm[i]); in rtw_rx_phy_stat() 88 ewma_snr_add(&dm_info->ewma_snr[idx], in rtw_rx_phy_stat() 89 dm_info->rx_snr[i]); in rtw_rx_phy_stat()
|
D | coex.c | 258 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_coex_wl_noisy_detect() local 263 cnt_cck = dm_info->cck_ok_cnt + dm_info->cck_err_cnt; in rtw_coex_wl_noisy_detect() 542 rssi = rtwdev->dm_info.min_rssi; in rtw_coex_update_wl_link_info() 3648 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_coex_display_coex_info() local 3890 dm_info->cck_ok_cnt, dm_info->ofdm_ok_cnt, in rtw_coex_display_coex_info() 3891 dm_info->ht_ok_cnt, dm_info->vht_ok_cnt); in rtw_coex_display_coex_info() 3894 dm_info->cck_err_cnt, dm_info->ofdm_err_cnt, in rtw_coex_display_coex_info() 3895 dm_info->ht_err_cnt, dm_info->vht_err_cnt); in rtw_coex_display_coex_info() 3906 -dm_info->rx_evm_dbm[RF_PATH_A], in rtw_coex_display_coex_info() 3907 -dm_info->rx_evm_dbm[RF_PATH_B], in rtw_coex_display_coex_info() [all …]
|
D | fw.c | 124 rtwdev->dm_info.tx_rate = GET_RA_REPORT_RATE(payload); in rtw_fw_ra_report_handle() 178 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_fw_scan_result() local 180 dm_info->scan_density = payload[0]; in rtw_fw_scan_result() 183 dm_info->scan_density); in rtw_fw_scan_result() 583 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_fw_update_wl_phy_info() local 589 SET_WL_PHY_INFO_TX_RATE_DESC(h2c_pkt, dm_info->tx_rate); in rtw_fw_update_wl_phy_info() 590 SET_WL_PHY_INFO_RX_RATE_DESC(h2c_pkt, dm_info->curr_rx_rate); in rtw_fw_update_wl_phy_info() 591 SET_WL_PHY_INFO_RX_EVM(h2c_pkt, dm_info->rx_evm_dbm[RF_PATH_A]); in rtw_fw_update_wl_phy_info() 947 struct rtw_dpk_info *dpk_info = &rtwdev->dm_info.dpk_info; in rtw_lps_pg_dpk_get()
|
D | main.c | 150 rtw_chip_cfg_csi_rate(rtwdev, rtwdev->dm_info.min_rssi, in rtw_dynamic_csi_rate() 1039 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_update_sta_info() local 1084 dm_info->rrsr_val_init = RRSR_INIT_5G; in rtw_update_sta_info() 1102 dm_info->rrsr_val_init = RRSR_INIT_2G; in rtw_update_sta_info() 1798 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_stats_init() local 1805 ewma_evm_init(&dm_info->ewma_evm[i]); in rtw_stats_init() 1807 ewma_snr_init(&dm_info->ewma_snr[i]); in rtw_stats_init()
|
D | main.h | 1839 struct rtw_dm_info dm_info; member
|
/drivers/hv/ |
D | hv_snapshot.c | 233 vss_transaction.msg->dm_info.flags = 0; in vss_handle_request()
|