dma_map_sg 5054 drivers/ata/libata-core.c n_elem = dma_map_sg(ap->dev, qc->sg, qc->n_elem, qc->dma_dir); dma_map_sg 2071 drivers/block/mtip32xx/mtip32xx.c nents = dma_map_sg(&dd->pdev->dev, command->sg, nents, dma_dir); dma_map_sg 640 drivers/block/skd_main.c n_sg = dma_map_sg(&skdev->pdev->dev, sgl, n_sg, skreq->data_dir); dma_map_sg 732 drivers/block/sx8.c n_elem = dma_map_sg(&host->pdev->dev, sg, n_elem, carm_rq_dir(rq)); dma_map_sg 729 drivers/crypto/atmel-aes.c dd->src.sg_len = dma_map_sg(dd->dev, dd->src.sg, dd->src.nents, dma_map_sg 735 drivers/crypto/atmel-aes.c dd->src.sg_len = dma_map_sg(dd->dev, dd->src.sg, dd->src.nents, dma_map_sg 740 drivers/crypto/atmel-aes.c dd->dst.sg_len = dma_map_sg(dd->dev, dd->dst.sg, dd->dst.nents, dma_map_sg 827 drivers/crypto/atmel-sha.c if (!dma_map_sg(dd->dev, ctx->sg, 1, dma_map_sg 842 drivers/crypto/atmel-sha.c if (!dma_map_sg(dd->dev, ctx->sg, 1, DMA_TO_DEVICE)) { dma_map_sg 1528 drivers/crypto/atmel-sha.c sg_len = dma_map_sg(dd->dev, dma->sg, dma->nents, DMA_TO_DEVICE); dma_map_sg 528 drivers/crypto/atmel-tdes.c err = dma_map_sg(dd->dev, dd->in_sg, 1, DMA_TO_DEVICE); dma_map_sg 534 drivers/crypto/atmel-tdes.c err = dma_map_sg(dd->dev, dd->out_sg, 1, dma_map_sg 1366 drivers/crypto/caam/caamalg.c mapped_src_nents = dma_map_sg(jrdev, req->src, src_nents, dma_map_sg 1375 drivers/crypto/caam/caamalg.c mapped_src_nents = dma_map_sg(jrdev, req->src, dma_map_sg 1387 drivers/crypto/caam/caamalg.c mapped_dst_nents = dma_map_sg(jrdev, req->dst, dma_map_sg 1711 drivers/crypto/caam/caamalg.c mapped_src_nents = dma_map_sg(jrdev, req->src, src_nents, dma_map_sg 1718 drivers/crypto/caam/caamalg.c mapped_src_nents = dma_map_sg(jrdev, req->src, src_nents, dma_map_sg 1724 drivers/crypto/caam/caamalg.c mapped_dst_nents = dma_map_sg(jrdev, req->dst, dst_nents, dma_map_sg 982 drivers/crypto/caam/caamalg_qi.c mapped_src_nents = dma_map_sg(qidev, req->src, src_nents, dma_map_sg 1010 drivers/crypto/caam/caamalg_qi.c mapped_src_nents = dma_map_sg(qidev, req->src, dma_map_sg 1022 drivers/crypto/caam/caamalg_qi.c mapped_dst_nents = dma_map_sg(qidev, req->dst, dma_map_sg 1282 drivers/crypto/caam/caamalg_qi.c mapped_src_nents = dma_map_sg(qidev, req->src, src_nents, dma_map_sg 1289 drivers/crypto/caam/caamalg_qi.c mapped_dst_nents = dma_map_sg(qidev, req->dst, dst_nents, dma_map_sg 1297 drivers/crypto/caam/caamalg_qi.c mapped_src_nents = dma_map_sg(qidev, req->src, src_nents, dma_map_sg 398 drivers/crypto/caam/caamalg_qi2.c mapped_src_nents = dma_map_sg(dev, req->src, src_nents, dma_map_sg 410 drivers/crypto/caam/caamalg_qi2.c mapped_dst_nents = dma_map_sg(dev, req->dst, dst_nents, dma_map_sg 434 drivers/crypto/caam/caamalg_qi2.c mapped_src_nents = dma_map_sg(dev, req->src, src_nents, dma_map_sg 1149 drivers/crypto/caam/caamalg_qi2.c mapped_src_nents = dma_map_sg(dev, req->src, src_nents, dma_map_sg 1156 drivers/crypto/caam/caamalg_qi2.c mapped_dst_nents = dma_map_sg(dev, req->dst, dst_nents, dma_map_sg 1164 drivers/crypto/caam/caamalg_qi2.c mapped_src_nents = dma_map_sg(dev, req->src, src_nents, dma_map_sg 3491 drivers/crypto/caam/caamalg_qi2.c mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, dma_map_sg 3681 drivers/crypto/caam/caamalg_qi2.c mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, dma_map_sg 3774 drivers/crypto/caam/caamalg_qi2.c mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, dma_map_sg 3951 drivers/crypto/caam/caamalg_qi2.c mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, dma_map_sg 4072 drivers/crypto/caam/caamalg_qi2.c mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, dma_map_sg 4176 drivers/crypto/caam/caamalg_qi2.c mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, dma_map_sg 826 drivers/crypto/caam/caamhash.c mapped_nents = dma_map_sg(jrdev, req->src, src_nents, dma_map_sg 1009 drivers/crypto/caam/caamhash.c mapped_nents = dma_map_sg(jrdev, req->src, src_nents, dma_map_sg 1089 drivers/crypto/caam/caamhash.c mapped_nents = dma_map_sg(jrdev, req->src, src_nents, dma_map_sg 1246 drivers/crypto/caam/caamhash.c mapped_nents = dma_map_sg(jrdev, req->src, src_nents, dma_map_sg 1359 drivers/crypto/caam/caamhash.c mapped_nents = dma_map_sg(jrdev, req->src, src_nents, dma_map_sg 1463 drivers/crypto/caam/caamhash.c mapped_nents = dma_map_sg(jrdev, req->src, src_nents, dma_map_sg 306 drivers/crypto/caam/caampkc.c sgc = dma_map_sg(dev, req_ctx->fixup_src, src_nents, DMA_TO_DEVICE); dma_map_sg 312 drivers/crypto/caam/caampkc.c sgc = dma_map_sg(dev, req->dst, dst_nents, DMA_FROM_DEVICE); dma_map_sg 163 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c nents = dma_map_sg(dev, req->src, sg_nents(req->src), dma_map_sg 191 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c nents = dma_map_sg(dev, req->dst, sg_nents(req->dst), dma_map_sg 97 drivers/crypto/ccp/ccp-ops.c wa->dma_count = dma_map_sg(dev, sg, wa->nents, dma_dir); dma_map_sg 306 drivers/crypto/ccree/cc_buffer_mgr.c ret = dma_map_sg(dev, sg, *nents, direction); dma_map_sg 327 drivers/crypto/ccree/cc_buffer_mgr.c if (dma_map_sg(dev, &areq_ctx->ccm_adata_sg, 1, DMA_TO_DEVICE) != 1) { dma_map_sg 352 drivers/crypto/ccree/cc_buffer_mgr.c if (dma_map_sg(dev, areq_ctx->buff_sg, 1, DMA_TO_DEVICE) != 1) { dma_map_sg 2483 drivers/crypto/chelsio/chcr_algo.c error = dma_map_sg(dev, req->src, sg_nents(req->src), dma_map_sg 2488 drivers/crypto/chelsio/chcr_algo.c error = dma_map_sg(dev, req->src, sg_nents(req->src), dma_map_sg 2492 drivers/crypto/chelsio/chcr_algo.c error = dma_map_sg(dev, req->dst, sg_nents(req->dst), dma_map_sg 2660 drivers/crypto/chelsio/chcr_algo.c error = dma_map_sg(dev, req->src, sg_nents(req->src), dma_map_sg 2688 drivers/crypto/chelsio/chcr_algo.c error = dma_map_sg(dev, req->src, sg_nents(req->src), dma_map_sg 2693 drivers/crypto/chelsio/chcr_algo.c error = dma_map_sg(dev, req->src, sg_nents(req->src), dma_map_sg 2697 drivers/crypto/chelsio/chcr_algo.c error = dma_map_sg(dev, req->dst, sg_nents(req->dst), dma_map_sg 575 drivers/crypto/hisilicon/sec/sec_algs.c count = dma_map_sg(dev, sgl, sgl_len_in, DMA_BIDIRECTIONAL); dma_map_sg 162 drivers/crypto/hisilicon/sgl.c ret = dma_map_sg(dev, sgl, sg_n, DMA_BIDIRECTIONAL); dma_map_sg 226 drivers/crypto/img-hash.c ctx->dma_ct = dma_map_sg(hdev->dev, sg, 1, DMA_TO_DEVICE); dma_map_sg 619 drivers/crypto/inside-secure/safexcel_cipher.c dma_map_sg(priv->dev, src, sreq->nr_src, DMA_BIDIRECTIONAL); dma_map_sg 626 drivers/crypto/inside-secure/safexcel_cipher.c dma_map_sg(priv->dev, src, sreq->nr_src, DMA_TO_DEVICE); dma_map_sg 635 drivers/crypto/inside-secure/safexcel_cipher.c dma_map_sg(priv->dev, dst, sreq->nr_dst, DMA_FROM_DEVICE); dma_map_sg 327 drivers/crypto/inside-secure/safexcel_hash.c req->nents = dma_map_sg(priv->dev, areq->src, dma_map_sg 317 drivers/crypto/marvell/cipher.c ret = dma_map_sg(cesa_dev->dev, req->src, creq->src_nents, dma_map_sg 322 drivers/crypto/marvell/cipher.c ret = dma_map_sg(cesa_dev->dev, req->dst, creq->dst_nents, dma_map_sg 329 drivers/crypto/marvell/cipher.c ret = dma_map_sg(cesa_dev->dev, req->src, creq->src_nents, dma_map_sg 614 drivers/crypto/marvell/hash.c ret = dma_map_sg(cesa_dev->dev, req->src, creq->src_nents, dma_map_sg 384 drivers/crypto/mediatek/mtk-aes.c aes->src.sg_len = dma_map_sg(cryp->dev, aes->src.sg, dma_map_sg 391 drivers/crypto/mediatek/mtk-aes.c aes->src.sg_len = dma_map_sg(cryp->dev, aes->src.sg, dma_map_sg 396 drivers/crypto/mediatek/mtk-aes.c aes->dst.sg_len = dma_map_sg(cryp->dev, aes->dst.sg, dma_map_sg 580 drivers/crypto/mediatek/mtk-sha.c if (!dma_map_sg(cryp->dev, ctx->sg, 1, DMA_TO_DEVICE)) { dma_map_sg 591 drivers/crypto/mediatek/mtk-sha.c if (!dma_map_sg(cryp->dev, ctx->sg, 1, DMA_TO_DEVICE)) { dma_map_sg 357 drivers/crypto/omap-aes.c err = dma_map_sg(dd->dev, dd->in_sg, dd->in_sg_len, dma_map_sg 364 drivers/crypto/omap-aes.c err = dma_map_sg(dd->dev, dd->out_sg, dd->out_sg_len, dma_map_sg 466 drivers/crypto/omap-des.c err = dma_map_sg(dd->dev, dd->in_sg, dd->in_sg_len, dma_map_sg 473 drivers/crypto/omap-des.c err = dma_map_sg(dd->dev, dd->out_sg, dd->out_sg_len, dma_map_sg 593 drivers/crypto/omap-sham.c if (!dma_map_sg(dd->dev, ctx->sg, ctx->sg_len, DMA_TO_DEVICE)) { dma_map_sg 290 drivers/crypto/picoxcell_crypto.c mapped_ents = dma_map_sg(engine->dev, payload, nents, dir); dma_map_sg 356 drivers/crypto/picoxcell_crypto.c src_ents = dma_map_sg(engine->dev, areq->src, src_nents, dma_map_sg 361 drivers/crypto/picoxcell_crypto.c dst_ents = dma_map_sg(engine->dev, areq->dst, dst_nents, dma_map_sg 370 drivers/crypto/picoxcell_crypto.c src_ents = dma_map_sg(engine->dev, areq->src, src_nents, dma_map_sg 113 drivers/crypto/qce/ablkcipher.c ret = dma_map_sg(qce->dev, rctx->dst_sg, rctx->dst_nents, dir_dst); dma_map_sg 118 drivers/crypto/qce/ablkcipher.c ret = dma_map_sg(qce->dev, req->src, rctx->src_nents, dir_src); dma_map_sg 92 drivers/crypto/qce/sha.c ret = dma_map_sg(qce->dev, req->src, rctx->src_nents, DMA_TO_DEVICE); dma_map_sg 98 drivers/crypto/qce/sha.c ret = dma_map_sg(qce->dev, &rctx->result_sg, 1, DMA_FROM_DEVICE); dma_map_sg 97 drivers/crypto/rockchip/rk3288_crypto.c if (!dma_map_sg(dev->dev, sg_src, 1, DMA_TO_DEVICE)) { dma_map_sg 105 drivers/crypto/rockchip/rk3288_crypto.c if (!dma_map_sg(dev->dev, sg_dst, 1, DMA_FROM_DEVICE)) { dma_map_sg 128 drivers/crypto/rockchip/rk3288_crypto.c if (!dma_map_sg(dev->dev, &dev->sg_tmp, 1, DMA_TO_DEVICE)) { dma_map_sg 136 drivers/crypto/rockchip/rk3288_crypto.c if (!dma_map_sg(dev->dev, &dev->sg_tmp, 1, dma_map_sg 547 drivers/crypto/s5p-sss.c if (!dma_map_sg(dev->dev, sg, 1, DMA_FROM_DEVICE)) dma_map_sg 560 drivers/crypto/s5p-sss.c if (!dma_map_sg(dev->dev, sg, 1, DMA_TO_DEVICE)) dma_map_sg 989 drivers/crypto/s5p-sss.c cnt = dma_map_sg(dd->dev, ctx->sg, ctx->sg_len, DMA_TO_DEVICE); dma_map_sg 486 drivers/crypto/sahara.c ret = dma_map_sg(dev->device, dev->in_sg, dev->nb_in_sg, dma_map_sg 492 drivers/crypto/sahara.c ret = dma_map_sg(dev->device, dev->out_sg, dev->nb_out_sg, dma_map_sg 816 drivers/crypto/sahara.c ret = dma_map_sg(dev->device, dev->in_sg, dev->nb_in_sg, DMA_TO_DEVICE); dma_map_sg 492 drivers/crypto/stm32/stm32-hash.c rctx->dma_ct = dma_map_sg(hdev->dev, &rctx->sg_key, 1, dma_map_sg 587 drivers/crypto/stm32/stm32-hash.c rctx->dma_ct = dma_map_sg(hdev->dev, sg, 1, dma_map_sg 1227 drivers/crypto/talitos.c sg_count = dma_map_sg(dev, areq->src, sg_count, dma_map_sg 1269 drivers/crypto/talitos.c dma_map_sg(dev, areq->dst, sg_count, DMA_FROM_DEVICE); dma_map_sg 1600 drivers/crypto/talitos.c sg_count = dma_map_sg(dev, areq->src, sg_count, dma_map_sg 1615 drivers/crypto/talitos.c dma_map_sg(dev, areq->dst, sg_count, DMA_FROM_DEVICE); dma_map_sg 1826 drivers/crypto/talitos.c sg_count = dma_map_sg(dev, req_ctx->psrc, sg_count, dma_map_sg 541 drivers/crypto/ux500/cryp/cryp_core.c ctx->device->dma.sg_src_len = dma_map_sg(channel->device->dev, dma_map_sg 565 drivers/crypto/ux500/cryp/cryp_core.c ctx->device->dma.sg_dst_len = dma_map_sg(channel->device->dev, dma_map_sg 155 drivers/crypto/ux500/hash/hash_core.c ctx->device->dma.sg_len = dma_map_sg(channel->device->dev, dma_map_sg 64 drivers/dma-buf/udmabuf.c if (!dma_map_sg(at->dev, sg->sgl, sg->nents, direction)) { dma_map_sg 409 drivers/fpga/zynq-fpga.c dma_map_sg(mgr->dev.parent, sgt->sgl, sgt->nents, DMA_TO_DEVICE); dma_map_sg 958 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c nents = dma_map_sg(adev->dev, ttm->sg->sgl, ttm->sg->nents, direction); dma_map_sg 410 drivers/gpu/drm/armada/armada_gem.c if (dma_map_sg(attach->dev, sgt->sgl, sgt->nents, dir) == 0) { dma_map_sg 421 drivers/gpu/drm/armada/armada_gem.c if (dma_map_sg(attach->dev, sgt->sgl, sgt->nents, dir) == 0) dma_map_sg 628 drivers/gpu/drm/drm_gem_shmem_helper.c dma_map_sg(obj->dev->dev, sgt->sgl, sgt->nents, DMA_BIDIRECTIONAL); dma_map_sg 30 drivers/gpu/drm/etnaviv/etnaviv_gem.c dma_map_sg(dev->dev, sgt->sgl, sgt->nents, DMA_BIDIRECTIONAL); dma_map_sg 514 drivers/gpu/drm/exynos/exynos_drm_g2d.c if (!dma_map_sg(to_dma_dev(g2d->drm_dev), sgt->sgl, sgt->nents, dma_map_sg 51 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c if (!dma_map_sg(attachment->dev, st->sgl, st->nents, dir)) { dma_map_sg 31 drivers/gpu/drm/i915/gem/selftests/mock_dmabuf.c if (!dma_map_sg(attachment->dev, st->sgl, st->nents, dir)) { dma_map_sg 59 drivers/gpu/drm/msm/msm_gem.c dma_map_sg(dev, msm_obj->sgt->sgl, dma_map_sg 520 drivers/gpu/drm/panfrost/panfrost_mmu.c if (!dma_map_sg(pfdev->dev, sgt->sgl, sgt->nents, DMA_BIDIRECTIONAL)) { dma_map_sg 530 drivers/gpu/drm/radeon/radeon_ttm.c nents = dma_map_sg(rdev->dev, ttm->sg->sgl, ttm->sg->nents, direction); dma_map_sg 495 drivers/gpu/drm/rockchip/rockchip_drm_gem.c int count = dma_map_sg(drm->dev, sg->sgl, sg->nents, dma_map_sg 232 drivers/gpu/drm/tegra/gem.c err = dma_map_sg(drm->dev, bo->sgt->sgl, bo->sgt->nents, dma_map_sg 520 drivers/gpu/drm/tegra/gem.c if (dma_map_sg(attach->dev, sgt->sgl, sgt->nents, dir) == 0) dma_map_sg 116 drivers/gpu/drm/udl/udl_dmabuf.c nents = dma_map_sg(attach->dev, sgt->sgl, sgt->orig_nents, dir); dma_map_sg 982 drivers/gpu/drm/virtio/virtgpu_vq.c obj->mapped = dma_map_sg(vgdev->vdev->dev.parent, dma_map_sg 388 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c ret = dma_map_sg(dev, vmw_tt->sgt.sgl, vmw_tt->sgt.orig_nents, dma_map_sg 231 drivers/hsi/controllers/omap_ssi_port.c err = dma_map_sg(&ssi->device, msg->sgt.sgl, msg->sgt.nents, dma_map_sg 248 drivers/hsi/controllers/omap_ssi_port.c err = dma_map_sg(&ssi->device, msg->sgt.sgl, msg->sgt.nents, dma_map_sg 930 drivers/hwtracing/intel_th/msu.c ret = dma_map_sg(msc_dev(msc)->parent->parent, msc->single_sgt.sgl, 1, dma_map_sg 200 drivers/i2c/busses/i2c-mxs.c dma_map_sg(i2c->dev, &i2c->sg_io[0], 1, DMA_TO_DEVICE); dma_map_sg 228 drivers/i2c/busses/i2c-mxs.c dma_map_sg(i2c->dev, &i2c->sg_io[1], 1, DMA_FROM_DEVICE); dma_map_sg 260 drivers/i2c/busses/i2c-mxs.c dma_map_sg(i2c->dev, i2c->sg_io, 2, DMA_TO_DEVICE); dma_map_sg 609 drivers/i2c/busses/i2c-qup.c ret = dma_map_sg(qup->dev, sg, 1, dir); dma_map_sg 144 drivers/ide/ide-dma.c i = dma_map_sg(hwif->dev, sg, cmd->sg_nents, cmd->sg_dma_direction); dma_map_sg 1244 drivers/infiniband/hw/efa/efa_verbs.c sg_dma_cnt = dma_map_sg(&dev->pdev->dev, sgl, size_in_pages, DMA_TO_DEVICE); dma_map_sg 633 drivers/mailbox/bcm-flexrm-mailbox.c rc = dma_map_sg(dev, msg->spu.src, sg_nents(msg->spu.src), dma_map_sg 638 drivers/mailbox/bcm-flexrm-mailbox.c rc = dma_map_sg(dev, msg->spu.dst, sg_nents(msg->spu.dst), dma_map_sg 1211 drivers/mailbox/bcm-pdc-mailbox.c nent = dma_map_sg(dev, mssg->spu.src, src_nent, DMA_TO_DEVICE); dma_map_sg 1218 drivers/mailbox/bcm-pdc-mailbox.c nent = dma_map_sg(dev, mssg->spu.dst, dst_nent, dma_map_sg 446 drivers/media/common/videobuf2/videobuf2-dma-sg.c sgt->nents = dma_map_sg(db_attach->dev, sgt->sgl, sgt->orig_nents, dma_map_sg 295 drivers/media/common/videobuf2/videobuf2-vmalloc.c sgt->nents = dma_map_sg(db_attach->dev, sgt->sgl, sgt->orig_nents, dma_map_sg 115 drivers/media/pci/cx23885/cx23885-alsa.c buf->sglen = dma_map_sg(&dev->pci->dev, buf->sglist, dma_map_sg 179 drivers/media/pci/cx25821/cx25821-alsa.c buf->sglen = dma_map_sg(&dev->pci->dev, buf->sglist, dma_map_sg 318 drivers/media/pci/cx88/cx88-alsa.c buf->sglen = dma_map_sg(&dev->pci->dev, buf->sglist, dma_map_sg 299 drivers/media/pci/saa7134/saa7134-alsa.c dma->sglen = dma_map_sg(&dev->pci->dev, dma->sglist, dma_map_sg 313 drivers/media/v4l2-core/videobuf-dma-sg.c dma->sglen = dma_map_sg(dev, dma->sglist, dma_map_sg 418 drivers/memstick/host/jmb38x_ms.c if (1 != dma_map_sg(&host->chip->pdev->dev, &host->req->sg, 1, dma_map_sg 295 drivers/memstick/host/r592.c sg_count = dma_map_sg(&dev->pci_dev->dev, &dev->req->sg, 1, is_write ? dma_map_sg 2275 drivers/message/fusion/mptsas.c if (!dma_map_sg(&ioc->pcidev->dev, job->request_payload.sg_list, dma_map_sg 2292 drivers/message/fusion/mptsas.c if (!dma_map_sg(&ioc->pcidev->dev, job->reply_payload.sg_list, dma_map_sg 480 drivers/misc/cardreader/rtsx_pcr.c return dma_map_sg(&(pcr->pci->dev), sglist, num_sg, dir); dma_map_sg 495 drivers/misc/fastrpc.c if (!dma_map_sg(attachment->dev, table->sgl, table->nents, dir)) dma_map_sg 3113 drivers/misc/habanalabs/goya/goya.c if (!dma_map_sg(&hdev->pdev->dev, sgl, nents, dir)) dma_map_sg 197 drivers/misc/mic/host/mic_boot.c ret = dma_map_sg(&mdev->pdev->dev, sg, nents, dir); dma_map_sg 404 drivers/misc/mic/scif/scif_nodeqp.c err = dma_map_sg(&sdev->dev, p2p->ppi_sg[SCIF_PPI_MMIO], dma_map_sg 408 drivers/misc/mic/scif/scif_nodeqp.c err = dma_map_sg(&sdev->dev, p2p->ppi_sg[SCIF_PPI_APER], dma_map_sg 542 drivers/misc/mic/scif/scif_rma.c err = dma_map_sg(&remote_dev->sdev->dev, window->st->sgl, dma_map_sg 817 drivers/mmc/host/alcor.c sg_len = dma_map_sg(host->dev, data->sg, data->sg_len, dma_map_sg 383 drivers/mmc/host/android-goldfish.c host->sg_len = dma_map_sg(mmc_dev(mmc_from_priv(host)), data->sg, dma_map_sg 1063 drivers/mmc/host/atmel-mci.c dma_map_sg(&host->pdev->dev, data->sg, data->sg_len, dma_map_sg 1138 drivers/mmc/host/atmel-mci.c sglen = dma_map_sg(chan->device->dev, data->sg, dma_map_sg 632 drivers/mmc/host/au1xmmc.c host->dma.len = dma_map_sg(mmc_dev(host->mmc), data->sg, dma_map_sg 501 drivers/mmc/host/bcm2835.c sg_len = dma_map_sg(dma_chan->device->dev, data->sg, data->sg_len, dma_map_sg 522 drivers/mmc/host/cavium.c count = dma_map_sg(host->dev, data->sg, data->sg_len, dma_map_sg 559 drivers/mmc/host/cavium.c count = dma_map_sg(host->dev, data->sg, data->sg_len, dma_map_sg 431 drivers/mmc/host/cqhci.c sg_count = dma_map_sg(mmc_dev(host), data->sg, dma_map_sg 467 drivers/mmc/host/davinci_mmc.c host->sg_len = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len, dma_map_sg 894 drivers/mmc/host/dw_mmc.c sg_len = dma_map_sg(host->dev, dma_map_sg 260 drivers/mmc/host/jz4740_mmc.c sg_count = dma_map_sg(chan->device->dev, dma_map_sg 286 drivers/mmc/host/meson-gx-mmc.c data->sg_count = dma_map_sg(mmc_dev(mmc), data->sg, data->sg_len, dma_map_sg 324 drivers/mmc/host/meson-mx-sdio.c dma_len = dma_map_sg(mmc_dev(mmc), data->sg, data->sg_len, dma_map_sg 826 drivers/mmc/host/mmci.c nr_sg = dma_map_sg(device->dev, data->sg, data->sg_len, dma_map_sg 63 drivers/mmc/host/mmci_stm32_sdmmc.c n_elem = dma_map_sg(mmc_dev(host->mmc), dma_map_sg 275 drivers/mmc/host/moxart-mmc.c len = dma_map_sg(dma_chan->device->dev, data->sg, dma_map_sg 683 drivers/mmc/host/mtk-sd.c data->sg_count = dma_map_sg(host->dev, data->sg, data->sg_len, dma_map_sg 126 drivers/mmc/host/mvsdio.c host->sg_frags = dma_map_sg(mmc_dev(host->mmc), dma_map_sg 332 drivers/mmc/host/mxcmmc.c nents = dma_map_sg(host->dma->device->dev, data->sg, dma_map_sg 225 drivers/mmc/host/mxs-mmc.c dma_map_sg(mmc_dev(host->mmc), data->sg, dma_map_sg 1034 drivers/mmc/host/omap.c host->sg_len = dma_map_sg(c->device->dev, data->sg, sg_len, dma_map_sg 1215 drivers/mmc/host/omap_hsmmc.c dma_len = dma_map_sg(chan->device->dev, data->sg, data->sg_len, dma_map_sg 206 drivers/mmc/host/pxamci.c host->dma_len = dma_map_sg(chan->device->dev, data->sg, data->sg_len, dma_map_sg 185 drivers/mmc/host/renesas_sdhi_internal_dmac.c if (!dma_map_sg(&host->pdev->dev, sg, host->sg_len, dma_map_sg 188 drivers/mmc/host/renesas_sdhi_sys_dmac.c ret = dma_map_sg(chan->device->dev, sg, host->sg_len, DMA_FROM_DEVICE); dma_map_sg 265 drivers/mmc/host/renesas_sdhi_sys_dmac.c ret = dma_map_sg(chan->device->dev, sg, host->sg_len, DMA_TO_DEVICE); dma_map_sg 1091 drivers/mmc/host/s3cmci.c dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len, dma_map_sg 637 drivers/mmc/host/sdhci.c sg_count = dma_map_sg(mmc_dev(host->mmc), dma_map_sg 297 drivers/mmc/host/sh_mmcif.c ret = dma_map_sg(chan->device->dev, sg, data->sg_len, dma_map_sg 347 drivers/mmc/host/sh_mmcif.c ret = dma_map_sg(chan->device->dev, sg, data->sg_len, dma_map_sg 399 drivers/mmc/host/sunxi-mmc.c dma_len = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len, dma_map_sg 143 drivers/mmc/host/uniphier-sd.c sg_len = dma_map_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, dma_map_sg 272 drivers/mmc/host/uniphier-sd.c sg_len = dma_map_sg(mmc_dev(host->mmc), sg, 1, priv->dma_dir); dma_map_sg 586 drivers/mmc/host/usdhi6rol0.c ret = dma_map_sg(chan->device->dev, sg, data->sg_len, data_dir); dma_map_sg 490 drivers/mmc/host/via-sdmmc.c count = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len, dma_map_sg 620 drivers/mmc/host/wmt-sdmmc.c sg_cnt = dma_map_sg(mmc_dev(mmc), req->data->sg, dma_map_sg 626 drivers/mmc/host/wmt-sdmmc.c sg_cnt = dma_map_sg(mmc_dev(mmc), req->data->sg, dma_map_sg 818 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c ret = dma_map_sg(this->dev, sgl, 1, dr); dma_map_sg 832 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c dma_map_sg(this->dev, sgl, 1, dr); dma_map_sg 2274 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c dma_map_sg(this->dev, &transfer->sgl, 1, DMA_TO_DEVICE); dma_map_sg 403 drivers/mtd/nand/raw/lpc32xx_mlc.c res = dma_map_sg(host->dma_chan->device->dev, &host->sgl, 1, dma_map_sg 452 drivers/mtd/nand/raw/lpc32xx_slc.c res = dma_map_sg(host->dma_chan->device->dev, &host->sgl, 1, dma_map_sg 831 drivers/mtd/nand/raw/marvell_nand.c dma_map_sg(nfc->dma_chan->device->dev, &sg, 1, direction); dma_map_sg 471 drivers/mtd/nand/raw/omap2.c n = dma_map_sg(info->dma->device->dev, &sg, 1, dir); dma_map_sg 764 drivers/mtd/nand/raw/qcom_nandc.c ret = dma_map_sg(nandc->dev, sgl, sgl_cnt, desc->dir); dma_map_sg 919 drivers/mtd/nand/raw/qcom_nandc.c ret = dma_map_sg(nandc->dev, sgl, 1, desc->dir); dma_map_sg 920 drivers/mtd/nand/raw/stm32_fmc2_nand.c ret = dma_map_sg(fmc2->dev, fmc2->dma_data_sg.sgl, dma_map_sg 951 drivers/mtd/nand/raw/stm32_fmc2_nand.c ret = dma_map_sg(fmc2->dev, fmc2->dma_ecc_sg.sgl, dma_map_sg 362 drivers/mtd/nand/raw/sunxi_nand.c ret = dma_map_sg(nfc->dev, sg, 1, ddir); dma_map_sg 242 drivers/mtd/nand/raw/tango_nand.c if (dma_map_sg(chan->device->dev, &sg, 1, dir) != 1) dma_map_sg 3624 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c sgt->nents = dma_map_sg(adapter->pdev_dev, sgl, sgt->orig_nents, dma_map_sg 549 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c num_dma_bufs = dma_map_sg(dev, scl, num_sg, DMA_BIDIRECTIONAL); dma_map_sg 188 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c dmacount = dma_map_sg(&adapter->pdev->dev, sgl, sgc, DMA_FROM_DEVICE); dma_map_sg 207 drivers/net/ethernet/mellanox/mlx4/icm.c chunk->nsg = dma_map_sg(&dev->persist->pdev->dev, dma_map_sg 222 drivers/net/ethernet/mellanox/mlx4/icm.c chunk->nsg = dma_map_sg(&dev->persist->pdev->dev, chunk->sg, dma_map_sg 987 drivers/nvme/host/fc.c return dev ? dma_map_sg(dev, sg, nents, dir) : fc_map_sg(sg, nents); dma_map_sg 309 drivers/nvme/target/fc.c return dev ? dma_map_sg(dev, sg, nents, dir) : fc_map_sg(sg, nents); dma_map_sg 935 drivers/rapidio/devices/rio_mport_cdev.c nents = dma_map_sg(chan->device->dev, dma_map_sg 64 drivers/scsi/aic94xx/aic94xx_task.c num_sg = dma_map_sg(&asd_ha->pcidev->dev, task->scatter, dma_map_sg 421 drivers/scsi/aic94xx/aic94xx_task.c dma_map_sg(&asd_ha->pcidev->dev, &task->smp_task.smp_req, 1, dma_map_sg 423 drivers/scsi/aic94xx/aic94xx_task.c dma_map_sg(&asd_ha->pcidev->dev, &task->smp_task.smp_resp, 1, dma_map_sg 178 drivers/scsi/arm/cumana_2.c dma_map_sg(dev, info->sg, bufs, map_dir); dma_map_sg 175 drivers/scsi/arm/eesox.c dma_map_sg(dev, info->sg, bufs, map_dir); dma_map_sg 148 drivers/scsi/arm/powertec.c dma_map_sg(dev, info->sg, bufs, map_dir); dma_map_sg 1664 drivers/scsi/bnx2fc/bnx2fc_io.c sg_count = dma_map_sg(&hba->pcidev->dev, scsi_sglist(sc), dma_map_sg 1386 drivers/scsi/cxgbi/libcxgbi.c err = dma_map_sg(&ppm->pdev->dev, sgl, sgcnt, DMA_FROM_DEVICE); dma_map_sg 2069 drivers/scsi/gdth.c sgcnt = dma_map_sg(&ha->pdev->dev, scsi_sglist(scp), dma_map_sg 2228 drivers/scsi/gdth.c sgcnt = dma_map_sg(&ha->pdev->dev, scsi_sglist(scp), dma_map_sg 319 drivers/scsi/hisi_sas/hisi_sas_main.c *n_elem = dma_map_sg(dev, task->scatter, dma_map_sg 326 drivers/scsi/hisi_sas/hisi_sas_main.c *n_elem_req = dma_map_sg(dev, &task->smp_task.smp_req, dma_map_sg 384 drivers/scsi/hisi_sas/hisi_sas_main.c *n_elem_dif = dma_map_sg(dev, dma_map_sg 1856 drivers/scsi/ibmvscsi/ibmvfc.c req_seg = dma_map_sg(vhost->dev, job->request_payload.sg_list, dma_map_sg 1864 drivers/scsi/ibmvscsi/ibmvfc.c rsp_seg = dma_map_sg(vhost->dev, job->reply_payload.sg_list, dma_map_sg 172 drivers/scsi/ibmvscsi_tgt/libsrp.c nsg = dma_map_sg(iue->target->dev, sg, cmd->se_cmd.t_data_nents, dma_map_sg 243 drivers/scsi/ibmvscsi_tgt/libsrp.c nsg = dma_map_sg(iue->target->dev, sg, cmd->se_cmd.t_data_nents, dma_map_sg 4038 drivers/scsi/ipr.c sglist->num_dma_sg = dma_map_sg(&ioa_cfg->pdev->dev, dma_map_sg 3225 drivers/scsi/isci/request.c if (!dma_map_sg(dev, sg, 1, DMA_TO_DEVICE)) dma_map_sg 3363 drivers/scsi/isci/request.c request->num_sg_entries = dma_map_sg( dma_map_sg 863 drivers/scsi/lpfc/lpfc_scsi.c nseg = dma_map_sg(&phba->pcidev->dev, scsi_sglist(scsi_cmnd), dma_map_sg 2544 drivers/scsi/lpfc/lpfc_scsi.c datasegcnt = dma_map_sg(&phba->pcidev->dev, dma_map_sg 2585 drivers/scsi/lpfc/lpfc_scsi.c protsegcnt = dma_map_sg(&phba->pcidev->dev, dma_map_sg 3281 drivers/scsi/lpfc/lpfc_scsi.c datasegcnt = dma_map_sg(&phba->pcidev->dev, dma_map_sg 3332 drivers/scsi/lpfc/lpfc_scsi.c protsegcnt = dma_map_sg(&phba->pcidev->dev, dma_map_sg 1802 drivers/scsi/mpt3sas/mpt3sas_transport.c if (!dma_map_sg(dev, buf->sg_list, 1, DMA_BIDIRECTIONAL)) dma_map_sg 323 drivers/scsi/mvsas/mv_sas.c elem = dma_map_sg(mvi->dev, sg_req, 1, DMA_TO_DEVICE); dma_map_sg 329 drivers/scsi/mvsas/mv_sas.c elem = dma_map_sg(mvi->dev, sg_resp, 1, DMA_FROM_DEVICE); dma_map_sg 754 drivers/scsi/mvsas/mv_sas.c n_elem = dma_map_sg(mvi->dev, dma_map_sg 198 drivers/scsi/mvumi.c *sg_count = dma_map_sg(&mhba->pdev->dev, scsi_sglist(scmd), sgnum, dma_map_sg 4256 drivers/scsi/pm8001/pm8001_hwi.c elem = dma_map_sg(pm8001_ha->dev, sg_req, 1, DMA_TO_DEVICE); dma_map_sg 4262 drivers/scsi/pm8001/pm8001_hwi.c elem = dma_map_sg(pm8001_ha->dev, sg_resp, 1, DMA_FROM_DEVICE); dma_map_sg 437 drivers/scsi/pm8001/pm8001_sas.c n_elem = dma_map_sg(pm8001_ha->dev, dma_map_sg 3907 drivers/scsi/pm8001/pm80xx_hwi.c elem = dma_map_sg(pm8001_ha->dev, sg_req, 1, DMA_TO_DEVICE); dma_map_sg 3913 drivers/scsi/pm8001/pm80xx_hwi.c elem = dma_map_sg(pm8001_ha->dev, sg_resp, 1, DMA_FROM_DEVICE); dma_map_sg 3502 drivers/scsi/pmcraid.c sglist->num_dma_sg = dma_map_sg(&cmd->drv_inst->pdev->dev, dma_map_sg 493 drivers/scsi/qedf/qedf_io.c sg_count = dma_map_sg(&qedf->pdev->dev, scsi_sglist(sc), dma_map_sg 1853 drivers/scsi/qedi/qedi_fw.c sg_count = dma_map_sg(&qedi->pdev->dev, scsi_sglist(sc), dma_map_sg 337 drivers/scsi/qla2xxx/qla_bsg.c dma_map_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, dma_map_sg 346 drivers/scsi/qla2xxx/qla_bsg.c rsp_sg_cnt = dma_map_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, dma_map_sg 442 drivers/scsi/qla2xxx/qla_bsg.c dma_map_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, dma_map_sg 451 drivers/scsi/qla2xxx/qla_bsg.c rsp_sg_cnt = dma_map_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, dma_map_sg 734 drivers/scsi/qla2xxx/qla_bsg.c elreq.req_sg_cnt = dma_map_sg(&ha->pdev->dev, dma_map_sg 744 drivers/scsi/qla2xxx/qla_bsg.c elreq.rsp_sg_cnt = dma_map_sg(&ha->pdev->dev, dma_map_sg 1007 drivers/scsi/qla2xxx/qla_bsg.c sg_cnt = dma_map_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, dma_map_sg 1129 drivers/scsi/qla2xxx/qla_bsg.c sg_cnt = dma_map_sg(&ha->pdev->dev, dma_map_sg 1179 drivers/scsi/qla2xxx/qla_bsg.c sg_cnt = dma_map_sg(&ha->pdev->dev, dma_map_sg 1856 drivers/scsi/qla2xxx/qla_bsg.c req_sg_cnt = dma_map_sg(&ha->pdev->dev, dma_map_sg 1866 drivers/scsi/qla2xxx/qla_bsg.c rsp_sg_cnt = dma_map_sg(&ha->pdev->dev, dma_map_sg 1976 drivers/scsi/qla2xxx/qla_bsg.c req_sg_cnt = dma_map_sg(&ha->pdev->dev, dma_map_sg 1988 drivers/scsi/qla2xxx/qla_bsg.c rsp_sg_cnt = dma_map_sg(&ha->pdev->dev, dma_map_sg 367 drivers/scsi/qla2xxx/qla_iocb.c nseg = dma_map_sg(&ha->pdev->dev, scsi_sglist(cmd), dma_map_sg 1629 drivers/scsi/qla2xxx/qla_iocb.c nseg = dma_map_sg(&ha->pdev->dev, scsi_sglist(cmd), dma_map_sg 1774 drivers/scsi/qla2xxx/qla_iocb.c nseg = dma_map_sg(&ha->pdev->dev, scsi_sglist(cmd), dma_map_sg 1804 drivers/scsi/qla2xxx/qla_iocb.c nseg = dma_map_sg(&ha->pdev->dev, scsi_prot_sglist(cmd), dma_map_sg 1949 drivers/scsi/qla2xxx/qla_iocb.c nseg = dma_map_sg(&ha->pdev->dev, scsi_sglist(cmd), dma_map_sg 2109 drivers/scsi/qla2xxx/qla_iocb.c nseg = dma_map_sg(&ha->pdev->dev, scsi_sglist(cmd), dma_map_sg 2139 drivers/scsi/qla2xxx/qla_iocb.c nseg = dma_map_sg(&ha->pdev->dev, scsi_prot_sglist(cmd), dma_map_sg 3128 drivers/scsi/qla2xxx/qla_iocb.c nseg = dma_map_sg(&ha->pdev->dev, scsi_sglist(cmd), dma_map_sg 3107 drivers/scsi/qla2xxx/qla_mr.c nseg = dma_map_sg(&ha->pdev->dev, scsi_sglist(cmd), dma_map_sg 2391 drivers/scsi/qla2xxx/qla_target.c prm->seg_cnt = dma_map_sg(&cmd->qpair->pdev->dev, cmd->sg, dma_map_sg 2418 drivers/scsi/qla2xxx/qla_target.c prm->prot_seg_cnt = dma_map_sg(&cmd->qpair->pdev->dev, dma_map_sg 909 drivers/scsi/qlogicpti.c sg_count = dma_map_sg(&qpti->op->dev, sg, dma_map_sg 30 drivers/scsi/scsi_lib_dma.c nseg = dma_map_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd), dma_map_sg 351 drivers/spi/spi-ep93xx.c nents = dma_map_sg(chan->device->dev, sgt->sgl, sgt->nents, dir); dma_map_sg 234 drivers/spi/spi-mxs.c ret = dma_map_sg(ssp->dev, &dma_xfer[sg_count].sg, 1, dma_map_sg 1050 drivers/spi/spi-pl022.c rx_sglen = dma_map_sg(rxchan->device->dev, pl022->sgt_rx.sgl, dma_map_sg 1055 drivers/spi/spi-pl022.c tx_sglen = dma_map_sg(txchan->device->dev, pl022->sgt_tx.sgl, dma_map_sg 874 drivers/spi/spi.c ret = dma_map_sg(dev, sgt->sgl, sgt->nents, dir); dma_map_sg 230 drivers/staging/android/ion/ion.c if (!dma_map_sg(attachment->dev, table->sgl, table->nents, dma_map_sg 95 drivers/staging/kpc2000/kpc_dma/fileops.c acd->mapped_entry_count = dma_map_sg(&ldev->pldev->dev, acd->sgt.sgl, acd->sgt.nents, ldev->dir); dma_map_sg 358 drivers/staging/rts5208/rtsx_transport.c sg_cnt = dma_map_sg(&rtsx->pci->dev, sg, num_sg, dma_dir); dma_map_sg 521 drivers/staging/rts5208/rtsx_transport.c buf_cnt = dma_map_sg(&rtsx->pci->dev, sg, num_sg, dma_dir); dma_map_sg 482 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c dma_buffers = dma_map_sg(g_dev, dma_map_sg 204 drivers/target/iscsi/cxgbit/cxgbit_ddp.c ret = dma_map_sg(&ppm->pdev->dev, sgl, sgcnt, DMA_FROM_DEVICE); dma_map_sg 646 drivers/tty/serial/amba-pl011.c if (dma_map_sg(dma_dev->dev, &dmatx->sg, 1, DMA_TO_DEVICE) != 1) { dma_map_sg 1036 drivers/tty/serial/atmel_serial.c nent = dma_map_sg(port->dev, dma_map_sg 1219 drivers/tty/serial/atmel_serial.c nent = dma_map_sg(port->dev, dma_map_sg 434 drivers/tty/serial/fsl_lpuart.c ret = dma_map_sg(dev, sgl, sport->dma_tx_nents, DMA_TO_DEVICE); dma_map_sg 1170 drivers/tty/serial/fsl_lpuart.c nent = dma_map_sg(sport->port.dev, &sport->rx_sgl, 1, DMA_FROM_DEVICE); dma_map_sg 617 drivers/tty/serial/imx.c ret = dma_map_sg(dev, sgl, sport->dma_tx_nents, DMA_TO_DEVICE); dma_map_sg 1161 drivers/tty/serial/imx.c ret = dma_map_sg(dev, sgl, 1, DMA_FROM_DEVICE); dma_map_sg 567 drivers/tty/serial/mxs-auart.c dma_map_sg(s->dev, sgl, 1, DMA_TO_DEVICE); dma_map_sg 891 drivers/tty/serial/mxs-auart.c dma_map_sg(s->dev, sgl, 1, DMA_FROM_DEVICE); dma_map_sg 1010 drivers/tty/serial/pch_uart.c nent = dma_map_sg(port->dev, sg, num, DMA_TO_DEVICE); dma_map_sg 1465 drivers/usb/core/hcd.c n = dma_map_sg( dma_map_sg 823 drivers/usb/gadget/udc/core.c mapped = dma_map_sg(dev, req->sg, req->num_sgs, dma_map_sg 485 drivers/video/fbdev/sh_mobile_lcdcfb.c dma_map_sg(ch->lcdc->dev, ch->sglist, nr_pages, DMA_TO_DEVICE); dma_map_sg 68 include/linux/pci-dma-compat.h return dma_map_sg(&hwdev->dev, sg, nents, (enum dma_data_direction)direction); dma_map_sg 4007 include/rdma/ib_verbs.h return dma_map_sg(dev->dma_device, sg, nents, direction); dma_map_sg 849 samples/vfio-mdev/mbochs.c if (!dma_map_sg(at->dev, sg->sgl, sg->nents, direction))