Lines Matching refs:attachment
1684 struct dma_buf_attachment *attachment)
1693 rc = pci_p2pdma_distance(hdev->pdev, attachment->dev, true);
1696 attachment->peer2peer = false;
1700 static struct sg_table *hl_map_dmabuf(struct dma_buf_attachment *attachment,
1703 struct dma_buf *dma_buf = attachment->dmabuf;
1713 if (!attachment->peer2peer) {
1724 attachment->dev,
1732 attachment->dev,
1741 static void hl_unmap_dmabuf(struct dma_buf_attachment *attachment,
1756 dma_unmap_resource(attachment->dev, sg_dma_address(sg),