Searched refs:tssi_ofst_cw (Results 1 - 4 of 4) sorted by relevance

/linux-master/drivers/net/wireless/realtek/rtw89/
H A Drtw8852a.c1372 u32 tssi_ofst_cw = 0; local
1380 tssi_ofst_cw = (u32)((s16)tssi_16dbm_cw + (ref << 1) - (16 << 3));
1382 "[TXPWR] tssi_ofst_cw=%d rf_cw=0x%x bb_cw=0x%x\n",
1383 tssi_ofst_cw, rf_pwr_cw, bb_pwr_cw);
1385 return (tssi_ofst_cw << 18) | (pwr_cw << 9) | (ref & GENMASK(8, 0));
H A Drtw8851b.c1617 u32 tssi_ofst_cw; local
1625 tssi_ofst_cw = (u32)((s16)tssi_16dbm_cw + (ref << 1) - (16 << 3));
1627 "[TXPWR] tssi_ofst_cw=%d rf_cw=0x%x bb_cw=0x%x\n",
1628 tssi_ofst_cw, rf_pwr_cw, bb_pwr_cw);
1630 return u32_encode_bits(tssi_ofst_cw, B_DPD_TSSI_CW) |
H A Drtw8852c.c1869 u32 tssi_ofst_cw = 0; local
1877 tssi_ofst_cw = (u32)((s16)tssi_16dbm_cw + (ref << 1) - (16 << 3));
1879 "[TXPWR] tssi_ofst_cw=%d rf_cw=0x%x bb_cw=0x%x\n",
1880 tssi_ofst_cw, rf_pwr_cw, bb_pwr_cw);
1882 return (tssi_ofst_cw << 18) | (pwr_cw << 9) | (ref & GENMASK(8, 0));
H A Drtw8852b.c1602 u32 tssi_ofst_cw; local
1610 tssi_ofst_cw = (u32)((s16)tssi_16dbm_cw + (ref << 1) - (16 << 3));
1612 "[TXPWR] tssi_ofst_cw=%d rf_cw=0x%x bb_cw=0x%x\n",
1613 tssi_ofst_cw, rf_pwr_cw, bb_pwr_cw);
1615 return FIELD_PREP(B_DPD_TSSI_CW, tssi_ofst_cw) |

Completed in 203 milliseconds