Home
last modified time | relevance | path

Searched refs:cur_rp (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/net/wireless/realtek/rtw88/
Dpci.c715 u32 cur_rp; in __pci_flush_queue() local
724 cur_rp = __pci_get_hw_tx_ring_rp(rtwdev, pci_q); in __pci_flush_queue()
725 if (cur_rp == ring->r.wp) in __pci_flush_queue()
948 u32 bd_idx, cur_rp, rp_idx; in rtw_pci_tx_isr() local
955 cur_rp = bd_idx >> 16; in rtw_pci_tx_isr()
956 cur_rp &= TRX_BD_IDX_MASK; in rtw_pci_tx_isr()
958 if (cur_rp >= ring->r.rp) in rtw_pci_tx_isr()
959 count = cur_rp - ring->r.rp; in rtw_pci_tx_isr()
961 count = ring->r.len - (ring->r.rp - cur_rp); in rtw_pci_tx_isr()
967 count, hw_queue, bd_idx, ring->r.rp, cur_rp); in rtw_pci_tx_isr()
[all …]
/Linux-v6.6/drivers/net/wireless/realtek/rtw89/
Dpci.c44 u32 cnt, cur_rp, wp, rp, len; in rtw89_pci_dma_recalc() local
50 cur_rp = FIELD_GET(TXBD_HW_IDX_MASK, cur_idx); in rtw89_pci_dma_recalc()
52 cnt = cur_rp >= rp ? cur_rp - rp : len - (rp - cur_rp); in rtw89_pci_dma_recalc()
54 cnt = cur_rp >= wp ? cur_rp - wp : len - (wp - cur_rp); in rtw89_pci_dma_recalc()
56 bd_ring->rp = cur_rp; in rtw89_pci_dma_recalc()
1094 u32 cur_idx, cur_rp; in __pci_flush_txch() local
1104 cur_rp = FIELD_GET(TXBD_HW_IDX_MASK, cur_idx); in __pci_flush_txch()
1105 if (cur_rp == bd_ring->wp) in __pci_flush_txch()