Searched refs:txwd (Results 1 – 2 of 2) sorted by relevance
403 struct rtw89_pci_tx_wd *txwd; in rtw89_pci_reclaim_txbd() local408 txwd = list_first_entry_or_null(&tx_ring->busy_pages, struct rtw89_pci_tx_wd, list); in rtw89_pci_reclaim_txbd()409 if (!txwd) { in rtw89_pci_reclaim_txbd()414 list_del_init(&txwd->list); in rtw89_pci_reclaim_txbd()417 if (skb_queue_len(&txwd->queue) == 0) in rtw89_pci_reclaim_txbd()418 rtw89_pci_enqueue_txwd(tx_ring, txwd); in rtw89_pci_reclaim_txbd()426 struct rtw89_pci_tx_wd *txwd; in rtw89_pci_release_busy_txwd() local430 txwd = list_first_entry_or_null(&tx_ring->busy_pages, struct rtw89_pci_tx_wd, list); in rtw89_pci_release_busy_txwd()431 if (!txwd) in rtw89_pci_release_busy_txwd()434 list_del_init(&txwd->list); in rtw89_pci_release_busy_txwd()[all …]
1029 struct rtw89_pci_tx_wd *txwd; in rtw89_pci_dequeue_txwd() local1031 txwd = list_first_entry_or_null(&wd_ring->free_pages, in rtw89_pci_dequeue_txwd()1033 if (!txwd) in rtw89_pci_dequeue_txwd()1036 list_del_init(&txwd->list); in rtw89_pci_dequeue_txwd()1037 txwd->len = 0; in rtw89_pci_dequeue_txwd()1040 return txwd; in rtw89_pci_dequeue_txwd()1045 struct rtw89_pci_tx_wd *txwd) in rtw89_pci_enqueue_txwd() argument1049 memset(txwd->vaddr, 0, wd_ring->page_size); in rtw89_pci_enqueue_txwd()1050 list_add_tail(&txwd->list, &wd_ring->free_pages); in rtw89_pci_enqueue_txwd()