Lines Matching refs:kmem_buf
1809 dma_free_coherent(cq_buf->hw->device, cq_buf->kmem_buf.size, in irdma_free_cqbuf()
1810 cq_buf->kmem_buf.va, cq_buf->kmem_buf.pa); in irdma_free_cqbuf()
1811 cq_buf->kmem_buf.va = NULL; in irdma_free_cqbuf()
1893 struct irdma_dma_mem kmem_buf; in irdma_resize_cq() local
1961 kmem_buf.size = ALIGN(round_up(rsize, 256), 256); in irdma_resize_cq()
1962 kmem_buf.va = dma_alloc_coherent(dev->hw->device, in irdma_resize_cq()
1963 kmem_buf.size, &kmem_buf.pa, in irdma_resize_cq()
1965 if (!kmem_buf.va) in irdma_resize_cq()
1968 info.cq_base = kmem_buf.va; in irdma_resize_cq()
1969 info.cq_pa = kmem_buf.pa; in irdma_resize_cq()
2001 cq_buf->kmem_buf = iwcq->kmem; in irdma_resize_cq()
2006 iwcq->kmem = kmem_buf; in irdma_resize_cq()
2016 dma_free_coherent(dev->hw->device, kmem_buf.size, kmem_buf.va, in irdma_resize_cq()
2017 kmem_buf.pa); in irdma_resize_cq()
2018 kmem_buf.va = NULL; in irdma_resize_cq()