Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Dutil.c11 static const u32 db_invert_table[12][8] = { variable
40 (val << RTW89_LINEAR_FRAC_BITS) <= db_invert_table[i][j]) in rtw89_linear_2_db()
42 else if (i > FRAC_ROW_MAX && val <= db_invert_table[i][j]) in rtw89_linear_2_db()
55 if (db_invert_table[NORM_ROW_MIN][0] - val > in rtw89_linear_2_db()
56 val - (db_invert_table[FRAC_ROW_MAX][7] >> RTW89_LINEAR_FRAC_BITS)) { in rtw89_linear_2_db()
68 if (db_invert_table[i][j] - val > in rtw89_linear_2_db()
69 val - db_invert_table[i - 1][7]) { in rtw89_linear_2_db()
74 if (db_invert_table[i][j] - val > in rtw89_linear_2_db()
75 val - db_invert_table[i][j - 1]) { in rtw89_linear_2_db()
99 linear = db_invert_table[i][j]; in rtw89_db_2_linear()
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/
Dphy.c25 static const u32 db_invert_table[12][8] = { variable
807 linear = db_invert_table[i][j]; in rtw_phy_db_2_linear()
821 if (i <= 2 && (linear << FRAC_BITS) <= db_invert_table[i][j]) in rtw_phy_linear_2_db()
823 else if (i > 2 && linear <= db_invert_table[i][j]) in rtw_phy_linear_2_db()
836 if (db_invert_table[i][0] - linear > in rtw_phy_linear_2_db()
837 linear - db_invert_table[i - 1][7]) { in rtw_phy_linear_2_db()
842 if (db_invert_table[3][0] - linear > in rtw_phy_linear_2_db()
843 linear - db_invert_table[2][7]) { in rtw_phy_linear_2_db()
849 if (db_invert_table[i][j] - linear > in rtw_phy_linear_2_db()
850 linear - db_invert_table[i][j - 1]) { in rtw_phy_linear_2_db()