Searched refs:sim_bitmap (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/staging/rtl8188eu/hal/ |
D | phy.c | 878 u32 i, j, diff, sim_bitmap = 0, bound; in simularity_compare() local 904 if ((i == 2 || i == 6) && !sim_bitmap) { in simularity_compare() 910 sim_bitmap = sim_bitmap | (1 << i); in simularity_compare() 912 sim_bitmap = sim_bitmap | (1 << i); in simularity_compare() 917 if (sim_bitmap == 0) { in simularity_compare() 928 if (!(sim_bitmap & 0x03)) { /* path A TX OK */ in simularity_compare() 932 if (!(sim_bitmap & 0x0c)) { /* path A RX OK */ in simularity_compare() 937 if (!(sim_bitmap & 0x30)) { /* path B TX OK */ in simularity_compare() 942 if (!(sim_bitmap & 0xc0)) { /* path B RX OK */ in simularity_compare()
|
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | phy.c | 2069 u32 i, j, diff, sim_bitmap, bound; in _rtl92d_phy_simularity_compare() local 2078 sim_bitmap = 0; in _rtl92d_phy_simularity_compare() 2083 if ((i == 2 || i == 6) && !sim_bitmap) { in _rtl92d_phy_simularity_compare() 2089 sim_bitmap = sim_bitmap | (1 << i); in _rtl92d_phy_simularity_compare() 2091 sim_bitmap = sim_bitmap | (1 << i); in _rtl92d_phy_simularity_compare() 2095 if (sim_bitmap == 0) { in _rtl92d_phy_simularity_compare() 2106 if (!(sim_bitmap & 0x0F)) { /* path A OK */ in _rtl92d_phy_simularity_compare() 2109 } else if (!(sim_bitmap & 0x03)) { /* path A, Tx OK */ in _rtl92d_phy_simularity_compare() 2113 if (!(sim_bitmap & 0xF0) && is2t) { /* path B OK */ in _rtl92d_phy_simularity_compare() 2116 } else if (!(sim_bitmap & 0x30)) { /* path B, Tx OK */ in _rtl92d_phy_simularity_compare()
|