Lines Matching defs:lmt

1965 	s8 lmt = 0, sar;
1970 lmt = (*rule_2ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx];
1971 if (lmt)
1974 lmt = (*rule_2ghz->lmt)[bw][ntx][rs][bf][RTW89_WW][ch_idx];
1977 lmt = (*rule_5ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx];
1978 if (lmt)
1981 lmt = (*rule_5ghz->lmt)[bw][ntx][rs][bf][RTW89_WW][ch_idx];
1984 lmt = (*rule_6ghz->lmt)[bw][ntx][rs][bf][regd][reg6][ch_idx];
1985 if (lmt)
1988 lmt = (*rule_6ghz->lmt)[bw][ntx][rs][bf][RTW89_WW]
1997 lmt = rtw89_phy_txpwr_rf_to_mac(rtwdev, lmt);
2001 return min3(lmt, sar, cstr);
2017 struct rtw89_txpwr_limit_ax *lmt,
2020 __fill_txpwr_limit_nonbf_bf(lmt->cck_20m, band, RTW89_CHANNEL_WIDTH_20,
2022 __fill_txpwr_limit_nonbf_bf(lmt->cck_40m, band, RTW89_CHANNEL_WIDTH_40,
2024 __fill_txpwr_limit_nonbf_bf(lmt->ofdm, band, RTW89_CHANNEL_WIDTH_20,
2026 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[0], band,
2032 struct rtw89_txpwr_limit_ax *lmt,
2035 __fill_txpwr_limit_nonbf_bf(lmt->cck_20m, band, RTW89_CHANNEL_WIDTH_20,
2037 __fill_txpwr_limit_nonbf_bf(lmt->cck_40m, band, RTW89_CHANNEL_WIDTH_40,
2039 __fill_txpwr_limit_nonbf_bf(lmt->ofdm, band, RTW89_CHANNEL_WIDTH_20,
2041 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[0], band,
2044 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[1], band,
2047 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[0], band,
2053 struct rtw89_txpwr_limit_ax *lmt,
2060 __fill_txpwr_limit_nonbf_bf(lmt->ofdm, band, RTW89_CHANNEL_WIDTH_20,
2062 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[0], band,
2065 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[1], band,
2068 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[2], band,
2071 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[3], band,
2074 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[0], band,
2077 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[1], band,
2080 __fill_txpwr_limit_nonbf_bf(lmt->mcs_80m[0], band,
2090 lmt->mcs_40m_0p5[i] = min_t(s8, val_0p5_n[i], val_0p5_p[i]);
2094 struct rtw89_txpwr_limit_ax *lmt,
2104 __fill_txpwr_limit_nonbf_bf(lmt->ofdm, band, RTW89_CHANNEL_WIDTH_20,
2108 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[0], band,
2111 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[1], band,
2114 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[2], band,
2117 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[3], band,
2120 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[4], band,
2123 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[5], band,
2126 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[6], band,
2129 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[7], band,
2134 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[0], band,
2137 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[1], band,
2140 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[2], band,
2143 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[3], band,
2148 __fill_txpwr_limit_nonbf_bf(lmt->mcs_80m[0], band,
2151 __fill_txpwr_limit_nonbf_bf(lmt->mcs_80m[1], band,
2156 __fill_txpwr_limit_nonbf_bf(lmt->mcs_160m, band,
2167 lmt->mcs_40m_0p5[i] = min_t(s8, val_0p5_n[i], val_0p5_p[i]);
2176 lmt->mcs_40m_2p5[i] = min_t(s8, val_2p5_n[i], val_2p5_p[i]);
2182 struct rtw89_txpwr_limit_ax *lmt,
2190 memset(lmt, 0, sizeof(*lmt));
2194 rtw89_phy_fill_txpwr_limit_20m_ax(rtwdev, lmt, band, ntx, ch);
2197 rtw89_phy_fill_txpwr_limit_40m_ax(rtwdev, lmt, band, ntx, ch,
2201 rtw89_phy_fill_txpwr_limit_80m_ax(rtwdev, lmt, band, ntx, ch,
2205 rtw89_phy_fill_txpwr_limit_160m_ax(rtwdev, lmt, band, ntx, ch,
2498 struct rtw89_txpwr_limit_ax lmt;
2513 rtw89_phy_fill_txpwr_limit_ax(rtwdev, chan, &lmt, i);
2515 ptr = (s8 *)&lmt;