Lines Matching refs:cur_tx_rp
915 u16 cur_tx_rp = 0; in rtl92ee_set_desc() local
934 ring->cur_tx_rp = 0; in rtl92ee_set_desc()
962 cur_tx_rp = (u16)((tmp >> 16) & 0x0fff); in rtl92ee_set_desc()
966 ring->cur_tx_rp = cur_tx_rp; in rtl92ee_set_desc()
967 point_diff = ((cur_tx_rp > cur_tx_wp) ? in rtl92ee_set_desc()
968 (cur_tx_rp - cur_tx_wp) : in rtl92ee_set_desc()
970 cur_tx_wp + cur_tx_rp)); in rtl92ee_set_desc()
1049 u16 cur_tx_rp, cur_tx_wp; in rtl92ee_is_tx_desc_closed() local
1055 cur_tx_rp = (u16)((tmpu32 >> 16) & 0x0fff); in rtl92ee_is_tx_desc_closed()
1059 ring->cur_tx_rp = cur_tx_rp; in rtl92ee_is_tx_desc_closed()
1060 point_diff = ((cur_tx_rp > cur_tx_wp) ? in rtl92ee_is_tx_desc_closed()
1061 (cur_tx_rp - cur_tx_wp) : in rtl92ee_is_tx_desc_closed()
1062 (TX_DESC_NUM_92E - cur_tx_wp + cur_tx_rp)); in rtl92ee_is_tx_desc_closed()
1067 read_point = ring->cur_tx_rp; in rtl92ee_is_tx_desc_closed()