Lines Matching defs:fct
152 static s8 rtw89_txpwr_sar_to_mac(struct rtw89_dev *rtwdev, u8 fct, s32 cfg)
157 cfg_mac = fct > fct_mac ?
158 cfg >> (fct - fct_mac) : cfg << (fct_mac - fct);
168 const u8 fct = sar_hdl->txpwr_factor_sar;
170 if (fct > RTW89_TAS_FACTOR)
171 return cfg << (fct - RTW89_TAS_FACTOR);
173 return cfg >> (RTW89_TAS_FACTOR - fct);
179 const u8 fct = sar_hdl->txpwr_factor_sar;
181 if (fct > RTW89_TAS_FACTOR)
182 return cfg >> (fct - RTW89_TAS_FACTOR);
184 return cfg << (RTW89_TAS_FACTOR - fct);
196 u8 fct;
221 fct = sar_hdl->txpwr_factor_sar;
223 return rtw89_txpwr_sar_to_mac(rtwdev, fct, cfg);
234 u8 fct;
253 fct = sar_hdl->txpwr_factor_sar;
255 seq_printf(m, "config: %d (unit: 1/%lu dBm)\n", cfg, BIT(fct));
325 u8 fct;
334 fct = rtw89_sar_handlers[RTW89_SAR_SOURCE_COMMON].txpwr_factor_sar;
347 freq_start, freq_end, power, BIT(fct));