Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/wireless/realtek/rtw89/
Dpci.c403 struct rtw89_pci_tx_wd *txwd; in rtw89_pci_reclaim_txbd() local
408 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() local
430 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 …]
Dpci.h1029 struct rtw89_pci_tx_wd *txwd; in rtw89_pci_dequeue_txwd() local
1031 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() argument
1049 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()