Searched refs:pool_sz (Results 1 – 2 of 2) sorted by relevance
3698 u32 pool_sz; in rtw89_pci_alloc_tx_rings() local3714 pool_sz = ring_sz * ch_num; in rtw89_pci_alloc_tx_rings()3716 head = dma_alloc_coherent(&pdev->dev, pool_sz, &dma, GFP_KERNEL); in rtw89_pci_alloc_tx_rings()3722 bd_pool->size = pool_sz; in rtw89_pci_alloc_tx_rings()3843 u32 pool_sz; in rtw89_pci_alloc_rx_rings() local3855 pool_sz = ring_sz * RTW89_RXCH_NUM; in rtw89_pci_alloc_rx_rings()3857 head = dma_alloc_coherent(&pdev->dev, pool_sz, &dma, GFP_KERNEL); in rtw89_pci_alloc_rx_rings()3863 bd_pool->size = pool_sz; in rtw89_pci_alloc_rx_rings()
4251 rc = __atomic_add_ifless(&o->credit, cnt, o->pool_sz + 1); in ecore_credit_pool_put()4313 if (offset >= o->pool_sz) in ecore_credit_pool_put_entry()4360 p->pool_sz = credit; in ecore_init_credit_pool()