Lines Matching refs:fct
147 static s8 rtw89_txpwr_sar_to_mac(struct rtw89_dev *rtwdev, u8 fct, s32 cfg) in rtw89_txpwr_sar_to_mac() argument
152 cfg_mac = fct > fct_mac ? in rtw89_txpwr_sar_to_mac()
153 cfg >> (fct - fct_mac) : cfg << (fct_mac - fct); in rtw89_txpwr_sar_to_mac()
167 u8 fct; in rtw89_query_sar() local
178 fct = sar_hdl->txpwr_factor_sar; in rtw89_query_sar()
180 return rtw89_txpwr_sar_to_mac(rtwdev, fct, cfg); in rtw89_query_sar()
191 u8 fct; in rtw89_print_sar() local
210 fct = sar_hdl->txpwr_factor_sar; in rtw89_print_sar()
212 seq_printf(m, "config: %d (unit: 1/%lu dBm)\n", cfg, BIT(fct)); in rtw89_print_sar()
265 u8 fct; in rtw89_ops_set_sar_specs() local
274 fct = rtw89_sar_handlers[RTW89_SAR_SOURCE_COMMON].txpwr_factor_sar; in rtw89_ops_set_sar_specs()
287 freq_start, freq_end, power, BIT(fct)); in rtw89_ops_set_sar_specs()