| /Linux-v5.4/drivers/i2c/busses/ |
| D | i2c-mxs.c | 157 dma_unmap_sg(i2c->dev, &i2c->sg_io[0], 1, DMA_TO_DEVICE); in mxs_i2c_dma_finish() 158 dma_unmap_sg(i2c->dev, &i2c->sg_io[1], 1, DMA_FROM_DEVICE); in mxs_i2c_dma_finish() 160 dma_unmap_sg(i2c->dev, i2c->sg_io, 2, DMA_TO_DEVICE); in mxs_i2c_dma_finish() 285 dma_unmap_sg(i2c->dev, &i2c->sg_io[1], 1, DMA_FROM_DEVICE); in mxs_i2c_dma_setup_xfer() 287 dma_unmap_sg(i2c->dev, &i2c->sg_io[0], 1, DMA_TO_DEVICE); in mxs_i2c_dma_setup_xfer() 294 dma_unmap_sg(i2c->dev, i2c->sg_io, 2, DMA_TO_DEVICE); in mxs_i2c_dma_setup_xfer()
|
| /Linux-v5.4/drivers/crypto/rockchip/ |
| D | rk3288_crypto.c | 109 dma_unmap_sg(dev->dev, sg_src, 1, in rk_load_data() 141 dma_unmap_sg(dev->dev, &dev->sg_tmp, 1, in rk_load_data() 157 dma_unmap_sg(dev->dev, sg_in, 1, DMA_TO_DEVICE); in rk_unload_data() 161 dma_unmap_sg(dev->dev, sg_out, 1, DMA_FROM_DEVICE); in rk_unload_data()
|
| /Linux-v5.4/drivers/crypto/hisilicon/ |
| D | sgl.c | 186 dma_unmap_sg(dev, sgl, sg_n, DMA_BIDIRECTIONAL); in hisi_acc_sg_buf_map_to_hw_sgl() 204 dma_unmap_sg(dev, sgl, sg_nents(sgl), DMA_BIDIRECTIONAL); in hisi_acc_sg_buf_unmap()
|
| /Linux-v5.4/Documentation/driver-api/mmc/ |
| D | mmc-async-req.rst | 19 dma_unmap_sg are processing. Using non-blocking MMC requests makes it 29 prepare (major part of preparations are dma_map_sg() and dma_unmap_sg()) 61 descriptor, and post_req() runs the dma_unmap_sg().
|
| /Linux-v5.4/drivers/crypto/qce/ |
| D | ablkcipher.c | 39 dma_unmap_sg(qce->dev, rctx->src_sg, rctx->src_nents, dir_src); in qce_ablkcipher_done() 40 dma_unmap_sg(qce->dev, rctx->dst_sg, rctx->dst_nents, dir_dst); in qce_ablkcipher_done() 144 dma_unmap_sg(qce->dev, req->src, rctx->src_nents, dir_src); in qce_ablkcipher_async_req_handle() 146 dma_unmap_sg(qce->dev, rctx->dst_sg, rctx->dst_nents, dir_dst); in qce_ablkcipher_async_req_handle()
|
| D | sha.c | 46 dma_unmap_sg(qce->dev, req->src, rctx->src_nents, DMA_TO_DEVICE); in qce_ahash_done() 47 dma_unmap_sg(qce->dev, &rctx->result_sg, 1, DMA_FROM_DEVICE); in qce_ahash_done() 118 dma_unmap_sg(qce->dev, &rctx->result_sg, 1, DMA_FROM_DEVICE); in qce_ahash_async_req_handle() 120 dma_unmap_sg(qce->dev, req->src, rctx->src_nents, DMA_TO_DEVICE); in qce_ahash_async_req_handle()
|
| /Linux-v5.4/drivers/crypto/ccree/ |
| D | cc_buffer_mgr.c | 398 dma_unmap_sg(dev, src, req_ctx->in_nents, DMA_BIDIRECTIONAL); in cc_unmap_cipher_request() 402 dma_unmap_sg(dev, dst, req_ctx->out_nents, DMA_BIDIRECTIONAL); in cc_unmap_cipher_request() 534 dma_unmap_sg(dev, &areq_ctx->ccm_adata_sg, 1, DMA_TO_DEVICE); in cc_unmap_aead_request() 558 dma_unmap_sg(dev, req->src, sg_nents(req->src), DMA_BIDIRECTIONAL); in cc_unmap_aead_request() 562 dma_unmap_sg(dev, req->dst, sg_nents(req->dst), in cc_unmap_aead_request() 1276 dma_unmap_sg(dev, src, areq_ctx->in_nents, DMA_TO_DEVICE); in cc_map_hash_request_final() 1280 dma_unmap_sg(dev, areq_ctx->buff_sg, 1, DMA_TO_DEVICE); in cc_map_hash_request_final() 1388 dma_unmap_sg(dev, src, areq_ctx->in_nents, DMA_TO_DEVICE); in cc_map_hash_request_update() 1392 dma_unmap_sg(dev, areq_ctx->buff_sg, 1, DMA_TO_DEVICE); in cc_map_hash_request_update() 1418 dma_unmap_sg(dev, src, in cc_unmap_hash_request() [all …]
|
| /Linux-v5.4/drivers/scsi/qla2xxx/ |
| D | qla_bsg.c | 38 dma_unmap_sg(&ha->pdev->dev, in qla2x00_bsg_sp_free() 43 dma_unmap_sg(&ha->pdev->dev, in qla2x00_bsg_sp_free() 47 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free() 50 dma_unmap_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, in qla2x00_bsg_sp_free() 340 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_process_els() 349 dma_unmap_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, in qla2x00_process_els() 400 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_process_els() 402 dma_unmap_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, in qla2x00_process_els() 550 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_process_ct() 552 dma_unmap_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, in qla2x00_process_ct() [all …]
|
| /Linux-v5.4/drivers/scsi/ |
| D | scsi_lib_dma.c | 48 dma_unmap_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_dma_unmap()
|
| /Linux-v5.4/drivers/crypto/cavium/nitrox/ |
| D | nitrox_reqmgr.c | 60 dma_unmap_sg(dev, sr->in.sg, sr->in.sgmap_cnt, DMA_BIDIRECTIONAL); in softreq_unmap_sgbufs() 67 dma_unmap_sg(dev, sr->out.sg, sr->out.sgmap_cnt, in softreq_unmap_sgbufs() 180 dma_unmap_sg(dev, req->src, nents, DMA_BIDIRECTIONAL); in dma_map_inbufs() 205 dma_unmap_sg(dev, req->dst, nents, DMA_BIDIRECTIONAL); in dma_map_outbufs()
|
| /Linux-v5.4/drivers/crypto/marvell/ |
| D | cipher.c | 62 dma_unmap_sg(cesa_dev->dev, req->dst, creq->dst_nents, in mv_cesa_skcipher_dma_cleanup() 64 dma_unmap_sg(cesa_dev->dev, req->src, creq->src_nents, in mv_cesa_skcipher_dma_cleanup() 67 dma_unmap_sg(cesa_dev->dev, req->src, creq->src_nents, in mv_cesa_skcipher_dma_cleanup() 384 dma_unmap_sg(cesa_dev->dev, req->dst, creq->dst_nents, in mv_cesa_skcipher_dma_req_init() 388 dma_unmap_sg(cesa_dev->dev, req->src, creq->src_nents, in mv_cesa_skcipher_dma_req_init()
|
| /Linux-v5.4/drivers/misc/mic/scif/ |
| D | scif_nodeqp.c | 419 dma_unmap_sg(&sdev->dev, p2p->ppi_sg[SCIF_PPI_MMIO], in scif_init_p2p_info() 435 dma_unmap_sg(&sdev->dev, p2p->ppi_sg[SCIF_PPI_MMIO], in scif_deinit_p2p_info() 437 dma_unmap_sg(&sdev->dev, p2p->ppi_sg[SCIF_PPI_APER], in scif_deinit_p2p_info() 1311 dma_unmap_sg(&scifdev->sdev->dev, p2p->ppi_sg[SCIF_PPI_MMIO], in scif_destroy_p2p() 1314 dma_unmap_sg(&scifdev->sdev->dev, p2p->ppi_sg[SCIF_PPI_APER], in scif_destroy_p2p() 1329 dma_unmap_sg(&peer_dev->sdev->dev, in scif_destroy_p2p() 1333 dma_unmap_sg(&peer_dev->sdev->dev, in scif_destroy_p2p()
|
| /Linux-v5.4/drivers/mmc/host/ |
| D | renesas_sdhi_internal_dmac.c | 215 dma_unmap_sg(&host->pdev->dev, sg, host->sg_len, mmc_get_dma_dir(data)); in renesas_sdhi_internal_dmac_start_dma() 248 dma_unmap_sg(&host->pdev->dev, host->sg_ptr, host->sg_len, dir); in renesas_sdhi_internal_dmac_complete_tasklet_fn()
|
| D | uniphier-sd.c | 101 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, in uniphier_sd_external_dma_callback() 165 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, in uniphier_sd_external_dma_start() 343 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, 1, priv->dma_dir); in uniphier_sd_internal_dma_dataend()
|
| /Linux-v5.4/drivers/scsi/aic94xx/ |
| D | aic94xx_task.c | 111 dma_unmap_sg(&asd_ha->pcidev->dev, task->scatter, in asd_map_scatterlist() 134 dma_unmap_sg(&asd_ha->pcidev->dev, task->scatter, in asd_unmap_scatterlist() 456 dma_unmap_sg(&a->ha->pcidev->dev, &task->smp_task.smp_req, 1, in asd_unbuild_smp_ascb() 458 dma_unmap_sg(&a->ha->pcidev->dev, &task->smp_task.smp_resp, 1, in asd_unbuild_smp_ascb()
|
| /Linux-v5.4/drivers/crypto/ |
| D | atmel-tdes.c | 325 dma_unmap_sg(dd->dev, dd->out_sg, 1, DMA_FROM_DEVICE); in atmel_tdes_crypt_pdc_stop() 326 dma_unmap_sg(dd->dev, dd->in_sg, 1, DMA_TO_DEVICE); in atmel_tdes_crypt_pdc_stop() 538 dma_unmap_sg(dd->dev, dd->in_sg, 1, in atmel_tdes_crypt_start() 567 dma_unmap_sg(dd->dev, dd->in_sg, 1, DMA_TO_DEVICE); in atmel_tdes_crypt_start() 568 dma_unmap_sg(dd->dev, dd->out_sg, 1, DMA_TO_DEVICE); in atmel_tdes_crypt_start() 650 dma_unmap_sg(dd->dev, dd->out_sg, 1, DMA_FROM_DEVICE); in atmel_tdes_crypt_dma_stop() 651 dma_unmap_sg(dd->dev, dd->in_sg, 1, DMA_TO_DEVICE); in atmel_tdes_crypt_dma_stop()
|
| D | omap-aes-gcm.c | 53 dma_unmap_sg(dd->dev, dd->in_sg, dd->in_sg_len, DMA_TO_DEVICE); in omap_aes_gcm_done_task() 54 dma_unmap_sg(dd->dev, dd->out_sg, dd->out_sg_len, DMA_FROM_DEVICE); in omap_aes_gcm_done_task()
|
| /Linux-v5.4/drivers/target/iscsi/cxgbit/ |
| D | cxgbit_ddp.c | 218 dma_unmap_sg(&ppm->pdev->dev, sgl, sgcnt, DMA_FROM_DEVICE); in cxgbit_ddp_reserve() 285 dma_unmap_sg(&ppm->pdev->dev, ttinfo->sgl, in cxgbit_unmap_cmd()
|
| /Linux-v5.4/drivers/media/common/videobuf2/ |
| D | videobuf2-vmalloc.c | 263 dma_unmap_sg(db_attach->dev, sgt->sgl, sgt->orig_nents, in vb2_vmalloc_dmabuf_ops_detach() 289 dma_unmap_sg(db_attach->dev, sgt->sgl, sgt->orig_nents, in vb2_vmalloc_dmabuf_ops_map()
|
| /Linux-v5.4/drivers/staging/kpc2000/kpc_dma/ |
| D | fileops.c | 189 dma_unmap_sg(&ldev->pldev->dev, acd->sgt.sgl, acd->sgt.nents, ldev->dir); in kpc_dma_transfer() 220 dma_unmap_sg(&acd->ldev->pldev->dev, acd->sgt.sgl, acd->sgt.nents, acd->ldev->dir); in transfer_complete_cb()
|
| /Linux-v5.4/include/linux/ |
| D | pci-dma-compat.h | 75 dma_unmap_sg(&hwdev->dev, sg, nents, (enum dma_data_direction)direction); in pci_unmap_sg()
|
| /Linux-v5.4/drivers/gpu/drm/i915/gem/selftests/ |
| D | mock_dmabuf.c | 49 dma_unmap_sg(attachment->dev, st->sgl, st->nents, dir); in mock_unmap_dma_buf()
|
| /Linux-v5.4/drivers/scsi/ibmvscsi_tgt/ |
| D | libsrp.c | 187 dma_unmap_sg(iue->target->dev, sg, nsg, DMA_BIDIRECTIONAL); in srp_direct_data() 259 dma_unmap_sg(iue->target->dev, sg, nsg, DMA_BIDIRECTIONAL); in srp_indirect_data()
|
| /Linux-v5.4/drivers/crypto/hisilicon/sec/ |
| D | sec_algs.c | 531 dma_unmap_sg(dev, skreq->src, sec_req->len_in, in sec_skcipher_alg_callback() 534 dma_unmap_sg(dev, skreq->dst, sec_req->len_out, in sec_skcipher_alg_callback() 605 dma_unmap_sg(dev, sgl, sgl_len_in, DMA_BIDIRECTIONAL); in sec_map_and_split_sg() 625 dma_unmap_sg(dev, sgl, sgl_len_in, DMA_BIDIRECTIONAL); in sec_unmap_sg_on_err()
|
| /Linux-v5.4/drivers/gpu/drm/panfrost/ |
| D | panfrost_gem.c | 28 dma_unmap_sg(pfdev->dev, bo->sgts[i].sgl, in panfrost_gem_free_object()
|