Home
last modified time | relevance | path

Searched refs:DMA_TO_DEVICE (Results 1 – 25 of 899) sorted by relevance

12345678910>>...36

/linux-6.12.1/drivers/crypto/caam/
Dcaampkc.c55 dma_unmap_sg(dev, req_ctx->fixup_src, edesc->src_nents, DMA_TO_DEVICE); in rsa_io_unmap()
59 DMA_TO_DEVICE); in rsa_io_unmap()
70 dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); in rsa_pub_unmap()
71 dma_unmap_single(dev, pdb->e_dma, key->e_sz, DMA_TO_DEVICE); in rsa_pub_unmap()
82 dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); in rsa_priv_f1_unmap()
83 dma_unmap_single(dev, pdb->d_dma, key->d_sz, DMA_TO_DEVICE); in rsa_priv_f1_unmap()
96 dma_unmap_single(dev, pdb->d_dma, key->d_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
97 dma_unmap_single(dev, pdb->p_dma, p_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
98 dma_unmap_single(dev, pdb->q_dma, q_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
113 dma_unmap_single(dev, pdb->p_dma, p_sz, DMA_TO_DEVICE); in rsa_priv_f3_unmap()
[all …]
Dcaamhash.c175 DMA_TO_DEVICE); in buf_map_to_sec4_sg()
478 DMA_TO_DEVICE); in ahash_setkey()
504 DMA_TO_DEVICE); in axcbc_setkey()
558 dma_unmap_sg(dev, req->src, edesc->src_nents, DMA_TO_DEVICE); in ahash_unmap()
562 edesc->sec4_sg_bytes, DMA_TO_DEVICE); in ahash_unmap()
566 DMA_TO_DEVICE); in ahash_unmap()
740 src_dma = dma_map_single(ctx->jrdev, sg, sgsize, DMA_TO_DEVICE); in ahash_edesc_add_src()
862 DMA_TO_DEVICE); in ahash_update_ctx()
882 dma_unmap_sg(jrdev, req->src, src_nents, DMA_TO_DEVICE); in ahash_update_ctx()
910 DMA_TO_DEVICE); in ahash_update_ctx()
[all …]
/linux-6.12.1/drivers/accel/qaic/
Dmhi_controller.c30 .dir = DMA_TO_DEVICE,
62 .dir = DMA_TO_DEVICE,
94 .dir = DMA_TO_DEVICE,
126 .dir = DMA_TO_DEVICE,
158 .dir = DMA_TO_DEVICE,
190 .dir = DMA_TO_DEVICE,
222 .dir = DMA_TO_DEVICE,
254 .dir = DMA_TO_DEVICE,
286 .dir = DMA_TO_DEVICE,
318 .dir = DMA_TO_DEVICE,
[all …]
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dqat_bl.c26 bl_dma_dir = blp != blpout ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL; in qat_bl_free_bufl()
32 dma_unmap_single(dev, blp, sz, DMA_TO_DEVICE); in qat_bl_free_bufl()
43 dma_unmap_single(dev, blpout, sz_out, DMA_TO_DEVICE); in qat_bl_free_bufl()
90 bufl_dma_dir = sgl != sglout ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL; in __qat_bl_sgl_to_bufl()
120 blp = dma_map_single(dev, bufl, sz, DMA_TO_DEVICE); in __qat_bl_sgl_to_bufl()
183 bloutp = dma_map_single(dev, buflout, sz_out, DMA_TO_DEVICE); in __qat_bl_sgl_to_bufl()
198 dma_unmap_single(dev, bloutp, sz_out, DMA_TO_DEVICE); in __qat_bl_sgl_to_bufl()
215 dma_unmap_single(dev, blp, sz, DMA_TO_DEVICE); in __qat_bl_sgl_to_bufl()
386 new_blp = dma_map_single(dev, new_bl, new_bl_size, DMA_TO_DEVICE); in qat_bl_realloc_map_new_dst()
391 dma_unmap_single(dev, qat_bufs->bloutp, qat_bufs->sz_out, DMA_TO_DEVICE); in qat_bl_realloc_map_new_dst()
[all …]
Dqat_asym_algs.c170 DMA_TO_DEVICE); in qat_dh_cb()
184 DMA_TO_DEVICE); in qat_dh_cb()
187 DMA_TO_DEVICE); in qat_dh_cb()
307 DMA_TO_DEVICE); in qat_dh_compute_value()
338 DMA_TO_DEVICE); in qat_dh_compute_value()
344 DMA_TO_DEVICE); in qat_dh_compute_value()
364 DMA_TO_DEVICE); in qat_dh_compute_value()
369 DMA_TO_DEVICE); in qat_dh_compute_value()
380 DMA_TO_DEVICE); in qat_dh_compute_value()
577 DMA_TO_DEVICE); in qat_rsa_cb()
[all …]
/linux-6.12.1/drivers/crypto/ccree/
Dcc_buffer_mgr.c297 if (dma_map_sg(dev, &areq_ctx->ccm_adata_sg, 1, DMA_TO_DEVICE) != 1) { in cc_set_aead_conf_buf()
322 if (dma_map_sg(dev, areq_ctx->buff_sg, 1, DMA_TO_DEVICE) != 1) { in cc_set_hash_buf()
360 dma_unmap_sg(dev, src, req_ctx->in_nents, DMA_TO_DEVICE); in cc_unmap_cipher_request()
382 int src_direction = (src != dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL); in cc_map_cipher_request()
462 int src_direction = (req->src != req->dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL); in cc_unmap_aead_request()
477 AES_BLOCK_SIZE, DMA_TO_DEVICE); in cc_unmap_aead_request()
482 AES_BLOCK_SIZE, DMA_TO_DEVICE); in cc_unmap_aead_request()
487 AES_BLOCK_SIZE, DMA_TO_DEVICE); in cc_unmap_aead_request()
494 AES_BLOCK_SIZE, DMA_TO_DEVICE); in cc_unmap_aead_request()
497 dma_unmap_sg(dev, &areq_ctx->ccm_adata_sg, 1, DMA_TO_DEVICE); in cc_unmap_aead_request()
[all …]
/linux-6.12.1/include/linux/
Ddma-direction.h7 DMA_TO_DEVICE = 1, enumerator
14 return dir == DMA_BIDIRECTIONAL || dir == DMA_TO_DEVICE || in valid_dma_direction()
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/
Doctep_tx.c60 tx_buffer->skb->len, DMA_TO_DEVICE); in octep_iq_process_completions()
71 tx_buffer->sglist[0].len[3], DMA_TO_DEVICE); in octep_iq_process_completions()
76 tx_buffer->sglist[i >> 2].len[3 - (i & 3)], DMA_TO_DEVICE); in octep_iq_process_completions()
121 tx_buffer->skb->len, DMA_TO_DEVICE); in octep_iq_free_pending()
133 DMA_TO_DEVICE); in octep_iq_free_pending()
138 tx_buffer->sglist[i >> 2].len[3 - (i & 3)], DMA_TO_DEVICE); in octep_iq_free_pending()
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/
Doctep_vf_tx.c61 tx_buffer->skb->len, DMA_TO_DEVICE); in octep_vf_iq_process_completions()
72 tx_buffer->sglist[0].len[3], DMA_TO_DEVICE); in octep_vf_iq_process_completions()
77 tx_buffer->sglist[i >> 2].len[3 - (i & 3)], DMA_TO_DEVICE); in octep_vf_iq_process_completions()
120 tx_buffer->skb->len, DMA_TO_DEVICE); in octep_vf_iq_free_pending()
132 DMA_TO_DEVICE); in octep_vf_iq_free_pending()
137 tx_buffer->sglist[i >> 2].len[i & 3], DMA_TO_DEVICE); in octep_vf_iq_free_pending()
/linux-6.12.1/drivers/media/pci/ivtv/
Divtv-udma.c87 DMA_TO_DEVICE); in ivtv_udma_alloc()
143 dma->page_count, DMA_TO_DEVICE); in ivtv_udma_setup()
174 DMA_TO_DEVICE); in ivtv_udma_unmap()
191 sizeof(itv->udma.SGarray), DMA_TO_DEVICE); in ivtv_udma_free()
197 itv->udma.page_count, DMA_TO_DEVICE); in ivtv_udma_free()
Divtv-udma.h27 sizeof(itv->udma.SGarray), DMA_TO_DEVICE); in ivtv_udma_sync_for_device()
33 sizeof(itv->udma.SGarray), DMA_TO_DEVICE); in ivtv_udma_sync_for_cpu()
/linux-6.12.1/drivers/scsi/
Dsgiwd93.c55 #define DMA_DIR(d) ((d == DATA_OUT_DIR) ? DMA_TO_DEVICE : DMA_FROM_DEVICE)
105 DMA_TO_DEVICE); in fill_hpc_entries()
246 &hdata->dma, DMA_TO_DEVICE, GFP_KERNEL); in sgiwd93_probe()
286 DMA_TO_DEVICE); in sgiwd93_probe()
303 DMA_TO_DEVICE); in sgiwd93_remove()
/linux-6.12.1/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-cipher.c187 rctx->addr_key = dma_map_single(ce->dev, op->key, op->keylen, DMA_TO_DEVICE); in sun8i_ce_cipher_prepare()
205 DMA_TO_DEVICE); in sun8i_ce_cipher_prepare()
223 nr_sgs = dma_map_sg(ce->dev, areq->src, ns, DMA_TO_DEVICE); in sun8i_ce_cipher_prepare()
277 dma_unmap_sg(ce->dev, areq->src, ns, DMA_TO_DEVICE); in sun8i_ce_cipher_prepare()
284 dma_unmap_single(ce->dev, rctx->addr_iv, rctx->ivlen, DMA_TO_DEVICE); in sun8i_ce_cipher_prepare()
296 dma_unmap_single(ce->dev, rctx->addr_key, op->keylen, DMA_TO_DEVICE); in sun8i_ce_cipher_prepare()
326 dma_unmap_sg(ce->dev, areq->src, nr_sgs, DMA_TO_DEVICE); in sun8i_ce_cipher_unprepare()
332 dma_unmap_single(ce->dev, rctx->addr_iv, rctx->ivlen, DMA_TO_DEVICE); in sun8i_ce_cipher_unprepare()
344 dma_unmap_single(ce->dev, rctx->addr_key, op->keylen, DMA_TO_DEVICE); in sun8i_ce_cipher_unprepare()
/linux-6.12.1/arch/arc/mm/
Ddma.c55 case DMA_TO_DEVICE: in arch_sync_dma_for_device()
76 case DMA_TO_DEVICE: in arch_sync_dma_for_cpu()
/linux-6.12.1/arch/nios2/mm/
Ddma-mapping.c31 case DMA_TO_DEVICE: in arch_sync_dma_for_device()
56 case DMA_TO_DEVICE: in arch_sync_dma_for_cpu()
/linux-6.12.1/drivers/infiniband/ulp/iser/
Diser_initiator.c101 DMA_TO_DEVICE); in iser_prepare_write_cmd()
138 iser_dma_unmap_task_data(iser_task, ISER_DIR_OUT, DMA_TO_DEVICE); in iser_prepare_write_cmd()
153 tx_desc->dma_addr, ISER_HEADERS_LEN, DMA_TO_DEVICE); in iser_create_send_desc()
169 ISCSI_DEF_MAX_RECV_SEG_LEN, DMA_TO_DEVICE); in iser_free_login_buf()
193 DMA_TO_DEVICE); in iser_alloc_login_buf()
216 DMA_TO_DEVICE); in iser_alloc_login_buf()
500 task->data_count, DMA_TO_DEVICE); in iser_send_control()
505 task->data_count, DMA_TO_DEVICE); in iser_send_control()
706 ISER_HEADERS_LEN, DMA_TO_DEVICE); in iser_dataout_comp()
745 DMA_TO_DEVICE); in iser_task_rdma_finalize()
/linux-6.12.1/drivers/net/ethernet/altera/
Daltera_sgdma.c81 priv->txdescmem, DMA_TO_DEVICE); in sgdma_initialize()
94 priv->txdescmem, DMA_TO_DEVICE); in sgdma_initialize()
97 priv->rxdescmem, DMA_TO_DEVICE); in sgdma_initialize()
110 priv->txdescmem, DMA_TO_DEVICE); in sgdma_uninitialize()
365 DMA_TO_DEVICE); in sgdma_async_read()
392 SGDMA_DESC_LEN, DMA_TO_DEVICE); in sgdma_async_write()
/linux-6.12.1/drivers/spi/
Dspi-fsl-cpm.c138 DMA_TO_DEVICE); in fsl_spi_cpm_bufs()
171 dma_unmap_single(dev, mspi->tx_dma, t->len, DMA_TO_DEVICE); in fsl_spi_cpm_bufs()
182 dma_unmap_single(dev, mspi->tx_dma, t->len, DMA_TO_DEVICE); in fsl_spi_cpm_bufs_complete()
354 DMA_TO_DEVICE); in fsl_spi_cpm_init()
390 dma_unmap_single(dev, mspi->dma_dummy_tx, PAGE_SIZE, DMA_TO_DEVICE); in fsl_spi_cpm_init()
410 dma_unmap_single(dev, mspi->dma_dummy_tx, PAGE_SIZE, DMA_TO_DEVICE); in fsl_spi_cpm_free()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxbf_gige/
Dmlxbf_gige_tx.c69 priv->tx_skb[i]->len, DMA_TO_DEVICE); in mlxbf_gige_tx_deinit()
159 priv->tx_skb[tx_wqe_index]->len, DMA_TO_DEVICE); in mlxbf_gige_handle_tx_complete()
219 &tx_buf_dma, DMA_TO_DEVICE); in mlxbf_gige_start_xmit()
234 skb->len, DMA_TO_DEVICE); in mlxbf_gige_start_xmit()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/core/
Dfirmware.c209 fw->img, fw->phys, DMA_TO_DEVICE); in nvkm_firmware_dtor()
213 dma_unmap_sgtable(fw->device->dev, &fw->mem.sgt, DMA_TO_DEVICE, 0); in nvkm_firmware_dtor()
244 DMA_TO_DEVICE, in nvkm_firmware_ctor()
286 DMA_TO_DEVICE, 0); in nvkm_firmware_ctor()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx-gen2.c37 DMA_TO_DEVICE, DMA_ATTR_SKIP_CPU_SYNC); in get_workaround_page()
121 DMA_TO_DEVICE); in iwl_txq_gen2_set_tb_with_wa()
127 DMA_TO_DEVICE); in iwl_txq_gen2_set_tb_with_wa()
149 dma_unmap_page(trans->dev, oldphys, len, DMA_TO_DEVICE); in iwl_txq_gen2_set_tb_with_wa()
151 dma_unmap_single(trans->dev, oldphys, len, DMA_TO_DEVICE); in iwl_txq_gen2_set_tb_with_wa()
283 DMA_TO_DEVICE); in iwl_txq_gen2_build_amsdu()
332 tb_phys = dma_map_single(trans->dev, tb1_addr, len, DMA_TO_DEVICE); in iwl_txq_gen2_build_tx_amsdu()
371 fragsz, DMA_TO_DEVICE); in iwl_txq_gen2_tx_add_frags()
427 tb_phys = dma_map_single(trans->dev, tb1_addr, tb1_len, DMA_TO_DEVICE); in iwl_txq_gen2_build_tx()
445 tb2_len, DMA_TO_DEVICE); in iwl_txq_gen2_build_tx()
[all …]
/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/
Dring_mode.c41 DMA_TO_DEVICE); in jumbo_frm()
62 DMA_TO_DEVICE); in jumbo_frm()
76 nopaged_len, DMA_TO_DEVICE); in jumbo_frm()
Dchain_mode.c37 bmax, DMA_TO_DEVICE); in jumbo_frm()
55 bmax, DMA_TO_DEVICE); in jumbo_frm()
68 DMA_TO_DEVICE); in jumbo_frm()
/linux-6.12.1/arch/csky/mm/
Ddma-mapping.c62 case DMA_TO_DEVICE: in arch_sync_dma_for_device()
78 case DMA_TO_DEVICE: in arch_sync_dma_for_cpu()
/linux-6.12.1/drivers/scsi/snic/
Dsnic_io.c92 DMA_TO_DEVICE); in snic_free_wq_buf()
162 pa = dma_map_single(&snic->pdev->dev, os_buf, len, DMA_TO_DEVICE); in snic_queue_wq_desc()
176 dma_unmap_single(&snic->pdev->dev, pa, len, DMA_TO_DEVICE); in snic_queue_wq_desc()
343 DMA_TO_DEVICE); in snic_req_free()
353 DMA_TO_DEVICE); in snic_req_free()
362 DMA_TO_DEVICE); in snic_req_free()

12345678910>>...36