Lines Matching refs:wd_ring

425 	struct rtw89_pci_tx_wd_ring *wd_ring = &tx_ring->wd_ring;  in rtw89_pci_release_busy_txwd()  local
429 for (i = 0; i < wd_ring->page_num; i++) { in rtw89_pci_release_busy_txwd()
477 struct rtw89_pci_tx_wd_ring *wd_ring; in rtw89_pci_release_rpp() local
493 wd_ring = &tx_ring->wd_ring; in rtw89_pci_release_rpp()
494 txwd = &wd_ring->pages[seq]; in rtw89_pci_release_rpp()
502 struct rtw89_pci_tx_wd_ring *wd_ring = &tx_ring->wd_ring; in rtw89_pci_release_pending_txwd_skb() local
506 for (i = 0; i < wd_ring->page_num; i++) { in rtw89_pci_release_pending_txwd_skb()
507 txwd = &wd_ring->pages[i]; in rtw89_pci_release_pending_txwd_skb()
956 struct rtw89_pci_tx_wd_ring *wd_ring = &tx_ring->wd_ring; in __rtw89_pci_check_and_reclaim_tx_resource_noio() local
961 cnt = min(cnt, wd_ring->curr_num); in __rtw89_pci_check_and_reclaim_tx_resource_noio()
972 struct rtw89_pci_tx_wd_ring *wd_ring = &tx_ring->wd_ring; in __rtw89_pci_check_and_reclaim_tx_resource() local
983 wd_cnt = wd_ring->curr_num; in __rtw89_pci_check_and_reclaim_tx_resource()
998 wd_cnt = wd_ring->curr_num; in __rtw89_pci_check_and_reclaim_tx_resource()
2767 struct rtw89_pci_tx_wd_ring *wd_ring = &tx_ring->wd_ring; in rtw89_pci_free_tx_wd_ring() local
2768 u8 *head = wd_ring->head; in rtw89_pci_free_tx_wd_ring()
2769 dma_addr_t dma = wd_ring->dma; in rtw89_pci_free_tx_wd_ring()
2770 u32 page_size = wd_ring->page_size; in rtw89_pci_free_tx_wd_ring()
2771 u32 page_num = wd_ring->page_num; in rtw89_pci_free_tx_wd_ring()
2775 wd_ring->head = NULL; in rtw89_pci_free_tx_wd_ring()
2894 struct rtw89_pci_tx_wd_ring *wd_ring = &tx_ring->wd_ring; in rtw89_pci_alloc_tx_wd_ring() local
2914 INIT_LIST_HEAD(&wd_ring->free_pages); in rtw89_pci_alloc_tx_wd_ring()
2915 wd_ring->head = head; in rtw89_pci_alloc_tx_wd_ring()
2916 wd_ring->dma = dma; in rtw89_pci_alloc_tx_wd_ring()
2917 wd_ring->page_size = page_size; in rtw89_pci_alloc_tx_wd_ring()
2918 wd_ring->page_num = page_num; in rtw89_pci_alloc_tx_wd_ring()
2922 txwd = &wd_ring->pages[i]; in rtw89_pci_alloc_tx_wd_ring()