Lines Matching refs:path_div
191 struct rtw_path_div *path_div = &rtwdev->dm_path_div; in rtw_phy_tx_path_div_init() local
193 path_div->current_tx_path = rtwdev->chip->default_1ss_tx_path; in rtw_phy_tx_path_div_init()
194 path_div->path_a_cnt = 0; in rtw_phy_tx_path_div_init()
195 path_div->path_a_sum = 0; in rtw_phy_tx_path_div_init()
196 path_div->path_b_cnt = 0; in rtw_phy_tx_path_div_init()
197 path_div->path_b_sum = 0; in rtw_phy_tx_path_div_init()
2480 struct rtw_path_div *path_div = &rtwdev->dm_path_div; in rtw_phy_set_tx_path_by_reg() local
2484 if (tx_path_sel_1ss == path_div->current_tx_path) in rtw_phy_set_tx_path_by_reg()
2487 path_div->current_tx_path = tx_path_sel_1ss; in rtw_phy_set_tx_path_by_reg()
2496 struct rtw_path_div *path_div = &rtwdev->dm_path_div; in rtw_phy_tx_path_div_select() local
2497 enum rtw_bb_path path = path_div->current_tx_path; in rtw_phy_tx_path_div_select()
2500 if (path_div->path_a_cnt) in rtw_phy_tx_path_div_select()
2501 rssi_a = path_div->path_a_sum / path_div->path_a_cnt; in rtw_phy_tx_path_div_select()
2504 if (path_div->path_b_cnt) in rtw_phy_tx_path_div_select()
2505 rssi_b = path_div->path_b_sum / path_div->path_b_cnt; in rtw_phy_tx_path_div_select()
2512 path_div->path_a_cnt = 0; in rtw_phy_tx_path_div_select()
2513 path_div->path_a_sum = 0; in rtw_phy_tx_path_div_select()
2514 path_div->path_b_cnt = 0; in rtw_phy_tx_path_div_select()
2515 path_div->path_b_sum = 0; in rtw_phy_tx_path_div_select()