Searched refs:tmp_gl_idx (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/ |
D | rtw8852c_rfk.c | 2322 u8 tmp_dbm = init_xdbm, tmp_gl_idx = 0; in _dpk_agc() local 2360 tmp_gl_idx = _dpk_gainloss(rtwdev, phy, path, kidx); in _dpk_agc() 2363 if (pas == DPK_PAS_LT && tmp_gl_idx > 0) in _dpk_agc() 2365 else if (pas == DPK_PAS_GT && tmp_gl_idx == 0) in _dpk_agc() 2367 else if (tmp_gl_idx >= 7) in _dpk_agc() 2369 else if (tmp_gl_idx == 0) in _dpk_agc() 2402 if (tmp_rxbb + tmp_gl_idx > 0x1f) in _dpk_agc() 2405 tmp_rxbb = tmp_rxbb + tmp_gl_idx; in _dpk_agc() 2409 tmp_gl_idx, tmp_rxbb); in _dpk_agc()
|
D | rtw8851b_rfk.c | 2176 u8 tmp_dbm = init_xdbm, tmp_gl_idx = 0; in _dpk_agc() local 2211 tmp_gl_idx = _dpk_gainloss(rtwdev, phy, path, kidx); in _dpk_agc() 2213 if (_dpk_pas_read(rtwdev, true) == 2 && tmp_gl_idx > 0) in _dpk_agc() 2215 else if ((tmp_gl_idx == 0 && _dpk_pas_read(rtwdev, true) == 1) || in _dpk_agc() 2216 tmp_gl_idx >= 7) in _dpk_agc() 2218 else if (tmp_gl_idx == 0) in _dpk_agc() 2253 tmp_rxbb = min_t(u8, tmp_rxbb + tmp_gl_idx, 0x1f); in _dpk_agc() 2259 tmp_gl_idx, tmp_rxbb); in _dpk_agc()
|
D | rtw8852b_rfk.c | 2223 u8 tmp_txagc, tmp_rxbb = 0, tmp_gl_idx = 0; in _dpk_agc() local 2283 tmp_gl_idx = _dpk_gainloss_read(rtwdev); in _dpk_agc() 2285 if ((tmp_gl_idx == 0 && _dpk_pas_read(rtwdev, true)) || in _dpk_agc() 2286 tmp_gl_idx >= 7) in _dpk_agc() 2288 else if (tmp_gl_idx == 0) in _dpk_agc() 2318 tmp_txagc = _dpk_set_offset(rtwdev, phy, path, tmp_gl_idx); in _dpk_agc()
|
D | rtw8852a_rfk.c | 2334 u8 tmp_txagc, tmp_rxbb = 0, tmp_gl_idx = 0; in _dpk_agc() local 2395 tmp_gl_idx = _dpk_gainloss_read(rtwdev); in _dpk_agc() 2397 if ((tmp_gl_idx == 0 && _dpk_pas_read(rtwdev, true)) || in _dpk_agc() 2398 tmp_gl_idx > DPK_GL_CRIT) in _dpk_agc() 2400 else if (tmp_gl_idx == 0) in _dpk_agc() 2431 tmp_txagc = _dpk_set_offset(rtwdev, path, tmp_gl_idx); in _dpk_agc()
|