Lines Matching refs:lmt
1660 s8 lmt = 0, sar;
1664 lmt = (*rule_2ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx];
1665 if (lmt)
1668 lmt = (*rule_2ghz->lmt)[bw][ntx][rs][bf][RTW89_WW][ch_idx];
1671 lmt = (*rule_5ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx];
1672 if (lmt)
1675 lmt = (*rule_5ghz->lmt)[bw][ntx][rs][bf][RTW89_WW][ch_idx];
1678 lmt = (*rule_6ghz->lmt)[bw][ntx][rs][bf][regd][reg6][ch_idx];
1679 if (lmt)
1682 lmt = (*rule_6ghz->lmt)[bw][ntx][rs][bf][RTW89_WW]
1691 lmt = _phy_txpwr_rf_to_mac(rtwdev, lmt);
1694 return min(lmt, sar);
1710 struct rtw89_txpwr_limit *lmt,
1713 __fill_txpwr_limit_nonbf_bf(lmt->cck_20m, band, RTW89_CHANNEL_WIDTH_20,
1715 __fill_txpwr_limit_nonbf_bf(lmt->cck_40m, band, RTW89_CHANNEL_WIDTH_40,
1717 __fill_txpwr_limit_nonbf_bf(lmt->ofdm, band, RTW89_CHANNEL_WIDTH_20,
1719 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[0], band,
1725 struct rtw89_txpwr_limit *lmt,
1728 __fill_txpwr_limit_nonbf_bf(lmt->cck_20m, band, RTW89_CHANNEL_WIDTH_20,
1730 __fill_txpwr_limit_nonbf_bf(lmt->cck_40m, band, RTW89_CHANNEL_WIDTH_40,
1732 __fill_txpwr_limit_nonbf_bf(lmt->ofdm, band, RTW89_CHANNEL_WIDTH_20,
1734 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[0], band,
1737 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[1], band,
1740 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[0], band,
1746 struct rtw89_txpwr_limit *lmt,
1753 __fill_txpwr_limit_nonbf_bf(lmt->ofdm, band, RTW89_CHANNEL_WIDTH_20,
1755 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[0], band,
1758 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[1], band,
1761 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[2], band,
1764 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[3], band,
1767 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[0], band,
1770 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[1], band,
1773 __fill_txpwr_limit_nonbf_bf(lmt->mcs_80m[0], band,
1783 lmt->mcs_40m_0p5[i] = min_t(s8, val_0p5_n[i], val_0p5_p[i]);
1787 struct rtw89_txpwr_limit *lmt,
1797 __fill_txpwr_limit_nonbf_bf(lmt->ofdm, band, RTW89_CHANNEL_WIDTH_20,
1801 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[0], band,
1804 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[1], band,
1807 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[2], band,
1810 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[3], band,
1813 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[4], band,
1816 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[5], band,
1819 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[6], band,
1822 __fill_txpwr_limit_nonbf_bf(lmt->mcs_20m[7], band,
1827 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[0], band,
1830 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[1], band,
1833 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[2], band,
1836 __fill_txpwr_limit_nonbf_bf(lmt->mcs_40m[3], band,
1841 __fill_txpwr_limit_nonbf_bf(lmt->mcs_80m[0], band,
1844 __fill_txpwr_limit_nonbf_bf(lmt->mcs_80m[1], band,
1849 __fill_txpwr_limit_nonbf_bf(lmt->mcs_160m, band,
1860 lmt->mcs_40m_0p5[i] = min_t(s8, val_0p5_n[i], val_0p5_p[i]);
1869 lmt->mcs_40m_2p5[i] = min_t(s8, val_2p5_n[i], val_2p5_p[i]);
1875 struct rtw89_txpwr_limit *lmt,
1883 memset(lmt, 0, sizeof(*lmt));
1887 rtw89_phy_fill_txpwr_limit_20m(rtwdev, lmt, band, ntx, ch);
1890 rtw89_phy_fill_txpwr_limit_40m(rtwdev, lmt, band, ntx, ch,
1894 rtw89_phy_fill_txpwr_limit_80m(rtwdev, lmt, band, ntx, ch,
1898 rtw89_phy_fill_txpwr_limit_160m(rtwdev, lmt, band, ntx, ch,
2186 struct rtw89_txpwr_limit lmt;
2201 rtw89_phy_fill_txpwr_limit(rtwdev, chan, &lmt, i);
2203 ptr = (s8 *)&lmt;