Lines Matching refs:tpc_stats

4009 					  struct ath10k_tpc_stats *tpc_stats,  in ath10k_tpc_config_disp_tables()  argument
4023 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_tpc_config_disp_tables()
4030 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_tpc_config_disp_tables()
4037 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_tpc_config_disp_tables()
4064 tpc_stats->tpc_table[type].pream_idx[i] = pream_idx; in ath10k_tpc_config_disp_tables()
4065 tpc_stats->tpc_table[type].rate_code[i] = rate_code[i]; in ath10k_tpc_config_disp_tables()
4066 memcpy(tpc_stats->tpc_table[type].tpc_value[i], in ath10k_tpc_config_disp_tables()
4077 struct ath10k_tpc_stats *tpc_stats; in ath10k_wmi_event_pdev_tpc_config() local
4081 tpc_stats = kzalloc(sizeof(*tpc_stats), GFP_ATOMIC); in ath10k_wmi_event_pdev_tpc_config()
4082 if (!tpc_stats) in ath10k_wmi_event_pdev_tpc_config()
4177 tpc_stats->chan_freq = __le32_to_cpu(ev->chan_freq); in ath10k_wmi_event_pdev_tpc_config()
4178 tpc_stats->phy_mode = __le32_to_cpu(ev->phy_mode); in ath10k_wmi_event_pdev_tpc_config()
4179 tpc_stats->ctl = __le32_to_cpu(ev->ctl); in ath10k_wmi_event_pdev_tpc_config()
4180 tpc_stats->reg_domain = __le32_to_cpu(ev->reg_domain); in ath10k_wmi_event_pdev_tpc_config()
4181 tpc_stats->twice_antenna_gain = a_sle32_to_cpu(ev->twice_antenna_gain); in ath10k_wmi_event_pdev_tpc_config()
4182 tpc_stats->twice_antenna_reduction = in ath10k_wmi_event_pdev_tpc_config()
4184 tpc_stats->power_limit = __le32_to_cpu(ev->power_limit); in ath10k_wmi_event_pdev_tpc_config()
4185 tpc_stats->twice_max_rd_power = __le32_to_cpu(ev->twice_max_rd_power); in ath10k_wmi_event_pdev_tpc_config()
4186 tpc_stats->num_tx_chain = __le32_to_cpu(ev->num_tx_chain); in ath10k_wmi_event_pdev_tpc_config()
4187 tpc_stats->rate_max = __le32_to_cpu(ev->rate_max); in ath10k_wmi_event_pdev_tpc_config()
4189 ath10k_tpc_config_disp_tables(ar, ev, tpc_stats, in ath10k_wmi_event_pdev_tpc_config()
4192 ath10k_tpc_config_disp_tables(ar, ev, tpc_stats, in ath10k_wmi_event_pdev_tpc_config()
4195 ath10k_tpc_config_disp_tables(ar, ev, tpc_stats, in ath10k_wmi_event_pdev_tpc_config()
4199 ath10k_debug_tpc_stats_process(ar, tpc_stats); in ath10k_wmi_event_pdev_tpc_config()