Home
last modified time | relevance | path

Searched refs:sg_dma_address (Results 1 – 25 of 26) sorted by relevance

12

/linux-4.19.296/drivers/parisc/
Diommu-helpers.h35 (unsigned long)sg_dma_address(startsg), cnt, in iommu_fill_pdir()
44 if (sg_dma_address(startsg) & PIDE_FLAG) { in iommu_fill_pdir()
45 u32 pide = sg_dma_address(startsg) & ~PIDE_FLAG; in iommu_fill_pdir()
57 sg_dma_address(dma_sg) = pide | ioc->ibase; in iommu_fill_pdir()
62 sg_dma_address(dma_sg) = pide; in iommu_fill_pdir()
124 sg_dma_address(startsg) = 0; in iommu_coalesce_chunks()
141 sg_dma_address(startsg) = 0; in iommu_coalesce_chunks()
173 sg_dma_address(contig_sg) = in iommu_coalesce_chunks()
Dccio-rm-dma.c121 sg_dma_address(sglist) = ccio_map_single(dev, sglist->address, sglist->length, direction); in ccio_map_sg()
135 ccio_unmap_single(dev, sg_dma_address(sglist), sg_dma_len(sglist), direction); in ccio_unmap_sg()
Dsba_iommu.c281 (unsigned long) sg_dma_address(startsg), in sba_dump_sg()
969 sg_dma_address(sglist) = sba_map_single(dev, sg_virt(sglist), in sba_map_sg()
1068 sba_unmap_page(dev, sg_dma_address(sglist), sg_dma_len(sglist), in sba_unmap_sg()
1071 …ioc->usg_pages += ((sg_dma_address(sglist) & ~IOVP_MASK) + sg_dma_len(sglist) + IOVP_SIZE - 1) >> … in sba_unmap_sg()
Dccio-dma.c934 sg_dma_address(sglist) = ccio_map_single(dev, in ccio_map_sg()
1018 ccio_unmap_page(dev, sg_dma_address(sglist), in ccio_unmap_sg()
/linux-4.19.296/lib/
Dsg_split.c96 sg_dma_address(out_sg) = 0; in sg_split_phys()
115 sg_dma_address(out_sg) = sg_dma_address(in_sg); in sg_split_mapped()
118 sg_dma_address(out_sg) += split->skip_sg0; in sg_split_mapped()
/linux-4.19.296/drivers/misc/mic/host/
Dmic_boot.c214 da = mic_map(mdev, sg_dma_address(s) + s->offset, s->length); in __mic_dma_map_sg()
217 sg_dma_address(s) = da; in __mic_dma_map_sg()
222 mic_unmap(mdev, sg_dma_address(s), s->length); in __mic_dma_map_sg()
223 sg_dma_address(s) = mic_to_dma_addr(mdev, sg_dma_address(s)); in __mic_dma_map_sg()
241 da = mic_to_dma_addr(mdev, sg_dma_address(s)); in __mic_dma_unmap_sg()
242 mic_unmap(mdev, sg_dma_address(s), s->length); in __mic_dma_unmap_sg()
243 sg_dma_address(s) = da; in __mic_dma_unmap_sg()
/linux-4.19.296/drivers/media/common/videobuf2/
Dvideobuf2-dma-contig.c52 dma_addr_t expected = sg_dma_address(sgt->sgl); in vb2_dc_get_contiguous_size()
57 if (sg_dma_address(s) != expected) in vb2_dc_get_contiguous_size()
59 expected = sg_dma_address(s) + sg_dma_len(s); in vb2_dc_get_contiguous_size()
569 buf->dma_addr = sg_dma_address(sgt->sgl); in vb2_dc_get_userptr()
631 buf->dma_addr = sg_dma_address(sgt->sgl); in vb2_dc_map_dmabuf()
/linux-4.19.296/drivers/i2c/busses/
Di2c-at91.c256 dma_unmap_single(dev->dev, sg_dma_address(&dma->sg[0]), in at91_twi_dma_cleanup()
288 dma_unmap_single(dev->dev, sg_dma_address(&dev->dma.sg[0]), in at91_twi_write_data_dma_callback()
337 sg_dma_address(sg) = dma_addr; in at91_twi_write_data_dma()
344 sg_dma_address(sg) = dma_addr + part1_len; in at91_twi_write_data_dma()
357 sg_dma_address(&dma->sg[0]) = dma_addr; in at91_twi_write_data_dma()
430 dma_unmap_single(dev->dev, sg_dma_address(&dev->dma.sg[0]), in at91_twi_read_data_dma_callback()
477 sg_dma_address(&dma->sg[0]) = dma_addr; in at91_twi_read_data_dma()
Di2c-sh_mobile.c484 dma_unmap_single(chan->device->dev, sg_dma_address(&pd->sg), in sh_mobile_i2c_dma_unmap()
577 sg_dma_address(&pd->sg) = dma_addr; in sh_mobile_i2c_xfer_dma()
Di2c-rcar.c373 dma_unmap_single(chan->device->dev, sg_dma_address(&priv->sg), in rcar_i2c_dma_unmap()
445 sg_dma_address(&priv->sg) = dma_addr; in rcar_i2c_dma()
/linux-4.19.296/include/linux/
Dscatterlist.h34 #define sg_dma_address(sg) ((sg)->dma_address) macro
379 return sg_dma_address(piter->sg) + (piter->sg_pgoffset << PAGE_SHIFT); in sg_page_iter_dma_address()
Ddmaengine.h839 sg_dma_address(&sg) = buf; in dmaengine_prep_slave_single()
/linux-4.19.296/drivers/misc/mic/scif/
Dscif_debugfs.c93 j, sg_dma_address(sg), sg_dma_len(sg)); in scif_display_window()
Dscif_rma.c569 window->dma_addr[i] = sg_dma_address(sg); in scif_iommu_map()
571 last_da = sg_dma_address(sg) + sg_dma_len(sg); in scif_iommu_map()
572 while ((sg = sg_next(sg)) && sg_dma_address(sg) == last_da) { in scif_iommu_map()
Dscif_nodeqp.c421 p2p->ppi_da[SCIF_PPI_MMIO] = sg_dma_address(p2p->ppi_sg[SCIF_PPI_MMIO]); in scif_init_p2p_info()
422 p2p->ppi_da[SCIF_PPI_APER] = sg_dma_address(p2p->ppi_sg[SCIF_PPI_APER]); in scif_init_p2p_info()
/linux-4.19.296/drivers/media/common/saa7146/
Dsaa7146_core.c269 *ptr = cpu_to_le32(sg_dma_address(list) + p * 4096); in saa7146_pgtable_build_single()
Dsaa7146_video.c261 *ptr1 = cpu_to_le32(sg_dma_address(list) - list->offset); in saa7146_pgtable_build()
/linux-4.19.296/drivers/media/v4l2-core/
Dvideobuf-dma-sg.c305 sg_dma_address(&dma->sglist[0]) = dma->bus_addr in videobuf_dma_map()
/linux-4.19.296/drivers/memstick/host/
Dr592.c237 r592_write_reg(dev, R592_FIFO_DMA, sg_dma_address(&dev->req->sg)); in r592_start_dma()
Dtifm_ms.c305 writel(sg_dma_address(&host->req->sg), in tifm_ms_issue_cmd()
Djmb38x_ms.c431 writel(sg_dma_address(&host->req->sg), in jmb38x_ms_issue_cmd()
/linux-4.19.296/drivers/char/agp/
Dintel-gtt.c872 dma_addr_t addr = sg_dma_address(sg) + (m << PAGE_SHIFT); in intel_gtt_insert_sg_entries()
/linux-4.19.296/drivers/message/fusion/
Dmptscsih.c244 v2 = sg_dma_address(sg); in mptscsih_AddSGE()
266 v2 = sg_dma_address(sg); in mptscsih_AddSGE()
/linux-4.19.296/drivers/misc/cardreader/
Drtsx_pcr.c527 addr = sg_dma_address(sg); in rtsx_pci_dma_transfer()
/linux-4.19.296/include/rdma/
Dib_verbs.h3669 return sg_dma_address(sg); in ib_sg_dma_address()

12