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()
2483 struct rtw_path_div *path_div = &rtwdev->dm_path_div; in rtw_phy_set_tx_path_by_reg() local
2487 if (tx_path_sel_1ss == path_div->current_tx_path) in rtw_phy_set_tx_path_by_reg()
2490 path_div->current_tx_path = tx_path_sel_1ss; in rtw_phy_set_tx_path_by_reg()
2499 struct rtw_path_div *path_div = &rtwdev->dm_path_div; in rtw_phy_tx_path_div_select() local
2500 enum rtw_bb_path path = path_div->current_tx_path; in rtw_phy_tx_path_div_select()
2503 if (path_div->path_a_cnt) in rtw_phy_tx_path_div_select()
2504 rssi_a = path_div->path_a_sum / path_div->path_a_cnt; in rtw_phy_tx_path_div_select()
2507 if (path_div->path_b_cnt) in rtw_phy_tx_path_div_select()
2508 rssi_b = path_div->path_b_sum / path_div->path_b_cnt; in rtw_phy_tx_path_div_select()
2515 path_div->path_a_cnt = 0; in rtw_phy_tx_path_div_select()
2516 path_div->path_a_sum = 0; in rtw_phy_tx_path_div_select()
2517 path_div->path_b_cnt = 0; in rtw_phy_tx_path_div_select()
2518 path_div->path_b_sum = 0; in rtw_phy_tx_path_div_select()