Home
last modified time | relevance | path

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

12345678910>>...15

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/arm/mm/
Ddma-mapping-nommu.c126 sg_dma_address(sg) = sg_phys(sg); in arm_nommu_dma_map_sg()
128 __dma_page_cpu_to_dev(sg_dma_address(sg), sg_dma_len(sg), dir); in arm_nommu_dma_map_sg()
142 __dma_page_dev_to_cpu(sg_dma_address(sg), sg_dma_len(sg), dir); in arm_nommu_dma_unmap_sg()
164 __dma_page_cpu_to_dev(sg_dma_address(sg), sg_dma_len(sg), dir); in arm_nommu_dma_sync_sg_for_device()
174 __dma_page_dev_to_cpu(sg_dma_address(sg), sg_dma_len(sg), dir); in arm_nommu_dma_sync_sg_for_cpu()
/kernel/linux/linux-5.10/drivers/net/ethernet/micrel/
Dks8842.c442 sg_dma_address(&ctl->sg), 0, sg_dma_len(&ctl->sg), in ks8842_tx_frame_dma()
550 sg_dma_address(sg) = dma_map_single(adapter->dev, in __ks8842_start_new_rx_dma()
552 if (dma_mapping_error(adapter->dev, sg_dma_address(sg))) { in __ks8842_start_new_rx_dma()
554 sg_dma_address(sg) = 0; in __ks8842_start_new_rx_dma()
573 sg_dma_address(sg) = 0; in __ks8842_start_new_rx_dma()
579 if (sg_dma_address(sg)) in __ks8842_start_new_rx_dma()
580 dma_unmap_single(adapter->dev, sg_dma_address(sg), in __ks8842_start_new_rx_dma()
582 sg_dma_address(sg) = 0; in __ks8842_start_new_rx_dma()
596 dma_addr_t addr = sg_dma_address(&ctl->sg); in ks8842_rx_frame_dma_tasklet()
872 if (sg_dma_address(&rx_ctl->sg)) in ks8842_stop_dma()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/tw68/
Dtw68-risc.c65 *(rp++) = cpu_to_le32(sg_dma_address(sg) + offset); in tw68_risc_field()
80 *(rp++) = cpu_to_le32(sg_dma_address(sg) + offset); in tw68_risc_field()
88 *(rp++) = cpu_to_le32(sg_dma_address(sg)); in tw68_risc_field()
98 *(rp++) = cpu_to_le32(sg_dma_address(sg)); in tw68_risc_field()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_dsd.h14 put_unaligned_le32(sg_dma_address(sg), &(*dsd)->address); in append_dsd32()
27 put_unaligned_le64(sg_dma_address(sg), &(*dsd)->address); in append_dsd64()
/kernel/linux/linux-5.10/lib/
Dsg_split.c94 sg_dma_address(out_sg) = 0; in sg_split_phys()
113 sg_dma_address(out_sg) = sg_dma_address(in_sg); in sg_split_mapped()
116 sg_dma_address(out_sg) += split->skip_sg0; in sg_split_mapped()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_scatterlist.c24 sg_dma_address(new_sg) = sg_dma_address(sg); in i915_sg_trim()
/kernel/linux/linux-5.10/drivers/hwtracing/intel_th/
Dmsu-sink.c72 PAGE_SIZE, &sg_dma_address(sg_ptr), in msu_sink_alloc_window()
92 sg_virt(sg_ptr), sg_dma_address(sg_ptr)); in msu_sink_free_window()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-dw-dma.c532 sg_dma_address(&tx_tmp) = sg_dma_address(tx_sg); in dw_spi_dma_transfer_one()
539 sg_dma_address(&rx_tmp) = sg_dma_address(rx_sg); in dw_spi_dma_transfer_one()
575 sg_dma_address(&tx_tmp) += len; in dw_spi_dma_transfer_one()
576 sg_dma_address(&rx_tmp) += len; in dw_spi_dma_transfer_one()
Dspi-bcm2835.c518 sg_dma_address(&tfr->rx_sg.sgl[0]), in bcm2835_spi_transfer_prologue()
521 sg_dma_address(&tfr->rx_sg.sgl[0]) += bs->rx_prologue; in bcm2835_spi_transfer_prologue()
544 sg_dma_address(&tfr->tx_sg.sgl[0]) += bs->tx_prologue; in bcm2835_spi_transfer_prologue()
548 sg_dma_address(&tfr->tx_sg.sgl[1]) += 4; in bcm2835_spi_transfer_prologue()
569 sg_dma_address(&tfr->rx_sg.sgl[0]) -= bs->rx_prologue; in bcm2835_spi_undo_prologue()
577 sg_dma_address(&tfr->tx_sg.sgl[0]) -= bs->tx_prologue; in bcm2835_spi_undo_prologue()
581 sg_dma_address(&tfr->tx_sg.sgl[1]) -= 4; in bcm2835_spi_undo_prologue()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-at91-master.c148 dma_unmap_single(dev->dev, sg_dma_address(&dma->sg[0]), in at91_twi_dma_cleanup()
180 dma_unmap_single(dev->dev, sg_dma_address(&dev->dma.sg[0]), in at91_twi_write_data_dma_callback()
229 sg_dma_address(sg) = dma_addr; in at91_twi_write_data_dma()
236 sg_dma_address(sg) = dma_addr + part1_len; in at91_twi_write_data_dma()
249 sg_dma_address(&dma->sg[0]) = dma_addr; in at91_twi_write_data_dma()
322 dma_unmap_single(dev->dev, sg_dma_address(&dev->dma.sg[0]), in at91_twi_read_data_dma_callback()
369 sg_dma_address(&dma->sg[0]) = dma_addr; in at91_twi_read_data_dma()
/kernel/linux/linux-5.10/arch/powerpc/platforms/512x/
Dmpc512x_lpbfifo.c250 sg_dma_address(&sg) = dma_map_single(dma_dev->dev, in mpc512x_lpbfifo_kick()
252 if (dma_mapping_error(dma_dev->dev, sg_dma_address(&sg))) in mpc512x_lpbfifo_kick()
255 lpbfifo.ram_bus_addr = sg_dma_address(&sg); /* For freeing later */ in mpc512x_lpbfifo_kick()
327 dma_unmap_single(dma_dev->dev, sg_dma_address(&sg), in mpc512x_lpbfifo_kick()
/kernel/linux/linux-5.10/drivers/iommu/
Ddma-iommu.c768 unsigned int s_iova_off = sg_dma_address(s); in __finalise_sg()
774 sg_dma_address(s) = DMA_MAPPING_ERROR; in __finalise_sg()
795 sg_dma_address(cur) = dma_addr + s_iova_off; in __finalise_sg()
817 if (sg_dma_address(s) != DMA_MAPPING_ERROR) in __invalidate_sg()
818 s->offset += sg_dma_address(s); in __invalidate_sg()
821 sg_dma_address(s) = DMA_MAPPING_ERROR; in __invalidate_sg()
863 sg_dma_address(s) = s_iova_off; in iommu_dma_map_sg()
925 start = sg_dma_address(sg); in iommu_dma_unmap_sg()
931 end = sg_dma_address(sg) + sg_dma_len(sg); in iommu_dma_unmap_sg()
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
Dcxgbit_ddp.c22 addr = sg_dma_address(sg); in cxgbit_set_one_ppod()
34 addr = sg_dma_address(sg); in cxgbit_set_one_ppod()
57 addr = sg_dma_address(sg); in cxgbit_set_one_ppod()
/kernel/linux/linux-5.10/drivers/dma/
Dtimb_dma.c161 dma_desc, (unsigned long long)sg_dma_address(sg)); in td_fill_desc()
163 dma_desc[7] = (sg_dma_address(sg) >> 24) & 0xff; in td_fill_desc()
164 dma_desc[6] = (sg_dma_address(sg) >> 16) & 0xff; in td_fill_desc()
165 dma_desc[5] = (sg_dma_address(sg) >> 8) & 0xff; in td_fill_desc()
166 dma_desc[4] = (sg_dma_address(sg) >> 0) & 0xff; in td_fill_desc()
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/
Daic94xx_task.c82 sg->bus_addr = cpu_to_le64((u64)sg_dma_address(sc)); in asd_map_scatterlist()
90 cpu_to_le64((u64)sg_dma_address(sc)); in asd_map_scatterlist()
102 cpu_to_le64((u64)sg_dma_address(sc)); in asd_map_scatterlist()
433 cpu_to_le64((u64)sg_dma_address(&task->smp_task.smp_req)); in asd_build_smp_ascb()
438 cpu_to_le64((u64)sg_dma_address(&task->smp_task.smp_resp)); in asd_build_smp_ascb()
/kernel/linux/linux-5.10/drivers/staging/media/tegra-vde/
Ddmabuf-cache.c90 *addrp = sg_dma_address(entry->sgt->sgl); in tegra_vde_dmabuf_cache_map()
128 *addrp = sg_dma_address(sgt->sgl); in tegra_vde_dmabuf_cache_map()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dsg_sw_qm2.h36 dma_to_qm_sg_one(qm_sg_ptr, sg_dma_address(sg), ent_len, in sg_to_qm_sg()
Dcaampkc.c422 pdb->f_dma = sg_dma_address(req_ctx->fixup_src); in set_rsa_pub_pdb()
430 pdb->g_dma = sg_dma_address(req->dst); in set_rsa_pub_pdb()
470 pdb->g_dma = sg_dma_address(req_ctx->fixup_src); in set_rsa_priv_f1_pdb()
478 pdb->f_dma = sg_dma_address(req->dst); in set_rsa_priv_f1_pdb()
535 pdb->g_dma = sg_dma_address(req_ctx->fixup_src); in set_rsa_priv_f2_pdb()
543 pdb->f_dma = sg_dma_address(req->dst); in set_rsa_priv_f2_pdb()
624 pdb->g_dma = sg_dma_address(req_ctx->fixup_src); in set_rsa_priv_f3_pdb()
632 pdb->f_dma = sg_dma_address(req->dst); in set_rsa_priv_f3_pdb()
Dsg_sw_sec4.h56 dma_to_sec4_sg_one(sec4_sg_ptr, sg_dma_address(sg), ent_len, in sg_to_sec4_sg()
/kernel/linux/linux-5.10/drivers/media/pci/cx25821/
Dcx25821-core.c1024 *(rp++) = cpu_to_le32(sg_dma_address(sg) + offset); in cx25821_risc_field()
1032 *(rp++) = cpu_to_le32(sg_dma_address(sg) + offset); in cx25821_risc_field()
1040 *(rp++) = cpu_to_le32(sg_dma_address(sg)); in cx25821_risc_field()
1046 *(rp++) = cpu_to_le32(sg_dma_address(sg)); in cx25821_risc_field()
1135 *(rp++) = cpu_to_le32(sg_dma_address(sg) + offset); in cx25821_risc_field_audio()
1143 *(rp++) = cpu_to_le32(sg_dma_address(sg) + offset); in cx25821_risc_field_audio()
1151 *(rp++) = cpu_to_le32(sg_dma_address(sg)); in cx25821_risc_field_audio()
1157 *(rp++) = cpu_to_le32(sg_dma_address(sg)); in cx25821_risc_field_audio()
/kernel/linux/linux-5.10/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()
550 buf->dma_addr = sg_dma_address(sgt->sgl); in vb2_dc_get_userptr()
611 buf->dma_addr = sg_dma_address(sgt->sgl); in vb2_dc_map_dmabuf()
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
Dbttv-risc.c81 *(rp++)=cpu_to_le32(sg_dma_address(sg)+offset); in bttv_risc_packed()
88 *(rp++)=cpu_to_le32(sg_dma_address(sg)+offset); in bttv_risc_packed()
95 *(rp++)=cpu_to_le32(sg_dma_address(sg)); in bttv_risc_packed()
101 *(rp++)=cpu_to_le32(sg_dma_address(sg)); in bttv_risc_packed()
212 *(rp++)=cpu_to_le32(sg_dma_address(ysg)+yoffset); in bttv_risc_planar()
215 *(rp++)=cpu_to_le32(sg_dma_address(usg)+uoffset); in bttv_risc_planar()
217 *(rp++)=cpu_to_le32(sg_dma_address(vsg)+voffset); in bttv_risc_planar()
/kernel/linux/linux-5.10/kernel/dma/
Dvirt.c46 sg_dma_address(sg) = (uintptr_t)sg_virt(sg); in dma_virt_map_sg()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_phys.c56 sg_dma_address(sg) = dma; in i915_gem_object_get_pages_phys()
96 dma_addr_t dma = sg_dma_address(pages->sgl); in i915_gem_object_put_pages_phys()

12345678910>>...15