/kernel/linux/linux-5.10/drivers/dma/ |
D | fsl-edma-common.c | 458 u32 src_addr, dst_addr, last_sg, nbytes; in fsl_edma_prep_dma_cyclic() local 494 last_sg = fsl_desc->tcd[(i + 1) % sg_len].ptcd; in fsl_edma_prep_dma_cyclic() 510 iter, doff, last_sg, true, false, true); in fsl_edma_prep_dma_cyclic() 526 u32 src_addr, dst_addr, last_sg, nbytes; in fsl_edma_prep_slave_sg() local 556 last_sg = fsl_desc->tcd[(i + 1) % sg_len].ptcd; in fsl_edma_prep_slave_sg() 572 last_sg = fsl_desc->tcd[(i + 1)].ptcd; in fsl_edma_prep_slave_sg() 575 nbytes, 0, iter, iter, doff, last_sg, in fsl_edma_prep_slave_sg() 578 last_sg = 0; in fsl_edma_prep_slave_sg() 581 nbytes, 0, iter, iter, doff, last_sg, in fsl_edma_prep_slave_sg()
|
D | tegra20-apb-dma.c | 153 bool last_sg; member 541 if (sgreq->last_sg) { in tegra_dma_abort_all() 594 if (sgreq->last_sg) { in handle_once_dma_done() 1144 sg_req->last_sg = false; in tegra_dma_prep_slave_sg() 1150 sg_req->last_sg = true; in tegra_dma_prep_slave_sg() 1279 sg_req->last_sg = false; in tegra_dma_prep_dma_cyclic() 1287 sg_req->last_sg = true; in tegra_dma_prep_dma_cyclic()
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | pci_iommu.c | 628 struct scatterlist *last_sg = sg; in sg_fill() local 647 last_sg - leader, SG_ENT_VIRT_ADDRESS(last_sg), in sg_fill() 648 last_sg->length, npages); in sg_fill() 649 while (++last_sg <= sg) { in sg_fill() 651 last_sg - leader, SG_ENT_VIRT_ADDRESS(last_sg), in sg_fill() 652 last_sg->length); in sg_fill()
|
/kernel/linux/linux-5.10/block/ |
D | blk-merge.c | 524 struct scatterlist *sglist, struct scatterlist **last_sg) in __blk_rq_map_sg() argument 529 nsegs = __blk_bvec_map_sg(rq->special_vec, sglist, last_sg); in __blk_rq_map_sg() 531 nsegs = __blk_bvec_map_sg(bio_iovec(rq->bio), sglist, last_sg); in __blk_rq_map_sg() 533 nsegs = __blk_bios_map_sg(q, rq->bio, sglist, last_sg); in __blk_rq_map_sg() 535 if (*last_sg) in __blk_rq_map_sg() 536 sg_mark_end(*last_sg); in __blk_rq_map_sg()
|
/kernel/linux/linux-5.10/drivers/crypto/chelsio/ |
D | chcr_crypto.h | 201 struct scatterlist *last_sg; member 209 struct scatterlist *last_sg; member
|
D | chcr_algo.c | 463 walk->last_sg = sg; in dsgl_walk_add_sg() 480 walk->last_sg = NULL; in ulptx_walk_init() 540 walk->last_sg = sg; in ulptx_walk_add_sg() 561 walk->last_sg = sg; in ulptx_walk_add_sg() 2748 reqctx->srcsg = ulp_walk.last_sg; in chcr_add_cipher_src_ent() 2770 reqctx->dstsg = dsgl_walk.last_sg; in chcr_add_cipher_dst_ent() 2800 reqctx->hctx_wr.srcsg = ulp_walk.last_sg; in chcr_add_hash_src_ent()
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-io.c | 236 struct scatterlist *sg = hwif->sg_table, *last_sg = NULL; in ide_map_sg() local 239 cmd->sg_nents = __blk_rq_map_sg(drive->queue, rq, sg, &last_sg); in ide_map_sg() 241 last_sg->length += in ide_map_sg()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | scsi_lib.c | 1011 struct scatterlist *last_sg = NULL; in scsi_alloc_sgtables() local 1037 count = __blk_rq_map_sg(rq->q, rq, cmd->sdb.table.sgl, &last_sg); in scsi_alloc_sgtables() 1043 last_sg->length += pad_len; in scsi_alloc_sgtables() 1048 sg_unmark_end(last_sg); in scsi_alloc_sgtables() 1049 last_sg = sg_next(last_sg); in scsi_alloc_sgtables() 1050 sg_set_buf(last_sg, sdev->dma_drain_buf, sdev->dma_drain_len); in scsi_alloc_sgtables() 1051 sg_mark_end(last_sg); in scsi_alloc_sgtables()
|
D | hpsa.c | 4583 int use_sg, i, sg_limit, chained, last_sg; in hpsa_scatter_gather() local 4605 last_sg = scsi_sg_count(cmd) - 1; in hpsa_scatter_gather()
|
/kernel/linux/linux-5.10/include/linux/ |
D | blkdev.h | 1227 struct scatterlist *sglist, struct scatterlist **last_sg); 1231 struct scatterlist *last_sg = NULL; in blk_rq_map_sg() local 1233 return __blk_rq_map_sg(q, rq, sglist, &last_sg); in blk_rq_map_sg()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0017_linux_drivers_dma_dmabuf.patch | 825 + u32 src_addr, dst_addr, last_sg, nbytes; 864 + last_sg = fsl_desc->tcd[(i + 1) % sg_len].ptcd; 893 + iter, iter, doff, last_sg, major_int, false, true); 910 + u32 src_addr, dst_addr, last_sg, nbytes; 925 + last_sg = fsl_desc->tcd[(i + 1) % sg_len].ptcd; 967 + last_sg = fsl_desc->tcd[(i + 1)].ptcd; 971 + last_sg, false, false, true); 973 + last_sg = 0; 977 + last_sg, true, true, false);
|
/kernel/linux/linux-5.10/drivers/usb/dwc3/ |
D | gadget.c | 1204 bool last_sg = false; in dwc3_prepare_trbs_sg() local 1218 last_sg = true; in dwc3_prepare_trbs_sg() 1223 if (last_sg) { in dwc3_prepare_trbs_sg() 1249 if (!last_sg) in dwc3_prepare_trbs_sg()
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-imx.c | 1367 struct scatterlist *last_sg = sg_last(rx->sgl, rx->nents); in spi_imx_dma_transfer() local 1374 if (!(sg_dma_len(last_sg) % (i * bytes_per_word))) in spi_imx_dma_transfer()
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | sata_mv.c | 1789 struct mv_sg *mv_sg, *last_sg = NULL; in mv_fill_sg() local 1812 last_sg = mv_sg; in mv_fill_sg() 1817 if (likely(last_sg)) in mv_fill_sg() 1818 last_sg->flags_size |= cpu_to_le32(EPRD_FLAG_END_OF_TBL); in mv_fill_sg()
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
D | pci.c | 567 const int last_sg = SGES_PER_PAGE - 1; in nvme_free_sgls() local 574 dma_addr_t next_dma_addr = le64_to_cpu((sg_list[last_sg]).addr); in nvme_free_sgls()
|