Home
last modified time | relevance | path

Searched refs:pw_ofst (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/net/wireless/realtek/rtw89/
Drtw8851b.c1738 s8 pw_ofst, enum rtw89_mac_idx mac_idx) in rtw8851b_set_txpwr_ul_tb_offset() argument
1742 if (pw_ofst < -16 || pw_ofst > 15) { in rtw8851b_set_txpwr_ul_tb_offset()
1743 rtw89_warn(rtwdev, "[ULTB] Err pwr_offset=%d\n", pw_ofst); in rtw8851b_set_txpwr_ul_tb_offset()
1751 rtw89_write32_mask(rtwdev, reg, B_AX_PWR_UL_TB_1T_MASK, pw_ofst); in rtw8851b_set_txpwr_ul_tb_offset()
1753 pw_ofst = max_t(s8, pw_ofst - 3, -16); in rtw8851b_set_txpwr_ul_tb_offset()
1755 rtw89_write32_mask(rtwdev, reg, B_AX_PWR_UL_TB_2T_MASK, pw_ofst); in rtw8851b_set_txpwr_ul_tb_offset()
Drtw8852b.c1723 s8 pw_ofst, enum rtw89_mac_idx mac_idx) in rtw8852b_set_txpwr_ul_tb_offset() argument
1727 if (pw_ofst < -16 || pw_ofst > 15) { in rtw8852b_set_txpwr_ul_tb_offset()
1728 rtw89_warn(rtwdev, "[ULTB] Err pwr_offset=%d\n", pw_ofst); in rtw8852b_set_txpwr_ul_tb_offset()
1736 rtw89_write32_mask(rtwdev, reg, B_AX_PWR_UL_TB_1T_MASK, pw_ofst); in rtw8852b_set_txpwr_ul_tb_offset()
1738 pw_ofst = max_t(s8, pw_ofst - 3, -16); in rtw8852b_set_txpwr_ul_tb_offset()
1740 rtw89_write32_mask(rtwdev, reg, B_AX_PWR_UL_TB_2T_MASK, pw_ofst); in rtw8852b_set_txpwr_ul_tb_offset()
Drtw8852a.c1375 s8 pw_ofst, enum rtw89_mac_idx mac_idx) in rtw8852a_set_txpwr_ul_tb_offset() argument
1381 if (pw_ofst < -16 || pw_ofst > 15) { in rtw8852a_set_txpwr_ul_tb_offset()
1383 pw_ofst); in rtw8852a_set_txpwr_ul_tb_offset()
1388 val_1t = pw_ofst; in rtw8852a_set_txpwr_ul_tb_offset()
Drtw8852c.c1843 s8 pw_ofst, enum rtw89_mac_idx mac_idx) in rtw8852c_set_txpwr_ul_tb_offset() argument
1851 if (pw_ofst < -32 || pw_ofst > 31) { in rtw8852c_set_txpwr_ul_tb_offset()
1852 rtw89_warn(rtwdev, "[ULTB] Err pwr_offset=%d\n", pw_ofst); in rtw8852c_set_txpwr_ul_tb_offset()
1855 val_1t = pw_ofst << 2; in rtw8852c_set_txpwr_ul_tb_offset()
1856 pw_ofst_2tx = max(pw_ofst - 3, -32); in rtw8852c_set_txpwr_ul_tb_offset()
Dcore.h3076 s8 pw_ofst, enum rtw89_mac_idx mac_idx);