/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_bl.c | 107 bufl->buffers[y].addr = dma_map_single(dev, sg_virt(sg) + left, in __qat_bl_sgl_to_bufl() 120 blp = dma_map_single(dev, bufl, sz, DMA_TO_DEVICE); in __qat_bl_sgl_to_bufl() 163 buffers[y].addr = dma_map_single(dev, sg_virt(sg) + left, in __qat_bl_sgl_to_bufl() 183 bloutp = dma_map_single(dev, buflout, sz_out, DMA_TO_DEVICE); in __qat_bl_sgl_to_bufl() 295 bufl->buffers[y].addr = dma_map_single(dev, sg_virt(sg), in qat_bl_sgl_map() 386 new_blp = dma_map_single(dev, new_bl, new_bl_size, DMA_TO_DEVICE); in qat_bl_realloc_map_new_dst()
|
H A D | qat_asym_algs.c | 306 qat_req->in.dh.in.b = dma_map_single(dev, vaddr, ctx->p_size, in qat_dh_compute_value() 328 qat_req->out.dh.r = dma_map_single(dev, vaddr, ctx->p_size, in qat_dh_compute_value() 336 qat_req->phy_in = dma_map_single(dev, &qat_req->in.dh, in qat_dh_compute_value() 342 qat_req->phy_out = dma_map_single(dev, &qat_req->out.dh, in qat_dh_compute_value() 763 qat_req->in.rsa.enc.m = dma_map_single(dev, vaddr, ctx->key_sz, in qat_rsa_enc() 778 qat_req->out.rsa.enc.c = dma_map_single(dev, vaddr, ctx->key_sz, in qat_rsa_enc() 785 qat_req->phy_in = dma_map_single(dev, &qat_req->in.rsa, in qat_rsa_enc() 791 qat_req->phy_out = dma_map_single(dev, &qat_req->out.rsa, in qat_rsa_enc() 907 qat_req->in.rsa.dec.c = dma_map_single(dev, vaddr, ctx->key_sz, in qat_rsa_dec() 921 qat_req->out.rsa.dec.m = dma_map_single(dev, vaddr, ctx->key_sz, in qat_rsa_dec() [all …]
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | chain_mode.c | 36 des2 = dma_map_single(priv->device, skb->data, in jumbo_frm() 53 des2 = dma_map_single(priv->device, in jumbo_frm() 66 des2 = dma_map_single(priv->device, in jumbo_frm()
|
H A D | ring_mode.c | 40 des2 = dma_map_single(priv->device, skb->data, bmax, in jumbo_frm() 61 des2 = dma_map_single(priv->device, skb->data + bmax, len, in jumbo_frm() 75 des2 = dma_map_single(priv->device, skb->data, in jumbo_frm()
|
/linux/drivers/spi/ |
H A D | spi-fsl-cpm.c | 137 mspi->tx_dma = dma_map_single(dev, nonconst_tx, t->len, in fsl_spi_cpm_bufs() 148 mspi->rx_dma = dma_map_single(dev, mspi->rx, t->len, in fsl_spi_cpm_bufs() 353 mspi->dma_dummy_tx = dma_map_single(dev, ZERO_PAGE(0), PAGE_SIZE, in fsl_spi_cpm_init() 360 mspi->dma_dummy_rx = dma_map_single(dev, fsl_dummy_rx, SPI_MRBLR, in fsl_spi_cpm_init()
|
/linux/drivers/crypto/caam/ |
H A D | blob_gen.c | 90 dma_in = dma_map_single(jrdev, info->input, info->input_len, in caam_process_blob() 98 dma_out = dma_map_single(jrdev, info->output, output_len, in caam_process_blob()
|
H A D | caamalg_qi2.c | 490 iv_dma = dma_map_single(dev, iv, ivsize, DMA_TO_DEVICE); in aead_edesc_alloc() 513 edesc->assoclen_dma = dma_map_single(dev, &edesc->assoclen, 4, in aead_edesc_alloc() 535 qm_sg_dma = dma_map_single(dev, sg_table, qm_sg_bytes, DMA_TO_DEVICE); in aead_edesc_alloc() 1208 iv_dma = dma_map_single(dev, iv, ivsize, DMA_BIDIRECTIONAL); in skcipher_edesc_alloc() 1231 edesc->qm_sg_dma = dma_map_single(dev, sg_table, edesc->qm_sg_bytes, in skcipher_edesc_alloc() 3107 state->buf_dma = dma_map_single(dev, state->buf, buflen, in buf_map_to_qm_sg() 3126 state->ctx_dma = dma_map_single(dev, state->caam_ctx, ctx_len, flag); in ctx_map_to_qm_sg() 3237 key_dma = dma_map_single(ctx->dev, key, *keylen, DMA_BIDIRECTIONAL); in hash_digest_key() 3256 flc_dma = dma_map_single(ctx->dev, flc, sizeof(flc->flc) + in hash_digest_key() 3602 edesc->qm_sg_dma = dma_map_single(ctx->dev, sg_table, in ahash_update_ctx() [all …]
|
H A D | caamhash.c | 151 state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, in map_seq_out_ptr_ctx() 174 state->buf_dma = dma_map_single(jrdev, state->buf, buflen, in buf_map_to_sec4_sg() 193 state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, ctx_len, flag); in ctx_map_to_sec4_sg() 379 key_dma = dma_map_single(jrdev, key, *keylen, DMA_BIDIRECTIONAL); in hash_digest_key() 740 src_dma = dma_map_single(ctx->jrdev, sg, sgsize, DMA_TO_DEVICE); in ahash_edesc_add_src() 908 edesc->sec4_sg_dma = dma_map_single(jrdev, edesc->sec4_sg, in ahash_update_ctx() 982 edesc->sec4_sg_dma = dma_map_single(jrdev, edesc->sec4_sg, in ahash_final_ctx() 1169 state->buf_dma = dma_map_single(jrdev, buf, buflen, in ahash_final_no_ctx() 1273 edesc->sec4_sg_dma = dma_map_single(jrdev, edesc->sec4_sg, in ahash_update_no_ctx()
|
H A D | key_gen.c | 75 dma_addr = dma_map_single(jrdev, key_out, local_max, DMA_BIDIRECTIONAL); in gen_split_key()
|
/linux/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-prng.c | 108 dma_iv = dma_map_single(ss->dev, ctx->seed, ctx->slen, DMA_TO_DEVICE); in sun8i_ss_prng_generate() 115 dma_dst = dma_map_single(ss->dev, d, todo, DMA_FROM_DEVICE); in sun8i_ss_prng_generate()
|
H A D | sun8i-ss-hash.c | 527 addr_res = dma_map_single(ss->dev, result, digestsize, DMA_FROM_DEVICE); in sun8i_ss_hash_run() 579 addr_xpad = dma_map_single(ss->dev, tfmctx->ipad, bs, DMA_TO_DEVICE); in sun8i_ss_hash_run() 600 addr_res = dma_map_single(ss->dev, result, digestsize, DMA_FROM_DEVICE); in sun8i_ss_hash_run() 606 addr_xpad = dma_map_single(ss->dev, tfmctx->opad, bs, DMA_TO_DEVICE); in sun8i_ss_hash_run() 639 addr_pad = dma_map_single(ss->dev, pad, j * 4, DMA_TO_DEVICE); in sun8i_ss_hash_run()
|
/linux/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-prng.c | 97 dma_iv = dma_map_single(ce->dev, ctx->seed, ctx->slen, DMA_TO_DEVICE); in sun8i_ce_prng_generate() 104 dma_dst = dma_map_single(ce->dev, d, todo, DMA_FROM_DEVICE); in sun8i_ce_prng_generate()
|
H A D | sun8i-ce-trng.c | 50 dma_dst = dma_map_single(ce->dev, d, todo, DMA_FROM_DEVICE); in sun8i_ce_trng_read()
|
/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cpt_reqmgr.h | 228 list[i].dma_addr = dma_map_single(&pdev->dev, list[i].vptr, in setup_sgio_components() 297 list[i].dma_addr = dma_map_single(&pdev->dev, list[i].vptr, in sgv2io_components_setup() 393 info->dptr_baddr = dma_map_single(&pdev->dev, info->in_buffer, in cn10k_sgv2_info_create() 469 info->dptr_baddr = dma_map_single(&pdev->dev, info->in_buffer, in otx2_sg_info_create()
|
/linux/drivers/crypto/aspeed/ |
H A D | aspeed-hace-hash.c | 145 rctx->digest_dma_addr = dma_map_single(hace_dev->dev, rctx->digest, in aspeed_ahash_dma_prepare() 190 rctx->digest_dma_addr = dma_map_single(hace_dev->dev, rctx->digest, in aspeed_ahash_dma_prepare_sg() 203 rctx->buffer_dma_addr = dma_map_single(hace_dev->dev, in aspeed_ahash_dma_prepare_sg() 374 rctx->digest_dma_addr = dma_map_single(hace_dev->dev, rctx->digest, in aspeed_ahash_hmac_resume() 383 rctx->buffer_dma_addr = dma_map_single(hace_dev->dev, rctx->buffer, in aspeed_ahash_hmac_resume() 416 rctx->digest_dma_addr = dma_map_single(hace_dev->dev, in aspeed_ahash_req_final() 426 rctx->buffer_dma_addr = dma_map_single(hace_dev->dev, in aspeed_ahash_req_final()
|
/linux/drivers/scsi/ |
H A D | a2091.c | 59 addr = dma_map_single(hdata->dev, scsi_pointer->ptr, in dma_setup() 93 addr = dma_map_single(hdata->dev, wh->dma_bounce_buffer, in dma_setup()
|
H A D | gvp11.c | 66 addr = dma_map_single(hdata->dev, scsi_pointer->ptr, in dma_setup() 113 addr = dma_map_single(hdata->dev, in dma_setup()
|
/linux/drivers/crypto/ccree/ |
H A D | cc_buffer_mgr.c | 392 dma_map_single(dev, info, ivsize, DMA_BIDIRECTIONAL); in cc_map_cipher_request() 566 dma_map_single(dev, areq_ctx->gen_ctx.iv, hw_iv_size, in cc_aead_chain_iv() 977 dma_addr = dma_map_single(dev, areq_ctx->mac_buf, MAX_MAC_SIZE, in cc_map_aead_request() 990 dma_addr = dma_map_single(dev, addr, AES_BLOCK_SIZE, in cc_map_aead_request() 1009 dma_addr = dma_map_single(dev, areq_ctx->hkey, AES_BLOCK_SIZE, in cc_map_aead_request() 1019 dma_addr = dma_map_single(dev, &areq_ctx->gcm_len_block, in cc_map_aead_request() 1029 dma_addr = dma_map_single(dev, areq_ctx->gcm_iv_inc1, in cc_map_aead_request() 1041 dma_addr = dma_map_single(dev, areq_ctx->gcm_iv_inc2, in cc_map_aead_request()
|
/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | tx-gen2.c | 120 phys = dma_map_single(trans->dev, page_address(page), len, in iwl_txq_gen2_set_tb_with_wa() 332 tb_phys = dma_map_single(trans->dev, tb1_addr, len, DMA_TO_DEVICE); in iwl_txq_gen2_build_tx_amsdu() 427 tb_phys = dma_map_single(trans->dev, tb1_addr, tb1_len, DMA_TO_DEVICE); in iwl_txq_gen2_build_tx() 444 tb_phys = dma_map_single(trans->dev, skb->data + hdr_len, in iwl_txq_gen2_build_tx() 459 tb_phys = dma_map_single(trans->dev, frag->data, in iwl_txq_gen2_build_tx() 1380 phys_addr = dma_map_single(trans->dev, in iwl_pcie_gen2_enqueue_hcmd() 1404 phys_addr = dma_map_single(trans->dev, data, in iwl_pcie_gen2_enqueue_hcmd()
|
/linux/tools/virtio/linux/ |
H A D | dma-mapping.h | 26 #define dma_map_single(d, p, s, dir) (virt_to_phys(p)) macro
|
/linux/drivers/net/wan/ |
H A D | wanxl.c | 95 dma_addr_t addr = dma_map_single(&pdev->dev, ptr, size, direction); in pci_map_single_debug() 245 dma_map_single(&card->pdev->dev, in wanxl_rx_intr() 305 desc->address = dma_map_single(&port->card->pdev->dev, skb->data, in wanxl_xmit() 703 dma_map_single(&card->pdev->dev, skb->data, in wanxl_pci_init_one()
|
/linux/arch/alpha/include/asm/ |
H A D | floppy.h | 57 bus_addr = dma_map_single(&isa_bridge->dev, addr, size, dir); in alpha_fd_dma_setup()
|
/linux/drivers/scsi/aacraid/ |
H A D | commctrl.c | 691 addr = dma_map_single(&dev->pdev->dev, p, sg_count[i], in aac_send_raw_srb() 753 addr = dma_map_single(&dev->pdev->dev, p, in aac_send_raw_srb() 809 addr = dma_map_single(&dev->pdev->dev, p, in aac_send_raw_srb() 865 addr = dma_map_single(&dev->pdev->dev, p, in aac_send_raw_srb() 906 addr = dma_map_single(&dev->pdev->dev, p, in aac_send_raw_srb()
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-queue.c | 221 s->sg_handle = dma_map_single(&itv->pdev->dev, s->sg_dma, in ivtv_stream_alloc() 241 buf->dma_handle = dma_map_single(&s->itv->pdev->dev, in ivtv_stream_alloc()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
H A D | trx.c | 84 mapping = dma_map_single(&rtlpci->pdev->dev, skb->data, skb->len, in rtl92de_tx_fill_desc() 244 dma_addr_t mapping = dma_map_single(&rtlpci->pdev->dev, skb->data, in rtl92de_tx_fill_cmddesc()
|