Home
last modified time | relevance | path

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

12345678910>>...24

/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/pcie/
Dctxt-info-gen3.c73 prph_scratch = dma_alloc_coherent(trans->dev, sizeof(*prph_scratch), in iwl_pcie_ctxt_info_gen3_init()
117 prph_info = dma_alloc_coherent(trans->dev, sizeof(*prph_info), in iwl_pcie_ctxt_info_gen3_init()
126 ctxt_info_gen3 = dma_alloc_coherent(trans->dev, in iwl_pcie_ctxt_info_gen3_init()
165 iml_img = dma_alloc_coherent(trans->dev, trans->iml_len, in iwl_pcie_ctxt_info_gen3_init()
/Linux-v5.4/scripts/coccinelle/api/alloc/
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-v5.4/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c335 qat_req->src_align = dma_alloc_coherent(dev, in qat_dh_compute_value()
363 qat_req->dst_align = dma_alloc_coherent(dev, ctx->p_size, in qat_dh_compute_value()
450 ctx->p = dma_alloc_coherent(dev, ctx->p_size, &ctx->dma_p, GFP_KERNEL); in qat_dh_set_params()
461 ctx->g = dma_alloc_coherent(dev, ctx->p_size, &ctx->dma_g, GFP_KERNEL); in qat_dh_set_params()
506 ctx->xa = dma_alloc_coherent(dev, ctx->p_size, &ctx->dma_xa, in qat_dh_set_secret()
740 qat_req->src_align = dma_alloc_coherent(dev, ctx->key_sz, in qat_rsa_enc()
759 qat_req->dst_align = dma_alloc_coherent(dev, ctx->key_sz, in qat_rsa_enc()
884 qat_req->src_align = dma_alloc_coherent(dev, ctx->key_sz, in qat_rsa_dec()
903 qat_req->dst_align = dma_alloc_coherent(dev, ctx->key_sz, in qat_rsa_dec()
992 ctx->n = dma_alloc_coherent(dev, ctx->key_sz, &ctx->dma_n, GFP_KERNEL); in qat_rsa_set_n()
[all …]
Dadf_admin.c247 admin->virt_addr = dma_alloc_coherent(&GET_DEV(accel_dev), PAGE_SIZE, in adf_init_admin_comms()
255 admin->virt_tbl_addr = dma_alloc_coherent(&GET_DEV(accel_dev), in adf_init_admin_comms()
/Linux-v5.4/drivers/staging/wusbcore/host/whci/
Dinit.c118 whc->gen_cmd_buf = dma_alloc_coherent(&whc->umc->dev, WHC_GEN_CMD_DATA_LEN, in whc_init()
125 whc->dn_buf = dma_alloc_coherent(&whc->umc->dev, in whc_init()
134 whc->di_buf = dma_alloc_coherent(&whc->umc->dev, in whc_init()
/Linux-v5.4/drivers/firmware/tegra/
Dbpmp-debugfs.c211 namevirt = dma_alloc_coherent(bpmp->dev, namesize, &namephys, in debugfs_show()
216 datavirt = dma_alloc_coherent(bpmp->dev, datasize, &dataphys, in debugfs_show()
262 namevirt = dma_alloc_coherent(bpmp->dev, namesize, &namephys, in debugfs_store()
267 datavirt = dma_alloc_coherent(bpmp->dev, datasize, &dataphys, in debugfs_store()
389 virt = dma_alloc_coherent(bpmp->dev, sz, &phys, in tegra_bpmp_init_debugfs()
/Linux-v5.4/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c675 tgt->sq = dma_alloc_coherent(&hba->pcidev->dev, tgt->sq_mem_size, in bnx2fc_alloc_session_resc()
688 tgt->cq = dma_alloc_coherent(&hba->pcidev->dev, tgt->cq_mem_size, in bnx2fc_alloc_session_resc()
701 tgt->rq = dma_alloc_coherent(&hba->pcidev->dev, tgt->rq_mem_size, in bnx2fc_alloc_session_resc()
713 tgt->rq_pbl = dma_alloc_coherent(&hba->pcidev->dev, tgt->rq_pbl_size, in bnx2fc_alloc_session_resc()
738 tgt->xferq = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc()
752 tgt->confq = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc()
766 tgt->confq_pbl = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc()
790 tgt->conn_db = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc()
805 tgt->lcq = dma_alloc_coherent(&hba->pcidev->dev, tgt->lcq_mem_size, in bnx2fc_alloc_session_resc()
/Linux-v5.4/drivers/hid/intel-ish-hid/ishtp/
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-v5.4/drivers/media/platform/s5p-mfc/
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-v5.4/include/linux/
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-v5.4/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c266 addr = dma_alloc_coherent(&adapter->pdev->dev, rq_size, in qlcnic_82xx_fw_cmd_create_rx_ctx()
272 addr = dma_alloc_coherent(&adapter->pdev->dev, rsp_size, in qlcnic_82xx_fw_cmd_create_rx_ctx()
437 rq_addr = dma_alloc_coherent(&adapter->pdev->dev, rq_size, in qlcnic_82xx_fw_cmd_create_tx_ctx()
443 rsp_addr = dma_alloc_coherent(&adapter->pdev->dev, rsp_size, in qlcnic_82xx_fw_cmd_create_tx_ctx()
573 ptr = (__le32 *)dma_alloc_coherent(&pdev->dev, sizeof(u32), in qlcnic_alloc_hw_resources()
583 addr = dma_alloc_coherent(&pdev->dev, TX_DESC_RINGSIZE(tx_ring), in qlcnic_alloc_hw_resources()
596 addr = dma_alloc_coherent(&adapter->pdev->dev, in qlcnic_alloc_hw_resources()
610 addr = dma_alloc_coherent(&adapter->pdev->dev, in qlcnic_alloc_hw_resources()
858 nic_info_addr = dma_alloc_coherent(&adapter->pdev->dev, nic_size, in qlcnic_82xx_get_nic_info()
912 nic_info_addr = dma_alloc_coherent(&adapter->pdev->dev, nic_size, in qlcnic_82xx_set_nic_info()
[all …]
/Linux-v5.4/drivers/infiniband/hw/vmw_pvrdma/
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-v5.4/tools/virtio/linux/
Ddma-mapping.h16 #define dma_alloc_coherent(d, s, hp, f) ({ \ macro
/Linux-v5.4/drivers/scsi/mvsas/
Dmv_init.c239 mvi->tx = dma_alloc_coherent(mvi->dev, in mvs_alloc()
245 mvi->rx_fis = dma_alloc_coherent(mvi->dev, MVS_RX_FISL_SZ, in mvs_alloc()
251 mvi->rx = dma_alloc_coherent(mvi->dev, in mvs_alloc()
260 mvi->slot = dma_alloc_coherent(mvi->dev, in mvs_alloc()
267 mvi->bulk_buffer = dma_alloc_coherent(mvi->dev, in mvs_alloc()
273 mvi->bulk_buffer1 = dma_alloc_coherent(mvi->dev, in mvs_alloc()
/Linux-v5.4/arch/mips/lantiq/xway/
Dvmmc.c32 (void *) CPHYSADDR(dma_alloc_coherent(&pdev->dev, CP1_SIZE, in vmmc_probe()
/Linux-v5.4/sound/pci/asihpi/
Dhpios.c40 dma_alloc_coherent(&pdev->dev, size, &p_mem_area->dma_handle, in hpios_locked_mem_alloc()
/Linux-v5.4/drivers/net/ethernet/google/gve/
Dgve_adminq.c19 priv->adminq = dma_alloc_coherent(dev, PAGE_SIZE, in gve_adminq_alloc()
269 descriptor = dma_alloc_coherent(&priv->pdev->dev, PAGE_SIZE, in gve_adminq_describe_device()
343 page_list = dma_alloc_coherent(hdev, size, &page_list_bus, GFP_KERNEL); in gve_adminq_register_page_list()
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc_cbdr.c129 tmp = dma_alloc_coherent(&si->pdev->dev, sizeof(*rfse) + RFSE_ALIGN, in enetc_set_fs_entry()
166 tmp = dma_alloc_coherent(&si->pdev->dev, count + RSSE_ALIGN, in enetc_cmd_rss_table()
/Linux-v5.4/drivers/staging/media/hantro/
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()
Dhantro_mpeg2.c44 dma_alloc_coherent(vpu->dev, in hantro_mpeg2_dec_init()
/Linux-v5.4/arch/sh/mm/
Dconsistent.c55 buf = dma_alloc_coherent(&pdev->dev, memsize, &dma_handle, GFP_KERNEL); in platform_resource_setup_memory()
/Linux-v5.4/drivers/media/pci/pt3/
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-v5.4/drivers/scsi/snic/
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-v5.4/drivers/net/ethernet/amazon/ena/
Dena_com.c114 sq->entries = dma_alloc_coherent(queue->q_dmadev, size, &sq->dma_addr, in ena_com_admin_init_sq()
136 cq->entries = dma_alloc_coherent(queue->q_dmadev, size, &cq->dma_addr, in ena_com_admin_init_cq()
159 aenq->entries = dma_alloc_coherent(dev->dmadev, size, &aenq->dma_addr, in ena_com_admin_init_aenq()
347 dma_alloc_coherent(ena_dev->dmadev, size, in ena_com_init_io_sq()
353 dma_alloc_coherent(ena_dev->dmadev, size, in ena_com_init_io_sq()
432 dma_alloc_coherent(ena_dev->dmadev, size, in ena_com_init_io_cq()
437 dma_alloc_coherent(ena_dev->dmadev, size, in ena_com_init_io_cq()
1049 dma_alloc_coherent(ena_dev->dmadev, sizeof(*rss->hash_key), in ena_com_hash_key_allocate()
1073 dma_alloc_coherent(ena_dev->dmadev, sizeof(*rss->hash_ctrl), in ena_com_hash_ctrl_init()
1117 dma_alloc_coherent(ena_dev->dmadev, tbl_size, in ena_com_indirect_table_allocate()
[all …]
/Linux-v5.4/drivers/infiniband/hw/mthca/
Dmthca_allocator.c210 buf->direct.buf = dma_alloc_coherent(&dev->pdev->dev, in mthca_buf_alloc()
250 dma_alloc_coherent(&dev->pdev->dev, PAGE_SIZE, in mthca_buf_alloc()

12345678910>>...24