Home
last modified time | relevance | path

Searched refs:dma_unmap_single (Results 1 – 25 of 461) sorted by relevance

12345678910>>...19

/kernel/linux/linux-5.10/drivers/crypto/caam/
Dcaampkc.c52 dma_unmap_single(dev, edesc->sec4_sg_dma, edesc->sec4_sg_bytes, in rsa_io_unmap()
64 dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); in rsa_pub_unmap()
65 dma_unmap_single(dev, pdb->e_dma, key->e_sz, DMA_TO_DEVICE); in rsa_pub_unmap()
76 dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); in rsa_priv_f1_unmap()
77 dma_unmap_single(dev, pdb->d_dma, key->d_sz, DMA_TO_DEVICE); in rsa_priv_f1_unmap()
90 dma_unmap_single(dev, pdb->d_dma, key->d_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
91 dma_unmap_single(dev, pdb->p_dma, p_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
92 dma_unmap_single(dev, pdb->q_dma, q_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
93 dma_unmap_single(dev, pdb->tmp1_dma, p_sz, DMA_BIDIRECTIONAL); in rsa_priv_f2_unmap()
94 dma_unmap_single(dev, pdb->tmp2_dma, q_sz, DMA_BIDIRECTIONAL); in rsa_priv_f2_unmap()
[all …]
Dqi.c159 dma_unmap_single(drv_req->drv_ctx->qidev, qm_fd_addr(fd), in caam_fq_ern_cb()
455 dma_unmap_single(qidev, hwdesc, size, DMA_BIDIRECTIONAL); in caam_drv_ctx_init()
503 dma_unmap_single(drv_ctx->qidev, drv_ctx->context_a, in caam_drv_ctx_rel()
607 dma_unmap_single(drv_req->drv_ctx->qidev, qm_fd_addr(fd), in caam_rsp_fq_dqrr_cb()
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c155 dma_unmap_single(dev, req->in.dh.in.b, in qat_dh_cb()
167 dma_unmap_single(dev, req->out.dh.r, req->ctx.dh->p_size, in qat_dh_cb()
171 dma_unmap_single(dev, req->phy_in, sizeof(struct qat_dh_input_params), in qat_dh_cb()
173 dma_unmap_single(dev, req->phy_out, in qat_dh_cb()
354 dma_unmap_single(dev, qat_req->phy_out, in qat_dh_compute_value()
359 dma_unmap_single(dev, qat_req->phy_in, in qat_dh_compute_value()
368 dma_unmap_single(dev, qat_req->out.dh.r, ctx->p_size, in qat_dh_compute_value()
377 dma_unmap_single(dev, qat_req->in.dh.in.b, in qat_dh_compute_value()
522 dma_unmap_single(dev, req->in.rsa.enc.m, req->ctx.rsa->key_sz, in qat_rsa_cb()
533 dma_unmap_single(dev, req->out.rsa.enc.c, req->ctx.rsa->key_sz, in qat_rsa_cb()
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-fsl-cpm.c161 dma_unmap_single(dev, mspi->tx_dma, t->len, DMA_TO_DEVICE); in fsl_spi_cpm_bufs()
172 dma_unmap_single(dev, mspi->tx_dma, t->len, DMA_TO_DEVICE); in fsl_spi_cpm_bufs_complete()
174 dma_unmap_single(dev, mspi->rx_dma, t->len, DMA_FROM_DEVICE); in fsl_spi_cpm_bufs_complete()
373 dma_unmap_single(dev, mspi->dma_dummy_tx, PAGE_SIZE, DMA_TO_DEVICE); in fsl_spi_cpm_init()
392 dma_unmap_single(dev, mspi->dma_dummy_rx, SPI_MRBLR, DMA_FROM_DEVICE); in fsl_spi_cpm_free()
393 dma_unmap_single(dev, mspi->dma_dummy_tx, PAGE_SIZE, DMA_TO_DEVICE); in fsl_spi_cpm_free()
Dspi-slave-mt27xx.c249 dma_unmap_single(dev, xfer->rx_dma, in mtk_spi_slave_dma_transfer()
254 dma_unmap_single(dev, xfer->tx_dma, in mtk_spi_slave_dma_transfer()
329 dma_unmap_single(mdata->dev, trans->tx_dma, in mtk_spi_slave_interrupt()
332 dma_unmap_single(mdata->dev, trans->rx_dma, in mtk_spi_slave_interrupt()
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/
Dotx_cptvf_reqmgr.h197 dma_unmap_single(&pdev->dev, info->dptr_baddr, in do_request_cleanup()
204 dma_unmap_single(&pdev->dev, in do_request_cleanup()
212 dma_unmap_single(&pdev->dev, in do_request_cleanup()
/kernel/linux/linux-5.10/drivers/scsi/snic/
Dsnic_io.c105 dma_unmap_single(&snic->pdev->dev, buf->dma_addr, buf->len, in snic_free_wq_buf()
190 dma_unmap_single(&snic->pdev->dev, pa, len, DMA_TO_DEVICE); in snic_queue_wq_desc()
354 dma_unmap_single(&snic->pdev->dev, in snic_req_free()
364 dma_unmap_single(&snic->pdev->dev, in snic_req_free()
373 dma_unmap_single(&snic->pdev->dev, in snic_req_free()
388 dma_unmap_single(&snic->pdev->dev, in snic_pci_unmap_rsp_buf()
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
Dcptvf_reqmanager.c111 dma_unmap_single(&pdev->dev, list[i].dma_addr, in setup_sgio_components()
278 dma_unmap_single(&pdev->dev, info->dptr_baddr, in do_request_cleanup()
282 dma_unmap_single(&pdev->dev, info->rptr_baddr, in do_request_cleanup()
286 dma_unmap_single(&pdev->dev, info->comp_baddr, in do_request_cleanup()
293 dma_unmap_single(&pdev->dev, in do_request_cleanup()
301 dma_unmap_single(&pdev->dev, in do_request_cleanup()
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-prng.c161 dma_unmap_single(ss->dev, dma_dst, todo, DMA_FROM_DEVICE); in sun8i_ss_prng_generate()
163 dma_unmap_single(ss->dev, dma_iv, ctx->slen, DMA_TO_DEVICE); in sun8i_ss_prng_generate()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/
Dp54pci.c224 dma_unmap_single(&priv->pdev->dev, dma_addr, in p54p_check_rx_ring()
264 dma_unmap_single(&priv->pdev->dev, in p54p_check_tx_ring()
387 dma_unmap_single(&priv->pdev->dev, in p54p_stop()
398 dma_unmap_single(&priv->pdev->dev, in p54p_stop()
409 dma_unmap_single(&priv->pdev->dev, in p54p_stop()
421 dma_unmap_single(&priv->pdev->dev, in p54p_stop()
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-prng.c152 dma_unmap_single(ce->dev, dma_dst, todo, DMA_FROM_DEVICE); in sun8i_ce_prng_generate()
154 dma_unmap_single(ce->dev, dma_iv, ctx->slen, DMA_TO_DEVICE); in sun8i_ce_prng_generate()
Dsun8i-ce-cipher.c254 dma_unmap_single(ce->dev, rctx->addr_iv, rctx->ivlen, DMA_TO_DEVICE); in sun8i_ce_cipher_prepare()
267 dma_unmap_single(ce->dev, rctx->addr_key, op->keylen, DMA_TO_DEVICE); in sun8i_ce_cipher_prepare()
319 dma_unmap_single(ce->dev, rctx->addr_iv, rctx->ivlen, DMA_TO_DEVICE); in sun8i_ce_cipher_unprepare()
331 dma_unmap_single(ce->dev, rctx->addr_key, op->keylen, DMA_TO_DEVICE); in sun8i_ce_cipher_unprepare()
/kernel/linux/linux-5.10/tools/virtio/linux/
Ddma-mapping.h29 #define dma_unmap_single(...) do { } while (0) macro
/kernel/linux/linux-5.10/drivers/net/ethernet/natsemi/
Dsonic.c129 dma_unmap_single(lp->device, lp->rx_laddr[i], SONIC_RBSIZE, DMA_FROM_DEVICE); in sonic_open()
199 dma_unmap_single(lp->device, lp->tx_laddr[i], lp->tx_len[i], DMA_TO_DEVICE); in sonic_close()
211 dma_unmap_single(lp->device, lp->rx_laddr[i], SONIC_RBSIZE, DMA_FROM_DEVICE); in sonic_close()
240 dma_unmap_single(lp->device, lp->tx_laddr[i], lp->tx_len[i], DMA_TO_DEVICE); in sonic_tx_timeout()
412 dma_unmap_single(lp->device, lp->tx_laddr[entry], lp->tx_len[entry], DMA_TO_DEVICE); in sonic_interrupt()
584 dma_unmap_single(lp->device, addr, SONIC_RBSIZE, in sonic_rx()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Ddbring.c66 dma_unmap_single(ab->dev, paddr, ring->buf_sz, in ath11k_dbring_bufs_replenish()
310 dma_unmap_single(ab->dev, buff->paddr, ring->buf_sz, in ath11k_dbring_buffer_release_event()
347 dma_unmap_single(ar->ab->dev, buff->paddr, in ath11k_dbring_buf_cleanup()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Ddma.c77 dma_unmap_single(dev->dev, t->dma_addr, dev->drv->txwi_size, in mt76_free_pending_txwi()
186 dma_unmap_single(dev->dev, e->dma_addr[0], e->dma_len[0], in mt76_dma_tx_cleanup_idx()
190 dma_unmap_single(dev->dev, e->dma_addr[1], e->dma_len[1], in mt76_dma_tx_cleanup_idx()
289 dma_unmap_single(dev->dev, buf_addr, buf_len, DMA_FROM_DEVICE); in mt76_dma_get_buf()
417 dma_unmap_single(dev->dev, tx_info.buf[n].addr, in mt76_dma_tx_queue_skb()
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/
Dibmveth.c285 dma_unmap_single(&adapter->vdev->dev, in ibmveth_replenish_buffer_pool()
338 dma_unmap_single(&adapter->vdev->dev, in ibmveth_free_buffer_pool()
377 dma_unmap_single(&adapter->vdev->dev, in ibmveth_remove_buffer_from_pool()
641 dma_unmap_single(dev, adapter->filter_list_dma, 4096, in ibmveth_open()
644 dma_unmap_single(dev, adapter->buffer_list_dma, 4096, in ibmveth_open()
688 dma_unmap_single(dev, adapter->buffer_list_dma, 4096, in ibmveth_close()
692 dma_unmap_single(dev, adapter->filter_list_dma, 4096, in ibmveth_close()
705 dma_unmap_single(&adapter->vdev->dev, adapter->bounce_buffer_dma, in ibmveth_close()
1172 dma_unmap_single(&adapter->vdev->dev, in ibmveth_start_xmit()
1193 dma_unmap_single(&adapter->vdev->dev, in ibmveth_start_xmit()
/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm_ibmvtpm.c359 dma_unmap_single(ibmvtpm->dev, ibmvtpm->crq_dma_handle, in tpm_ibmvtpm_remove()
364 dma_unmap_single(ibmvtpm->dev, ibmvtpm->rtce_dma_handle, in tpm_ibmvtpm_remove()
711 dma_unmap_single(dev, ibmvtpm->crq_dma_handle, CRQ_RES_BUF_SIZE, in tpm_ibmvtpm_probe()
/kernel/linux/linux-5.10/drivers/crypto/
Dmxs-dcp.c211 dma_unmap_single(sdcp->dev, desc_phys, sizeof(*desc), DMA_TO_DEVICE); in mxs_dcp_start_dma()
282 dma_unmap_single(sdcp->dev, dst_phys, DCP_BUF_SZ, DMA_FROM_DEVICE); in mxs_dcp_run_aes()
284 dma_unmap_single(sdcp->dev, src_phys, DCP_BUF_SZ, DMA_TO_DEVICE); in mxs_dcp_run_aes()
286 dma_unmap_single(sdcp->dev, key_phys, 2 * AES_KEYSIZE_128, in mxs_dcp_run_aes()
605 dma_unmap_single(sdcp->dev, digest_phys, DCP_SHA_PAY_SZ, in mxs_dcp_run_sha()
609 dma_unmap_single(sdcp->dev, buf_phys, DCP_BUF_SZ, DMA_TO_DEVICE); in mxs_dcp_run_sha()
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
Dinterrupt.c245 dma_unmap_single(&tp->pdev->dev, in tulip_poll()
475 dma_unmap_single(&tp->pdev->dev, in tulip_rx()
607 dma_unmap_single(&tp->pdev->dev, in tulip_interrupt()
639 dma_unmap_single(&tp->pdev->dev, in tulip_interrupt()
/kernel/linux/linux-5.10/drivers/crypto/ccree/
Dcc_buffer_mgr.c348 dma_unmap_single(dev, req_ctx->gen_ctx.iv_dma_addr, in cc_unmap_cipher_request()
465 dma_unmap_single(dev, areq_ctx->mac_buf_dma_addr, in cc_unmap_aead_request()
471 dma_unmap_single(dev, areq_ctx->hkey_dma_addr, in cc_unmap_aead_request()
476 dma_unmap_single(dev, areq_ctx->gcm_block_len_dma_addr, in cc_unmap_aead_request()
481 dma_unmap_single(dev, areq_ctx->gcm_iv_inc1_dma_addr, in cc_unmap_aead_request()
486 dma_unmap_single(dev, areq_ctx->gcm_iv_inc2_dma_addr, in cc_unmap_aead_request()
493 dma_unmap_single(dev, areq_ctx->ccm_iv0_dma_addr, in cc_unmap_aead_request()
500 dma_unmap_single(dev, areq_ctx->gen_ctx.iv_dma_addr, in cc_unmap_aead_request()
/kernel/linux/linux-5.10/drivers/firmware/tegra/
Divc.c647 dma_unmap_single(peer, ivc->rx.phys, queue_size, in tegra_ivc_init()
681 dma_unmap_single(ivc->peer, ivc->rx.phys, size, in tegra_ivc_cleanup()
683 dma_unmap_single(ivc->peer, ivc->tx.phys, size, in tegra_ivc_cleanup()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-mt65xx.c975 dma_unmap_single(i2c->dev, wpaddr, in mtk_i2c_do_transfer()
987 dma_unmap_single(i2c->dev, wpaddr, in mtk_i2c_do_transfer()
1029 dma_unmap_single(i2c->dev, wpaddr, in mtk_i2c_do_transfer()
1034 dma_unmap_single(i2c->dev, rpaddr, in mtk_i2c_do_transfer()
1039 dma_unmap_single(i2c->dev, wpaddr, msgs->len, in mtk_i2c_do_transfer()
1041 dma_unmap_single(i2c->dev, rpaddr, (msgs + 1)->len, in mtk_i2c_do_transfer()
/kernel/linux/linux-5.10/drivers/ps3/
Dps3stor_lib.c208 dma_unmap_single(&dev->sbd.core, dev->bounce_dma, dev->bounce_size, in ps3stor_setup()
232 dma_unmap_single(&dev->sbd.core, dev->bounce_dma, dev->bounce_size, in ps3stor_teardown()
/kernel/linux/linux-5.10/drivers/net/wan/
Dwanxl.c183 dma_unmap_single(&port->card->pdev->dev, desc->address, in wanxl_tx_intr()
210 dma_unmap_single(&card->pdev->dev, in wanxl_rx_intr()
455 dma_unmap_single(&port->card->pdev->dev, in wanxl_close()
528 dma_unmap_single(&card->pdev->dev, in wanxl_pci_remove_one()

12345678910>>...19