Home
last modified time | relevance | path

Searched refs:dma_unmap_sg (Results 1 – 25 of 176) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/crypto/hisilicon/
Dsgl.c218 dma_unmap_sg(dev, sgl, sg_n, DMA_BIDIRECTIONAL); in hisi_acc_sg_buf_map_to_hw_sgl()
224 dma_unmap_sg(dev, sgl, sg_n, DMA_BIDIRECTIONAL); in hisi_acc_sg_buf_map_to_hw_sgl()
260 dma_unmap_sg(dev, sgl, sg_nents(sgl), DMA_BIDIRECTIONAL); in hisi_acc_sg_buf_unmap()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-mxs.c158 dma_unmap_sg(i2c->dev, &i2c->sg_io[0], 1, DMA_TO_DEVICE); in mxs_i2c_dma_finish()
159 dma_unmap_sg(i2c->dev, &i2c->sg_io[1], 1, DMA_FROM_DEVICE); in mxs_i2c_dma_finish()
161 dma_unmap_sg(i2c->dev, i2c->sg_io, 2, DMA_TO_DEVICE); in mxs_i2c_dma_finish()
289 dma_unmap_sg(i2c->dev, &i2c->sg_io[1], 1, DMA_FROM_DEVICE); in mxs_i2c_dma_setup_xfer()
291 dma_unmap_sg(i2c->dev, &i2c->sg_io[0], 1, DMA_TO_DEVICE); in mxs_i2c_dma_setup_xfer()
298 dma_unmap_sg(i2c->dev, i2c->sg_io, 2, DMA_TO_DEVICE); in mxs_i2c_dma_setup_xfer()
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-cipher.c244 dma_unmap_sg(ce->dev, areq->src, nr_sgs, DMA_BIDIRECTIONAL); in sun8i_ce_cipher_prepare()
247 dma_unmap_sg(ce->dev, areq->src, nr_sgs, DMA_TO_DEVICE); in sun8i_ce_cipher_prepare()
248 dma_unmap_sg(ce->dev, areq->dst, nr_sgd, DMA_FROM_DEVICE); in sun8i_ce_cipher_prepare()
310 dma_unmap_sg(ce->dev, areq->src, nr_sgs, DMA_BIDIRECTIONAL); in sun8i_ce_cipher_unprepare()
313 dma_unmap_sg(ce->dev, areq->src, nr_sgs, DMA_TO_DEVICE); in sun8i_ce_cipher_unprepare()
314 dma_unmap_sg(ce->dev, areq->dst, nr_sgd, DMA_FROM_DEVICE); in sun8i_ce_cipher_unprepare()
/kernel/linux/linux-5.10/drivers/crypto/rockchip/
Drk3288_crypto_skcipher.c391 dma_unmap_sg(ctx->dev->dev, sgs, 1, DMA_BIDIRECTIONAL); in rk_cipher_run()
393 dma_unmap_sg(ctx->dev->dev, sgs, 1, DMA_TO_DEVICE); in rk_cipher_run()
394 dma_unmap_sg(ctx->dev->dev, sgd, 1, DMA_FROM_DEVICE); in rk_cipher_run()
427 dma_unmap_sg(ctx->dev->dev, sgs, 1, DMA_BIDIRECTIONAL); in rk_cipher_run()
429 dma_unmap_sg(ctx->dev->dev, sgs, 1, DMA_TO_DEVICE); in rk_cipher_run()
430 dma_unmap_sg(ctx->dev->dev, sgd, 1, DMA_FROM_DEVICE); in rk_cipher_run()
/kernel/linux/linux-5.10/drivers/crypto/ccree/
Dcc_buffer_mgr.c360 dma_unmap_sg(dev, src, req_ctx->in_nents, DMA_TO_DEVICE); in cc_unmap_cipher_request()
361 dma_unmap_sg(dev, dst, req_ctx->out_nents, DMA_FROM_DEVICE); in cc_unmap_cipher_request()
365 dma_unmap_sg(dev, src, req_ctx->in_nents, DMA_BIDIRECTIONAL); in cc_unmap_cipher_request()
497 dma_unmap_sg(dev, &areq_ctx->ccm_adata_sg, 1, DMA_TO_DEVICE); in cc_unmap_aead_request()
521 dma_unmap_sg(dev, req->src, areq_ctx->src.mapped_nents, src_direction); in cc_unmap_aead_request()
525 dma_unmap_sg(dev, req->dst, areq_ctx->dst.mapped_nents, DMA_FROM_DEVICE); in cc_unmap_aead_request()
1211 dma_unmap_sg(dev, src, areq_ctx->in_nents, DMA_TO_DEVICE); in cc_map_hash_request_final()
1215 dma_unmap_sg(dev, areq_ctx->buff_sg, 1, DMA_TO_DEVICE); in cc_map_hash_request_final()
1322 dma_unmap_sg(dev, src, areq_ctx->in_nents, DMA_TO_DEVICE); in cc_map_hash_request_update()
1326 dma_unmap_sg(dev, areq_ctx->buff_sg, 1, DMA_TO_DEVICE); in cc_map_hash_request_update()
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/mmc/
Dmmc-async-req.rst19 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().
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_bsg.c46 dma_unmap_sg(&ha->pdev->dev, in qla2x00_bsg_sp_free()
51 dma_unmap_sg(&ha->pdev->dev, in qla2x00_bsg_sp_free()
55 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free()
58 dma_unmap_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, in qla2x00_bsg_sp_free()
350 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_process_els()
359 dma_unmap_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, in qla2x00_process_els()
410 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_process_els()
412 dma_unmap_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, in qla2x00_process_els()
560 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_process_ct()
562 dma_unmap_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, in qla2x00_process_ct()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_lib_dma.c48 dma_unmap_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_dma_unmap()
/kernel/linux/linux-5.10/drivers/crypto/qce/
Dskcipher.c49 dma_unmap_sg(qce->dev, rctx->src_sg, rctx->src_nents, dir_src); in qce_skcipher_done()
50 dma_unmap_sg(qce->dev, rctx->dst_sg, rctx->dst_nents, dir_dst); in qce_skcipher_done()
161 dma_unmap_sg(qce->dev, req->src, rctx->src_nents, dir_src); in qce_skcipher_async_req_handle()
163 dma_unmap_sg(qce->dev, rctx->dst_sg, rctx->dst_nents, dir_dst); in qce_skcipher_async_req_handle()
Dsha.c47 dma_unmap_sg(qce->dev, req->src, rctx->src_nents, DMA_TO_DEVICE); in qce_ahash_done()
48 dma_unmap_sg(qce->dev, &rctx->result_sg, 1, DMA_FROM_DEVICE); in qce_ahash_done()
119 dma_unmap_sg(qce->dev, &rctx->result_sg, 1, DMA_FROM_DEVICE); in qce_ahash_async_req_handle()
121 dma_unmap_sg(qce->dev, req->src, rctx->src_nents, DMA_TO_DEVICE); in qce_ahash_async_req_handle()
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/
Dnitrox_reqmgr.c60 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()
/kernel/linux/linux-5.10/drivers/crypto/marvell/cesa/
Dcipher.c64 dma_unmap_sg(cesa_dev->dev, req->dst, creq->dst_nents, in mv_cesa_skcipher_dma_cleanup()
66 dma_unmap_sg(cesa_dev->dev, req->src, creq->src_nents, in mv_cesa_skcipher_dma_cleanup()
69 dma_unmap_sg(cesa_dev->dev, req->src, creq->src_nents, in mv_cesa_skcipher_dma_cleanup()
386 dma_unmap_sg(cesa_dev->dev, req->dst, creq->dst_nents, in mv_cesa_skcipher_dma_req_init()
390 dma_unmap_sg(cesa_dev->dev, req->src, creq->src_nents, in mv_cesa_skcipher_dma_req_init()
/kernel/linux/linux-5.10/drivers/crypto/amlogic/
Damlogic-gxl-cipher.c239 dma_unmap_sg(mc->dev, areq->src, nr_sgs, DMA_BIDIRECTIONAL); in meson_cipher()
241 dma_unmap_sg(mc->dev, areq->src, nr_sgs, DMA_TO_DEVICE); in meson_cipher()
242 dma_unmap_sg(mc->dev, areq->dst, nr_sgd, DMA_FROM_DEVICE); in meson_cipher()
/kernel/linux/linux-5.10/drivers/mmc/host/
Drenesas_sdhi_internal_dmac.c215 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()
Duniphier-sd.c100 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, in uniphier_sd_external_dma_callback()
164 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, in uniphier_sd_external_dma_start()
342 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, 1, priv->dma_dir); in uniphier_sd_internal_dma_dataend()
Drenesas_sdhi_sys_dmac.c134 dma_unmap_sg(host->chan_rx->device->dev, in renesas_sdhi_sys_dmac_dma_callback()
138 dma_unmap_sg(host->chan_tx->device->dev, in renesas_sdhi_sys_dmac_dma_callback()
/kernel/linux/linux-5.10/drivers/crypto/
Datmel-tdes.c312 dma_unmap_sg(dd->dev, dd->out_sg, 1, DMA_FROM_DEVICE); in atmel_tdes_crypt_pdc_stop()
313 dma_unmap_sg(dd->dev, dd->in_sg, 1, DMA_TO_DEVICE); in atmel_tdes_crypt_pdc_stop()
531 dma_unmap_sg(dd->dev, dd->in_sg, 1, in atmel_tdes_crypt_start()
560 dma_unmap_sg(dd->dev, dd->in_sg, 1, DMA_TO_DEVICE); in atmel_tdes_crypt_start()
561 dma_unmap_sg(dd->dev, dd->out_sg, 1, DMA_TO_DEVICE); in atmel_tdes_crypt_start()
671 dma_unmap_sg(dd->dev, dd->out_sg, 1, DMA_FROM_DEVICE); in atmel_tdes_crypt_dma_stop()
672 dma_unmap_sg(dd->dev, dd->in_sg, 1, DMA_TO_DEVICE); in atmel_tdes_crypt_dma_stop()
Domap-aes-gcm.c56 dma_unmap_sg(dd->dev, dd->in_sg, dd->in_sg_len, DMA_TO_DEVICE); in omap_aes_gcm_done_task()
57 dma_unmap_sg(dd->dev, dd->out_sg, dd->out_sg_len, DMA_FROM_DEVICE); in omap_aes_gcm_done_task()
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/
Daic94xx_task.c111 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()
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-cipher.c278 dma_unmap_sg(ss->dev, areq->src, nr_sgs, DMA_BIDIRECTIONAL); in sun8i_ss_cipher()
280 dma_unmap_sg(ss->dev, areq->src, nr_sgs, DMA_TO_DEVICE); in sun8i_ss_cipher()
281 dma_unmap_sg(ss->dev, areq->dst, nr_sgd, DMA_FROM_DEVICE); in sun8i_ss_cipher()
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
Dcxgbit_ddp.c218 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()
/kernel/linux/linux-5.10/drivers/staging/kpc2000/kpc_dma/
Dfileops.c193 dma_unmap_sg(&ldev->pldev->dev, acd->sgt.sgl, acd->sgt.nents, ldev->dir); in kpc_dma_transfer()
217 dma_unmap_sg(&acd->ldev->pldev->dev, acd->sgt.sgl, acd->sgt.nents, acd->ldev->dir); in transfer_complete_cb()
/kernel/linux/linux-5.10/include/linux/
Dpci-dma-compat.h75 dma_unmap_sg(&hwdev->dev, sg, nents, (enum dma_data_direction)direction); in pci_unmap_sg()
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_2835_arm.c287 dma_unmap_sg(g_dev, pagelistinfo->scatterlist, in cleanup_pagelistinfo()
512 dma_unmap_sg(g_dev, pagelistinfo->scatterlist, in free_pagelist()
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi_tgt/
Dlibsrp.c187 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()

12345678