Home
last modified time | relevance | path

Searched refs:dma_free_coherent (Results 1 – 25 of 811) sorted by relevance

12345678910>>...33

/linux-6.12.1/drivers/media/platform/verisilicon/
Dhantro_hevc.c92 dma_free_coherent(vpu->dev, hevc_dec->tile_filter.size, in tile_buffer_reallocate()
99 dma_free_coherent(vpu->dev, hevc_dec->tile_sao.size, in tile_buffer_reallocate()
106 dma_free_coherent(vpu->dev, hevc_dec->tile_bsd.size, in tile_buffer_reallocate()
142 dma_free_coherent(vpu->dev, hevc_dec->tile_sao.size, in tile_buffer_reallocate()
149 dma_free_coherent(vpu->dev, hevc_dec->tile_filter.size, in tile_buffer_reallocate()
221 dma_free_coherent(vpu->dev, hevc_dec->tile_sizes.size, in hantro_hevc_dec_exit()
227 dma_free_coherent(vpu->dev, hevc_dec->scaling_lists.size, in hantro_hevc_dec_exit()
233 dma_free_coherent(vpu->dev, hevc_dec->tile_filter.size, in hantro_hevc_dec_exit()
239 dma_free_coherent(vpu->dev, hevc_dec->tile_sao.size, in hantro_hevc_dec_exit()
245 dma_free_coherent(vpu->dev, hevc_dec->tile_bsd.size, in hantro_hevc_dec_exit()
Dhantro_vp9.c221 dma_free_coherent(vpu->dev, segment_map->size, segment_map->cpu, segment_map->dma); in hantro_vp9_dec_init()
224 dma_free_coherent(vpu->dev, tile_edge->size, tile_edge->cpu, tile_edge->dma); in hantro_vp9_dec_init()
237 dma_free_coherent(vpu->dev, misc->size, misc->cpu, misc->dma); in hantro_vp9_dec_exit()
238 dma_free_coherent(vpu->dev, segment_map->size, segment_map->cpu, segment_map->dma); in hantro_vp9_dec_exit()
239 dma_free_coherent(vpu->dev, tile_edge->size, tile_edge->cpu, tile_edge->dma); in hantro_vp9_dec_exit()
Dhantro_vp8.c185 dma_free_coherent(vpu->dev, ctx->vp8_dec.segment_map.size, in hantro_vp8_dec_init()
197 dma_free_coherent(vpu->dev, vp8_dec->segment_map.size, in hantro_vp8_dec_exit()
199 dma_free_coherent(vpu->dev, vp8_dec->prob_tbl.size, in hantro_vp8_dec_exit()
/linux-6.12.1/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_opr.c64 dma_free_coherent(mem_dev, b->size, b->virt, b->dma); in s5p_mfc_alloc_priv_buf()
106 dma_free_coherent(mem_dev, b->size, b->virt, b->dma); in s5p_mfc_release_priv_buf()
117 dma_free_coherent(mem_dev, b->size, b->virt, b->dma); in s5p_mfc_release_generic_buf()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dalloc.c96 dma_free_coherent(mlx5_core_dma_dev(dev), frag_sz, in mlx5_frag_buf_alloc_node()
109 dma_free_coherent(mlx5_core_dma_dev(dev), PAGE_SIZE, buf->frags[i].buf, in mlx5_frag_buf_alloc_node()
125 dma_free_coherent(mlx5_core_dma_dev(dev), frag_sz, buf->frags[i].buf, in mlx5_frag_buf_free()
225 dma_free_coherent(mlx5_core_dma_dev(dev), PAGE_SIZE, in mlx5_db_free()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/pcie/
Dctxt-info-gen3.c258 dma_free_coherent(trans->dev, sizeof(*trans_pcie->ctxt_info_gen3), in iwl_pcie_ctxt_info_gen3_init()
263 dma_free_coherent(trans->dev, PAGE_SIZE, prph_info, in iwl_pcie_ctxt_info_gen3_init()
267 dma_free_coherent(trans->dev, in iwl_pcie_ctxt_info_gen3_init()
280 dma_free_coherent(trans->dev, trans->iml_len, trans_pcie->iml, in iwl_pcie_ctxt_info_gen3_free()
295 dma_free_coherent(trans->dev, sizeof(*trans_pcie->ctxt_info_gen3), in iwl_pcie_ctxt_info_gen3_free()
301 dma_free_coherent(trans->dev, sizeof(*trans_pcie->prph_scratch), in iwl_pcie_ctxt_info_gen3_free()
308 dma_free_coherent(trans->dev, PAGE_SIZE, trans_pcie->prph_info, in iwl_pcie_ctxt_info_gen3_free()
Dctxt-info.c35 dma_free_coherent(trans->dev, size, old, oldphys); in _iwl_pcie_ctxt_info_dma_alloc_coherent()
75 dma_free_coherent(trans->dev, dram->paging[i].size, in iwl_pcie_ctxt_info_free_paging()
228 dma_free_coherent(trans->dev, sizeof(*trans_pcie->ctxt_info), in iwl_pcie_ctxt_info_init()
256 dma_free_coherent(trans->dev, sizeof(*trans_pcie->ctxt_info), in iwl_pcie_ctxt_info_free()
/linux-6.12.1/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c839 dma_free_coherent(&hba->pcidev->dev, tgt->lcq_mem_size, in bnx2fc_free_session_resc()
845 dma_free_coherent(&hba->pcidev->dev, tgt->conn_db_mem_size, in bnx2fc_free_session_resc()
851 dma_free_coherent(&hba->pcidev->dev, tgt->confq_pbl_size, in bnx2fc_free_session_resc()
856 dma_free_coherent(&hba->pcidev->dev, tgt->confq_mem_size, in bnx2fc_free_session_resc()
862 dma_free_coherent(&hba->pcidev->dev, tgt->xferq_mem_size, in bnx2fc_free_session_resc()
868 dma_free_coherent(&hba->pcidev->dev, tgt->rq_pbl_size, in bnx2fc_free_session_resc()
873 dma_free_coherent(&hba->pcidev->dev, tgt->rq_mem_size, in bnx2fc_free_session_resc()
879 dma_free_coherent(&hba->pcidev->dev, tgt->cq_mem_size, in bnx2fc_free_session_resc()
885 dma_free_coherent(&hba->pcidev->dev, tgt->sq_mem_size, in bnx2fc_free_session_resc()
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dqat_asym_algs.c458 dma_free_coherent(dev, ctx->p_size, ctx->g, ctx->dma_g); in qat_dh_clear_ctx()
463 dma_free_coherent(dev, ctx->p_size, ctx->xa, ctx->dma_xa); in qat_dh_clear_ctx()
468 dma_free_coherent(dev, ctx->p_size, ctx->p, ctx->dma_p); in qat_dh_clear_ctx()
1147 dma_free_coherent(dev, half_key_sz, ctx->dq, ctx->dma_dq); in qat_rsa_setkey_crt()
1151 dma_free_coherent(dev, half_key_sz, ctx->dp, ctx->dma_dp); in qat_rsa_setkey_crt()
1155 dma_free_coherent(dev, half_key_sz, ctx->q, ctx->dma_q); in qat_rsa_setkey_crt()
1159 dma_free_coherent(dev, half_key_sz, ctx->p, ctx->dma_p); in qat_rsa_setkey_crt()
1171 dma_free_coherent(dev, ctx->key_sz, ctx->n, ctx->dma_n); in qat_rsa_clear_ctx()
1173 dma_free_coherent(dev, ctx->key_sz, ctx->e, ctx->dma_e); in qat_rsa_clear_ctx()
1176 dma_free_coherent(dev, ctx->key_sz, ctx->d, ctx->dma_d); in qat_rsa_clear_ctx()
[all …]
/linux-6.12.1/drivers/infiniband/hw/erdma/
Derdma_cmdq.c117 dma_free_coherent(&dev->pdev->dev, sq->depth << SQEBB_SHIFT, in erdma_cmdq_sq_init()
151 dma_free_coherent(&dev->pdev->dev, cq->depth << CQE_SHIFT, cq->qbuf, in erdma_cmdq_cq_init()
210 dma_free_coherent(&dev->pdev->dev, cmdq->cq.depth << CQE_SHIFT, in erdma_cmdq_init()
216 dma_free_coherent(&dev->pdev->dev, cmdq->sq.depth << SQEBB_SHIFT, in erdma_cmdq_init()
239 dma_free_coherent(&dev->pdev->dev, cmdq->sq.depth << SQEBB_SHIFT, in erdma_cmdq_destroy()
244 dma_free_coherent(&dev->pdev->dev, cmdq->cq.depth << CQE_SHIFT, in erdma_cmdq_destroy()
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/
Doctep_tx.c244 dma_free_coherent(iq->dev, sglist_size, iq->sglist, iq->sglist_dma); in octep_setup_iq()
246 dma_free_coherent(iq->dev, desc_ring_size, in octep_setup_iq()
273 dma_free_coherent(iq->dev, desc_ring_size, in octep_free_iq()
279 dma_free_coherent(iq->dev, sglist_size, in octep_free_iq()
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_chain.c88 dma_free_coherent(dev, chain->page_size, virt, phys); in qed_chain_free_next_ptr()
101 dma_free_coherent(&cdev->pdev->dev, chain->page_size, in qed_chain_free_single()
119 dma_free_coherent(dev, chain->page_size, entry->virt_addr, in qed_chain_free_pbl()
124 dma_free_coherent(dev, chain->pbl_sp.table_size, in qed_chain_free_pbl()
Dqed_roce.c353 dma_free_coherent(&p_hwfn->cdev->pdev->dev, in qed_roce_sp_create_responder()
484 dma_free_coherent(&p_hwfn->cdev->pdev->dev, in qed_roce_sp_create_requester()
734 dma_free_coherent(&p_hwfn->cdev->pdev->dev, in qed_roce_sp_destroy_qp_responder()
743 dma_free_coherent(&p_hwfn->cdev->pdev->dev, in qed_roce_sp_destroy_qp_responder()
796 dma_free_coherent(&p_hwfn->cdev->pdev->dev, in qed_roce_sp_destroy_qp_requester()
805 dma_free_coherent(&p_hwfn->cdev->pdev->dev, sizeof(*p_ramrod_res), in qed_roce_sp_destroy_qp_requester()
879 dma_free_coherent(&p_hwfn->cdev->pdev->dev, sizeof(*p_resp_ramrod_res), in qed_roce_query_qp()
928 dma_free_coherent(&p_hwfn->cdev->pdev->dev, sizeof(*p_req_ramrod_res), in qed_roce_query_qp()
942 dma_free_coherent(&p_hwfn->cdev->pdev->dev, sizeof(*p_req_ramrod_res), in qed_roce_query_qp()
946 dma_free_coherent(&p_hwfn->cdev->pdev->dev, sizeof(*p_resp_ramrod_res), in qed_roce_query_qp()
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/
Doctep_vf_tx.c243 dma_free_coherent(iq->dev, sglist_size, iq->sglist, iq->sglist_dma); in octep_vf_setup_iq()
245 dma_free_coherent(iq->dev, desc_ring_size, in octep_vf_setup_iq()
272 dma_free_coherent(iq->dev, desc_ring_size, in octep_vf_free_iq()
278 dma_free_coherent(iq->dev, sglist_size, in octep_vf_free_iq()
/linux-6.12.1/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c137 dma_free_coherent(&adapter->pdev->dev, size, addr, md_template_addr); in netxen_get_minidump_template()
391 dma_free_coherent(&adapter->pdev->dev, rsp_size, prsp, in nx_fw_cmd_create_rx_ctx()
394 dma_free_coherent(&adapter->pdev->dev, rq_size, prq, hostrq_phys_addr); in nx_fw_cmd_create_rx_ctx()
496 dma_free_coherent(&adapter->pdev->dev, rsp_size, rsp_addr, in nx_fw_cmd_create_tx_ctx()
500 dma_free_coherent(&adapter->pdev->dev, rq_size, rq_addr, rq_phys_addr); in nx_fw_cmd_create_tx_ctx()
877 dma_free_coherent(&adapter->pdev->dev, in netxen_free_hw_resources()
885 dma_free_coherent(&adapter->pdev->dev, in netxen_free_hw_resources()
895 dma_free_coherent(&adapter->pdev->dev, in netxen_free_hw_resources()
907 dma_free_coherent(&adapter->pdev->dev, in netxen_free_hw_resources()
/linux-6.12.1/drivers/crypto/xilinx/
Dzynqmp-sha.c232 dma_free_coherent(sha3_drv_ctx.dev, ZYNQMP_DMA_ALLOC_FIXED_SIZE, ubuf, update_dma_addr); in zynqmp_sha_probe()
244 dma_free_coherent(sha3_drv_ctx.dev, ZYNQMP_DMA_ALLOC_FIXED_SIZE, ubuf, update_dma_addr); in zynqmp_sha_remove()
245 dma_free_coherent(sha3_drv_ctx.dev, SHA3_384_DIGEST_SIZE, fbuf, final_dma_addr); in zynqmp_sha_remove()
/linux-6.12.1/drivers/bus/mhi/host/
Dinit.c268 dma_free_coherent(mhi_cntrl->cntrl_dev, ring->alloc_size, in mhi_deinit_dev_ctxt()
274 dma_free_coherent(mhi_cntrl->cntrl_dev, in mhi_deinit_dev_ctxt()
284 dma_free_coherent(mhi_cntrl->cntrl_dev, ring->alloc_size, in mhi_deinit_dev_ctxt()
290 dma_free_coherent(mhi_cntrl->cntrl_dev, sizeof(*mhi_ctxt->er_ctxt) * in mhi_deinit_dev_ctxt()
294 dma_free_coherent(mhi_cntrl->cntrl_dev, sizeof(*mhi_ctxt->chan_ctxt) * in mhi_deinit_dev_ctxt()
436 dma_free_coherent(mhi_cntrl->cntrl_dev, ring->alloc_size, in mhi_init_dev_ctxt()
439 dma_free_coherent(mhi_cntrl->cntrl_dev, in mhi_init_dev_ctxt()
452 dma_free_coherent(mhi_cntrl->cntrl_dev, ring->alloc_size, in mhi_init_dev_ctxt()
455 dma_free_coherent(mhi_cntrl->cntrl_dev, sizeof(*mhi_ctxt->er_ctxt) * in mhi_init_dev_ctxt()
460 dma_free_coherent(mhi_cntrl->cntrl_dev, sizeof(*mhi_ctxt->chan_ctxt) * in mhi_init_dev_ctxt()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxbf_gige/
Dmlxbf_gige_tx.c37 dma_free_coherent(priv->dev, size, in mlxbf_gige_tx_init()
77 dma_free_coherent(priv->dev, size, in mlxbf_gige_tx_deinit()
80 dma_free_coherent(priv->dev, MLXBF_GIGE_TX_CC_SZ, in mlxbf_gige_tx_deinit()
/linux-6.12.1/drivers/media/common/saa7146/
Dsaa7146_core.c217 dma_free_coherent(&pci->dev, pt->size, pt->cpu, pt->dma); in saa7146_pgtable_free()
464 dma_free_coherent(&pci->dev, SAA7146_RPS_MEM, dev->d_i2c.cpu_addr, in saa7146_init_one()
467 dma_free_coherent(&pci->dev, SAA7146_RPS_MEM, dev->d_rps1.cpu_addr, in saa7146_init_one()
470 dma_free_coherent(&pci->dev, SAA7146_RPS_MEM, dev->d_rps0.cpu_addr, in saa7146_init_one()
512 dma_free_coherent(&pdev->dev, SAA7146_RPS_MEM, p->addr, in saa7146_remove_one()
/linux-6.12.1/arch/powerpc/sysdev/
Dfsl_rmu.c608 dma_free_coherent(pw->dev, RIO_PW_MSG_SIZE, in fsl_rio_port_write_init()
744 dma_free_coherent(priv->dev, in fsl_open_outb_mbox()
802 dma_free_coherent(priv->dev, in fsl_open_outb_mbox()
808 dma_free_coherent(priv->dev, RIO_MSG_BUFFER_SIZE, in fsl_open_outb_mbox()
832 dma_free_coherent(priv->dev, in fsl_close_outb_mbox()
891 dma_free_coherent(priv->dev, in fsl_open_inb_mbox()
933 dma_free_coherent(priv->dev, rmu->msg_rx_ring.size * RIO_MAX_MSG_SIZE, in fsl_close_inb_mbox()
1051 dma_free_coherent(dbell->dev, 512 * DOORBELL_MESSAGE_SIZE, in fsl_rio_doorbell_init()
/linux-6.12.1/drivers/net/wireless/ath/wil6210/
Dpmc.c197 dma_free_coherent(dev, in wil_pmc_alloc()
206 dma_free_coherent(dev, in wil_pmc_alloc()
268 dma_free_coherent(dev, buf_size, pmc->pring_va, pmc->pring_pa); in wil_pmc_free()
280 dma_free_coherent(dev, in wil_pmc_free()
/linux-6.12.1/drivers/staging/media/meson/vdec/
Dcodec_h264.c209 dma_free_coherent(core->dev, SIZE_EXT_FW, in codec_h264_stop()
213 dma_free_coherent(core->dev, SIZE_WORKSPACE, in codec_h264_stop()
217 dma_free_coherent(core->dev, h264->ref_size, in codec_h264_stop()
221 dma_free_coherent(core->dev, SIZE_SEI, in codec_h264_stop()
/linux-6.12.1/drivers/hid/intel-ish-hid/ishtp/
Ddma-if.c72 dma_free_coherent(dev->devc, dev->ishtp_host_dma_tx_buf_size, in ishtp_cl_free_dma_buf()
78 dma_free_coherent(dev->devc, dev->ishtp_host_dma_rx_buf_size, in ishtp_cl_free_dma_buf()
/linux-6.12.1/drivers/usb/core/
Dbuffer.c173 dma_free_coherent(hcd->self.sysdev, size, addr, dma); in hcd_buffer_free()
214 dma_free_coherent(hcd->self.sysdev, size, addr, dma); in hcd_buffer_free_pages()
/linux-6.12.1/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c330 dma_free_coherent(dev, ctx->key_sz, req->src, tmp); in hpre_hw_data_clr_all()
343 dma_free_coherent(dev, ctx->key_sz, req->dst, tmp); in hpre_hw_data_clr_all()
686 dma_free_coherent(dev, sz << 1, ctx->dh.xa_p, in hpre_dh_set_params()
706 dma_free_coherent(dev, sz, ctx->dh.g, ctx->dh.dma_g); in hpre_dh_clear_ctx()
712 dma_free_coherent(dev, sz << 1, ctx->dh.xa_p, in hpre_dh_clear_ctx()
925 dma_free_coherent(ctx->dev, vlen << 1, in hpre_rsa_set_n()
1033 dma_free_coherent(dev, hlf_ksz * HPRE_CRT_PRMS, ctx->rsa.crt_prikey, in hpre_rsa_setkey_crt()
1051 dma_free_coherent(dev, ctx->key_sz << 1, in hpre_rsa_clear_ctx()
1059 dma_free_coherent(dev, half_key_sz * HPRE_CRT_PRMS, in hpre_rsa_clear_ctx()
1066 dma_free_coherent(dev, ctx->key_sz << 1, ctx->rsa.prikey, in hpre_rsa_clear_ctx()
[all …]

12345678910>>...33