Lines Matching refs:kmem_buf
1726 dma_free_coherent(cq_buf->hw->device, cq_buf->kmem_buf.size, in irdma_free_cqbuf()
1727 cq_buf->kmem_buf.va, cq_buf->kmem_buf.pa); in irdma_free_cqbuf()
1728 cq_buf->kmem_buf.va = NULL; in irdma_free_cqbuf()
1806 struct irdma_dma_mem kmem_buf; in irdma_resize_cq() local
1871 kmem_buf.size = ALIGN(round_up(rsize, 256), 256); in irdma_resize_cq()
1872 kmem_buf.va = dma_alloc_coherent(dev->hw->device, in irdma_resize_cq()
1873 kmem_buf.size, &kmem_buf.pa, in irdma_resize_cq()
1875 if (!kmem_buf.va) in irdma_resize_cq()
1878 info.cq_base = kmem_buf.va; in irdma_resize_cq()
1879 info.cq_pa = kmem_buf.pa; in irdma_resize_cq()
1911 cq_buf->kmem_buf = iwcq->kmem; in irdma_resize_cq()
1916 iwcq->kmem = kmem_buf; in irdma_resize_cq()
1926 dma_free_coherent(dev->hw->device, kmem_buf.size, kmem_buf.va, in irdma_resize_cq()
1927 kmem_buf.pa); in irdma_resize_cq()
1928 kmem_buf.va = NULL; in irdma_resize_cq()