Home
last modified time | relevance | path

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

12345678910>>...15

/linux/drivers/parisc/
A 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()
/linux/drivers/net/ethernet/micrel/
A Dks8842.c552 sg_dma_address(sg) = dma_map_single(adapter->dev, in __ks8842_start_new_rx_dma()
556 sg_dma_address(sg) = 0; in __ks8842_start_new_rx_dma()
575 sg_dma_address(sg) = 0; in __ks8842_start_new_rx_dma()
581 if (sg_dma_address(sg)) in __ks8842_start_new_rx_dma()
584 sg_dma_address(sg) = 0; in __ks8842_start_new_rx_dma()
598 dma_addr_t addr = sg_dma_address(&ctl->sg); in ks8842_rx_frame_dma_tasklet()
874 if (sg_dma_address(&rx_ctl->sg)) in ks8842_stop_dma()
877 sg_dma_address(&rx_ctl->sg) = 0; in ks8842_stop_dma()
900 if (sg_dma_address(&tx_ctl->sg)) in ks8842_dealloc_dma_bufs()
903 sg_dma_address(&tx_ctl->sg) = 0; in ks8842_dealloc_dma_bufs()
[all …]
/linux/drivers/gpu/drm/i915/
A Di915_scatterlist.c31 sg_dma_address(new_sg) = sg_dma_address(sg); in i915_sg_trim()
88 sg_dma_address(sg) = region_start + offset; in i915_sg_from_mm_node()
164 sg_dma_address(sg) = region_start + offset; in i915_sg_from_buddy_resource()
/linux/drivers/media/pci/tw68/
A 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()
/linux/lib/
A 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()
/linux/drivers/scsi/qla2xxx/
A 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()
/linux/drivers/iommu/
A Ddma-iommu.c785 sg_dma_address(sg), in iommu_dma_sync_sg_for_device()
877 unsigned int s_iova_off = sg_dma_address(s); in __finalise_sg()
883 sg_dma_address(s) = DMA_MAPPING_ERROR; in __finalise_sg()
926 if (sg_dma_address(s) != DMA_MAPPING_ERROR) in __invalidate_sg()
927 s->offset += sg_dma_address(s); in __invalidate_sg()
930 sg_dma_address(s) = DMA_MAPPING_ERROR; in __invalidate_sg()
942 iommu_dma_unmap_page(dev, sg_dma_address(s), in iommu_dma_unmap_sg_swiotlb()
955 if (sg_dma_address(s) == DMA_MAPPING_ERROR) in iommu_dma_map_sg_swiotlb()
1011 sg_dma_address(s) = s_iova_off; in iommu_dma_map_sg()
1084 start = sg_dma_address(sg); in iommu_dma_unmap_sg()
[all …]
/linux/drivers/spi/
A Dspi-dw-dma.c529 sg_dma_address(&tx_tmp) = sg_dma_address(tx_sg); in dw_spi_dma_transfer_one()
536 sg_dma_address(&rx_tmp) = sg_dma_address(rx_sg); in dw_spi_dma_transfer_one()
572 sg_dma_address(&tx_tmp) += len; in dw_spi_dma_transfer_one()
573 sg_dma_address(&rx_tmp) += len; in dw_spi_dma_transfer_one()
A Dspi-bcm2835.c523 sg_dma_address(&tfr->rx_sg.sgl[0]), in bcm2835_spi_transfer_prologue()
526 sg_dma_address(&tfr->rx_sg.sgl[0]) += bs->rx_prologue; in bcm2835_spi_transfer_prologue()
549 sg_dma_address(&tfr->tx_sg.sgl[0]) += bs->tx_prologue; in bcm2835_spi_transfer_prologue()
553 sg_dma_address(&tfr->tx_sg.sgl[1]) += 4; in bcm2835_spi_transfer_prologue()
574 sg_dma_address(&tfr->rx_sg.sgl[0]) -= bs->rx_prologue; in bcm2835_spi_undo_prologue()
582 sg_dma_address(&tfr->tx_sg.sgl[0]) -= bs->tx_prologue; in bcm2835_spi_undo_prologue()
586 sg_dma_address(&tfr->tx_sg.sgl[1]) -= 4; in bcm2835_spi_undo_prologue()
/linux/drivers/i2c/busses/
A Di2c-at91-master.c147 dma_unmap_single(dev->dev, sg_dma_address(&dma->sg[0]), in at91_twi_dma_cleanup()
179 dma_unmap_single(dev->dev, sg_dma_address(&dev->dma.sg[0]), in at91_twi_write_data_dma_callback()
228 sg_dma_address(sg) = dma_addr; in at91_twi_write_data_dma()
235 sg_dma_address(sg) = dma_addr + part1_len; in at91_twi_write_data_dma()
248 sg_dma_address(&dma->sg[0]) = dma_addr; in at91_twi_write_data_dma()
321 dma_unmap_single(dev->dev, sg_dma_address(&dev->dma.sg[0]), in at91_twi_read_data_dma_callback()
368 sg_dma_address(&dma->sg[0]) = dma_addr; in at91_twi_read_data_dma()
/linux/drivers/hwtracing/intel_th/
A Dmsu-sink.c72 PAGE_SIZE, &sg_dma_address(sg_ptr), in msu_sink_alloc_window()
89 sg_virt(sg_ptr), sg_dma_address(sg_ptr)); in msu_sink_free_window()
/linux/drivers/crypto/rockchip/
A Drk3288_crypto.c103 dev->addr_in = sg_dma_address(sg_src); in rk_load_data()
114 dev->addr_out = sg_dma_address(sg_dst); in rk_load_data()
134 dev->addr_in = sg_dma_address(&dev->sg_tmp); in rk_load_data()
146 dev->addr_out = sg_dma_address(&dev->sg_tmp); in rk_load_data()
/linux/arch/powerpc/platforms/512x/
A 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()
/linux/include/rdma/
A Dib_umem.h58 return (sg_dma_address(umem->sgt_append.sgt.sgl) + ib_umem_offset(umem)) & in ib_umem_dma_offset()
134 dma_addr = sg_dma_address(sg) + (umem->address & ~PAGE_MASK); in ib_umem_find_best_pgoff()
/linux/drivers/crypto/ccree/
A Dcc_buffer_mgr.c170 rc = cc_render_buff_to_mlli(dev, sg_dma_address(curr_sgl) + in cc_render_sg_to_mlli()
295 &sg_dma_address(&areq_ctx->ccm_adata_sg), in cc_set_aead_conf_buf()
320 &sg_dma_address(areq_ctx->buff_sg), sg_page(areq_ctx->buff_sg), in cc_set_hash_buf()
662 areq_ctx->icv_dma_addr = sg_dma_address(sg) + offset; in cc_prepare_aead_data_dlli()
712 areq_ctx->icv_dma_addr = sg_dma_address(sg) + in cc_prepare_aead_data_mlli()
744 areq_ctx->icv_dma_addr = sg_dma_address(sg) + in cc_prepare_aead_data_mlli()
768 areq_ctx->icv_dma_addr = sg_dma_address(sg) + in cc_prepare_aead_data_mlli()
1341 sg_virt(src), &sg_dma_address(src), sg_dma_len(src)); in cc_unmap_hash_request()
1349 &sg_dma_address(areq_ctx->buff_sg), in cc_unmap_hash_request()
/linux/drivers/media/common/videobuf2/
A Dvideobuf2-dma-contig.c56 dma_addr_t expected = sg_dma_address(sgt->sgl); in vb2_dc_get_contiguous_size()
61 if (sg_dma_address(s) != expected) in vb2_dc_get_contiguous_size()
222 buf->dma_addr = sg_dma_address(buf->dma_sgt->sgl); in vb2_dc_alloc_non_coherent()
666 buf->dma_addr = sg_dma_address(sgt->sgl); in vb2_dc_get_userptr()
729 buf->dma_addr = sg_dma_address(sgt->sgl); in vb2_dc_map_dmabuf()
/linux/drivers/scsi/aic94xx/
A 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()
/linux/drivers/dma/
A 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()
/linux/drivers/crypto/caam/
A Dcaampkc.c423 pdb->f_dma = sg_dma_address(req_ctx->fixup_src); in set_rsa_pub_pdb()
431 pdb->g_dma = sg_dma_address(req->dst); in set_rsa_pub_pdb()
471 pdb->g_dma = sg_dma_address(req_ctx->fixup_src); in set_rsa_priv_f1_pdb()
479 pdb->f_dma = sg_dma_address(req->dst); in set_rsa_priv_f1_pdb()
536 pdb->g_dma = sg_dma_address(req_ctx->fixup_src); in set_rsa_priv_f2_pdb()
544 pdb->f_dma = sg_dma_address(req->dst); in set_rsa_priv_f2_pdb()
625 pdb->g_dma = sg_dma_address(req_ctx->fixup_src); in set_rsa_priv_f3_pdb()
633 pdb->f_dma = sg_dma_address(req->dst); in set_rsa_priv_f3_pdb()
/linux/drivers/media/pci/cx25821/
A 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()
/linux/drivers/target/iscsi/cxgbit/
A 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()
/linux/drivers/staging/media/tegra-vde/
A Ddmabuf-cache.c93 *addrp = sg_dma_address(entry->sgt->sgl); in tegra_vde_dmabuf_cache_map()
131 *addrp = sg_dma_address(sgt->sgl); in tegra_vde_dmabuf_cache_map()
/linux/drivers/media/pci/bt8xx/
A 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()
/linux/drivers/infiniband/core/
A Dumem_dmabuf.c46 sg_dma_address(sg) += offset; in ib_umem_dmabuf_map_pages()
88 sg_dma_address(umem_dmabuf->first_sg) -= in ib_umem_dmabuf_unmap_pages()
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_phys.c55 sg_dma_address(sg) = dma; in i915_gem_object_get_pages_phys()
97 dma_addr_t dma = sg_dma_address(pages->sgl); in i915_gem_object_put_pages_phys()

Completed in 40 milliseconds

12345678910>>...15