/linux-4.4.14/include/asm-generic/ |
D | dma-mapping-broken.h | 12 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)
|
D | pci-dma-compat.h | 13 return dma_alloc_coherent(hwdev == NULL ? NULL : &hwdev->dev, size, dma_handle, GFP_ATOMIC); in pci_alloc_consistent()
|
D | dma-mapping-common.h | 286 static inline void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent() function
|
/linux-4.4.14/arch/mn10300/mm/ |
D | dma-alloc.c | 23 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/ |
D | dma-mapping.h | 18 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/ |
D | dma.c | 52 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/ |
D | dma-mapping.h | 13 #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/ |
D | pci-dma.c | 21 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);
|
D | pci-dma-nommu.c | 37 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/ |
D | dma.c | 21 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/ |
D | init.c | 129 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()
|
D | pzl.c | 392 whc->pz_list = dma_alloc_coherent(&whc->umc->dev, sizeof(u64) * 16, in pzl_init()
|
/linux-4.4.14/arch/c6x/mm/ |
D | dma-coherent.c | 76 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/ |
D | bnx2fc_tgt.c | 675 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()
|
D | bnx2fc_hwi.c | 1858 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()
|
D | bnx2fc_io.c | 305 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/ |
D | dma-mapping.c | 81 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/ |
D | dma-mapping.h | 94 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/ |
D | dma-coherent.c | 96 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/ |
D | dma-mapping.h | 15 #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/ |
D | dma-mapping.h | 25 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/ |
D | dma-mapping.h | 55 #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/ |
D | dma-mapping.c | 24 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/ |
D | DMA-API.txt | 30 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 …]
|
D | DMA-API-HOWTO.txt | 387 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/ |
D | dma.c | 19 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent() function
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | dma-mapping.h | 13 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/ |
D | dma-mapping.h | 54 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/ |
D | vmmc.c | 34 (void *) CPHYSADDR(dma_alloc_coherent(NULL, CP1_SIZE, in vmmc_probe()
|
D | xrx200_phy_fw.c | 65 fw_addr = dma_alloc_coherent(&pdev->dev, size, &dev_addr, GFP_KERNEL); in xway_gphy_load()
|
D | dma.c | 131 ch->desc_base = dma_alloc_coherent(NULL, in ltq_dma_alloc()
|
/linux-4.4.14/arch/metag/include/asm/ |
D | dma-mapping.h | 11 #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/ |
D | mv_init.c | 256 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/ |
D | hpios.c | 51 dma_alloc_coherent(&pdev->dev, size, &p_mem_area->dma_handle, in hpios_locked_mem_alloc()
|
/linux-4.4.14/drivers/crypto/amcc/ |
D | crypto4xx_core.c | 129 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/ |
D | s5p_mfc_opr.c | 45 b->virt = dma_alloc_coherent(dev, b->size, &b->dma, GFP_KERNEL); in s5p_mfc_alloc_priv_buf()
|
D | s5p_mfc_ctrl.c | 39 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/ |
D | pt3_dma.c | 168 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/ |
D | bf5xx-ac97-pcm.c | 329 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()
|
D | bf6xx-sport.c | 157 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()
|
D | bf5xx-sport.c | 432 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/ |
D | buffer.c | 132 return dma_alloc_coherent(hcd->self.controller, size, dma, mem_flags); in hcd_buffer_alloc()
|
/linux-4.4.14/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_cpm1.c | 102 mem_addr = dma_alloc_coherent(pinfo->port.dev, memsz, &dma_addr, in cpm_uart_allocbuf()
|
D | cpm_uart_cpm2.c | 137 mem_addr = dma_alloc_coherent(pinfo->port.dev, memsz, &dma_addr, in cpm_uart_allocbuf()
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | dma-mapping.h | 49 #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/ |
D | mthca_allocator.c | 209 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()
|
D | mthca_memfree.c | 126 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/ |
D | fsl_rmu.c | 550 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()
|
D | ppc4xx_msi.c | 169 msi_virt = dma_alloc_coherent(&dev->dev, 64, &msi_phys, GFP_KERNEL); in ppc4xx_setup_pcieh_hw()
|
/linux-4.4.14/drivers/scsi/qla4xxx/ |
D | ql4_bsg.c | 47 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()
|
D | ql4_mbx.c | 628 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()
|
D | ql4_os.c | 596 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 …]
|
D | ql4_init.c | 156 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/ |
D | c2_alloc.c | 46 new_head = dma_alloc_coherent(&c2dev->pcidev->dev, PAGE_SIZE, in c2_alloc_mqsp_chunk()
|
D | c2_rnic.c | 520 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()
|
D | c2_cq.c | 271 pool_start = dma_alloc_coherent(&c2dev->pcidev->dev, q_size * msg_size, in c2_alloc_cq_buf()
|
/linux-4.4.14/arch/metag/kernel/ |
D | dma.c | 174 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/ |
D | pmc.c | 89 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/ |
D | consistent.c | 146 buf = dma_alloc_coherent(NULL, memsize, &dma_handle, GFP_KERNEL); in platform_resource_setup_memory()
|
/linux-4.4.14/drivers/uwb/ |
D | whc-rc.c | 249 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/ |
D | scif_map.h | 35 va = dma_alloc_coherent(&scifdev->sdev->dev, in scif_alloc_coherent()
|
/linux-4.4.14/Documentation/driver-model/ |
D | devres.txt | 57 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/ |
D | fuse-tegra20.c | 110 fuse->apbdma.virt = dma_alloc_coherent(fuse->dev, sizeof(u32), in tegra20_fuse_probe()
|
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_network.h | 158 dma_alloc_coherent(&oct->pci_dev->dev, size, dma_addr, GFP_KERNEL)
|
/linux-4.4.14/arch/powerpc/platforms/pasemi/ |
D | dma_lib.c | 258 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/ |
D | dxe.c | 182 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/ |
D | qed_hw.c | 474 *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()
|
D | qed_int.c | 409 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()
|
D | qed_spq.c | 478 p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_spq_alloc()
|
/linux-4.4.14/sound/core/ |
D | memalloc.c | 95 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/ |
D | swap.c | 118 virt_addr = dma_alloc_coherent(ar->dev, swap_bin_len, &paddr, in ath10k_swap_code_seg_alloc()
|
D | htt_tx.c | 112 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()
|
D | ce.c | 906 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/ |
D | sni_82596.c | 26 #define DMA_ALLOC dma_alloc_coherent
|
/linux-4.4.14/drivers/staging/android/ion/ |
D | ion_cma_heap.c | 64 info->cpu_addr = dma_alloc_coherent(dev, len, &(info->handle), in ion_cma_allocate()
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
D | comedi_isadma.c | 205 desc->virt_addr = dma_alloc_coherent(NULL, desc->maxsize, in comedi_isadma_alloc()
|
D | mite.c | 319 dma_alloc_coherent(ring->hw_dev, in mite_buf_change()
|
/linux-4.4.14/drivers/scsi/ |
D | dpt_i2o.c | 330 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 …]
|
D | jazz_esp.c | 167 esp->command_block = dma_alloc_coherent(esp->dev, 16, in esp_jazz_probe()
|
D | sun3x_esp.c | 230 esp->command_block = dma_alloc_coherent(esp->dev, 16, in esp_sun3x_probe()
|
D | aha1740.c | 384 SCpnt->host_scribble = dma_alloc_coherent (&host->edev->dev, in aha1740_queuecommand_lck()
|
D | sun_esp.c | 105 esp->command_block = dma_alloc_coherent(&op->dev, 16, in esp_sbus_map_command_block()
|
D | hptiop.c | 1201 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()
|
D | qlogicpti.c | 811 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/ |
D | jr.c | 413 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/ |
D | qlcnic_ctx.c | 266 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()
|
D | qlcnic_minidump.c | 1177 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/ |
D | bnx2i_iscsi.c | 450 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()
|
D | bnx2i_hwi.c | 1076 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/ |
D | raspberrypi.c | 91 buf = dma_alloc_coherent(fw->cl.dev, PAGE_ALIGN(size), &bus_addr, in rpi_firmware_property_list()
|
D | dcdbas.c | 92 buf = dma_alloc_coherent(&dcdbas_pdev->dev, size, &handle, GFP_KERNEL); in smi_data_buf_realloc()
|
D | dell_rbu.c | 447 image_update_buffer = dma_alloc_coherent(NULL, size, in img_update_realloc()
|
/linux-4.4.14/drivers/uio/ |
D | uio_pruss.c | 171 gdev->ddr_vaddr = dma_alloc_coherent(dev, extram_pool_sz, in pruss_probe()
|
D | uio_dmem_genirq.c | 61 addr = dma_alloc_coherent(&priv->pdev->dev, uiomem->size, in uio_dmem_genirq_open()
|
/linux-4.4.14/arch/arc/include/asm/ |
D | dma-mapping.h | 23 void *dma_alloc_coherent(struct device *dev, size_t size,
|
/linux-4.4.14/drivers/net/ethernet/natsemi/ |
D | jazzsonic.c | 176 lp->descriptors = dma_alloc_coherent(lp->device, in sonic_probe1()
|
D | xtsonic.c | 199 lp->descriptors = dma_alloc_coherent(lp->device, in sonic_probe1()
|
D | macsonic.c | 203 lp->descriptors = dma_alloc_coherent(lp->device, in macsonic_init()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | alloc.c | 595 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()
|
D | icm.c | 116 void *buf = dma_alloc_coherent(dev, PAGE_SIZE << order, in mlx4_alloc_icm_coherent()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | pxa3xx-gcu.c | 549 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()
|
D | vt8500lcdfb.c | 360 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()
|
D | bf537-lq035.c | 706 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()
|
D | jz4740_fb.c | 568 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()
|
D | goldfishfb.c | 247 fb->fb.screen_base = (char __force __iomem *)dma_alloc_coherent( in goldfish_fb_probe()
|
D | xilinxfb.c | 288 drvdata->fb_virt = dma_alloc_coherent(dev, PAGE_ALIGN(fbsize), in xilinxfb_assign()
|
D | ocfb.c | 334 fbdev->fb_virt = dma_alloc_coherent(&pdev->dev, PAGE_ALIGN(fbsize), in ocfb_probe()
|
D | bfin-t350mcqb-fb.c | 494 info->fb_buffer = dma_alloc_coherent(NULL, fbinfo->fix.smem_len + in bfin_t350mcqb_probe()
|
D | bf54x-lq043fb.c | 590 dma_alloc_coherent(NULL, fbinfo->fix.smem_len, &info->dma_handle, in bfin_bf54x_probe()
|
D | sh7760fb.c | 414 fbmem = dma_alloc_coherent(info->dev, vram, &par->fbdma, GFP_KERNEL); in sh7760fb_alloc_mem()
|
D | bfin_adv7393fb.c | 426 dma_alloc_coherent(NULL, fbdev->fb_len, &fbdev->dma_handle, in bfin_adv7393_fb_probe()
|
/linux-4.4.14/drivers/usb/host/ |
D | ehci-mem.c | 210 dma_alloc_coherent (ehci_to_hcd(ehci)->self.controller, in ehci_mem_init()
|
D | xhci-mem.c | 609 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()
|
D | uhci-hcd.c | 592 uhci->frame = dma_alloc_coherent(uhci_dev(uhci), in uhci_start()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | nv44.c | 168 mmu->nullp = dma_alloc_coherent(device->dev, 16 * 1024, in nv44_mmu_oneinit()
|
/linux-4.4.14/arch/hexagon/ |
D | Kconfig | 17 # GENERIC_ALLOCATOR is used by dma_alloc_coherent()
|
/linux-4.4.14/sound/ppc/ |
D | beep.c | 229 dmabuf = dma_alloc_coherent(&chip->pdev->dev, BEEP_BUFLEN * 4, in snd_pmac_attach_beep()
|
/linux-4.4.14/drivers/net/ethernet/moxa/ |
D | moxart_ether.c | 474 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/ |
D | macmace.c | 389 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/ |
D | qib_init.c | 327 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()
|
D | qib_sdma.c | 275 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/ |
D | ocrdma_hw.c | 379 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/ |
D | 8250_dma.c | 198 dma->rx_buf = dma_alloc_coherent(dma->rxchan->device->dev, dma->rx_size, in serial8250_request_dma()
|
/linux-4.4.14/drivers/base/ |
D | dma-mapping.c | 75 vaddr = dma_alloc_coherent(dev, size, dma_handle, gfp); in dmam_alloc_coherent()
|
/linux-4.4.14/drivers/scsi/esas2r/ |
D | esas2r_ioctl.c | 125 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()
|
D | esas2r_init.c | 53 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/ |
D | ste_modem_rproc.c | 306 sproc->fw_addr = dma_alloc_coherent(rproc->dev.parent, SPROC_FW_SIZE, in sproc_probe()
|
D | remoteproc_core.c | 218 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/ |
D | i2c-cpm.c | 536 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/ |
D | kirkwood-dma.c | 264 buf->area = dma_alloc_coherent(pcm->card->dev, size, in kirkwood_dma_preallocate_dma_buffer()
|
/linux-4.4.14/drivers/scsi/aic94xx/ |
D | aic94xx_hwi.h | 266 token->vaddr = dma_alloc_coherent(&asd_ha->pcidev->dev, in asd_alloc_coherent()
|
/linux-4.4.14/drivers/media/pci/cobalt/ |
D | cobalt-omnitek.c | 301 desc->virt = dma_alloc_coherent(desc->dev, bytes, in descriptor_list_allocate()
|
/linux-4.4.14/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 508 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/ |
D | bnxt_ethtool.c | 789 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()
|
D | bnxt.c | 1617 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/ |
D | dma-mapping.h | 190 void *ret = dma_alloc_coherent(dev, size, dma_handle, in dma_zalloc_coherent()
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | videobuf-dma-contig.c | 45 mem->vaddr = dma_alloc_coherent(dev, mem->size, in __videobuf_dc_alloc()
|
D | videobuf2-dma-contig.c | 150 buf->vaddr = dma_alloc_coherent(dev, size, &buf->dma_addr, in vb2_dc_alloc()
|
D | videobuf-dma-sg.c | 230 addr = dma_alloc_coherent(dma->dev, PAGE_SIZE, in videobuf_dma_init_kernel()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_pci.c | 60 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/ |
D | ipath_sdma.c | 380 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()
|
D | ipath_init_chip.c | 399 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/ |
D | zynq-fpga.c | 298 kbuf = dma_alloc_coherent(priv->dev, count, &dma_addr, GFP_KERNEL); in zynq_fpga_ops_write()
|
/linux-4.4.14/drivers/ide/ |
D | ide-dma.c | 520 hwif->dmatable_cpu = dma_alloc_coherent(hwif->dev, prd_size, in ide_allocate_dma_engine()
|
D | sgiioc4.c | 337 pad = dma_alloc_coherent(&dev->dev, IOC4_IDE_CACHELINE_SIZE, in ide_dma_sgiioc4()
|
/linux-4.4.14/arch/powerpc/platforms/cell/ |
D | axon_msi.c | 369 msic->fifo_virt = dma_alloc_coherent(&device->dev, MSIC_FIFO_SIZE_BYTES, in axon_msi_probe()
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_mid.c | 649 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()
|
D | qla_bsg.c | 757 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/ |
D | xircom_cb.c | 235 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/ |
D | i7300_idle.c | 235 ioat_desc = (struct ioat_dma_descriptor *)dma_alloc_coherent( in i7300_idle_ioat_init()
|
/linux-4.4.14/Documentation/scsi/ |
D | ChangeLog.arcmsr | 23 ** modify PCCB POOL allocated by "dma_alloc_coherent"
|
/linux-4.4.14/sound/soc/atmel/ |
D | atmel-pcm-pdc.c | 60 buf->area = dma_alloc_coherent(pcm->card->dev, size, in atmel_pcm_preallocate_dma_buffer()
|
/linux-4.4.14/drivers/rapidio/devices/ |
D | tsi721.c | 1512 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/ |
D | hcd_ddma.c | 90 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/ |
D | sunqe.c | 882 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/ |
D | pcie.c | 1052 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()
|
D | msgbuf.c | 581 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/ |
D | comedi_buf.c | 122 buf->virt_addr = dma_alloc_coherent(bm->dma_hw_dev, in __comedi_buf_alloc()
|
/linux-4.4.14/drivers/edac/ |
D | altera_edac.c | 126 ptemp = dma_alloc_coherent(mci->pdev, 16, &dma_handle, GFP_KERNEL); in altr_sdr_mc_err_inject_write()
|
/linux-4.4.14/mm/ |
D | dmapool.c | 229 page->vaddr = dma_alloc_coherent(pool->dev, pool->allocation, in pool_alloc_page()
|
/linux-4.4.14/drivers/mmc/host/ |
D | android-goldfish.c | 484 host->virt_base = dma_alloc_coherent(&pdev->dev, BUFFER_SIZE, in goldfish_mmc_probe()
|
D | bfin_sdh.c | 581 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/ |
D | cxio_hal.c | 172 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/ |
D | ifx6x60.c | 1058 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/ |
D | pxaficp_ir.c | 792 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/ |
D | macb.c | 1451 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/ |
D | et131x.c | 1920 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/ |
D | cppi41.c | 759 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/ |
D | w90p910_ether.c | 290 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/ |
D | i40e_txrx.c | 445 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/ |
D | gadget.c | 368 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/ |
D | mac-fec.c | 143 fep->ring_base = (void __force __iomem *)dma_alloc_coherent(fep->dev, in allocate_bd()
|
D | mac-fcc.c | 154 fep->ring_base = (void __iomem __force *)dma_alloc_coherent(fep->dev, in allocate_bd()
|
/linux-4.4.14/drivers/macintosh/ |
D | rack-meter.c | 452 rm->dma_buf_v = dma_alloc_coherent(&macio_get_pci_dev(mdev)->dev, in rackmeter_probe()
|
/linux-4.4.14/drivers/video/fbdev/via/ |
D | via-core.c | 284 descrpages = dma_alloc_coherent(&global_dev.pdev->dev, in viafb_dma_copy_out_sg()
|
/linux-4.4.14/drivers/misc/vmw_vmci/ |
D | vmci_guest.c | 533 vmci_dev->notification_bitmap = dma_alloc_coherent( in vmci_guest_probe_device()
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_netdev.c | 50 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/ |
D | sst-firmware.c | 346 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/ |
D | tx.c | 129 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/ |
D | lpass-platform.c | 451 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/ |
D | xgbe-desc.c | 198 ring->rdesc = dma_alloc_coherent(pdata->dev, in xgbe_init_ring()
|
/linux-4.4.14/arch/arm/common/ |
D | dmabounce.c | 141 buf->safe = dma_alloc_coherent(dev, size, &buf->safe_dma_addr, in alloc_safe_buffer()
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
D | adf_transport.c | 189 ring->base_addr = dma_alloc_coherent(&GET_DEV(accel_dev), in adf_init_ring()
|
/linux-4.4.14/drivers/net/ethernet/ |
D | ec_bhf.c | 350 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/ |
D | ravb_main.c | 312 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/ |
D | atmel_hlcdc_layer.c | 534 dma->dscrs = dma_alloc_coherent(dev->dev, in atmel_hlcdc_layer_dma_init()
|
/linux-4.4.14/sound/soc/fsl/ |
D | fsl_dma.c | 420 dma_private = dma_alloc_coherent(dev, sizeof(struct fsl_dma_private), in fsl_dma_open()
|
/linux-4.4.14/drivers/thunderbolt/ |
D | nhi.c | 276 ring->descriptors = dma_alloc_coherent(&ring->nhi->pdev->dev, in ring_alloc()
|
/linux-4.4.14/drivers/message/fusion/ |
D | mptspi.c | 543 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/ |
D | caif_virtio.c | 395 cfv->alloc_addr = dma_alloc_coherent( in cfv_create_genpool()
|
D | caif_spi.c | 96 return dma_alloc_coherent(NULL, SPI_DMA_BUF_LEN, daddr, in dma_alloc()
|
/linux-4.4.14/drivers/hwtracing/coresight/ |
D | coresight-tmc.c | 710 drvdata->vaddr = dma_alloc_coherent(dev, drvdata->size, in tmc_probe()
|
/linux-4.4.14/drivers/scsi/sym53c8xx_2/ |
D | sym_hipd.h | 1211 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/ |
D | bfin_crc.c | 628 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/ |
D | r592.c | 790 dev->dummy_dma_page = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in r592_probe()
|
/linux-4.4.14/drivers/media/pci/meye/ |
D | meye.c | 128 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/ |
D | nb8800.c | 842 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/ |
D | mcam-core.c | 391 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/ |
D | nfit.c | 385 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/ |
D | i40e_txrx.c | 971 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()
|