Lines Matching refs:tpc
145 ath12k_warn(ab, "failed to request pdev tpc stats: %d\n", ret);
259 s16 rates, tpc, reg_pwr;
271 tpc = TPC_INVAL;
276 tpc = TPC_INVAL;
281 tpc = TPC_INVAL;
297 * regulator power table. tpc is minimum of all 3
327 "ctl array for tpc stats not received from fw\n");
337 tpc = min_t(s16, rates_ctl_min, reg_pwr);
339 /* MODULATION_LIMIT is the maximum power limit,tpc should not exceed
340 * modulation limit even if min tpc of all three array is greater
343 tpc = min_t(s16, tpc, MODULATION_LIMIT);
346 return tpc;
428 s16 tpc;
485 tpc = ath12k_tpc_get_rate(ar, tpc_stats,
491 if (tpc == TPC_INVAL) {
497 tpc);
709 struct wmi_tpc_config_params *tpc;
713 ath12k_warn(ar->ab, "failed to find tpc stats\n");
719 tpc = &tpc_stats->tpc_config;
727 tpc->reg_domain, tpc->chan_freq);
730 le32_to_cpu(tpc->twice_max_reg_power) / 2, tpc->power_limit);
760 ath12k_warn(ar->ab, "failed to request tpc stats: %d\n",