Lines Matching refs:tpc_stats
4221 struct ath10k_tpc_stats *tpc_stats, in ath10k_tpc_config_disp_tables() argument
4235 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_tpc_config_disp_tables()
4242 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_tpc_config_disp_tables()
4249 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_tpc_config_disp_tables()
4276 tpc_stats->tpc_table[type].pream_idx[i] = pream_idx; in ath10k_tpc_config_disp_tables()
4277 tpc_stats->tpc_table[type].rate_code[i] = rate_code[i]; in ath10k_tpc_config_disp_tables()
4278 memcpy(tpc_stats->tpc_table[type].tpc_value[i], in ath10k_tpc_config_disp_tables()
4289 struct ath10k_tpc_stats *tpc_stats; in ath10k_wmi_event_pdev_tpc_config() local
4293 tpc_stats = kzalloc(sizeof(*tpc_stats), GFP_ATOMIC); in ath10k_wmi_event_pdev_tpc_config()
4294 if (!tpc_stats) in ath10k_wmi_event_pdev_tpc_config()
4389 tpc_stats->chan_freq = __le32_to_cpu(ev->chan_freq); in ath10k_wmi_event_pdev_tpc_config()
4390 tpc_stats->phy_mode = __le32_to_cpu(ev->phy_mode); in ath10k_wmi_event_pdev_tpc_config()
4391 tpc_stats->ctl = __le32_to_cpu(ev->ctl); in ath10k_wmi_event_pdev_tpc_config()
4392 tpc_stats->reg_domain = __le32_to_cpu(ev->reg_domain); in ath10k_wmi_event_pdev_tpc_config()
4393 tpc_stats->twice_antenna_gain = a_sle32_to_cpu(ev->twice_antenna_gain); in ath10k_wmi_event_pdev_tpc_config()
4394 tpc_stats->twice_antenna_reduction = in ath10k_wmi_event_pdev_tpc_config()
4396 tpc_stats->power_limit = __le32_to_cpu(ev->power_limit); in ath10k_wmi_event_pdev_tpc_config()
4397 tpc_stats->twice_max_rd_power = __le32_to_cpu(ev->twice_max_rd_power); in ath10k_wmi_event_pdev_tpc_config()
4398 tpc_stats->num_tx_chain = __le32_to_cpu(ev->num_tx_chain); in ath10k_wmi_event_pdev_tpc_config()
4399 tpc_stats->rate_max = __le32_to_cpu(ev->rate_max); in ath10k_wmi_event_pdev_tpc_config()
4401 ath10k_tpc_config_disp_tables(ar, ev, tpc_stats, in ath10k_wmi_event_pdev_tpc_config()
4404 ath10k_tpc_config_disp_tables(ar, ev, tpc_stats, in ath10k_wmi_event_pdev_tpc_config()
4407 ath10k_tpc_config_disp_tables(ar, ev, tpc_stats, in ath10k_wmi_event_pdev_tpc_config()
4411 ath10k_debug_tpc_stats_process(ar, tpc_stats); in ath10k_wmi_event_pdev_tpc_config()