Home
last modified time | relevance | path

Searched refs:dma_map_single (Results 1 – 25 of 551) sorted by relevance

12345678910>>...23

/linux-6.6.21/drivers/crypto/caam/
Dcaampkc.c350 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 …]
Dblob_gen.c90 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()
Dkey_gen.c75 dma_addr = dma_map_single(jrdev, key_out, local_max, DMA_BIDIRECTIONAL); in gen_split_key()
Dcaamalg_qi2.c490 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/
Dchain_mode.c36 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()
Dring_mode.c40 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/
Dqat_bl.c106 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()
Dqat_asym_algs.c304 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/
Dspi-fsl-cpm.c143 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/
Dsun8i-ss-prng.c108 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()
Dsun8i-ss-hash.c544 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/
Dsun8i-ce-prng.c97 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/
Daspeed-hace-hash.c145 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/
Dmeth.c237 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/
Da2091.c59 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()
Da3000.c64 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/
Ddma-mapping.h26 #define dma_map_single(d, p, s, dir) (virt_to_phys(p)) macro
/linux-6.6.21/drivers/crypto/
Dmxs-dcp.c179 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/
Dtx-gen2.c201 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/
Dcptvf_reqmanager.c59 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/
Dcc_buffer_mgr.c392 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/
Dfloppy.h57 bus_addr = dma_map_single(&isa_bridge->dev, addr, size, dir); in alpha_fd_dma_setup()
/linux-6.6.21/drivers/net/wan/
Dwanxl.c95 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/
Ddirty.c52 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/
Dcommctrl.c691 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()

12345678910>>...23