Lines Matching refs:first_dma
233 dma_addr_t first_dma; member
552 dma_addr_t dma_addr = iod->first_dma; in nvme_free_prps()
569 dma_addr_t dma_addr = iod->first_dma; in nvme_free_sgls()
598 dma_unmap_page(dev->dev, iod->first_dma, iod->dma_len, in nvme_unmap_data()
608 iod->first_dma); in nvme_unmap_data()
647 iod->first_dma = 0; in nvme_pci_setup_prps()
661 iod->first_dma = dma_addr; in nvme_pci_setup_prps()
676 iod->first_dma = dma_addr; in nvme_pci_setup_prps()
681 iod->first_dma = prp_dma; in nvme_pci_setup_prps()
710 cmnd->dptr.prp2 = cpu_to_le64(iod->first_dma); in nvme_pci_setup_prps()
776 iod->first_dma = sgl_dma; in nvme_pci_setup_sgls()
813 iod->first_dma = dma_map_bvec(dev->dev, bv, rq_dma_dir(req), 0); in nvme_setup_prp_simple()
814 if (dma_mapping_error(dev->dev, iod->first_dma)) in nvme_setup_prp_simple()
818 cmnd->dptr.prp1 = cpu_to_le64(iod->first_dma); in nvme_setup_prp_simple()
820 cmnd->dptr.prp2 = cpu_to_le64(iod->first_dma + first_prp_len); in nvme_setup_prp_simple()
832 iod->first_dma = dma_map_bvec(dev->dev, bv, rq_dma_dir(req), 0); in nvme_setup_sgl_simple()
833 if (dma_mapping_error(dev->dev, iod->first_dma)) in nvme_setup_sgl_simple()
838 cmnd->dptr.sgl.addr = cpu_to_le64(iod->first_dma); in nvme_setup_sgl_simple()