/openbmc/linux/scripts/coccinelle/api/alloc/ |
H A D | alloc_cast.cocci | 36 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\|
|
/openbmc/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_hevc.c | 108 hevc_dec->tile_filter.cpu = dma_alloc_coherent(vpu->dev, size, in tile_buffer_reallocate() 116 hevc_dec->tile_sao.cpu = dma_alloc_coherent(vpu->dev, size, in tile_buffer_reallocate() 124 hevc_dec->tile_bsd.cpu = dma_alloc_coherent(vpu->dev, size, in tile_buffer_reallocate() 260 hevc_dec->tile_sizes.cpu = dma_alloc_coherent(vpu->dev, size, in hantro_hevc_dec_init() 268 hevc_dec->scaling_lists.cpu = dma_alloc_coherent(vpu->dev, SCALING_LIST_SIZE, in hantro_hevc_dec_init()
|
H A D | hantro_vp9.c | 185 tile_edge->cpu = dma_alloc_coherent(vpu->dev, size, &tile_edge->dma, GFP_KERNEL); in hantro_vp9_dec_init() 196 segment_map->cpu = dma_alloc_coherent(vpu->dev, size, &segment_map->dma, GFP_KERNEL); in hantro_vp9_dec_init() 209 misc->cpu = dma_alloc_coherent(vpu->dev, size, &misc->dma, GFP_KERNEL); in hantro_vp9_dec_init()
|
/openbmc/linux/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_tgt.c | 674 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()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_chain.c | 207 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()
|
/openbmc/linux/drivers/usb/core/ |
H A D | buffer.c | 141 return dma_alloc_coherent(hcd->self.sysdev, size, dma, mem_flags); in hcd_buffer_alloc() 193 return dma_alloc_coherent(hcd->self.sysdev, in hcd_buffer_alloc_pages()
|
/openbmc/linux/drivers/hid/intel-ish-hid/ishtp/ |
H A D | dma-if.c | 35 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()
|
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_ctx.c | 116 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()
|
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_opr.c | 61 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()
|
/openbmc/linux/drivers/staging/media/meson/vdec/ |
H A D | codec_h264.c | 174 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()
|
H A D | codec_hevc_common.c | 181 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()
|
/openbmc/u-boot/arch/nios2/include/asm/ |
H A D | dma-mapping.h | 11 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() function
|
/openbmc/u-boot/arch/nds32/include/asm/ |
H A D | dma-mapping.h | 11 static void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() function
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | dma-mapping.h | 14 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() function
|
/openbmc/u-boot/arch/riscv/include/asm/ |
H A D | dma-mapping.h | 16 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() function
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | dma-mapping.h | 14 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() function
|
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_misc.c | 62 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()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_ctx.c | 265 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() 863 nic_info_addr = dma_alloc_coherent(&adapter->pdev->dev, nic_size, in qlcnic_82xx_get_nic_info() 1086 stats_addr = dma_alloc_coherent(&adapter->pdev->dev, stats_size, in qlcnic_get_port_stats() [all …]
|
/openbmc/linux/drivers/media/pci/mantis/ |
H A D | mantis_dma.c | 80 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()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_asym_algs.c | 405 ctx->p = dma_alloc_coherent(dev, ctx->p_size, &ctx->dma_p, GFP_KERNEL); in qat_dh_set_params() 416 ctx->g = dma_alloc_coherent(dev, ctx->p_size, &ctx->dma_g, GFP_KERNEL); in qat_dh_set_params() 464 ctx->xa = dma_alloc_coherent(dev, ctx->p_size, &ctx->dma_xa, in qat_dh_set_secret() 949 ctx->n = dma_alloc_coherent(dev, ctx->key_sz, &ctx->dma_n, GFP_KERNEL); in qat_rsa_set_n() 978 ctx->e = dma_alloc_coherent(dev, ctx->key_sz, &ctx->dma_e, GFP_KERNEL); in qat_rsa_set_e() 1004 ctx->d = dma_alloc_coherent(dev, ctx->key_sz, &ctx->dma_d, GFP_KERNEL); in qat_rsa_set_d() 1037 ctx->p = dma_alloc_coherent(dev, half_key_sz, &ctx->dma_p, GFP_KERNEL); in qat_rsa_setkey_crt() 1048 ctx->q = dma_alloc_coherent(dev, half_key_sz, &ctx->dma_q, GFP_KERNEL); in qat_rsa_setkey_crt() 1059 ctx->dp = dma_alloc_coherent(dev, half_key_sz, &ctx->dma_dp, in qat_rsa_setkey_crt() 1071 ctx->dq = dma_alloc_coherent(dev, half_key_sz, &ctx->dma_dq, in qat_rsa_setkey_crt() [all …]
|
/openbmc/linux/arch/mips/lantiq/xway/ |
H A D | vmmc.c | 36 (void *) CPHYSADDR(dma_alloc_coherent(&pdev->dev, CP1_SIZE, in vmmc_probe()
|
/openbmc/linux/drivers/media/common/saa7146/ |
H A D | saa7146_core.c | 226 cpu = dma_alloc_coherent(&pci->dev, PAGE_SIZE, &dma_addr, GFP_KERNEL); in saa7146_pgtable_alloc() 403 dev->d_rps0.cpu_addr = dma_alloc_coherent(&pci->dev, SAA7146_RPS_MEM, in saa7146_init_one() 409 dev->d_rps1.cpu_addr = dma_alloc_coherent(&pci->dev, SAA7146_RPS_MEM, in saa7146_init_one() 415 dev->d_i2c.cpu_addr = dma_alloc_coherent(&pci->dev, SAA7146_RPS_MEM, in saa7146_init_one()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | ctxt-info-gen3.c | 113 prph_scratch = dma_alloc_coherent(trans->dev, sizeof(*prph_scratch), in iwl_pcie_ctxt_info_gen3_init() 160 prph_info = dma_alloc_coherent(trans->dev, PAGE_SIZE, in iwl_pcie_ctxt_info_gen3_init() 169 ctxt_info_gen3 = dma_alloc_coherent(trans->dev, in iwl_pcie_ctxt_info_gen3_init() 204 trans_pcie->iml = dma_alloc_coherent(trans->dev, trans->iml_len, in iwl_pcie_ctxt_info_gen3_init()
|
/openbmc/linux/sound/pci/asihpi/ |
H A D | hpios.c | 40 dma_alloc_coherent(&pdev->dev, size, &p_mem_area->dma_handle, in hpios_locked_mem_alloc()
|
/openbmc/linux/drivers/scsi/mvsas/ |
H A D | mv_init.c | 242 mvi->tx = dma_alloc_coherent(mvi->dev, in mvs_alloc() 247 mvi->rx_fis = dma_alloc_coherent(mvi->dev, MVS_RX_FISL_SZ, in mvs_alloc() 252 mvi->rx = dma_alloc_coherent(mvi->dev, in mvs_alloc() 260 mvi->slot = dma_alloc_coherent(mvi->dev, in mvs_alloc() 266 mvi->bulk_buffer = dma_alloc_coherent(mvi->dev, in mvs_alloc() 272 mvi->bulk_buffer1 = dma_alloc_coherent(mvi->dev, in mvs_alloc()
|