Home
last modified time | relevance | path

Searched refs:dma_alloc_coherent (Results 1 – 25 of 752) sorted by relevance

12345678910>>...31

/linux/scripts/coccinelle/api/alloc/
A Dalloc_cast.cocci36 dma_alloc_coherent\|devm_kmalloc\|devm_kzalloc\|
59 dma_alloc_coherent\|devm_kmalloc\|devm_kzalloc\|
82 dma_alloc_coherent\|devm_kmalloc\|devm_kzalloc\|
99 dma_alloc_coherent\|devm_kmalloc\|devm_kzalloc\|
/linux/drivers/staging/media/hantro/
A Dhantro_hevc.c124 dma_alloc_coherent(vpu->dev, in hantro_hevc_get_ref_buf()
199 hevc_dec->tile_filter.cpu = dma_alloc_coherent(vpu->dev, size, in tile_buffer_reallocate()
207 hevc_dec->tile_sao.cpu = dma_alloc_coherent(vpu->dev, size, in tile_buffer_reallocate()
215 hevc_dec->tile_bsd.cpu = dma_alloc_coherent(vpu->dev, size, in tile_buffer_reallocate()
335 hevc_dec->tile_sizes.cpu = dma_alloc_coherent(vpu->dev, size, in hantro_hevc_dec_init()
343 hevc_dec->scaling_lists.cpu = dma_alloc_coherent(vpu->dev, SCALING_LIST_SIZE, in hantro_hevc_dec_init()
A Dhantro_vp8.c164 aux_buf->cpu = dma_alloc_coherent(vpu->dev, aux_buf->size, in hantro_vp8_dec_init()
175 aux_buf->cpu = dma_alloc_coherent(vpu->dev, aux_buf->size, in hantro_vp8_dec_init()
/linux/drivers/crypto/qat/qat_common/
A Dqat_asym_algs.c285 qat_req->src_align = dma_alloc_coherent(dev, in qat_dh_compute_value()
313 qat_req->dst_align = dma_alloc_coherent(dev, ctx->p_size, in qat_dh_compute_value()
400 ctx->p = dma_alloc_coherent(dev, ctx->p_size, &ctx->dma_p, GFP_KERNEL); in qat_dh_set_params()
456 ctx->xa = dma_alloc_coherent(dev, ctx->p_size, &ctx->dma_xa, in qat_dh_set_secret()
690 qat_req->src_align = dma_alloc_coherent(dev, ctx->key_sz, in qat_rsa_enc()
709 qat_req->dst_align = dma_alloc_coherent(dev, ctx->key_sz, in qat_rsa_enc()
834 qat_req->src_align = dma_alloc_coherent(dev, ctx->key_sz, in qat_rsa_dec()
853 qat_req->dst_align = dma_alloc_coherent(dev, ctx->key_sz, in qat_rsa_dec()
1052 ctx->dp = dma_alloc_coherent(dev, half_key_sz, &ctx->dma_dp, in qat_rsa_setkey_crt()
1064 ctx->dq = dma_alloc_coherent(dev, half_key_sz, &ctx->dma_dq, in qat_rsa_setkey_crt()
[all …]
A Dadf_admin.c233 admin->virt_addr = dma_alloc_coherent(&GET_DEV(accel_dev), PAGE_SIZE, in adf_init_admin_comms()
241 admin->virt_tbl_addr = dma_alloc_coherent(&GET_DEV(accel_dev), in adf_init_admin_comms()
/linux/drivers/scsi/bnx2fc/
A Dbnx2fc_tgt.c674 tgt->sq = dma_alloc_coherent(&hba->pcidev->dev, tgt->sq_mem_size, in bnx2fc_alloc_session_resc()
687 tgt->cq = dma_alloc_coherent(&hba->pcidev->dev, tgt->cq_mem_size, in bnx2fc_alloc_session_resc()
700 tgt->rq = dma_alloc_coherent(&hba->pcidev->dev, tgt->rq_mem_size, in bnx2fc_alloc_session_resc()
712 tgt->rq_pbl = dma_alloc_coherent(&hba->pcidev->dev, tgt->rq_pbl_size, in bnx2fc_alloc_session_resc()
737 tgt->xferq = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc()
751 tgt->confq = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc()
765 tgt->confq_pbl = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc()
789 tgt->conn_db = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc()
804 tgt->lcq = dma_alloc_coherent(&hba->pcidev->dev, tgt->lcq_mem_size, in bnx2fc_alloc_session_resc()
/linux/drivers/net/wireless/intel/iwlwifi/pcie/
A Dctxt-info-gen3.c112 prph_scratch = dma_alloc_coherent(trans->dev, sizeof(*prph_scratch), in iwl_pcie_ctxt_info_gen3_init()
152 prph_info = dma_alloc_coherent(trans->dev, PAGE_SIZE, in iwl_pcie_ctxt_info_gen3_init()
161 ctxt_info_gen3 = dma_alloc_coherent(trans->dev, in iwl_pcie_ctxt_info_gen3_init()
196 trans_pcie->iml = dma_alloc_coherent(trans->dev, trans->iml_len, in iwl_pcie_ctxt_info_gen3_init()
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_chain.c207 virt = dma_alloc_coherent(dev, chain->page_size, &phys, in qed_chain_alloc_next_ptr()
238 virt = dma_alloc_coherent(&cdev->pdev->dev, chain->page_size, in qed_chain_alloc_single()
280 pbl_virt = dma_alloc_coherent(dev, size, &pbl_phys, GFP_KERNEL); in qed_chain_alloc_pbl()
290 virt = dma_alloc_coherent(dev, chain->page_size, &phys, in qed_chain_alloc_pbl()
/linux/drivers/net/ethernet/qlogic/netxen/
A Dnetxen_nic_ctx.c116 addr = dma_alloc_coherent(&adapter->pdev->dev, size, in netxen_get_minidump_template()
285 addr = dma_alloc_coherent(&adapter->pdev->dev, rq_size, in nx_fw_cmd_create_rx_ctx()
291 addr = dma_alloc_coherent(&adapter->pdev->dev, rsp_size, in nx_fw_cmd_create_rx_ctx()
434 rq_addr = dma_alloc_coherent(&adapter->pdev->dev, rq_size, in nx_fw_cmd_create_tx_ctx()
440 rsp_addr = dma_alloc_coherent(&adapter->pdev->dev, rsp_size, in nx_fw_cmd_create_tx_ctx()
751 addr = dma_alloc_coherent(&pdev->dev, in netxen_alloc_hw_resources()
768 addr = dma_alloc_coherent(&pdev->dev, TX_DESC_RINGSIZE(tx_ring), in netxen_alloc_hw_resources()
782 addr = dma_alloc_coherent(&adapter->pdev->dev, in netxen_alloc_hw_resources()
803 addr = dma_alloc_coherent(&adapter->pdev->dev, in netxen_alloc_hw_resources()
/linux/drivers/staging/media/meson/vdec/
A Dcodec_h264.c174 dma_alloc_coherent(core->dev, SIZE_WORKSPACE, in codec_h264_start()
180 h264->sei_vaddr = dma_alloc_coherent(core->dev, SIZE_SEI, in codec_h264_start()
240 h264->ext_fw_vaddr = dma_alloc_coherent(core->dev, SIZE_EXT_FW, in codec_h264_load_extended_firmware()
304 h264->ref_vaddr = dma_alloc_coherent(core->dev, h264->ref_size, in codec_h264_resume()
A Dcodec_hevc_common.c181 void *vaddr = dma_alloc_coherent(dev, am21_size, &paddr, in codec_hevc_alloc_fbc_buffers()
225 comm->mmu_map_vaddr = dma_alloc_coherent(dev, MMU_MAP_SIZE, in codec_hevc_alloc_mmu_headers()
234 void *vaddr = dma_alloc_coherent(dev, MMU_COMPRESS_HEADER_SIZE, in codec_hevc_alloc_mmu_headers()
/linux/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_ctx.c265 addr = dma_alloc_coherent(&adapter->pdev->dev, rq_size, in qlcnic_82xx_fw_cmd_create_rx_ctx()
271 addr = dma_alloc_coherent(&adapter->pdev->dev, rsp_size, in qlcnic_82xx_fw_cmd_create_rx_ctx()
436 rq_addr = dma_alloc_coherent(&adapter->pdev->dev, rq_size, in qlcnic_82xx_fw_cmd_create_tx_ctx()
442 rsp_addr = dma_alloc_coherent(&adapter->pdev->dev, rsp_size, in qlcnic_82xx_fw_cmd_create_tx_ctx()
572 ptr = (__le32 *)dma_alloc_coherent(&pdev->dev, sizeof(u32), in qlcnic_alloc_hw_resources()
582 addr = dma_alloc_coherent(&pdev->dev, TX_DESC_RINGSIZE(tx_ring), in qlcnic_alloc_hw_resources()
595 addr = dma_alloc_coherent(&adapter->pdev->dev, in qlcnic_alloc_hw_resources()
609 addr = dma_alloc_coherent(&adapter->pdev->dev, in qlcnic_alloc_hw_resources()
857 nic_info_addr = dma_alloc_coherent(&adapter->pdev->dev, nic_size, in qlcnic_82xx_get_nic_info()
1080 stats_addr = dma_alloc_coherent(&adapter->pdev->dev, stats_size, in qlcnic_get_port_stats()
[all …]
/linux/drivers/hid/intel-ish-hid/ishtp/
A Ddma-if.c35 dev->ishtp_host_dma_tx_buf = dma_alloc_coherent(dev->devc, in ishtp_cl_alloc_dma_buf()
50 dev->ishtp_host_dma_rx_buf = dma_alloc_coherent(dev->devc, in ishtp_cl_alloc_dma_buf()
/linux/drivers/media/platform/s5p-mfc/
A Ds5p_mfc_opr.c61 b->virt = dma_alloc_coherent(mem_dev, b->size, &b->dma, GFP_KERNEL); in s5p_mfc_alloc_priv_buf()
87 b->virt = dma_alloc_coherent(mem_dev, b->size, &b->dma, GFP_KERNEL); in s5p_mfc_alloc_generic_buf()
/linux/include/linux/
A Dpci-dma-compat.h20 return dma_alloc_coherent(&hwdev->dev, size, dma_handle, GFP_ATOMIC); in pci_alloc_consistent()
27 return dma_alloc_coherent(&hwdev->dev, size, dma_handle, GFP_ATOMIC); in pci_zalloc_consistent()
/linux/drivers/infiniband/hw/vmw_pvrdma/
A Dpvrdma_misc.c62 pdir->dir = dma_alloc_coherent(&dev->pdev->dev, PAGE_SIZE, in pvrdma_page_dir_init()
74 pdir->tables[i] = dma_alloc_coherent(&dev->pdev->dev, PAGE_SIZE, in pvrdma_page_dir_init()
92 pdir->pages[i] = dma_alloc_coherent(&dev->pdev->dev, in pvrdma_page_dir_init()
/linux/drivers/net/ethernet/freescale/enetc/
A Denetc_cbdr.c11 cbdr->bd_base = dma_alloc_coherent(dev, size, &cbdr->bd_dma_base, in enetc_setup_cbdr()
187 tmp = dma_alloc_coherent(ring->dma_dev, sizeof(*rfse) + RFSE_ALIGN, in enetc_set_fs_entry()
225 tmp = dma_alloc_coherent(ring->dma_dev, count + RSSE_ALIGN, in enetc_cmd_rss_table()
/linux/drivers/media/pci/mantis/
A Dmantis_dma.c80 mantis->buf_cpu = dma_alloc_coherent(&mantis->pdev->dev, in mantis_alloc_buffers()
95 mantis->risc_cpu = dma_alloc_coherent(&mantis->pdev->dev, in mantis_alloc_buffers()
/linux/drivers/media/common/saa7146/
A Dsaa7146_core.c224 cpu = dma_alloc_coherent(&pci->dev, PAGE_SIZE, &dma_addr, GFP_KERNEL); in saa7146_pgtable_alloc()
415 dev->d_rps0.cpu_addr = dma_alloc_coherent(&pci->dev, SAA7146_RPS_MEM, in saa7146_init_one()
421 dev->d_rps1.cpu_addr = dma_alloc_coherent(&pci->dev, SAA7146_RPS_MEM, in saa7146_init_one()
427 dev->d_i2c.cpu_addr = dma_alloc_coherent(&pci->dev, SAA7146_RPS_MEM, in saa7146_init_one()
/linux/drivers/scsi/mvsas/
A Dmv_init.c245 mvi->tx = dma_alloc_coherent(mvi->dev, in mvs_alloc()
250 mvi->rx_fis = dma_alloc_coherent(mvi->dev, MVS_RX_FISL_SZ, in mvs_alloc()
255 mvi->rx = dma_alloc_coherent(mvi->dev, in mvs_alloc()
263 mvi->slot = dma_alloc_coherent(mvi->dev, in mvs_alloc()
269 mvi->bulk_buffer = dma_alloc_coherent(mvi->dev, in mvs_alloc()
275 mvi->bulk_buffer1 = dma_alloc_coherent(mvi->dev, in mvs_alloc()
/linux/drivers/firmware/tegra/
A Dbpmp-debugfs.c607 namevirt = dma_alloc_coherent(bpmp->dev, namesize, &namephys, in debugfs_show()
612 datavirt = dma_alloc_coherent(bpmp->dev, datasize, &dataphys, in debugfs_show()
658 namevirt = dma_alloc_coherent(bpmp->dev, namesize, &namephys, in debugfs_store()
663 datavirt = dma_alloc_coherent(bpmp->dev, datasize, &dataphys, in debugfs_store()
758 virt = dma_alloc_coherent(bpmp->dev, sz, &phys, in bpmp_populate_debugfs_shmem()
/linux/drivers/scsi/snic/
A Dvnic_dev.c228 ring->descs_unaligned = dma_alloc_coherent(&vdev->pdev->dev, in svnic_dev_alloc_desc_ring()
472 vdev->fw_info = dma_alloc_coherent(&vdev->pdev->dev, in svnic_dev_fw_info()
536 vdev->stats = dma_alloc_coherent(&vdev->pdev->dev, in svnic_dev_stats_dump()
609 vdev->notify = dma_alloc_coherent(&vdev->pdev->dev, in svnic_dev_notify_set()
/linux/tools/virtio/linux/
A Ddma-mapping.h16 #define dma_alloc_coherent(d, s, hp, f) ({ \ macro
/linux/drivers/media/pci/pt3/
A Dpt3_dma.c159 p = dma_alloc_coherent(&pt3->pdev->dev, DATA_BUF_SZ, in pt3_alloc_dmabuf()
174 p = dma_alloc_coherent(&pt3->pdev->dev, PAGE_SIZE, in pt3_alloc_dmabuf()
/linux/drivers/net/ethernet/mellanox/mlxbf_gige/
A Dmlxbf_gige_tx.c22 priv->tx_wqe_base = dma_alloc_coherent(priv->dev, size, in mlxbf_gige_tx_init()
34 priv->tx_cc = dma_alloc_coherent(priv->dev, MLXBF_GIGE_TX_CC_SZ, in mlxbf_gige_tx_init()

Completed in 70 milliseconds

12345678910>>...31