Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c4005 if (!adapter->hma.sgt) in adap_free_hma_mem()
4008 if (adapter->hma.flags & HMA_DMA_MAPPED_FLAG) { in adap_free_hma_mem()
4009 dma_unmap_sg(adapter->pdev_dev, adapter->hma.sgt->sgl, in adap_free_hma_mem()
4010 adapter->hma.sgt->nents, DMA_BIDIRECTIONAL); in adap_free_hma_mem()
4011 adapter->hma.flags &= ~HMA_DMA_MAPPED_FLAG; in adap_free_hma_mem()
4014 for_each_sg(adapter->hma.sgt->sgl, iter, in adap_free_hma_mem()
4015 adapter->hma.sgt->orig_nents, i) { in adap_free_hma_mem()
4021 kfree(adapter->hma.phy_addr); in adap_free_hma_mem()
4022 sg_free_table(adapter->hma.sgt); in adap_free_hma_mem()
4023 kfree(adapter->hma.sgt); in adap_free_hma_mem()
[all …]
Dcxgb4.h1218 struct hma_data hma; member