Lines Matching refs:dma_addr
150 void *kvaddr, dma_addr_t dma_addr) in qib_user_sdma_init_frag() argument
158 pkt->addr[i].addr = dma_addr; in qib_user_sdma_init_frag()
165 void *kvaddr, dma_addr_t dma_addr) in qib_user_sdma_init_header() argument
170 kvaddr, dma_addr); in qib_user_sdma_init_header()
185 dma_addr_t dma_addr; in qib_user_sdma_coalesce() local
208 dma_addr = dma_map_page(&dd->pcidev->dev, page, 0, len, in qib_user_sdma_coalesce()
210 if (dma_mapping_error(&dd->pcidev->dev, dma_addr)) { in qib_user_sdma_coalesce()
216 dma_addr); in qib_user_sdma_coalesce()
303 dma_addr_t dma_addr = in qib_user_sdma_pin_pages() local
308 if (dma_mapping_error(&dd->pcidev->dev, dma_addr)) { in qib_user_sdma_pin_pages()
314 pages[j], kmap(pages[j]), dma_addr); in qib_user_sdma_pin_pages()
407 dma_addr_t dma_addr; in qib_user_sdma_queue_pkts() local
442 &dma_addr); in qib_user_sdma_queue_pkts()
511 dma_addr = dma_map_page(&dd->pcidev->dev, in qib_user_sdma_queue_pkts()
513 if (dma_mapping_error(&dd->pcidev->dev, dma_addr)) { in qib_user_sdma_queue_pkts()
522 page, pbc, dma_addr); in qib_user_sdma_queue_pkts()
543 dma_unmap_page(&dd->pcidev->dev, dma_addr, len, DMA_TO_DEVICE); in qib_user_sdma_queue_pkts()
549 dma_pool_free(pq->header_cache, pbc, dma_addr); in qib_user_sdma_queue_pkts()