Home
last modified time | relevance | path

Searched refs:dma_map_sg (Results 1 – 25 of 177) sorted by relevance

12345678

/linux-6.1.9/Documentation/translations/zh_CN/openrisc/
Dtodo.rst19 - 实现其余的DMA API……dma_map_sg等。
/linux-6.1.9/Documentation/driver-api/mmc/
Dmmc-async-req.rst18 Using mmc_wait_for_req(), the MMC controller is idle while dma_map_sg and
29 prepare (major part of preparations are dma_map_sg() and dma_unmap_sg())
60 In the DMA case pre_req() may do dma_map_sg() and prepare the DMA
/linux-6.1.9/drivers/scsi/
Dscsi_lib_dma.c30 nseg = dma_map_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_dma_map()
/linux-6.1.9/drivers/crypto/gemini/
Dsl3516-ce-cipher.c150 nr_sgs = dma_map_sg(ce->dev, areq->src, sg_nents(areq->src), in sl3516_ce_cipher()
159 nr_sgs = dma_map_sg(ce->dev, areq->src, sg_nents(areq->src), in sl3516_ce_cipher()
166 nr_sgd = dma_map_sg(ce->dev, areq->dst, sg_nents(areq->dst), in sl3516_ce_cipher()
/linux-6.1.9/drivers/crypto/amlogic/
Damlogic-gxl-cipher.c178 nr_sgs = dma_map_sg(mc->dev, areq->src, sg_nents(areq->src), in meson_cipher()
187 nr_sgs = dma_map_sg(mc->dev, areq->src, sg_nents(areq->src), in meson_cipher()
194 nr_sgd = dma_map_sg(mc->dev, areq->dst, sg_nents(areq->dst), in meson_cipher()
/linux-6.1.9/Documentation/openrisc/
Dtodo.rst10 - Implement the rest of the DMA API... dma_map_sg, etc.
/linux-6.1.9/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-cipher.c210 nr_sgs = dma_map_sg(ce->dev, areq->src, ns, DMA_BIDIRECTIONAL); in sun8i_ce_cipher_prepare()
218 nr_sgs = dma_map_sg(ce->dev, areq->src, ns, DMA_TO_DEVICE); in sun8i_ce_cipher_prepare()
224 nr_sgd = dma_map_sg(ce->dev, areq->dst, nd, DMA_FROM_DEVICE); in sun8i_ce_cipher_prepare()
/linux-6.1.9/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-cipher.c226 nr_sgs = dma_map_sg(ss->dev, areq->src, nsgs, DMA_BIDIRECTIONAL); in sun8i_ss_cipher()
234 nr_sgs = dma_map_sg(ss->dev, areq->src, nsgs, DMA_TO_DEVICE); in sun8i_ss_cipher()
240 nr_sgd = dma_map_sg(ss->dev, areq->dst, nsgd, DMA_FROM_DEVICE); in sun8i_ss_cipher()
/linux-6.1.9/drivers/i2c/busses/
Di2c-mxs.c201 dma_map_sg(i2c->dev, &i2c->sg_io[0], 1, DMA_TO_DEVICE); in mxs_i2c_dma_setup_xfer()
230 dma_map_sg(i2c->dev, &i2c->sg_io[1], 1, DMA_FROM_DEVICE); in mxs_i2c_dma_setup_xfer()
263 dma_map_sg(i2c->dev, i2c->sg_io, 2, DMA_TO_DEVICE); in mxs_i2c_dma_setup_xfer()
/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_bsg.c365 dma_map_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_process_els()
374 rsp_sg_cnt = dma_map_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, in qla2x00_process_els()
470 dma_map_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_process_ct()
479 rsp_sg_cnt = dma_map_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, in qla2x00_process_ct()
762 elreq.req_sg_cnt = dma_map_sg(&ha->pdev->dev, in qla2x00_process_loopback()
772 elreq.rsp_sg_cnt = dma_map_sg(&ha->pdev->dev, in qla2x00_process_loopback()
1036 sg_cnt = dma_map_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla84xx_updatefw()
1158 sg_cnt = dma_map_sg(&ha->pdev->dev, in qla84xx_mgmt_cmd()
1208 sg_cnt = dma_map_sg(&ha->pdev->dev, in qla84xx_mgmt_cmd()
1890 req_sg_cnt = dma_map_sg(&ha->pdev->dev, in qla24xx_process_bidir_cmd()
[all …]
/linux-6.1.9/drivers/crypto/rockchip/
Drk3288_crypto_skcipher.c352 err = dma_map_sg(ctx->dev->dev, sgs, 1, DMA_BIDIRECTIONAL); in rk_cipher_run()
358 err = dma_map_sg(ctx->dev->dev, sgs, 1, DMA_TO_DEVICE); in rk_cipher_run()
363 err = dma_map_sg(ctx->dev->dev, sgd, 1, DMA_FROM_DEVICE); in rk_cipher_run()
/linux-6.1.9/drivers/scsi/aic94xx/
Daic94xx_task.c64 num_sg = dma_map_sg(&asd_ha->pcidev->dev, task->scatter, in asd_map_scatterlist()
420 dma_map_sg(&asd_ha->pcidev->dev, &task->smp_task.smp_req, 1, in asd_build_smp_ascb()
422 dma_map_sg(&asd_ha->pcidev->dev, &task->smp_task.smp_resp, 1, in asd_build_smp_ascb()
/linux-6.1.9/drivers/scsi/ibmvscsi_tgt/
Dlibsrp.c172 nsg = dma_map_sg(iue->target->dev, sg, cmd->se_cmd.t_data_nents, in srp_direct_data()
243 nsg = dma_map_sg(iue->target->dev, sg, cmd->se_cmd.t_data_nents, in srp_indirect_data()
/linux-6.1.9/scripts/coccinelle/tests/
Dunsigned_lesser_than_zero.cocci40 identifier f !~ "^(ata_id_queue_depth|btrfs_copy_from_user|dma_map_sg|dma_map_sg_attrs|fls|fls64|ga…
/linux-6.1.9/drivers/mmc/host/
Drenesas_sdhi_sys_dmac.c190 ret = dma_map_sg(chan->device->dev, sg, host->sg_len, DMA_FROM_DEVICE); in renesas_sdhi_sys_dmac_start_dma_rx()
267 ret = dma_map_sg(chan->device->dev, sg, host->sg_len, DMA_TO_DEVICE); in renesas_sdhi_sys_dmac_start_dma_tx()
Duniphier-sd.c142 sg_len = dma_map_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, in uniphier_sd_external_dma_start()
270 sg_len = dma_map_sg(mmc_dev(host->mmc), sg, 1, priv->dma_dir); in uniphier_sd_internal_dma_start()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dicm.c207 chunk->nsg = dma_map_sg(&dev->persist->pdev->dev, in mlx4_alloc_icm()
222 chunk->nsg = dma_map_sg(&dev->persist->pdev->dev, chunk->sg, in mlx4_alloc_icm()
/linux-6.1.9/drivers/crypto/marvell/cesa/
Dcipher.c327 ret = dma_map_sg(cesa_dev->dev, req->src, creq->src_nents, in mv_cesa_skcipher_dma_req_init()
332 ret = dma_map_sg(cesa_dev->dev, req->dst, creq->dst_nents, in mv_cesa_skcipher_dma_req_init()
339 ret = dma_map_sg(cesa_dev->dev, req->src, creq->src_nents, in mv_cesa_skcipher_dma_req_init()
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_memfree.c188 dma_map_sg(&dev->pdev->dev, chunk->mem, in mthca_alloc_icm()
208 chunk->nsg = dma_map_sg(&dev->pdev->dev, chunk->mem, in mthca_alloc_icm()
483 ret = dma_map_sg(&dev->pdev->dev, &db_tab->page[i].mem, 1, in mthca_map_user_db()
/linux-6.1.9/drivers/crypto/keembay/
Dkeembay-ocs-aes-core.c427 rctx->dst_dma_count = dma_map_sg(tctx->aes_dev->dev, req->dst, in kmb_ocs_sk_prepare_inplace()
462 rctx->src_dma_count = dma_map_sg(tctx->aes_dev->dev, req->src, in kmb_ocs_sk_prepare_notinplace()
477 rctx->dst_dma_count = dma_map_sg(tctx->aes_dev->dev, req->dst, in kmb_ocs_sk_prepare_notinplace()
793 rctx->dst_dma_count = dma_map_sg(tctx->aes_dev->dev, req->dst, in kmb_ocs_aead_dma_prepare()
854 rctx->src_dma_count = dma_map_sg(tctx->aes_dev->dev, req->src, in kmb_ocs_aead_dma_prepare()
/linux-6.1.9/kernel/dma/
DKconfig225 Perform extra checking that callers of dma_map_sg() have respected the
230 dma_map_sg() API is used for general bulk mapping of pages rather than
/linux-6.1.9/drivers/mtd/nand/
Decc-mxic.c575 nents = dma_map_sg(mxic->dev, ctx->sg, 2, DMA_BIDIRECTIONAL); in mxic_ecc_prepare_io_req_external()
632 nents = dma_map_sg(mxic->dev, ctx->sg, 2, DMA_BIDIRECTIONAL); in mxic_ecc_finish_io_req_external()
687 nents = dma_map_sg(mxic->dev, ctx->sg, 2, DMA_BIDIRECTIONAL); in mxic_ecc_prepare_io_req_pipelined()
/linux-6.1.9/drivers/crypto/qce/
Dskcipher.c126 dst_nents = dma_map_sg(qce->dev, rctx->dst_sg, rctx->dst_nents, dir_dst); in qce_skcipher_async_req_handle()
133 src_nents = dma_map_sg(qce->dev, req->src, rctx->src_nents, dir_src); in qce_skcipher_async_req_handle()
/linux-6.1.9/drivers/crypto/cavium/nitrox/
Dnitrox_reqmgr.c165 nents = dma_map_sg(dev, req->src, sg_nents(req->src), in dma_map_inbufs()
193 nents = dma_map_sg(dev, req->dst, sg_nents(req->dst), in dma_map_outbufs()
/linux-6.1.9/drivers/media/pci/ivtv/
Divtv-udma.c140 dma->SG_length = dma_map_sg(&itv->pdev->dev, dma->SGlist, in ivtv_udma_setup()

12345678