Lines Matching full:sar

9 #include "sar.h"
21 "center freq: %u to SAR subband is unhandled\n", in rtw89_sar_get_subband()
70 /* Since 6GHz SAR subbands are not edge aligned, some cases span two SAR
91 struct rtw89_sar_cfg_common *rtwsar = &rtwdev->sar.cfg_common; in rtw89_query_sar_config_common()
116 "center_freq %u: SAR subband {%u, %u}\n", in rtw89_query_sar_config_common()
148 _d->sar._cfg_name = *(_cfg_data); \
149 _d->sar.src = _s; \
189 const enum rtw89_sar_sources src = rtwdev->sar.src; in rtw89_query_sar()
228 const enum rtw89_sar_sources src = rtwdev->sar.src; in rtw89_print_sar()
239 seq_puts(m, "no SAR is applied\n"); in rtw89_print_sar()
272 const struct rtw89_sar_cfg_common *sar) in rtw89_apply_sar_common() argument
279 src = rtwdev->sar.src; in rtw89_apply_sar_common()
281 rtw89_warn(rtwdev, "SAR source: %d is in use", src); in rtw89_apply_sar_common()
286 rtw89_sar_set_src(rtwdev, RTW89_SAR_SOURCE_COMMON, cfg_common, sar); in rtw89_apply_sar_common()
317 const struct cfg80211_sar_specs *sar) in rtw89_ops_set_sar_specs() argument
327 if (sar->type != NL80211_SAR_TYPE_POWER) in rtw89_ops_set_sar_specs()
332 for (i = 0; i < sar->num_sub_specs; i++) { in rtw89_ops_set_sar_specs()
333 idx = sar->sub_specs[i].freq_range_index; in rtw89_ops_set_sar_specs()
339 power = sar->sub_specs[i].power; in rtw89_ops_set_sar_specs()
342 "On freq %u to %u, set SAR limit %d (unit: 1/%lu dBm)\n", in rtw89_ops_set_sar_specs()
354 const enum rtw89_sar_sources src = rtwdev->sar.src; in rtw89_tas_state_update()
378 "TAS delta exceed SAR limit\n"); in rtw89_tas_state_update()
460 const enum rtw89_sar_sources src = rtwdev->sar.src; in rtw89_tas_track()