Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Dphy.c793 static u64 rtw_phy_db_2_linear(u8 power_db) in rtw_phy_db_2_linear() argument
798 if (power_db > 96) in rtw_phy_db_2_linear()
799 power_db = 96; in rtw_phy_db_2_linear()
800 else if (power_db < 1) in rtw_phy_db_2_linear()
804 i = (power_db - 1) >> 3; in rtw_phy_db_2_linear()
805 j = (power_db - 1) - (i << 3); in rtw_phy_db_2_linear()
863 u8 power_db; in rtw_phy_rf_power_2_rssi() local
870 power_db = rtw_phy_power_2_db(power); in rtw_phy_rf_power_2_rssi()
871 linear = rtw_phy_db_2_linear(power_db); in rtw_phy_rf_power_2_rssi()