Home
last modified time | relevance | path

Searched refs:dma_alloc_coherent (Results 1 – 200 of 396) sorted by relevance

12

/linux-4.4.14/include/asm-generic/
Ddma-mapping-broken.h12 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle,
24 return dma_alloc_coherent(dev, size, dma_handle, flag); in dma_alloc_attrs()
35 #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
Dpci-dma-compat.h13 return dma_alloc_coherent(hwdev == NULL ? NULL : &hwdev->dev, size, dma_handle, GFP_ATOMIC); in pci_alloc_consistent()
Ddma-mapping-common.h286 static inline void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent() function
/linux-4.4.14/arch/mn10300/mm/
Ddma-alloc.c23 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent() function
64 EXPORT_SYMBOL(dma_alloc_coherent);
/linux-4.4.14/arch/m68k/include/asm/
Ddma-mapping.h18 extern void *dma_alloc_coherent(struct device *, size_t,
28 return dma_alloc_coherent(dev, size, dma_handle, flag); in dma_alloc_attrs()
42 return dma_alloc_coherent(dev, size, handle, flag); in dma_alloc_noncoherent()
/linux-4.4.14/arch/arc/mm/
Ddma.c52 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent() function
98 EXPORT_SYMBOL(dma_alloc_coherent);
/linux-4.4.14/arch/cris/include/asm/
Ddma-mapping.h13 #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
19 void *dma_alloc_coherent(struct device *dev, size_t size,
26 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_coherent() function
/linux-4.4.14/arch/frv/mb93090-mb00/
Dpci-dma.c21 void *dma_alloc_coherent(struct device *hwdev, size_t size, dma_addr_t *dma_handle, gfp_t gfp) in dma_alloc_coherent() function
32 EXPORT_SYMBOL(dma_alloc_coherent);
Dpci-dma-nommu.c37 void *dma_alloc_coherent(struct device *hwdev, size_t size, dma_addr_t *dma_handle, gfp_t gfp) in dma_alloc_coherent() function
87 EXPORT_SYMBOL(dma_alloc_coherent);
/linux-4.4.14/arch/m68k/kernel/
Ddma.c21 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent() function
75 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent() function
101 EXPORT_SYMBOL(dma_alloc_coherent);
/linux-4.4.14/drivers/usb/host/whci/
Dinit.c129 whc->gen_cmd_buf = dma_alloc_coherent(&whc->umc->dev, WHC_GEN_CMD_DATA_LEN, in whc_init()
136 whc->dn_buf = dma_alloc_coherent(&whc->umc->dev, in whc_init()
145 whc->di_buf = dma_alloc_coherent(&whc->umc->dev, in whc_init()
Dpzl.c392 whc->pz_list = dma_alloc_coherent(&whc->umc->dev, sizeof(u64) * 16, in pzl_init()
/linux-4.4.14/arch/c6x/mm/
Ddma-coherent.c76 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent() function
97 EXPORT_SYMBOL(dma_alloc_coherent);
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c675 tgt->sq = dma_alloc_coherent(&hba->pcidev->dev, tgt->sq_mem_size, in bnx2fc_alloc_session_resc()
689 tgt->cq = dma_alloc_coherent(&hba->pcidev->dev, tgt->cq_mem_size, in bnx2fc_alloc_session_resc()
703 tgt->rq = dma_alloc_coherent(&hba->pcidev->dev, tgt->rq_mem_size, in bnx2fc_alloc_session_resc()
716 tgt->rq_pbl = dma_alloc_coherent(&hba->pcidev->dev, tgt->rq_pbl_size, in bnx2fc_alloc_session_resc()
742 tgt->xferq = dma_alloc_coherent(&hba->pcidev->dev, tgt->xferq_mem_size, in bnx2fc_alloc_session_resc()
756 tgt->confq = dma_alloc_coherent(&hba->pcidev->dev, tgt->confq_mem_size, in bnx2fc_alloc_session_resc()
770 tgt->confq_pbl = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc()
795 tgt->conn_db = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc()
811 tgt->lcq = dma_alloc_coherent(&hba->pcidev->dev, tgt->lcq_mem_size, in bnx2fc_alloc_session_resc()
Dbnx2fc_hwi.c1858 hba->task_ctx_bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_setup_task_ctx()
1896 hba->task_ctx[i] = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_setup_task_ctx()
2035 dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_allocate_hash_table()
2047 hba->hash_tbl_pbl = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_allocate_hash_table()
2112 hba->t2_hash_tbl_ptr = dma_alloc_coherent(&hba->pcidev->dev, mem_size, in bnx2fc_setup_fw_resc()
2124 hba->t2_hash_tbl = dma_alloc_coherent(&hba->pcidev->dev, mem_size, in bnx2fc_setup_fw_resc()
2140 hba->dummy_buffer = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_setup_fw_resc()
2149 hba->stats_buffer = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_setup_fw_resc()
Dbnx2fc_io.c305 bdt_info->bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_cmd_mgr_alloc()
587 mp_req->req_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_init_mp_req()
596 mp_req->resp_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_init_mp_req()
609 mp_req->mp_req_bd = dma_alloc_coherent(&hba->pcidev->dev, sz, in bnx2fc_init_mp_req()
617 mp_req->mp_resp_bd = dma_alloc_coherent(&hba->pcidev->dev, sz, in bnx2fc_init_mp_req()
/linux-4.4.14/arch/blackfin/kernel/
Ddma-mapping.c81 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent() function
95 EXPORT_SYMBOL(dma_alloc_coherent);
/linux-4.4.14/arch/c6x/include/asm/
Ddma-mapping.h94 extern void *dma_alloc_coherent(struct device *, size_t, dma_addr_t *, gfp_t);
97 #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent((d), (s), (h), (f))
/linux-4.4.14/arch/avr32/mm/
Ddma-coherent.c96 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent() function
108 EXPORT_SYMBOL(dma_alloc_coherent);
/linux-4.4.14/arch/frv/include/asm/
Ddma-mapping.h15 #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
21 void *dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp);
/linux-4.4.14/arch/mn10300/include/asm/
Ddma-mapping.h25 extern void *dma_alloc_coherent(struct device *dev, size_t size,
31 #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent((d), (s), (h), (f))
/linux-4.4.14/arch/nios2/include/asm/
Ddma-mapping.h55 #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
58 void *dma_alloc_coherent(struct device *dev, size_t size,
/linux-4.4.14/arch/nios2/mm/
Ddma-mapping.c24 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent() function
48 EXPORT_SYMBOL(dma_alloc_coherent);
/linux-4.4.14/Documentation/
DDMA-API.txt30 dma_alloc_coherent(struct device *dev, size_t size,
53 The flag parameter (dma_alloc_coherent() only) allows the caller to
62 Wraps dma_alloc_coherent() and also zeroes the returned memory if the
71 dma_alloc_coherent(). cpu_addr must be the virtual address returned by
72 the dma_alloc_coherent().
85 or more using dma_alloc_coherent(), you can use DMA pools. These work
100 are like what you'd pass to dma_alloc_coherent(). The device's hardware
121 blocking. Like dma_alloc_coherent(), this returns two values: an
450 Identical to dma_alloc_coherent() except that the platform will
498 Declare region of memory to be handed out by dma_alloc_coherent() when
[all …]
DDMA-API-HOWTO.txt387 cpu_addr = dma_alloc_coherent(dev, size, &dma_handle, gfp);
407 dma_alloc_coherent() returns two values: the virtual address which you
423 dma_handle are the values dma_alloc_coherent() returned to you.
427 custom code to subdivide pages returned by dma_alloc_coherent(),
429 a kmem_cache, but it uses dma_alloc_coherent(), not __get_free_pages().
445 use dma_alloc_coherent() directly instead).
452 holding SMP locks), GFP_ATOMIC otherwise. Like dma_alloc_coherent(),
761 returned by the dma_alloc_coherent(), dma_pool_alloc(), and dma_map_single()
776 - checking if dma_alloc_coherent() returns NULL or dma_map_sg returns 0
/linux-4.4.14/arch/cris/arch-v32/drivers/pci/
Ddma.c19 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent() function
/linux-4.4.14/arch/blackfin/include/asm/
Ddma-mapping.h13 void *dma_alloc_coherent(struct device *dev, size_t size,
21 #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
/linux-4.4.14/arch/avr32/include/asm/
Ddma-mapping.h54 extern void *dma_alloc_coherent(struct device *dev, size_t size,
337 #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
/linux-4.4.14/arch/mips/lantiq/xway/
Dvmmc.c34 (void *) CPHYSADDR(dma_alloc_coherent(NULL, CP1_SIZE, in vmmc_probe()
Dxrx200_phy_fw.c65 fw_addr = dma_alloc_coherent(&pdev->dev, size, &dev_addr, GFP_KERNEL); in xway_gphy_load()
Ddma.c131 ch->desc_base = dma_alloc_coherent(NULL, in ltq_dma_alloc()
/linux-4.4.14/arch/metag/include/asm/
Ddma-mapping.h11 #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
14 void *dma_alloc_coherent(struct device *dev, size_t size,
/linux-4.4.14/drivers/scsi/mvsas/
Dmv_init.c256 mvi->tx = dma_alloc_coherent(mvi->dev, in mvs_alloc()
262 mvi->rx_fis = dma_alloc_coherent(mvi->dev, MVS_RX_FISL_SZ, in mvs_alloc()
268 mvi->rx = dma_alloc_coherent(mvi->dev, in mvs_alloc()
277 mvi->slot = dma_alloc_coherent(mvi->dev, in mvs_alloc()
284 mvi->bulk_buffer = dma_alloc_coherent(mvi->dev, in mvs_alloc()
290 mvi->bulk_buffer1 = dma_alloc_coherent(mvi->dev, in mvs_alloc()
/linux-4.4.14/sound/pci/asihpi/
Dhpios.c51 dma_alloc_coherent(&pdev->dev, size, &p_mem_area->dma_handle, in hpios_locked_mem_alloc()
/linux-4.4.14/drivers/crypto/amcc/
Dcrypto4xx_core.c129 ctx->sa_in = dma_alloc_coherent(ctx->dev->core_dev->device, size * 4, in crypto4xx_alloc_sa()
134 ctx->sa_out = dma_alloc_coherent(ctx->dev->core_dev->device, size * 4, in crypto4xx_alloc_sa()
166 ctx->state_record = dma_alloc_coherent(ctx->dev->core_dev->device, in crypto4xx_alloc_state_record()
195 dev->pdr = dma_alloc_coherent(dev->core_dev->device, in crypto4xx_build_pdr()
211 dev->shadow_sa_pool = dma_alloc_coherent(dev->core_dev->device, in crypto4xx_build_pdr()
218 dev->shadow_sr_pool = dma_alloc_coherent(dev->core_dev->device, in crypto4xx_build_pdr()
307 dev->gdr = dma_alloc_coherent(dev->core_dev->device, in crypto4xx_build_gdr()
389 dev->sdr = dma_alloc_coherent(dev->core_dev->device, in crypto4xx_build_sdr()
397 dma_alloc_coherent(dev->core_dev->device, in crypto4xx_build_sdr()
/linux-4.4.14/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr.c45 b->virt = dma_alloc_coherent(dev, b->size, &b->dma, GFP_KERNEL); in s5p_mfc_alloc_priv_buf()
Ds5p_mfc_ctrl.c39 dev->fw_virt_addr = dma_alloc_coherent(dev->mem_dev_l, dev->fw_size, in s5p_mfc_alloc_firmware()
48 bank2_virt = dma_alloc_coherent(dev->mem_dev_r, 1 << MFC_BASE_ALIGN_ORDER, in s5p_mfc_alloc_firmware()
/linux-4.4.14/drivers/media/pci/pt3/
Dpt3_dma.c168 p = dma_alloc_coherent(&pt3->pdev->dev, DATA_BUF_SZ, in pt3_alloc_dmabuf()
183 p = dma_alloc_coherent(&pt3->pdev->dev, PAGE_SIZE, in pt3_alloc_dmabuf()
/linux-4.4.14/sound/soc/blackfin/
Dbf5xx-ac97-pcm.c329 buf->area = dma_alloc_coherent(pcm->card->dev, size, in bf5xx_pcm_preallocate_dma_buffer()
353 sport_handle->tx_dma_buf = dma_alloc_coherent(NULL, \ in bf5xx_pcm_preallocate_dma_buffer()
364 sport_handle->rx_dma_buf = dma_alloc_coherent(NULL, \ in bf5xx_pcm_preallocate_dma_buffer()
Dbf6xx-sport.c157 sport->tx_desc = dma_alloc_coherent(NULL, in sport_config_tx_dma()
188 sport->rx_desc = dma_alloc_coherent(NULL, in sport_config_rx_dma()
Dbf5xx-sport.c432 sport->dma_rx_desc = dma_alloc_coherent(NULL, \ in sport_config_rx_dma()
498 sport->dma_tx_desc = dma_alloc_coherent(NULL, \ in sport_config_tx_dma()
534 desc = dma_alloc_coherent(NULL, 2 * sizeof(*desc), &addr, 0); in sport_config_rx_dummy()
567 desc = dma_alloc_coherent(NULL, 2 * sizeof(*desc), &addr, 0); in sport_config_tx_dummy()
/linux-4.4.14/drivers/usb/core/
Dbuffer.c132 return dma_alloc_coherent(hcd->self.controller, size, dma, mem_flags); in hcd_buffer_alloc()
/linux-4.4.14/drivers/tty/serial/cpm_uart/
Dcpm_uart_cpm1.c102 mem_addr = dma_alloc_coherent(pinfo->port.dev, memsz, &dma_addr, in cpm_uart_allocbuf()
Dcpm_uart_cpm2.c137 mem_addr = dma_alloc_coherent(pinfo->port.dev, memsz, &dma_addr, in cpm_uart_allocbuf()
/linux-4.4.14/arch/parisc/include/asm/
Ddma-mapping.h49 #define dma_alloc_attrs(d, s, h, f, a) dma_alloc_coherent(d, s, h, f)
53 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_coherent() function
/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_allocator.c209 buf->direct.buf = dma_alloc_coherent(&dev->pdev->dev, in mthca_buf_alloc()
248 dma_alloc_coherent(&dev->pdev->dev, PAGE_SIZE, in mthca_buf_alloc()
Dmthca_memfree.c126 void *buf = dma_alloc_coherent(dev, PAGE_SIZE << order, &sg_dma_address(mem), in mthca_alloc_icm_coherent()
627 page->db_rec = dma_alloc_coherent(&dev->pdev->dev, MTHCA_ICM_PAGE_SIZE, in mthca_alloc_db()
/linux-4.4.14/arch/powerpc/sysdev/
Dfsl_rmu.c550 pw->port_write_msg.virt = dma_alloc_coherent(pw->dev, in fsl_rio_port_write_init()
730 dma_alloc_coherent(priv->dev, RIO_MSG_BUFFER_SIZE, in fsl_open_outb_mbox()
747 rmu->msg_tx_ring.virt = dma_alloc_coherent(priv->dev, in fsl_open_outb_mbox()
865 rmu->msg_rx_ring.virt = dma_alloc_coherent(priv->dev, in fsl_open_inb_mbox()
1025 dbell->dbell_ring.virt = dma_alloc_coherent(dbell->dev, 512 * in fsl_rio_doorbell_init()
Dppc4xx_msi.c169 msi_virt = dma_alloc_coherent(&dev->dev, 64, &msi_phys, GFP_KERNEL); in ppc4xx_setup_pcieh_hw()
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_bsg.c47 flash = dma_alloc_coherent(&ha->pdev->dev, length, &flash_dma, in qla4xxx_read_flash()
114 flash = dma_alloc_coherent(&ha->pdev->dev, length, &flash_dma, in qla4xxx_update_flash()
242 nvram = dma_alloc_coherent(&ha->pdev->dev, len, &nvram_dma, in qla4xxx_read_nvram()
313 nvram = dma_alloc_coherent(&ha->pdev->dev, len, &nvram_dma, in qla4xxx_update_nvram()
421 acb = dma_alloc_coherent(&ha->pdev->dev, len, &acb_dma, GFP_KERNEL); in qla4xxx_bsg_get_acb()
Dql4_mbx.c628 init_fw_cb = dma_alloc_coherent(&ha->pdev->dev, in qla4xxx_initialize_fw_cb()
713 init_fw_cb = dma_alloc_coherent(&ha->pdev->dev, in qla4xxx_get_dhcp_ip_address()
1044 crash_record = dma_alloc_coherent(&ha->pdev->dev, crash_record_size, in qla4xxx_get_crash_record()
1101 event_log = dma_alloc_coherent(&ha->pdev->dev, event_log_size, in qla4xxx_get_conn_event_log()
1345 about_fw = dma_alloc_coherent(&ha->pdev->dev, in qla4xxx_about_firmware()
2008 fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), in qla4xxx_set_param_ddbentry()
2357 acb = dma_alloc_coherent(&ha->pdev->dev, in qla4_84xx_config_acb()
Dql4_os.c596 chap_flash_data = dma_alloc_coherent(&ha->pdev->dev, chap_size, in qla4xxx_create_chap_list()
1042 ql_iscsi_stats = dma_alloc_coherent(&ha->pdev->dev, stats_size, in qla4xxx_get_host_stats()
1783 ql_iscsi_stats = dma_alloc_coherent(&ha->pdev->dev, stats_size, in qla4xxx_conn_get_stats()
2692 init_fw_cb = dma_alloc_coherent(&ha->pdev->dev, in qla4xxx_iface_set_param()
3106 fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), in qla4xxx_session_destroy()
3228 fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), in qla4xxx_conn_start()
3377 task_data->resp_buffer = dma_alloc_coherent(&ha->pdev->dev, in qla4xxx_alloc_pdu()
3385 task_data->req_buffer = dma_alloc_coherent(&ha->pdev->dev, in qla4xxx_alloc_pdu()
3868 fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), in qla4xxx_update_session_conn_fwddb_param()
3910 fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), in qla4xxx_update_session_conn_param()
[all …]
Dql4_init.c156 sys_info = dma_alloc_coherent(&ha->pdev->dev, sizeof(*sys_info), in qla4xxx_get_sys_info()
335 md_tmp = dma_alloc_coherent(&ha->pdev->dev, ha->fw_dump_tmplt_size, in qla4xxx_alloc_fw_dump()
/linux-4.4.14/drivers/staging/rdma/amso1100/
Dc2_alloc.c46 new_head = dma_alloc_coherent(&c2dev->pcidev->dev, PAGE_SIZE, in c2_alloc_mqsp_chunk()
Dc2_rnic.c520 q1_pages = dma_alloc_coherent(&c2dev->pcidev->dev, qsize * msgsize, in c2_rnic_init()
541 q2_pages = dma_alloc_coherent(&c2dev->pcidev->dev, qsize * msgsize, in c2_rnic_init()
Dc2_cq.c271 pool_start = dma_alloc_coherent(&c2dev->pcidev->dev, q_size * msg_size, in c2_alloc_cq_buf()
/linux-4.4.14/arch/metag/kernel/
Ddma.c174 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent() function
266 EXPORT_SYMBOL(dma_alloc_coherent);
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dpmc.c89 pmc->pring_va = dma_alloc_coherent(dev, in wil_pmc_alloc()
116 pmc->descriptors[i].va = dma_alloc_coherent(dev, in wil_pmc_alloc()
/linux-4.4.14/arch/sh/mm/
Dconsistent.c146 buf = dma_alloc_coherent(NULL, memsize, &dma_handle, GFP_KERNEL); in platform_resource_setup_memory()
/linux-4.4.14/drivers/uwb/
Dwhc-rc.c249 whcrc->cmd_buf = dma_alloc_coherent(&umc_dev->dev, PAGE_SIZE, in whcrc_setup_rc_umc()
256 whcrc->evt_buf = dma_alloc_coherent(&umc_dev->dev, PAGE_SIZE, in whcrc_setup_rc_umc()
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_map.h35 va = dma_alloc_coherent(&scifdev->sdev->dev, in scif_alloc_coherent()
/linux-4.4.14/Documentation/driver-model/
Ddevres.txt57 using dma_alloc_coherent(). The managed version is called
58 dmam_alloc_coherent(). It is identical to dma_alloc_coherent() except
85 vaddr = dma_alloc_coherent(...);
/linux-4.4.14/drivers/soc/tegra/fuse/
Dfuse-tegra20.c110 fuse->apbdma.virt = dma_alloc_coherent(fuse->dev, sizeof(u32), in tegra20_fuse_probe()
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Docteon_network.h158 dma_alloc_coherent(&oct->pci_dev->dev, size, dma_addr, GFP_KERNEL)
/linux-4.4.14/arch/powerpc/platforms/pasemi/
Ddma_lib.c258 chan->ring_virt = dma_alloc_coherent(&dma_pdev->dev, in pasemi_dma_alloc_ring()
364 return dma_alloc_coherent(&dma_pdev->dev, size, handle, GFP_KERNEL); in pasemi_dma_alloc_buf()
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/
Ddxe.c182 wcn_ch->cpu_addr = dma_alloc_coherent(dev, size, &wcn_ch->dma_addr, in wcn36xx_dxe_init_descs()
547 cpu_addr = dma_alloc_coherent(wcn->dev, s, &wcn->mgmt_mem_pool.phy_addr, in wcn36xx_dxe_allocate_mem_pools()
562 cpu_addr = dma_alloc_coherent(wcn->dev, s, &wcn->data_mem_pool.phy_addr, in wcn36xx_dxe_allocate_mem_pools()
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_hw.c474 *p_comp = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_dmae_info_alloc()
484 *p_cmd = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_dmae_info_alloc()
493 *p_buff = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_dmae_info_alloc()
Dqed_int.c409 p_virt = dma_alloc_coherent(&cdev->pdev->dev, in qed_int_sb_attn_alloc()
676 p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_int_sp_sb_alloc()
Dqed_spq.c478 p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_spq_alloc()
/linux-4.4.14/sound/core/
Dmemalloc.c95 return dma_alloc_coherent(dev, PAGE_SIZE << pg, dma, gfp_flags); in snd_malloc_dev_pages()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dswap.c118 virt_addr = dma_alloc_coherent(ar->dev, swap_bin_len, &paddr, in ath10k_swap_code_seg_alloc()
Dhtt_tx.c112 htt->txbuf.vaddr = dma_alloc_coherent(ar->dev, size, in ath10k_htt_tx_alloc()
125 htt->frag_desc.vaddr = dma_alloc_coherent(ar->dev, size, in ath10k_htt_tx_alloc()
Dce.c906 dma_alloc_coherent(ar->dev, in ath10k_ce_alloc_src_ring()
952 dma_alloc_coherent(ar->dev, in ath10k_ce_alloc_dest_ring()
/linux-4.4.14/drivers/net/ethernet/i825xx/
Dsni_82596.c26 #define DMA_ALLOC dma_alloc_coherent
/linux-4.4.14/drivers/staging/android/ion/
Dion_cma_heap.c64 info->cpu_addr = dma_alloc_coherent(dev, len, &(info->handle), in ion_cma_allocate()
/linux-4.4.14/drivers/staging/comedi/drivers/
Dcomedi_isadma.c205 desc->virt_addr = dma_alloc_coherent(NULL, desc->maxsize, in comedi_isadma_alloc()
Dmite.c319 dma_alloc_coherent(ring->hw_dev, in mite_buf_change()
/linux-4.4.14/drivers/scsi/
Ddpt_i2o.c330 buf = dma_alloc_coherent(&pHba->pDev->dev, 80, &addr, GFP_KERNEL); in adpt_inquiry()
1377 status = dma_alloc_coherent(&pHba->pDev->dev, 4, &addr, GFP_KERNEL); in adpt_i2o_reset_hba()
1778 p = dma_alloc_coherent(&pHba->pDev->dev, sg_size, &addr, GFP_KERNEL); in adpt_i2o_passthru()
2835 status = dma_alloc_coherent(&pHba->pDev->dev, 4, &addr, GFP_KERNEL); in adpt_i2o_init_outbound_q()
2889 pHba->reply_pool = dma_alloc_coherent(&pHba->pDev->dev, in adpt_i2o_init_outbound_q()
2927 pHba->status_block = dma_alloc_coherent(&pHba->pDev->dev, in adpt_i2o_status_get()
3054 pHba->lct = dma_alloc_coherent(&pHba->pDev->dev, in adpt_i2o_lct_get()
3125 sys_tbl = dma_alloc_coherent(&pHba->pDev->dev, in adpt_i2o_build_sys_table()
3292 pHba->hrt = dma_alloc_coherent(&pHba->pDev->dev, in adpt_i2o_hrt_get()
3338 resblk_va = dma_alloc_coherent(&pHba->pDev->dev, in adpt_i2o_query_scalar()
[all …]
Djazz_esp.c167 esp->command_block = dma_alloc_coherent(esp->dev, 16, in esp_jazz_probe()
Dsun3x_esp.c230 esp->command_block = dma_alloc_coherent(esp->dev, 16, in esp_sun3x_probe()
Daha1740.c384 SCpnt->host_scribble = dma_alloc_coherent (&host->edev->dev, in aha1740_queuecommand_lck()
Dsun_esp.c105 esp->command_block = dma_alloc_coherent(&op->dev, 16, in esp_sbus_map_command_block()
Dhptiop.c1201 hba->u.mv.internal_req = dma_alloc_coherent(&hba->pcidev->dev, in hptiop_internal_memalloc_mv()
1230 p = dma_alloc_coherent(&hba->pcidev->dev, in hptiop_internal_memalloc_mvfrey()
1443 start_virt = dma_alloc_coherent(&pcidev->dev, in hptiop_probe()
Dqlogicpti.c811 qpti->res_cpu = dma_alloc_coherent(&op->dev, in qpti_map_queues()
820 qpti->req_cpu = dma_alloc_coherent(&op->dev, in qpti_map_queues()
/linux-4.4.14/drivers/crypto/caam/
Djr.c413 jrp->inpring = dma_alloc_coherent(dev, sizeof(*jrp->inpring) * in caam_jr_init()
418 jrp->outring = dma_alloc_coherent(dev, sizeof(*jrp->outring) * in caam_jr_init()
/linux-4.4.14/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()
573 ptr = (__le32 *)dma_alloc_coherent(&pdev->dev, sizeof(u32), in qlcnic_alloc_hw_resources()
581 addr = dma_alloc_coherent(&pdev->dev, TX_DESC_RINGSIZE(tx_ring), in qlcnic_alloc_hw_resources()
594 addr = dma_alloc_coherent(&adapter->pdev->dev, in qlcnic_alloc_hw_resources()
608 addr = dma_alloc_coherent(&adapter->pdev->dev, in qlcnic_alloc_hw_resources()
Dqlcnic_minidump.c1177 tmp_addr = dma_alloc_coherent(&adapter->pdev->dev, temp_size, in __qlcnic_fw_cmd_get_minidump_temp()
1265 temp_buffer = dma_alloc_coherent(&adapter->pdev->dev, in qlcnic_fw_cmd_get_minidump_temp()
/linux-4.4.14/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c450 io->bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, in bnx2i_alloc_bdt()
530 hba->mp_bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_setup_mp_bdt()
538 hba->dummy_buffer = dma_alloc_coherent(&hba->pcidev->dev, in bnx2i_setup_mp_bdt()
982 dma_alloc_coherent(&hba->pcidev->dev, in bnx2i_conn_alloc_login_resources()
993 dma_alloc_coherent(&hba->pcidev->dev, in bnx2i_conn_alloc_login_resources()
1004 dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_alloc_login_resources()
1010 dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_alloc_login_resources()
Dbnx2i_hwi.c1076 dma_alloc_coherent(&hba->pcidev->dev, ep->qp.sq_pgtbl_size, in bnx2i_alloc_qp_resc()
1086 dma_alloc_coherent(&hba->pcidev->dev, ep->qp.sq_mem_size, in bnx2i_alloc_qp_resc()
1113 dma_alloc_coherent(&hba->pcidev->dev, ep->qp.cq_pgtbl_size, in bnx2i_alloc_qp_resc()
1123 dma_alloc_coherent(&hba->pcidev->dev, ep->qp.cq_mem_size, in bnx2i_alloc_qp_resc()
1156 dma_alloc_coherent(&hba->pcidev->dev, ep->qp.rq_pgtbl_size, in bnx2i_alloc_qp_resc()
1166 dma_alloc_coherent(&hba->pcidev->dev, ep->qp.rq_mem_size, in bnx2i_alloc_qp_resc()
/linux-4.4.14/drivers/firmware/
Draspberrypi.c91 buf = dma_alloc_coherent(fw->cl.dev, PAGE_ALIGN(size), &bus_addr, in rpi_firmware_property_list()
Ddcdbas.c92 buf = dma_alloc_coherent(&dcdbas_pdev->dev, size, &handle, GFP_KERNEL); in smi_data_buf_realloc()
Ddell_rbu.c447 image_update_buffer = dma_alloc_coherent(NULL, size, in img_update_realloc()
/linux-4.4.14/drivers/uio/
Duio_pruss.c171 gdev->ddr_vaddr = dma_alloc_coherent(dev, extram_pool_sz, in pruss_probe()
Duio_dmem_genirq.c61 addr = dma_alloc_coherent(&priv->pdev->dev, uiomem->size, in uio_dmem_genirq_open()
/linux-4.4.14/arch/arc/include/asm/
Ddma-mapping.h23 void *dma_alloc_coherent(struct device *dev, size_t size,
/linux-4.4.14/drivers/net/ethernet/natsemi/
Djazzsonic.c176 lp->descriptors = dma_alloc_coherent(lp->device, in sonic_probe1()
Dxtsonic.c199 lp->descriptors = dma_alloc_coherent(lp->device, in sonic_probe1()
Dmacsonic.c203 lp->descriptors = dma_alloc_coherent(lp->device, in macsonic_init()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dalloc.c595 buf->direct.buf = dma_alloc_coherent(&dev->persist->pdev->dev, in mlx4_buf_alloc()
622 dma_alloc_coherent(&dev->persist->pdev->dev, in mlx4_buf_alloc()
691 pgdir->db_page = dma_alloc_coherent(dma_device, PAGE_SIZE, in mlx4_alloc_db_pgdir()
Dicm.c116 void *buf = dma_alloc_coherent(dev, PAGE_SIZE << order, in mlx4_alloc_icm_coherent()
/linux-4.4.14/drivers/video/fbdev/
Dpxa3xx-gcu.c549 buffer->ptr = dma_alloc_coherent(dev, PXA3XX_GCU_BATCH_WORDS * 4, in pxa3xx_gcu_add_buffer()
641 priv->shared = dma_alloc_coherent(dev, SHARED_SIZE, in pxa3xx_gcu_probe()
Dvt8500lcdfb.c360 fb_mem_virt = dma_alloc_coherent(&pdev->dev, fb_mem_len, &fb_mem_phys, in vt8500lcd_probe()
373 fbi->palette_cpu = dma_alloc_coherent(&pdev->dev, in vt8500lcd_probe()
Dbf537-lq035.c706 fb_buffer = dma_alloc_coherent(NULL, TOTAL_VIDEO_MEM_SIZE, in bfin_lq035_probe()
717 dma_desc_table = dma_alloc_coherent(NULL, TOTAL_DMA_DESC_SIZE, in bfin_lq035_probe()
Djz4740_fb.c568 jzfb->framedesc = dma_alloc_coherent(&jzfb->pdev->dev, in jzfb_alloc_devmem()
576 jzfb->vidmem = dma_alloc_coherent(&jzfb->pdev->dev, in jzfb_alloc_devmem()
Dgoldfishfb.c247 fb->fb.screen_base = (char __force __iomem *)dma_alloc_coherent( in goldfish_fb_probe()
Dxilinxfb.c288 drvdata->fb_virt = dma_alloc_coherent(dev, PAGE_ALIGN(fbsize), in xilinxfb_assign()
Docfb.c334 fbdev->fb_virt = dma_alloc_coherent(&pdev->dev, PAGE_ALIGN(fbsize), in ocfb_probe()
Dbfin-t350mcqb-fb.c494 info->fb_buffer = dma_alloc_coherent(NULL, fbinfo->fix.smem_len + in bfin_t350mcqb_probe()
Dbf54x-lq043fb.c590 dma_alloc_coherent(NULL, fbinfo->fix.smem_len, &info->dma_handle, in bfin_bf54x_probe()
Dsh7760fb.c414 fbmem = dma_alloc_coherent(info->dev, vram, &par->fbdma, GFP_KERNEL); in sh7760fb_alloc_mem()
Dbfin_adv7393fb.c426 dma_alloc_coherent(NULL, fbdev->fb_len, &fbdev->dma_handle, in bfin_adv7393_fb_probe()
/linux-4.4.14/drivers/usb/host/
Dehci-mem.c210 dma_alloc_coherent (ehci_to_hcd(ehci)->self.controller, in ehci_mem_init()
Dxhci-mem.c609 return dma_alloc_coherent(dev, size, in xhci_alloc_stream_ctx()
1656 xhci->scratchpad->sp_array = dma_alloc_coherent(dev, in scratchpad_alloc()
1675 void *buf = dma_alloc_coherent(dev, xhci->page_size, &dma, in scratchpad_alloc()
2401 xhci->dcbaa = dma_alloc_coherent(dev, sizeof(*xhci->dcbaa), &dma, in xhci_mem_init()
2496 xhci->erst.entries = dma_alloc_coherent(dev, in xhci_mem_init()
Duhci-hcd.c592 uhci->frame = dma_alloc_coherent(uhci_dev(uhci), in uhci_start()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dnv44.c168 mmu->nullp = dma_alloc_coherent(device->dev, 16 * 1024, in nv44_mmu_oneinit()
/linux-4.4.14/arch/hexagon/
DKconfig17 # GENERIC_ALLOCATOR is used by dma_alloc_coherent()
/linux-4.4.14/sound/ppc/
Dbeep.c229 dmabuf = dma_alloc_coherent(&chip->pdev->dev, BEEP_BUFLEN * 4, in snd_pmac_attach_beep()
/linux-4.4.14/drivers/net/ethernet/moxa/
Dmoxart_ether.c474 priv->tx_desc_base = dma_alloc_coherent(NULL, TX_REG_DESC_SIZE * in moxart_mac_probe()
482 priv->rx_desc_base = dma_alloc_coherent(NULL, RX_REG_DESC_SIZE * in moxart_mac_probe()
/linux-4.4.14/drivers/net/ethernet/apple/
Dmacmace.c389 mp->tx_ring = dma_alloc_coherent(mp->device, in mace_open()
395 mp->rx_ring = dma_alloc_coherent(mp->device, in mace_open()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_init.c327 dd->pioavailregs_dma = dma_alloc_coherent( in init_pioavailregs()
1608 rcd->rcvhdrq = dma_alloc_coherent( in qib_create_rcvhdrq()
1628 rcd->rcvhdrtail_kvaddr = dma_alloc_coherent( in qib_create_rcvhdrq()
1713 dma_alloc_coherent(&dd->pcidev->dev, size, in qib_setup_eagerbufs()
Dqib_sdma.c275 ppd->sdma_descq = dma_alloc_coherent(&ppd->dd->pcidev->dev, in alloc_sdma()
286 ppd->sdma_head_dma = dma_alloc_coherent(&ppd->dd->pcidev->dev, in alloc_sdma()
/linux-4.4.14/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c379 q->va = dma_alloc_coherent(&dev->nic_info.pdev->dev, q->size, in ocrdma_alloc_q()
1335 dma.va = dma_alloc_coherent(&dev->nic_info.pdev->dev, in ocrdma_mbx_get_ctrl_attribs()
1675 dev->av_tbl.pbl.va = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in ocrdma_mbx_create_ah_tbl()
1681 dev->av_tbl.va = dma_alloc_coherent(&pdev->dev, dev->av_tbl.size, in ocrdma_mbx_create_ah_tbl()
1816 cq->va = dma_alloc_coherent(&pdev->dev, cq->len, &cq->pa, GFP_KERNEL); in ocrdma_mbx_create_cq()
2212 qp->sq.va = dma_alloc_coherent(&pdev->dev, len, &pa, GFP_KERNEL); in ocrdma_set_create_qp_sq_cmd()
2263 qp->rq.va = dma_alloc_coherent(&pdev->dev, len, &pa, GFP_KERNEL); in ocrdma_set_create_qp_rq_cmd()
2320 qp->ird_q_va = dma_alloc_coherent(&pdev->dev, ird_q_len, in ocrdma_set_create_qp_ird_cmd()
2764 srq->rq.va = dma_alloc_coherent(&pdev->dev, len, &pa, GFP_KERNEL); in ocrdma_mbx_create_srq()
2886 req = dma_alloc_coherent(&pdev->dev, cmd.hdr.pyld_len, &pa, GFP_KERNEL); in ocrdma_mbx_get_dcbx_config()
/linux-4.4.14/drivers/tty/serial/8250/
D8250_dma.c198 dma->rx_buf = dma_alloc_coherent(dma->rxchan->device->dev, dma->rx_size, in serial8250_request_dma()
/linux-4.4.14/drivers/base/
Ddma-mapping.c75 vaddr = dma_alloc_coherent(dev, size, dma_handle, gfp); in dmam_alloc_coherent()
/linux-4.4.14/drivers/scsi/esas2r/
Desas2r_ioctl.c125 a->firmware.header_buff = dma_alloc_coherent(&a->pcid->dev, in do_fm_api()
230 esas2r_buffered_ioctl = dma_alloc_coherent(&a->pcid->dev, in handle_buffered_ioctl()
1575 a->firmware.data = (u8 *)dma_alloc_coherent(&a->pcid->dev, in allocate_fw_buffers()
1922 a->vda_buffer = (u8 *)dma_alloc_coherent(&a->pcid->dev, in esas2r_write_vda()
2091 a->fs_api_buffer = (u8 *)dma_alloc_coherent( in esas2r_write_fs()
Desas2r_init.c53 mem_desc->esas2r_data = dma_alloc_coherent(&a->pcid->dev, in esas2r_initmem_alloc()
395 a->uncached = dma_alloc_coherent(&pcid->dev, in esas2r_init_adapter()
/linux-4.4.14/drivers/remoteproc/
Dste_modem_rproc.c306 sproc->fw_addr = dma_alloc_coherent(rproc->dev.parent, SPROC_FW_SIZE, in sproc_probe()
Dremoteproc_core.c218 va = dma_alloc_coherent(dev->parent, size, &dma, GFP_KERNEL); in rproc_alloc_vring()
587 va = dma_alloc_coherent(dev->parent, rsc->len, &dma, GFP_KERNEL); in rproc_handle_carveout()
/linux-4.4.14/drivers/i2c/busses/
Di2c-cpm.c536 cpm->rxbuf[i] = dma_alloc_coherent(&cpm->ofdev->dev, in cpm_i2c_setup()
545 …cpm->txbuf[i] = (unsigned char *)dma_alloc_coherent(&cpm->ofdev->dev, CPM_MAX_READ + 1, &cpm->txdm… in cpm_i2c_setup()
/linux-4.4.14/sound/soc/kirkwood/
Dkirkwood-dma.c264 buf->area = dma_alloc_coherent(pcm->card->dev, size, in kirkwood_dma_preallocate_dma_buffer()
/linux-4.4.14/drivers/scsi/aic94xx/
Daic94xx_hwi.h266 token->vaddr = dma_alloc_coherent(&asd_ha->pcidev->dev, in asd_alloc_coherent()
/linux-4.4.14/drivers/media/pci/cobalt/
Dcobalt-omnitek.c301 desc->virt = dma_alloc_coherent(desc->dev, bytes, in descriptor_list_allocate()
/linux-4.4.14/drivers/net/vmxnet3/
Dvmxnet3_drv.c508 tq->tx_ring.base = dma_alloc_coherent(&adapter->pdev->dev, in vmxnet3_tq_create()
516 tq->data_ring.base = dma_alloc_coherent(&adapter->pdev->dev, in vmxnet3_tq_create()
524 tq->comp_ring.base = dma_alloc_coherent(&adapter->pdev->dev, in vmxnet3_tq_create()
1666 rq->rx_ring[i].base = dma_alloc_coherent( in vmxnet3_rq_create()
1678 rq->comp_ring.base = dma_alloc_coherent(&adapter->pdev->dev, sz, in vmxnet3_rq_create()
3126 adapter->shared = dma_alloc_coherent( in vmxnet3_probe_device()
3142 adapter->tqd_start = dma_alloc_coherent(&adapter->pdev->dev, size, in vmxnet3_probe_device()
3154 adapter->pm_conf = dma_alloc_coherent(&adapter->pdev->dev, in vmxnet3_probe_device()
3165 adapter->rss_conf = dma_alloc_coherent(&adapter->pdev->dev, in vmxnet3_probe_device()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c789 kmem = dma_alloc_coherent(&bp->pdev->dev, data_len, &dma_handle, in bnxt_flash_nvram()
1004 buf = dma_alloc_coherent(&bp->pdev->dev, buflen, &dma_handle, in bnxt_get_nvram_directory()
1029 buf = dma_alloc_coherent(&bp->pdev->dev, length, &dma_handle, in bnxt_get_nvram_item()
Dbnxt.c1617 ring->pg_tbl = dma_alloc_coherent(&pdev->dev, in bnxt_alloc_ring()
1626 ring->pg_arr[i] = dma_alloc_coherent(&pdev->dev, in bnxt_alloc_ring()
1799 txr->tx_push = dma_alloc_coherent(&pdev->dev, in bnxt_alloc_tx_rings()
2286 dma_alloc_coherent(&pdev->dev, in bnxt_alloc_vnic_attributes()
2308 vnic->rss_table = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in bnxt_alloc_vnic_attributes()
2348 bp->hwrm_cmd_resp_addr = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in bnxt_alloc_hwrm_resources()
2353 bp->hwrm_dbg_resp_addr = dma_alloc_coherent(&pdev->dev, in bnxt_alloc_hwrm_resources()
2396 cpr->hw_stats = dma_alloc_coherent(&pdev->dev, size, in bnxt_alloc_stats()
/linux-4.4.14/include/linux/
Ddma-mapping.h190 void *ret = dma_alloc_coherent(dev, size, dma_handle, in dma_zalloc_coherent()
/linux-4.4.14/drivers/media/v4l2-core/
Dvideobuf-dma-contig.c45 mem->vaddr = dma_alloc_coherent(dev, mem->size, in __videobuf_dc_alloc()
Dvideobuf2-dma-contig.c150 buf->vaddr = dma_alloc_coherent(dev, size, &buf->dma_addr, in vb2_dc_alloc()
Dvideobuf-dma-sg.c230 addr = dma_alloc_coherent(dma->dev, PAGE_SIZE, in videobuf_dma_init_kernel()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_pci.c60 dmah->vaddr = dma_alloc_coherent(&dev->pdev->dev, size, &dmah->busaddr, GFP_KERNEL | __GFP_COMP); in drm_pci_alloc()
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_sdma.c380 dd->ipath_sdma_descq = dma_alloc_coherent(&dd->pcidev->dev, in alloc_sdma()
394 dd->ipath_sdma_head_dma = dma_alloc_coherent(&dd->pcidev->dev, in alloc_sdma()
Dipath_init_chip.c399 dd->ipath_pioavailregs_dma = dma_alloc_coherent( in init_pioavailregs()
928 dd->ipath_dummy_hdrq = dma_alloc_coherent( in ipath_init_chip()
/linux-4.4.14/drivers/fpga/
Dzynq-fpga.c298 kbuf = dma_alloc_coherent(priv->dev, count, &dma_addr, GFP_KERNEL); in zynq_fpga_ops_write()
/linux-4.4.14/drivers/ide/
Dide-dma.c520 hwif->dmatable_cpu = dma_alloc_coherent(hwif->dev, prd_size, in ide_allocate_dma_engine()
Dsgiioc4.c337 pad = dma_alloc_coherent(&dev->dev, IOC4_IDE_CACHELINE_SIZE, in ide_dma_sgiioc4()
/linux-4.4.14/arch/powerpc/platforms/cell/
Daxon_msi.c369 msic->fifo_virt = dma_alloc_coherent(&device->dev, MSIC_FIFO_SIZE_BYTES, in axon_msi_probe()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_mid.c649 req->ring = dma_alloc_coherent(&ha->pdev->dev, in qla25xx_create_req_que()
773 rsp->ring = dma_alloc_coherent(&ha->pdev->dev, in qla25xx_create_rsp_que()
Dqla_bsg.c757 req_data = dma_alloc_coherent(&ha->pdev->dev, req_data_len, in qla2x00_process_loopback()
766 rsp_data = dma_alloc_coherent(&ha->pdev->dev, rsp_data_len, in qla2x00_process_loopback()
1010 fw_buf = dma_alloc_coherent(&ha->pdev->dev, data_len, in qla84xx_updatefw()
1137 mgmt_b = dma_alloc_coherent(&ha->pdev->dev, data_len, in qla84xx_mgmt_cmd()
1187 mgmt_b = dma_alloc_coherent(&ha->pdev->dev, data_len, in qla84xx_mgmt_cmd()
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
Dxircom_cb.c235 private->rx_buffer = dma_alloc_coherent(d, 8192, in xircom_probe()
241 private->tx_buffer = dma_alloc_coherent(d, 8192, in xircom_probe()
/linux-4.4.14/drivers/idle/
Di7300_idle.c235 ioat_desc = (struct ioat_dma_descriptor *)dma_alloc_coherent( in i7300_idle_ioat_init()
/linux-4.4.14/Documentation/scsi/
DChangeLog.arcmsr23 ** modify PCCB POOL allocated by "dma_alloc_coherent"
/linux-4.4.14/sound/soc/atmel/
Datmel-pcm-pdc.c60 buf->area = dma_alloc_coherent(pcm->card->dev, size, in atmel_pcm_preallocate_dma_buffer()
/linux-4.4.14/drivers/rapidio/devices/
Dtsi721.c1512 dma_alloc_coherent( in tsi721_open_outb_mbox()
1526 priv->omsg_ring[mbox].omd_base = dma_alloc_coherent( in tsi721_open_outb_mbox()
1807 dma_alloc_coherent(&priv->pdev->dev, in tsi721_open_inb_mbox()
1821 dma_alloc_coherent(&priv->pdev->dev, in tsi721_open_inb_mbox()
1835 dma_alloc_coherent(&priv->pdev->dev, in tsi721_open_inb_mbox()
/linux-4.4.14/drivers/usb/dwc2/
Dhcd_ddma.c90 qh->desc_list = dma_alloc_coherent(hsotg->dev, in dwc2_desc_list_alloc()
131 hsotg->frame_list = dma_alloc_coherent(hsotg->dev, in dwc2_frame_list_alloc()
/linux-4.4.14/drivers/net/ethernet/sun/
Dsunqe.c882 qe->qe_block = dma_alloc_coherent(&op->dev, PAGE_SIZE, in qec_ether_init()
884 qe->buffers = dma_alloc_coherent(&op->dev, sizeof(struct sunqe_buffers), in qec_ether_init()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dpcie.c1052 ring = dma_alloc_coherent(&devinfo->pdev->dev, size, dma_handle, in brcmf_pcie_init_dmabuffer_for_device()
1175 devinfo->idxbuf = dma_alloc_coherent(&devinfo->pdev->dev, bufsz, in brcmf_pcie_init_ringbuffers()
1318 devinfo->shared.scratch = dma_alloc_coherent(&devinfo->pdev->dev, in brcmf_pcie_init_scratchbuffers()
1335 devinfo->shared.ringupd = dma_alloc_coherent(&devinfo->pdev->dev, in brcmf_pcie_init_scratchbuffers()
Dmsgbuf.c581 dma_buf = dma_alloc_coherent(msgbuf->drvr->bus_if->dev, dma_sz, in brcmf_msgbuf_flowring_create_worker()
1440 msgbuf->ioctbuf = dma_alloc_coherent(drvr->bus_if->dev, in brcmf_proto_msgbuf_attach()
/linux-4.4.14/drivers/staging/comedi/
Dcomedi_buf.c122 buf->virt_addr = dma_alloc_coherent(bm->dma_hw_dev, in __comedi_buf_alloc()
/linux-4.4.14/drivers/edac/
Daltera_edac.c126 ptemp = dma_alloc_coherent(mci->pdev, 16, &dma_handle, GFP_KERNEL); in altr_sdr_mc_err_inject_write()
/linux-4.4.14/mm/
Ddmapool.c229 page->vaddr = dma_alloc_coherent(pool->dev, pool->allocation, in pool_alloc_page()
/linux-4.4.14/drivers/mmc/host/
Dandroid-goldfish.c484 host->virt_base = dma_alloc_coherent(&pdev->dev, BUFFER_SIZE, in goldfish_mmc_probe()
Dbfin_sdh.c581 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, &host->sg_dma, GFP_KERNEL); in sdh_probe()
/linux-4.4.14/drivers/infiniband/hw/cxgb3/
Dcxio_hal.c172 cq->queue = dma_alloc_coherent(&(rdev_p->rnic_info.pdev->dev), size, in cxio_create_cq()
296 wq->queue = dma_alloc_coherent(&(rdev_p->rnic_info.pdev->dev), in cxio_create_qp()
532 rdev_p->ctrl_qp.workq = dma_alloc_coherent( in cxio_hal_init_ctrl_qp()
/linux-4.4.14/drivers/tty/serial/
Difx6x60.c1058 ifx_dev->tx_buffer = dma_alloc_coherent(ifx_dev->spi_dev->dev.parent, in ifx_spi_spi_probe()
1067 ifx_dev->rx_buffer = dma_alloc_coherent(ifx_dev->spi_dev->dev.parent, in ifx_spi_spi_probe()
/linux-4.4.14/drivers/net/irda/
Dpxaficp_ir.c792 si->dma_rx_buff = dma_alloc_coherent(si->dev, IRDA_FRAME_SIZE_LIMIT, in pxa_irda_start()
797 si->dma_tx_buff = dma_alloc_coherent(si->dev, IRDA_FRAME_SIZE_LIMIT, in pxa_irda_start()
/linux-4.4.14/drivers/net/ethernet/cadence/
Dmacb.c1451 bp->rx_buffers = dma_alloc_coherent(&bp->pdev->dev, size, in macb_alloc_rx_buffers()
1470 queue->tx_ring = dma_alloc_coherent(&bp->pdev->dev, size, in macb_alloc_consistent()
1487 bp->rx_ring = dma_alloc_coherent(&bp->pdev->dev, size, in macb_alloc_consistent()
2442 lp->rx_ring = dma_alloc_coherent(&lp->pdev->dev, in at91ether_start()
2449 lp->rx_buffers = dma_alloc_coherent(&lp->pdev->dev, in at91ether_start()
/linux-4.4.14/drivers/net/ethernet/agere/
Det131x.c1920 fbr->ring_virtaddr = dma_alloc_coherent(&adapter->pdev->dev, in et131x_rx_dma_memory_alloc()
1939 fbr->mem_virtaddrs[i] = dma_alloc_coherent( in et131x_rx_dma_memory_alloc()
1975 rx_ring->ps_ring_virtaddr = dma_alloc_coherent(&adapter->pdev->dev, in et131x_rx_dma_memory_alloc()
1987 rx_ring->rx_status_block = dma_alloc_coherent(&adapter->pdev->dev, in et131x_rx_dma_memory_alloc()
2369 tx_ring->tx_desc_ring = dma_alloc_coherent(&adapter->pdev->dev, in et131x_tx_dma_memory_alloc()
2379 tx_ring->tx_status = dma_alloc_coherent(&adapter->pdev->dev, in et131x_tx_dma_memory_alloc()
/linux-4.4.14/drivers/dma/
Dcppi41.c759 cdd->cd = dma_alloc_coherent(dev, mem_decs, in init_descs()
800 cdd->qmgr_scratch = dma_alloc_coherent(dev, QMGR_SCRATCH_SIZE, in init_cppi41()
/linux-4.4.14/drivers/net/ethernet/nuvoton/
Dw90p910_ether.c290 ether->tdesc = dma_alloc_coherent(&pdev->dev, sizeof(struct tran_pdesc), in w90p910_init_desc()
295 ether->rdesc = dma_alloc_coherent(&pdev->dev, sizeof(struct recv_pdesc), in w90p910_init_desc()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c445 tx_ring->desc = dma_alloc_coherent(dev, tx_ring->size, in i40evf_setup_tx_descriptors()
571 buffer = dma_alloc_coherent(dev, buf_size * rx_ring->count, in i40evf_alloc_rx_headers()
607 rx_ring->desc = dma_alloc_coherent(dev, rx_ring->size, in i40evf_setup_rx_descriptors()
/linux-4.4.14/drivers/usb/dwc3/
Dgadget.c368 dep->trb_pool = dma_alloc_coherent(dwc->dev, in dwc3_alloc_trb_pool()
2750 dwc->ctrl_req = dma_alloc_coherent(dwc->dev, sizeof(*dwc->ctrl_req), in dwc3_gadget_init()
2758 dwc->ep0_trb = dma_alloc_coherent(dwc->dev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_init()
2772 dwc->ep0_bounce = dma_alloc_coherent(dwc->dev, in dwc3_gadget_init()
/linux-4.4.14/drivers/net/ethernet/freescale/fs_enet/
Dmac-fec.c143 fep->ring_base = (void __force __iomem *)dma_alloc_coherent(fep->dev, in allocate_bd()
Dmac-fcc.c154 fep->ring_base = (void __iomem __force *)dma_alloc_coherent(fep->dev, in allocate_bd()
/linux-4.4.14/drivers/macintosh/
Drack-meter.c452 rm->dma_buf_v = dma_alloc_coherent(&macio_get_pci_dev(mdev)->dev, in rackmeter_probe()
/linux-4.4.14/drivers/video/fbdev/via/
Dvia-core.c284 descrpages = dma_alloc_coherent(&global_dev.pdev->dev, in viafb_dma_copy_out_sg()
/linux-4.4.14/drivers/misc/vmw_vmci/
Dvmci_guest.c533 vmci_dev->notification_bitmap = dma_alloc_coherent( in vmci_guest_probe_device()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c50 tx_ring->desc = dma_alloc_coherent(dev, tx_ring->size, in fm10k_setup_tx_resources()
118 rx_ring->desc = dma_alloc_coherent(dev, rx_ring->size, in fm10k_setup_rx_resources()
/linux-4.4.14/sound/soc/intel/common/
Dsst-firmware.c346 sst_fw->dma_buf = dma_alloc_coherent(dsp->dma_dev, sst_fw->size, in sst_fw_new()
934 context->buffer = dma_alloc_coherent(dsp->dma_dev, in sst_module_runtime_save()
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/
Dtx.c129 ptr->addr = dma_alloc_coherent(trans->dev, size, in iwl_pcie_alloc_dma_ptr()
517 txq->tfds = dma_alloc_coherent(trans->dev, tfd_sz, in iwl_pcie_txq_alloc()
529 txq->scratchbufs = dma_alloc_coherent(trans->dev, scratchbuf_sz, in iwl_pcie_txq_alloc()
/linux-4.4.14/sound/soc/qcom/
Dlpass-platform.c451 buf->area = dma_alloc_coherent(soc_runtime->dev, size, &buf->addr, in lpass_platform_alloc_buffer()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-desc.c198 ring->rdesc = dma_alloc_coherent(pdata->dev, in xgbe_init_ring()
/linux-4.4.14/arch/arm/common/
Ddmabounce.c141 buf->safe = dma_alloc_coherent(dev, size, &buf->safe_dma_addr, in alloc_safe_buffer()
/linux-4.4.14/drivers/crypto/qat/qat_common/
Dadf_transport.c189 ring->base_addr = dma_alloc_coherent(&GET_DEV(accel_dev), in adf_init_ring()
/linux-4.4.14/drivers/net/ethernet/
Dec_bhf.c350 buf->alloc = dma_alloc_coherent(dev, buf->alloc_len, &buf->alloc_phys, in ec_bhf_alloc_dma_mem()
/linux-4.4.14/drivers/net/ethernet/renesas/
Dravb_main.c312 priv->rx_ring[q] = dma_alloc_coherent(ndev->dev.parent, ring_size, in ravb_ring_init()
323 priv->tx_ring[q] = dma_alloc_coherent(ndev->dev.parent, ring_size, in ravb_ring_init()
1770 priv->desc_bat = dma_alloc_coherent(ndev->dev.parent, priv->desc_bat_size, in ravb_probe()
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_layer.c534 dma->dscrs = dma_alloc_coherent(dev->dev, in atmel_hlcdc_layer_dma_init()
/linux-4.4.14/sound/soc/fsl/
Dfsl_dma.c420 dma_private = dma_alloc_coherent(dev, sizeof(struct fsl_dma_private), in fsl_dma_open()
/linux-4.4.14/drivers/thunderbolt/
Dnhi.c276 ring->descriptors = dma_alloc_coherent(&ring->nhi->pdev->dev, in ring_alloc()
/linux-4.4.14/drivers/message/fusion/
Dmptspi.c543 spi_dev_pg0 = dma_alloc_coherent(&ioc->pcidev->dev, size, &spi_dev_pg0_dma, GFP_KERNEL); in mptspi_read_spi_device_pg0()
879 pg1 = dma_alloc_coherent(&ioc->pcidev->dev, size, &pg1_dma, GFP_KERNEL); in mptspi_write_spi_device_pg1()
/linux-4.4.14/drivers/net/caif/
Dcaif_virtio.c395 cfv->alloc_addr = dma_alloc_coherent( in cfv_create_genpool()
Dcaif_spi.c96 return dma_alloc_coherent(NULL, SPI_DMA_BUF_LEN, daddr, in dma_alloc()
/linux-4.4.14/drivers/hwtracing/coresight/
Dcoresight-tmc.c710 drvdata->vaddr = dma_alloc_coherent(dev, drvdata->size, in tmc_probe()
/linux-4.4.14/drivers/scsi/sym53c8xx_2/
Dsym_hipd.h1211 vaddr = dma_alloc_coherent(mp->dev_dmat, SYM_MEM_CLUSTER_SIZE, &baddr, in sym_m_get_dma_mem_cluster()
/linux-4.4.14/drivers/crypto/
Dbfin_crc.c628 crc->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, &crc->sg_dma, GFP_KERNEL); in bfin_crypto_crc_probe()
/linux-4.4.14/drivers/memstick/host/
Dr592.c790 dev->dummy_dma_page = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in r592_probe()
/linux-4.4.14/drivers/media/pci/meye/
Dmeye.c128 meye.mchip_ptable_toc = dma_alloc_coherent(&meye.mchip_dev->dev, in ptable_alloc()
140 meye.mchip_ptable[i] = dma_alloc_coherent(&meye.mchip_dev->dev, in ptable_alloc()
/linux-4.4.14/drivers/net/ethernet/aurora/
Dnb8800.c842 priv->rx_descs = dma_alloc_coherent(dev->dev.parent, RX_DESC_SIZE, in nb8800_dma_init()
857 priv->tx_descs = dma_alloc_coherent(dev->dev.parent, TX_DESC_SIZE, in nb8800_dma_init()
/linux-4.4.14/drivers/media/platform/marvell-ccic/
Dmcam-core.c391 cam->dma_bufs[i] = dma_alloc_coherent(cam->dev, in mcam_alloc_dma_bufs()
1209 mvb->dma_desc = dma_alloc_coherent(cam->dev, in mcam_vb_sg_buf_init()
/linux-4.4.14/tools/testing/nvdimm/test/
Dnfit.c385 void *buf = dma_alloc_coherent(dev, size, dma, GFP_KERNEL); in test_alloc_coherent()
1351 buf = dma_alloc_coherent(&pdev->dev, SZ_128M, &dma, in nfit_test_init()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c971 tx_ring->desc = dma_alloc_coherent(dev, tx_ring->size, in i40e_setup_tx_descriptors()
1097 buffer = dma_alloc_coherent(dev, buf_size * rx_ring->count, in i40e_alloc_rx_headers()
1133 rx_ring->desc = dma_alloc_coherent(dev, rx_ring->size, in i40e_setup_rx_descriptors()

12