Lines Matching refs:tpc_stats

4489 					  struct ath10k_tpc_stats *tpc_stats,  in ath10k_tpc_config_disp_tables()  argument
4503 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_tpc_config_disp_tables()
4510 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_tpc_config_disp_tables()
4517 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_tpc_config_disp_tables()
4544 tpc_stats->tpc_table[type].pream_idx[i] = pream_idx; in ath10k_tpc_config_disp_tables()
4545 tpc_stats->tpc_table[type].rate_code[i] = rate_code[i]; in ath10k_tpc_config_disp_tables()
4546 memcpy(tpc_stats->tpc_table[type].tpc_value[i], in ath10k_tpc_config_disp_tables()
4654 struct ath10k_tpc_stats *tpc_stats; in ath10k_wmi_event_pdev_tpc_config() local
4666 tpc_stats = kzalloc(sizeof(*tpc_stats), GFP_ATOMIC); in ath10k_wmi_event_pdev_tpc_config()
4667 if (!tpc_stats) in ath10k_wmi_event_pdev_tpc_config()
4673 tpc_stats->chan_freq = __le32_to_cpu(ev->chan_freq); in ath10k_wmi_event_pdev_tpc_config()
4674 tpc_stats->phy_mode = __le32_to_cpu(ev->phy_mode); in ath10k_wmi_event_pdev_tpc_config()
4675 tpc_stats->ctl = __le32_to_cpu(ev->ctl); in ath10k_wmi_event_pdev_tpc_config()
4676 tpc_stats->reg_domain = __le32_to_cpu(ev->reg_domain); in ath10k_wmi_event_pdev_tpc_config()
4677 tpc_stats->twice_antenna_gain = a_sle32_to_cpu(ev->twice_antenna_gain); in ath10k_wmi_event_pdev_tpc_config()
4678 tpc_stats->twice_antenna_reduction = in ath10k_wmi_event_pdev_tpc_config()
4680 tpc_stats->power_limit = __le32_to_cpu(ev->power_limit); in ath10k_wmi_event_pdev_tpc_config()
4681 tpc_stats->twice_max_rd_power = __le32_to_cpu(ev->twice_max_rd_power); in ath10k_wmi_event_pdev_tpc_config()
4682 tpc_stats->num_tx_chain = __le32_to_cpu(ev->num_tx_chain); in ath10k_wmi_event_pdev_tpc_config()
4683 tpc_stats->rate_max = __le32_to_cpu(ev->rate_max); in ath10k_wmi_event_pdev_tpc_config()
4685 ath10k_tpc_config_disp_tables(ar, ev, tpc_stats, in ath10k_wmi_event_pdev_tpc_config()
4688 ath10k_tpc_config_disp_tables(ar, ev, tpc_stats, in ath10k_wmi_event_pdev_tpc_config()
4691 ath10k_tpc_config_disp_tables(ar, ev, tpc_stats, in ath10k_wmi_event_pdev_tpc_config()
4695 ath10k_debug_tpc_stats_process(ar, tpc_stats); in ath10k_wmi_event_pdev_tpc_config()
4832 struct ath10k_tpc_stats_final *tpc_stats, in ath10k_wmi_tpc_stats_final_disp_tables() argument
4846 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_wmi_tpc_stats_final_disp_tables()
4853 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_wmi_tpc_stats_final_disp_tables()
4860 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_wmi_tpc_stats_final_disp_tables()
4887 tpc_stats->tpc_table_final[type].pream_idx[i] = pream_idx; in ath10k_wmi_tpc_stats_final_disp_tables()
4888 tpc_stats->tpc_table_final[type].rate_code[i] = rate_code[i]; in ath10k_wmi_tpc_stats_final_disp_tables()
4889 memcpy(tpc_stats->tpc_table_final[type].tpc_value[i], in ath10k_wmi_tpc_stats_final_disp_tables()
4900 struct ath10k_tpc_stats_final *tpc_stats; in ath10k_wmi_event_tpc_final_table() local
4904 tpc_stats = kzalloc(sizeof(*tpc_stats), GFP_ATOMIC); in ath10k_wmi_event_tpc_final_table()
4905 if (!tpc_stats) in ath10k_wmi_event_tpc_final_table()
4913 tpc_stats->chan_freq = __le32_to_cpu(ev->chan_freq); in ath10k_wmi_event_tpc_final_table()
4914 tpc_stats->phy_mode = __le32_to_cpu(ev->phy_mode); in ath10k_wmi_event_tpc_final_table()
4915 tpc_stats->ctl = __le32_to_cpu(ev->ctl); in ath10k_wmi_event_tpc_final_table()
4916 tpc_stats->reg_domain = __le32_to_cpu(ev->reg_domain); in ath10k_wmi_event_tpc_final_table()
4917 tpc_stats->twice_antenna_gain = a_sle32_to_cpu(ev->twice_antenna_gain); in ath10k_wmi_event_tpc_final_table()
4918 tpc_stats->twice_antenna_reduction = in ath10k_wmi_event_tpc_final_table()
4920 tpc_stats->power_limit = __le32_to_cpu(ev->power_limit); in ath10k_wmi_event_tpc_final_table()
4921 tpc_stats->twice_max_rd_power = __le32_to_cpu(ev->twice_max_rd_power); in ath10k_wmi_event_tpc_final_table()
4922 tpc_stats->num_tx_chain = __le32_to_cpu(ev->num_tx_chain); in ath10k_wmi_event_tpc_final_table()
4923 tpc_stats->rate_max = __le32_to_cpu(ev->rate_max); in ath10k_wmi_event_tpc_final_table()
4925 ath10k_wmi_tpc_stats_final_disp_tables(ar, ev, tpc_stats, in ath10k_wmi_event_tpc_final_table()
4928 ath10k_wmi_tpc_stats_final_disp_tables(ar, ev, tpc_stats, in ath10k_wmi_event_tpc_final_table()
4931 ath10k_wmi_tpc_stats_final_disp_tables(ar, ev, tpc_stats, in ath10k_wmi_event_tpc_final_table()
4935 ath10k_debug_tpc_stats_final_process(ar, tpc_stats); in ath10k_wmi_event_tpc_final_table()