Searched refs:av_tbl (Results 1 – 3 of 3) sorted by relevance
1655 dev->av_tbl.size = sizeof(struct ocrdma_av) * max_ah; in ocrdma_mbx_create_ah_tbl()1675 dev->av_tbl.pbl.va = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in ocrdma_mbx_create_ah_tbl()1676 &dev->av_tbl.pbl.pa, in ocrdma_mbx_create_ah_tbl()1678 if (dev->av_tbl.pbl.va == NULL) in ocrdma_mbx_create_ah_tbl()1681 dev->av_tbl.va = dma_alloc_coherent(&pdev->dev, dev->av_tbl.size, in ocrdma_mbx_create_ah_tbl()1683 if (dev->av_tbl.va == NULL) in ocrdma_mbx_create_ah_tbl()1685 dev->av_tbl.pa = pa; in ocrdma_mbx_create_ah_tbl()1686 dev->av_tbl.num_ah = max_ah; in ocrdma_mbx_create_ah_tbl()1687 memset(dev->av_tbl.va, 0, dev->av_tbl.size); in ocrdma_mbx_create_ah_tbl()1689 pbes = (struct ocrdma_pbe *)dev->av_tbl.pbl.va; in ocrdma_mbx_create_ah_tbl()[all …]
275 } av_tbl; member
232 spin_lock_init(&dev->av_tbl.lock); in ocrdma_alloc_resources()