Home
last modified time | relevance | path

Searched refs:last_sg (Results 1 – 7 of 7) sorted by relevance

/drivers/dma/
Dfsl-edma-common.c451 u32 src_addr, dst_addr, last_sg, nbytes; in fsl_edma_prep_dma_cyclic() local
487 last_sg = fsl_desc->tcd[(i + 1) % sg_len].ptcd; in fsl_edma_prep_dma_cyclic()
503 iter, doff, last_sg, true, false, true); in fsl_edma_prep_dma_cyclic()
519 u32 src_addr, dst_addr, last_sg, nbytes; in fsl_edma_prep_slave_sg() local
549 last_sg = fsl_desc->tcd[(i + 1) % sg_len].ptcd; in fsl_edma_prep_slave_sg()
565 last_sg = fsl_desc->tcd[(i + 1)].ptcd; in fsl_edma_prep_slave_sg()
568 nbytes, 0, iter, iter, doff, last_sg, in fsl_edma_prep_slave_sg()
571 last_sg = 0; in fsl_edma_prep_slave_sg()
574 nbytes, 0, iter, iter, doff, last_sg, in fsl_edma_prep_slave_sg()
Dtegra20-apb-dma.c152 bool last_sg; member
551 if (sgreq->last_sg) { in tegra_dma_abort_all()
608 if (sgreq->last_sg) { in handle_once_dma_done()
1099 sg_req->last_sg = false; in tegra_dma_prep_slave_sg()
1105 sg_req->last_sg = true; in tegra_dma_prep_slave_sg()
1233 sg_req->last_sg = false; in tegra_dma_prep_dma_cyclic()
1241 sg_req->last_sg = true; in tegra_dma_prep_dma_cyclic()
/drivers/crypto/chelsio/
Dchcr_crypto.h199 struct scatterlist *last_sg; member
207 struct scatterlist *last_sg; member
Dchcr_algo.c464 walk->last_sg = sg; in dsgl_walk_add_sg()
481 walk->last_sg = NULL; in ulptx_walk_init()
541 walk->last_sg = sg; in ulptx_walk_add_sg()
562 walk->last_sg = sg; in ulptx_walk_add_sg()
2596 reqctx->srcsg = ulp_walk.last_sg; in chcr_add_cipher_src_ent()
2615 reqctx->dstsg = dsgl_walk.last_sg; in chcr_add_cipher_dst_ent()
2646 reqctx->hctx_wr.srcsg = ulp_walk.last_sg; in chcr_add_hash_src_ent()
/drivers/spi/
Dspi-imx.c1341 struct scatterlist *last_sg = sg_last(rx->sgl, rx->nents); in spi_imx_dma_transfer() local
1348 if (!(sg_dma_len(last_sg) % (i * bytes_per_word))) in spi_imx_dma_transfer()
/drivers/ata/
Dsata_mv.c1789 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()
/drivers/scsi/
Dhpsa.c4549 int use_sg, i, sg_limit, chained, last_sg; in hpsa_scatter_gather() local
4571 last_sg = scsi_sg_count(cmd) - 1; in hpsa_scatter_gather()