Lines Matching refs:lmt

2263 	s8 lmt = 0, sar, offset;
2268 lmt = (*rule_2ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx];
2269 if (lmt)
2272 lmt = (*rule_2ghz->lmt)[bw][ntx][rs][bf][RTW89_WW][ch_idx];
2275 lmt = (*rule_5ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx];
2276 if (lmt)
2279 lmt = (*rule_5ghz->lmt)[bw][ntx][rs][bf][RTW89_WW][ch_idx];
2282 lmt = (*rule_6ghz->lmt)[bw][ntx][rs][bf][regd][reg6][ch_idx];
2283 if (lmt)
2286 lmt = (*rule_6ghz->lmt)[bw][ntx][rs][bf][RTW89_WW]
2296 lmt = rtw89_phy_txpwr_rf_to_mac(rtwdev, lmt + offset);
2300 return min3(lmt, sar, cstr);
2316 struct rtw89_txpwr_limit_ax *lmt,
2319 __fill_txpwr_limit_nonbf_bf(lmt->cck_20m, band, RTW89_CHANNEL_WIDTH_20,
2321 __fill_txpwr_limit_nonbf_bf(lmt->cck_40m, band, RTW89_CHANNEL_WIDTH_40,
2323 __fill_txpwr_limit_nonbf_bf(lmt->ofdm, band, RTW89_CHANNEL_WIDTH_20,
2325 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[0], band,
2331 struct rtw89_txpwr_limit_ax *lmt,
2334 __fill_txpwr_limit_nonbf_bf(lmt->cck_20m, band, RTW89_CHANNEL_WIDTH_20,
2336 __fill_txpwr_limit_nonbf_bf(lmt->cck_40m, band, RTW89_CHANNEL_WIDTH_40,
2338 __fill_txpwr_limit_nonbf_bf(lmt->ofdm, band, RTW89_CHANNEL_WIDTH_20,
2340 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[0], band,
2343 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[1], band,
2346 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[0], band,
2352 struct rtw89_txpwr_limit_ax *lmt,
2359 __fill_txpwr_limit_nonbf_bf(lmt->ofdm, band, RTW89_CHANNEL_WIDTH_20,
2361 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[0], band,
2364 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[1], band,
2367 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[2], band,
2370 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[3], band,
2373 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[0], band,
2376 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[1], band,
2379 __fill_txpwr_limit_nonbf_bf(lmt->mcs_80m[0], band,
2389 lmt->mcs_40m_0p5[i] = min_t(s8, val_0p5_n[i], val_0p5_p[i]);
2393 struct rtw89_txpwr_limit_ax *lmt,
2403 __fill_txpwr_limit_nonbf_bf(lmt->ofdm, band, RTW89_CHANNEL_WIDTH_20,
2407 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[0], band,
2410 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[1], band,
2413 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[2], band,
2416 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[3], band,
2419 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[4], band,
2422 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[5], band,
2425 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[6], band,
2428 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[7], band,
2433 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[0], band,
2436 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[1], band,
2439 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[2], band,
2442 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[3], band,
2447 __fill_txpwr_limit_nonbf_bf(lmt->mcs_80m[0], band,
2450 __fill_txpwr_limit_nonbf_bf(lmt->mcs_80m[1], band,
2455 __fill_txpwr_limit_nonbf_bf(lmt->mcs_160m, band,
2466 lmt->mcs_40m_0p5[i] = min_t(s8, val_0p5_n[i], val_0p5_p[i]);
2475 lmt->mcs_40m_2p5[i] = min_t(s8, val_2p5_n[i], val_2p5_p[i]);
2481 struct rtw89_txpwr_limit_ax *lmt,
2489 memset(lmt, 0, sizeof(*lmt));
2493 rtw89_phy_fill_txpwr_limit_20m_ax(rtwdev, lmt, band, ntx, ch);
2496 rtw89_phy_fill_txpwr_limit_40m_ax(rtwdev, lmt, band, ntx, ch,
2500 rtw89_phy_fill_txpwr_limit_80m_ax(rtwdev, lmt, band, ntx, ch,
2504 rtw89_phy_fill_txpwr_limit_160m_ax(rtwdev, lmt, band, ntx, ch,
2798 struct rtw89_txpwr_limit_ax lmt;
2813 rtw89_phy_fill_txpwr_limit_ax(rtwdev, chan, &lmt, i);
2815 ptr = (s8 *)&lmt;