/linux-6.6.21/drivers/crypto/caam/ |
D | caampkc.c | 350 edesc->sec4_sg_dma = dma_map_single(dev, edesc->sec4_sg, in rsa_edesc_alloc() 415 pdb->n_dma = dma_map_single(dev, key->n, key->n_sz, DMA_TO_DEVICE); in set_rsa_pub_pdb() 421 pdb->e_dma = dma_map_single(dev, key->e, key->e_sz, DMA_TO_DEVICE); in set_rsa_pub_pdb() 460 pdb->n_dma = dma_map_single(dev, key->n, key->n_sz, DMA_TO_DEVICE); in set_rsa_priv_f1_pdb() 466 pdb->d_dma = dma_map_single(dev, key->d, key->d_sz, DMA_TO_DEVICE); in set_rsa_priv_f1_pdb() 509 pdb->d_dma = dma_map_single(dev, key->d, key->d_sz, DMA_TO_DEVICE); in set_rsa_priv_f2_pdb() 515 pdb->p_dma = dma_map_single(dev, key->p, p_sz, DMA_TO_DEVICE); in set_rsa_priv_f2_pdb() 521 pdb->q_dma = dma_map_single(dev, key->q, q_sz, DMA_TO_DEVICE); in set_rsa_priv_f2_pdb() 527 pdb->tmp1_dma = dma_map_single(dev, key->tmp1, p_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f2_pdb() 533 pdb->tmp2_dma = dma_map_single(dev, key->tmp2, q_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f2_pdb() [all …]
|
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()
|
D | key_gen.c | 75 dma_addr = dma_map_single(jrdev, key_out, local_max, DMA_BIDIRECTIONAL); in gen_split_key()
|
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 …]
|
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/ |
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()
|
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-6.6.21/drivers/crypto/intel/qat/qat_common/ |
D | qat_bl.c | 106 bufl->buffers[y].addr = dma_map_single(dev, sg_virt(sg) + left, in __qat_bl_sgl_to_bufl() 119 blp = dma_map_single(dev, bufl, sz, DMA_TO_DEVICE); in __qat_bl_sgl_to_bufl() 161 buffers[y].addr = dma_map_single(dev, sg_virt(sg) + left, in __qat_bl_sgl_to_bufl() 181 bloutp = dma_map_single(dev, buflout, sz_out, DMA_TO_DEVICE); in __qat_bl_sgl_to_bufl() 293 bufl->buffers[y].addr = dma_map_single(dev, sg_virt(sg), in qat_bl_sgl_map() 384 new_blp = dma_map_single(dev, new_bl, new_bl_size, DMA_TO_DEVICE); in qat_bl_realloc_map_new_dst()
|
D | qat_asym_algs.c | 304 qat_req->in.dh.in.b = dma_map_single(dev, vaddr, ctx->p_size, in qat_dh_compute_value() 326 qat_req->out.dh.r = dma_map_single(dev, vaddr, ctx->p_size, in qat_dh_compute_value() 334 qat_req->phy_in = dma_map_single(dev, &qat_req->in.dh, in qat_dh_compute_value() 340 qat_req->phy_out = dma_map_single(dev, &qat_req->out.dh, in qat_dh_compute_value() 710 qat_req->in.rsa.enc.m = dma_map_single(dev, vaddr, ctx->key_sz, in qat_rsa_enc() 725 qat_req->out.rsa.enc.c = dma_map_single(dev, vaddr, ctx->key_sz, in qat_rsa_enc() 732 qat_req->phy_in = dma_map_single(dev, &qat_req->in.rsa, in qat_rsa_enc() 738 qat_req->phy_out = dma_map_single(dev, &qat_req->out.rsa, in qat_rsa_enc() 854 qat_req->in.rsa.dec.c = dma_map_single(dev, vaddr, ctx->key_sz, in qat_rsa_dec() 868 qat_req->out.rsa.dec.m = dma_map_single(dev, vaddr, ctx->key_sz, in qat_rsa_dec() [all …]
|
/linux-6.6.21/drivers/spi/ |
D | spi-fsl-cpm.c | 143 mspi->tx_dma = dma_map_single(dev, nonconst_tx, t->len, in fsl_spi_cpm_bufs() 154 mspi->rx_dma = dma_map_single(dev, mspi->rx, t->len, in fsl_spi_cpm_bufs() 359 mspi->dma_dummy_tx = dma_map_single(dev, ZERO_PAGE(0), PAGE_SIZE, in fsl_spi_cpm_init() 366 mspi->dma_dummy_rx = dma_map_single(dev, fsl_dummy_rx, SPI_MRBLR, in fsl_spi_cpm_init()
|
/linux-6.6.21/drivers/crypto/allwinner/sun8i-ss/ |
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()
|
D | sun8i-ss-hash.c | 544 addr_res = dma_map_single(ss->dev, result, digestsize, DMA_FROM_DEVICE); in sun8i_ss_hash_run() 596 addr_xpad = dma_map_single(ss->dev, tfmctx->ipad, bs, DMA_TO_DEVICE); in sun8i_ss_hash_run() 617 addr_res = dma_map_single(ss->dev, result, digestsize, DMA_FROM_DEVICE); in sun8i_ss_hash_run() 623 addr_xpad = dma_map_single(ss->dev, tfmctx->opad, bs, DMA_TO_DEVICE); in sun8i_ss_hash_run() 656 addr_pad = dma_map_single(ss->dev, pad, j * 4, DMA_TO_DEVICE); in sun8i_ss_hash_run()
|
/linux-6.6.21/drivers/crypto/allwinner/sun8i-ce/ |
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()
|
/linux-6.6.21/drivers/crypto/aspeed/ |
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-6.6.21/drivers/net/ethernet/sgi/ |
D | meth.c | 237 dma_map_single(&priv->pdev->dev, priv->rx_ring[i], in meth_init_rx_ring() 455 dma_map_single(&priv->pdev->dev, in meth_rx() 639 catbuf = dma_map_single(&priv->pdev->dev, buffer_data, buffer_len, in meth_tx_1page_prepare() 665 catbuf1 = dma_map_single(&priv->pdev->dev, buffer1_data, buffer1_len, in meth_tx_2page_prepare() 670 catbuf2 = dma_map_single(&priv->pdev->dev, buffer2_data, buffer2_len, in meth_tx_2page_prepare()
|
/linux-6.6.21/drivers/scsi/ |
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()
|
D | a3000.c | 64 addr = dma_map_single(hdata->dev, scsi_pointer->ptr, in dma_setup() 105 addr = dma_map_single(hdata->dev, scsi_pointer->ptr, in dma_setup()
|
/linux-6.6.21/tools/virtio/linux/ |
D | dma-mapping.h | 26 #define dma_map_single(d, p, s, dir) (virt_to_phys(p)) macro
|
/linux-6.6.21/drivers/crypto/ |
D | mxs-dcp.c | 179 dma_addr_t desc_phys = dma_map_single(sdcp->dev, desc, sizeof(*desc), in mxs_dcp_start_dma() 229 key_phys = dma_map_single(sdcp->dev, sdcp->coh->aes_key, in mxs_dcp_run_aes() 235 src_phys = dma_map_single(sdcp->dev, sdcp->coh->aes_in_buf, in mxs_dcp_run_aes() 241 dst_phys = dma_map_single(sdcp->dev, sdcp->coh->aes_out_buf, in mxs_dcp_run_aes() 556 dma_addr_t buf_phys = dma_map_single(sdcp->dev, sdcp->coh->sha_in_buf, in mxs_dcp_run_sha() 593 digest_phys = dma_map_single(sdcp->dev, sdcp->coh->sha_out_buf, in mxs_dcp_run_sha()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | tx-gen2.c | 201 phys_addr = dma_map_single(trans->dev, in iwl_pcie_gen2_enqueue_hcmd() 225 phys_addr = dma_map_single(trans->dev, data, in iwl_pcie_gen2_enqueue_hcmd()
|
/linux-6.6.21/drivers/crypto/cavium/cpt/ |
D | cptvf_reqmanager.c | 59 list[i].dma_addr = dma_map_single(&pdev->dev, in setup_sgio_components() 187 info->dptr_baddr = dma_map_single(&pdev->dev, in setup_sgio_list() 206 info->rptr_baddr = dma_map_single(&pdev->dev, in setup_sgio_list() 451 info->comp_baddr = dma_map_single(&pdev->dev, in process_request()
|
/linux-6.6.21/drivers/crypto/ccree/ |
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-6.6.21/arch/alpha/include/asm/ |
D | floppy.h | 57 bus_addr = dma_map_single(&isa_bridge->dev, addr, size, dir); in alpha_fd_dma_setup()
|
/linux-6.6.21/drivers/net/wan/ |
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-6.6.21/drivers/vfio/pci/pds/ |
D | dirty.c | 52 dma_map_single(pdsc_dev, region_info, len, DMA_FROM_DEVICE); in pds_vfio_print_guest_region_info() 144 sgl_addr = dma_map_single(pdsc_dev, sgl, sgl_size, DMA_BIDIRECTIONAL); in __pds_vfio_dirty_alloc_sgl() 254 regions_dma = dma_map_single(pdsc_dev, (void *)region_info, len, in pds_vfio_dirty_enable()
|
/linux-6.6.21/drivers/scsi/aacraid/ |
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()
|