Home
last modified time | relevance | path

Searched refs:av_tbl (Results 1 – 3 of 3) sorted by relevance

/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c1660 dev->av_tbl.size = sizeof(struct ocrdma_av) * max_ah; in ocrdma_mbx_create_ah_tbl()
1680 dev->av_tbl.pbl.va = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in ocrdma_mbx_create_ah_tbl()
1681 &dev->av_tbl.pbl.pa, in ocrdma_mbx_create_ah_tbl()
1683 if (dev->av_tbl.pbl.va == NULL) in ocrdma_mbx_create_ah_tbl()
1686 dev->av_tbl.va = dma_alloc_coherent(&pdev->dev, dev->av_tbl.size, in ocrdma_mbx_create_ah_tbl()
1688 if (dev->av_tbl.va == NULL) in ocrdma_mbx_create_ah_tbl()
1690 dev->av_tbl.pa = pa; in ocrdma_mbx_create_ah_tbl()
1691 dev->av_tbl.num_ah = max_ah; in ocrdma_mbx_create_ah_tbl()
1693 pbes = (struct ocrdma_pbe *)dev->av_tbl.pbl.va; in ocrdma_mbx_create_ah_tbl()
1694 for (i = 0; i < dev->av_tbl.size / OCRDMA_MIN_Q_PAGE_SIZE; i++) { in ocrdma_mbx_create_ah_tbl()
[all …]
Docrdma_main.c289 spin_lock_init(&dev->av_tbl.lock); in ocrdma_alloc_resources()
Docrdma.h276 } av_tbl; member