Home
last modified time | relevance | path

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

12345678910>>...22

/linux-6.1.9/drivers/crypto/caam/
Dcaampkc.c343 edesc->sec4_sg_dma = dma_map_single(dev, edesc->sec4_sg, in rsa_edesc_alloc()
408 pdb->n_dma = dma_map_single(dev, key->n, key->n_sz, DMA_TO_DEVICE); in set_rsa_pub_pdb()
414 pdb->e_dma = dma_map_single(dev, key->e, key->e_sz, DMA_TO_DEVICE); in set_rsa_pub_pdb()
453 pdb->n_dma = dma_map_single(dev, key->n, key->n_sz, DMA_TO_DEVICE); in set_rsa_priv_f1_pdb()
459 pdb->d_dma = dma_map_single(dev, key->d, key->d_sz, DMA_TO_DEVICE); in set_rsa_priv_f1_pdb()
502 pdb->d_dma = dma_map_single(dev, key->d, key->d_sz, DMA_TO_DEVICE); in set_rsa_priv_f2_pdb()
508 pdb->p_dma = dma_map_single(dev, key->p, p_sz, DMA_TO_DEVICE); in set_rsa_priv_f2_pdb()
514 pdb->q_dma = dma_map_single(dev, key->q, q_sz, DMA_TO_DEVICE); in set_rsa_priv_f2_pdb()
520 pdb->tmp1_dma = dma_map_single(dev, key->tmp1, p_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f2_pdb()
526 pdb->tmp2_dma = dma_map_single(dev, key->tmp2, q_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f2_pdb()
[all …]
Dblob_gen.c87 dma_in = dma_map_single(jrdev, info->input, info->input_len, in caam_process_blob()
95 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.c488 iv_dma = dma_map_single(dev, iv, ivsize, DMA_TO_DEVICE); in aead_edesc_alloc()
511 edesc->assoclen_dma = dma_map_single(dev, &edesc->assoclen, 4, in aead_edesc_alloc()
533 qm_sg_dma = dma_map_single(dev, sg_table, qm_sg_bytes, DMA_TO_DEVICE); in aead_edesc_alloc()
1205 iv_dma = dma_map_single(dev, iv, ivsize, DMA_BIDIRECTIONAL); in skcipher_edesc_alloc()
1228 edesc->qm_sg_dma = dma_map_single(dev, sg_table, edesc->qm_sg_bytes, in skcipher_edesc_alloc()
3102 state->buf_dma = dma_map_single(dev, state->buf, buflen, in buf_map_to_qm_sg()
3121 state->ctx_dma = dma_map_single(dev, state->caam_ctx, ctx_len, flag); in ctx_map_to_qm_sg()
3232 key_dma = dma_map_single(ctx->dev, key, *keylen, DMA_BIDIRECTIONAL); in hash_digest_key()
3251 flc_dma = dma_map_single(ctx->dev, flc, sizeof(flc->flc) + in hash_digest_key()
3591 edesc->qm_sg_dma = dma_map_single(ctx->dev, sg_table, in ahash_update_ctx()
[all …]
/linux-6.1.9/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.1.9/drivers/spi/
Dspi-fsl-cpm.c127 mspi->tx_dma = dma_map_single(dev, nonconst_tx, t->len, in fsl_spi_cpm_bufs()
138 mspi->rx_dma = dma_map_single(dev, mspi->rx, t->len, in fsl_spi_cpm_bufs()
336 mspi->dma_dummy_tx = dma_map_single(dev, empty_zero_page, PAGE_SIZE, in fsl_spi_cpm_init()
343 mspi->dma_dummy_rx = dma_map_single(dev, fsl_dummy_rx, SPI_MRBLR, in fsl_spi_cpm_init()
/linux-6.1.9/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c305 qat_req->in.dh.in.b = dma_map_single(dev, vaddr, ctx->p_size, in qat_dh_compute_value()
327 qat_req->out.dh.r = dma_map_single(dev, vaddr, ctx->p_size, in qat_dh_compute_value()
335 qat_req->phy_in = dma_map_single(dev, &qat_req->in.dh, in qat_dh_compute_value()
341 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.1.9/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-prng.c101 dma_iv = dma_map_single(ss->dev, ctx->seed, ctx->slen, DMA_TO_DEVICE); in sun8i_ss_prng_generate()
108 dma_dst = dma_map_single(ss->dev, d, todo, DMA_FROM_DEVICE); in sun8i_ss_prng_generate()
Dsun8i-ss-hash.c536 addr_res = dma_map_single(ss->dev, result, digestsize, DMA_FROM_DEVICE); in sun8i_ss_hash_run()
588 addr_xpad = dma_map_single(ss->dev, tfmctx->ipad, bs, DMA_TO_DEVICE); in sun8i_ss_hash_run()
609 addr_res = dma_map_single(ss->dev, result, digestsize, DMA_FROM_DEVICE); in sun8i_ss_hash_run()
615 addr_xpad = dma_map_single(ss->dev, tfmctx->opad, bs, DMA_TO_DEVICE); in sun8i_ss_hash_run()
648 addr_pad = dma_map_single(ss->dev, pad, j * 4, DMA_TO_DEVICE); in sun8i_ss_hash_run()
/linux-6.1.9/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()
Dsun8i-ce-trng.c50 dma_dst = dma_map_single(ce->dev, d, todo, DMA_FROM_DEVICE); in sun8i_ce_trng_read()
/linux-6.1.9/tools/virtio/linux/
Ddma-mapping.h26 #define dma_map_single(d, p, s, dir) (virt_to_phys(p)) macro
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/drivers/net/wireless/mediatek/mt76/
Ddma.c54 addr = dma_map_single(dev->dma_dev, txwi, dev->drv->txwi_size, in mt76_alloc_txwi()
330 addr = dma_map_single(dev->dma_dev, skb->data, skb->len, in mt76_dma_tx_queue_skb_raw()
379 addr = dma_map_single(dev->dma_dev, skb->data, len, DMA_TO_DEVICE); in mt76_dma_tx_queue_skb()
392 addr = dma_map_single(dev->dma_dev, iter->data, iter->len, in mt76_dma_tx_queue_skb()
465 addr = dma_map_single(dev->dma_dev, buf, len, DMA_FROM_DEVICE); in mt76_dma_rx_fill()
/linux-6.1.9/drivers/crypto/aspeed/
Daspeed-hace-hash.c156 rctx->digest_dma_addr = dma_map_single(hace_dev->dev, rctx->digest, in aspeed_ahash_dma_prepare()
201 rctx->digest_dma_addr = dma_map_single(hace_dev->dev, rctx->digest, in aspeed_ahash_dma_prepare_sg()
214 rctx->buffer_dma_addr = dma_map_single(hace_dev->dev, in aspeed_ahash_dma_prepare_sg()
385 rctx->digest_dma_addr = dma_map_single(hace_dev->dev, rctx->digest, in aspeed_ahash_hmac_resume()
394 rctx->buffer_dma_addr = dma_map_single(hace_dev->dev, rctx->buffer, in aspeed_ahash_hmac_resume()
427 rctx->digest_dma_addr = dma_map_single(hace_dev->dev, in aspeed_ahash_req_final()
437 rctx->buffer_dma_addr = dma_map_single(hace_dev->dev, in aspeed_ahash_req_final()
/linux-6.1.9/arch/alpha/include/asm/
Dfloppy.h57 bus_addr = dma_map_single(&isa_bridge->dev, addr, size, dir); in alpha_fd_dma_setup()
/linux-6.1.9/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.1.9/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>>...22