Lines Matching refs:dpk
1725 struct rtw89_dpk_info *dpk = &rtwdev->dpk; in _dpk_onoff() local
1726 u8 kidx = dpk->cur_idx[path]; in _dpk_onoff()
1730 val = dpk->is_dpk_enable * off_reverse * dpk->bp[path][kidx].path_ok; in _dpk_onoff()
1741 struct rtw89_dpk_info *dpk = &rtwdev->dpk; in _dpk_init() local
1743 u8 kidx = dpk->cur_idx[path]; in _dpk_init()
1745 dpk->bp[path][kidx].path_ok = 0; in _dpk_init()
1752 struct rtw89_dpk_info *dpk = &rtwdev->dpk; in _dpk_information() local
1754 u8 kidx = dpk->cur_idx[path]; in _dpk_information()
1756 dpk->bp[path][kidx].band = chan->band_type; in _dpk_information()
1757 dpk->bp[path][kidx].ch = chan->band_width; in _dpk_information()
1758 dpk->bp[path][kidx].bw = chan->channel; in _dpk_information()
1762 path, dpk->cur_idx[path], phy, in _dpk_information()
1765 dpk->bp[path][kidx].band == 0 ? "2G" : in _dpk_information()
1766 dpk->bp[path][kidx].band == 1 ? "5G" : "6G", in _dpk_information()
1767 dpk->bp[path][kidx].ch, in _dpk_information()
1768 dpk->bp[path][kidx].bw == 0 ? "20M" : in _dpk_information()
1769 dpk->bp[path][kidx].bw == 1 ? "40M" : in _dpk_information()
1770 dpk->bp[path][kidx].bw == 2 ? "80M" : "160M"); in _dpk_information()
1828 struct rtw89_dpk_info *dpk = &rtwdev->dpk; in _dpk_tpg_sel() local
1830 if (dpk->bp[path][kidx].bw == RTW89_CHANNEL_WIDTH_80) { in _dpk_tpg_sel()
1833 } else if (dpk->bp[path][kidx].bw == RTW89_CHANNEL_WIDTH_40) { in _dpk_tpg_sel()
1842 dpk->bp[path][kidx].bw == RTW89_CHANNEL_WIDTH_80 ? "80M" : in _dpk_tpg_sel()
1843 dpk->bp[path][kidx].bw == RTW89_CHANNEL_WIDTH_40 ? "40M" : "20M"); in _dpk_tpg_sel()
1902 struct rtw89_dpk_info *dpk = &rtwdev->dpk; in _dpk_kset_query() local
1906 dpk->cur_k_set = in _dpk_kset_query()
1916 struct rtw89_dpk_info *dpk = &rtwdev->dpk; in _dpk_para_query() local
1917 u8 cur_k_set = dpk->cur_k_set; in _dpk_para_query()
1928 dpk->bp[path][kidx].txagc_dpk = (para >> 10) & 0x3f; in _dpk_para_query()
1929 dpk->bp[path][kidx].ther_dpk = (para >> 26) & 0x3f; in _dpk_para_query()
1933 dpk->cur_k_set, dpk->bp[path][kidx].ther_dpk, in _dpk_para_query()
1934 dpk->bp[path][kidx].txagc_dpk); in _dpk_para_query()
1939 struct rtw89_dpk_info *dpk = &rtwdev->dpk; in _dpk_sync_check() local
1948 dpk->corr_idx[path][kidx] = corr_idx; in _dpk_sync_check()
1949 dpk->corr_val[path][kidx] = corr_val; in _dpk_sync_check()
1963 dpk->dc_i[path][kidx] = dc_i; in _dpk_sync_check()
1964 dpk->dc_q[path][kidx] = dc_q; in _dpk_sync_check()
2061 struct rtw89_dpk_info *dpk = &rtwdev->dpk; in _dpk_rf_setting() local
2063 if (dpk->bp[path][kidx].band == RTW89_BAND_2G) { in _dpk_rf_setting()
2076 rtw89_write_rf(rtwdev, path, RR_BTC, RR_BTC_TXBB, dpk->bp[path][kidx].bw + 1); in _dpk_rf_setting()
2175 struct rtw89_dpk_info *dpk = &rtwdev->dpk; in _dpk_agc() local
2202 if (dpk->bp[path][kidx].band == RTW89_BAND_2G) in _dpk_agc()
2363 struct rtw89_dpk_info *dpk = &rtwdev->dpk; in _dpk_gain_normalize() local
2364 u8 cur_k_set = dpk->cur_k_set; in _dpk_gain_normalize()
2383 dpk->bp[path][kidx].gs = in _dpk_gain_normalize()
2391 struct rtw89_dpk_info *dpk = &rtwdev->dpk; in _dpk_on() local
2398 dpk->bp[path][kidx].path_ok = in _dpk_on()
2399 dpk->bp[path][kidx].path_ok | BIT(dpk->cur_k_set); in _dpk_on()
2402 path, kidx, dpk->bp[path][kidx].path_ok); in _dpk_on()
2405 B_DPD_MEN, dpk->bp[path][kidx].path_ok); in _dpk_on()
2413 struct rtw89_dpk_info *dpk = &rtwdev->dpk; in _dpk_main() local
2414 u8 kidx = dpk->cur_idx[path]; in _dpk_main()
2418 if (dpk->bp[path][kidx].band != RTW89_BAND_2G) in _dpk_main()
2446 dpk->cur_k_set, is_fail ? "need Check" : "is Success"); in _dpk_main()
2454 struct rtw89_dpk_info *dpk = &rtwdev->dpk; in _dpk_cal_select() local
2461 dpk->cur_idx[path] = 0; in _dpk_cal_select()
2481 path, dpk->cur_idx[path]); in _dpk_cal_select()
2519 struct rtw89_dpk_info *dpk = &rtwdev->dpk; in _dpk_track() local
2528 kidx = dpk->cur_idx[path]; in _dpk_track()
2532 path, kidx, dpk->bp[path][kidx].ch); in _dpk_track()
2551 delta_ther = cur_ther - dpk->bp[path][kidx].ther_dpk; in _dpk_track()
2557 delta_ther, cur_ther, dpk->bp[path][kidx].ther_dpk); in _dpk_track()
2561 txagc_rf - dpk->bp[path][kidx].txagc_dpk, in _dpk_track()
2562 txagc_rf, dpk->bp[path][kidx].txagc_dpk); in _dpk_track()
3298 rtwdev->dpk.is_dpk_enable = true; in rtw8851b_dpk()
3299 rtwdev->dpk.is_dpk_reload_en = false; in rtw8851b_dpk()