Searched refs:dma_zalloc_coherent (Results 1 - 71 of 71) sorted by relevance

/linux-4.1.27/include/asm-generic/
H A Dpci-dma-compat.h26 return dma_zalloc_coherent(hwdev == NULL ? NULL : &hwdev->dev, pci_zalloc_consistent()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
H A Dalloc.c60 buf->direct.buf = dma_zalloc_coherent(&dev->pdev->dev, mlx5_buf_alloc()
85 dma_zalloc_coherent(&dev->pdev->dev, PAGE_SIZE, mlx5_buf_alloc()
H A Dcmd.c1331 cmd->cmd_alloc_buf = dma_zalloc_coherent(ddev, MLX5_ADAPTER_PAGE_SIZE, alloc_cmd_page()
1346 cmd->cmd_alloc_buf = dma_zalloc_coherent(ddev, alloc_cmd_page()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_ctx.c439 rq_addr = dma_zalloc_coherent(&adapter->pdev->dev, rq_size, qlcnic_82xx_fw_cmd_create_tx_ctx()
445 rsp_addr = dma_zalloc_coherent(&adapter->pdev->dev, rsp_size, qlcnic_82xx_fw_cmd_create_tx_ctx()
856 nic_info_addr = dma_zalloc_coherent(&adapter->pdev->dev, nic_size, qlcnic_82xx_get_nic_info()
910 nic_info_addr = dma_zalloc_coherent(&adapter->pdev->dev, nic_size, qlcnic_82xx_set_nic_info()
965 pci_info_addr = dma_zalloc_coherent(&adapter->pdev->dev, pci_size, qlcnic_82xx_get_pci_info()
1079 stats_addr = dma_zalloc_coherent(&adapter->pdev->dev, stats_size, qlcnic_get_port_stats()
1135 stats_addr = dma_zalloc_coherent(&adapter->pdev->dev, stats_size, qlcnic_get_mac_stats()
/linux-4.1.27/drivers/net/wireless/rt2x00/
H A Drt2x00mmio.c122 addr = dma_zalloc_coherent(rt2x00dev->dev, rt2x00mmio_alloc_queue_dma()
/linux-4.1.27/drivers/crypto/qat/qat_dh895xcc/
H A Dadf_admin.c115 admin->virt_addr = dma_zalloc_coherent(&GET_DEV(accel_dev), PAGE_SIZE, adf_init_admin_comms()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c1723 get_fat_cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, be_cmd_get_regs()
2218 cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, cmd.size, &cmd.dma, be_cmd_read_port_transceiver_data()
2723 cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, cmd.size, &cmd.dma, be_cmd_get_phy_info()
2809 attribs_cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, be_cmd_get_cntl_attributes()
2977 get_mac_list_cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, be_cmd_get_mac_from_list()
3107 cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, cmd.size, &cmd.dma, be_cmd_set_mac_list()
3297 cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, cmd.size, &cmd.dma, be_cmd_get_acpi_wol_cap()
3348 extfat_cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, be_cmd_set_fw_log_level()
3386 extfat_cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, be_cmd_get_fw_log_level()
3605 cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, cmd.size, &cmd.dma, be_cmd_get_func_config()
3668 cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, cmd.size, &cmd.dma, be_cmd_get_profile_config()
3731 cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, cmd.size, &cmd.dma, be_cmd_set_profile_config()
H A Dbe_ethtool.c267 read_cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, read_cmd.size, lancer_cmd_read_file()
821 ddrdma_cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, be_test_ddr_dma()
945 eeprom_cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, be_read_eeprom()
H A Dbe_main.c148 mem->va = dma_zalloc_coherent(&adapter->pdev->dev, mem->size, &mem->dma, be_queue_alloc()
3297 cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, cmd.size, &cmd.dma, be_setup_wol()
4608 flash_cmd.va = dma_zalloc_coherent(dev, flash_cmd.size, lancer_fw_download()
4742 flash_cmd.va = dma_zalloc_coherent(dev, flash_cmd.size, &flash_cmd.dma, be_fw_download()
5294 mbox_mem_alloc->va = dma_zalloc_coherent(dev, mbox_mem_alloc->size, be_drv_init()
5305 rx_filter->va = dma_zalloc_coherent(dev, rx_filter->size, be_drv_init()
5320 stats_cmd->va = dma_zalloc_coherent(dev, stats_cmd->size, be_drv_init()
/linux-4.1.27/drivers/usb/gadget/udc/bdc/
H A Dbdc_core.c178 bdc->scratchpad.buff = dma_zalloc_coherent(bdc->dev, sp_buff_size, scratchpad_setup()
208 bdc->srr.sr_bds = dma_zalloc_coherent( setup_srr()
/linux-4.1.27/drivers/crypto/qat/qat_common/
H A Dqat_algs.c590 ctx->enc_cd = dma_zalloc_coherent(dev, sizeof(*ctx->enc_cd), qat_alg_aead_setkey()
597 ctx->dec_cd = dma_zalloc_coherent(dev, sizeof(*ctx->dec_cd), qat_alg_aead_setkey()
977 ctx->enc_cd = dma_zalloc_coherent(dev, sizeof(*ctx->enc_cd), qat_alg_ablkcipher_setkey()
984 ctx->dec_cd = dma_zalloc_coherent(dev, sizeof(*ctx->dec_cd), qat_alg_ablkcipher_setkey()
/linux-4.1.27/include/linux/
H A Ddma-mapping.h183 static inline void *dma_zalloc_coherent(struct device *dev, size_t size, dma_zalloc_coherent() function
/linux-4.1.27/drivers/rapidio/devices/
H A Dtsi721_dma.c92 bd_ptr = dma_zalloc_coherent(dev, tsi721_bdma_ch_init()
109 sts_ptr = dma_zalloc_coherent(dev, tsi721_bdma_ch_init()
H A Dtsi721.c1006 priv->idb_base = dma_zalloc_coherent(&priv->pdev->dev, tsi721_doorbell_init()
1071 bd_ptr = dma_zalloc_coherent(&priv->pdev->dev, tsi721_bdma_maint_init()
1088 sts_ptr = dma_zalloc_coherent(&priv->pdev->dev, tsi721_bdma_maint_init()
1542 priv->omsg_ring[mbox].sts_base = dma_zalloc_coherent(&priv->pdev->dev, tsi721_open_outb_mbox()
/linux-4.1.27/drivers/atm/
H A Dhe.c536 he_dev->tpdrq_base = dma_zalloc_coherent(&he_dev->pci_dev->dev, he_init_tpdrq()
806 he_dev->rbpl_base = dma_zalloc_coherent(&he_dev->pci_dev->dev, he_init_group()
845 he_dev->rbrq_base = dma_zalloc_coherent(&he_dev->pci_dev->dev, he_init_group()
869 he_dev->tbrq_base = dma_zalloc_coherent(&he_dev->pci_dev->dev, he_init_group()
914 he_dev->irq_base = dma_zalloc_coherent(&he_dev->pci_dev->dev, he_init_irq()
1465 he_dev->hsp = dma_zalloc_coherent(&he_dev->pci_dev->dev, he_start()
H A Didt77252.c644 scq->base = dma_zalloc_coherent(&card->pcidev->dev, SCQ_SIZE, alloc_scq()
974 card->rsq.base = dma_zalloc_coherent(&card->pcidev->dev, RSQSIZE, init_rsq()
3401 card->raw_cell_hnd = dma_zalloc_coherent(&card->pcidev->dev, init_card()
/linux-4.1.27/drivers/net/ethernet/marvell/
H A Dpxa168_eth.c563 pep->htpr = dma_zalloc_coherent(pep->dev->dev.parent, init_hash_table()
1053 pep->p_rx_desc_area = dma_zalloc_coherent(pep->dev->dev.parent, size, rxq_init()
1113 pep->p_tx_desc_area = dma_zalloc_coherent(pep->dev->dev.parent, size, txq_init()
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
H A Drx.c406 rxq->bd = dma_zalloc_coherent(dev, sizeof(__le32) * RX_QUEUE_SIZE, iwl_pcie_rx_alloc()
412 rxq->rb_stts = dma_zalloc_coherent(dev, sizeof(*rxq->rb_stts), iwl_pcie_rx_alloc()
1160 dma_zalloc_coherent(trans->dev, ICT_SIZE, iwl_pcie_alloc_ict()
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dnic.c37 buffer->addr = dma_zalloc_coherent(&efx->pci_dev->dev, len, efx_nic_alloc_buffer()
/linux-4.1.27/drivers/dma/
H A Dbcm2835-dma.c382 d->control_block_base = dma_zalloc_coherent(chan->device->dev, bcm2835_dma_prep_dma_cyclic()
H A Dmxs-dma.c424 mxs_chan->ccw = dma_zalloc_coherent(mxs_dma->dma_device.dev, mxs_dma_alloc_chan_resources()
H A Dimx-sdma.c934 sdmac->bd = dma_zalloc_coherent(NULL, PAGE_SIZE, &sdmac->bd_phys, sdma_request_channel()
H A Dxgene-dma.c1464 ring->desc_vaddr = dma_zalloc_coherent(chan->dev, ring->size, xgene_dma_create_ring_one()
/linux-4.1.27/sound/aoa/soundbus/i2sbus/
H A Dcore.c50 r->space = dma_zalloc_coherent(&macio_get_pci_dev(i2sdev->macio)->dev, alloc_dbdma_descriptor_ring()
/linux-4.1.27/drivers/net/ethernet/aeroflex/
H A Dgreth.c1470 greth->tx_bd_base = dma_zalloc_coherent(greth->dev, 1024, greth_of_probe()
1479 greth->rx_bd_base = dma_zalloc_coherent(greth->dev, 1024, greth_of_probe()
/linux-4.1.27/drivers/net/ethernet/xilinx/
H A Dll_temac_main.c245 lp->tx_bd_v = dma_zalloc_coherent(ndev->dev.parent, temac_dma_bd_init()
251 lp->rx_bd_v = dma_zalloc_coherent(ndev->dev.parent, temac_dma_bd_init()
H A Dxilinx_axienet_main.c204 lp->tx_bd_v = dma_zalloc_coherent(ndev->dev.parent, axienet_dma_bd_init()
210 lp->rx_bd_v = dma_zalloc_coherent(ndev->dev.parent, axienet_dma_bd_init()
/linux-4.1.27/drivers/net/irda/
H A Dw83977af_ir.c208 dma_zalloc_coherent(NULL, self->rx_buff.truesize, w83977af_open()
216 dma_zalloc_coherent(NULL, self->tx_buff.truesize, w83977af_open()
H A Dvia-ircc.c357 dma_zalloc_coherent(&pdev->dev, self->rx_buff.truesize, via_ircc_open()
365 dma_zalloc_coherent(&pdev->dev, self->tx_buff.truesize, via_ircc_open()
H A Dali-ircc.c346 dma_zalloc_coherent(NULL, self->rx_buff.truesize, ali_ircc_open()
354 dma_zalloc_coherent(NULL, self->tx_buff.truesize, ali_ircc_open()
H A Dnsc-ircc.c437 dma_zalloc_coherent(NULL, self->rx_buff.truesize, nsc_ircc_open()
446 dma_zalloc_coherent(NULL, self->tx_buff.truesize, nsc_ircc_open()
H A Dsmsc-ircc2.c568 dma_zalloc_coherent(NULL, self->rx_buff.truesize, smsc_ircc_open()
574 dma_zalloc_coherent(NULL, self->tx_buff.truesize, smsc_ircc_open()
/linux-4.1.27/drivers/net/ethernet/ibm/emac/
H A Dmal.c641 mal->bd_virt = dma_zalloc_coherent(&ofdev->dev, bd_size, &mal->bd_dma, mal_probe()
/linux-4.1.27/drivers/net/ethernet/sgi/
H A Dmeth.c214 priv->tx_ring = dma_zalloc_coherent(NULL, TX_RING_BUFFER_SIZE, meth_init_tx_ring()
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c1195 priv->dma_erx = dma_zalloc_coherent(priv->device, rxsize * alloc_dma_desc_resources()
1203 priv->dma_etx = dma_zalloc_coherent(priv->device, txsize * alloc_dma_desc_resources()
1215 priv->dma_rx = dma_zalloc_coherent(priv->device, rxsize * alloc_dma_desc_resources()
1222 priv->dma_tx = dma_zalloc_coherent(priv->device, txsize * alloc_dma_desc_resources()
/linux-4.1.27/drivers/net/ethernet/intel/e1000/
H A De1000_ethtool.c1018 txdr->desc = dma_zalloc_coherent(&pdev->dev, txdr->size, &txdr->dma, e1000_setup_desc_rings()
1076 rxdr->desc = dma_zalloc_coherent(&pdev->dev, rxdr->size, &rxdr->dma, e1000_setup_desc_rings()
/linux-4.1.27/drivers/net/ethernet/tundra/
H A Dtsi108_eth.c1309 data->rxring = dma_zalloc_coherent(NULL, rxring_size, &data->rxdma, tsi108_open()
1314 data->txring = dma_zalloc_coherent(NULL, txring_size, &data->txdma, tsi108_open()
/linux-4.1.27/drivers/staging/vt6655/
H A Ddevice_main.c533 vir_pool = dma_zalloc_coherent(&pDevice->pcid->dev, device_init_rings()
552 pDevice->tx0_bufs = dma_zalloc_coherent(&pDevice->pcid->dev, device_init_rings()
/linux-4.1.27/drivers/net/ethernet/broadcom/
H A Dbgmac.c626 ring->cpu_base = dma_zalloc_coherent(dma_dev, size, bgmac_dma_alloc()
651 ring->cpu_base = dma_zalloc_coherent(dma_dev, size, bgmac_dma_alloc()
H A Dbcm63xx_enet.c951 p = dma_zalloc_coherent(kdev, size, &priv->rx_desc_dma, GFP_KERNEL); bcm_enet_open()
962 p = dma_zalloc_coherent(kdev, size, &priv->tx_desc_dma, GFP_KERNEL); bcm_enet_open()
H A Dbcmsysport.c1124 p = dma_zalloc_coherent(kdev, sizeof(struct dma_desc), &ring->desc_dma, bcm_sysport_init_tx_ring()
H A Dbnx2.c856 status_blk = dma_zalloc_coherent(&bp->pdev->dev, bp->status_stats_size, bnx2_alloc_mem()
H A Dtg3.c8688 tnapi->rx_rcb = dma_zalloc_coherent(&tp->pdev->dev, tg3_mem_rx_acquire()
8740 tp->hw_stats = dma_zalloc_coherent(&tp->pdev->dev, tg3_alloc_consistent()
8750 tnapi->hw_status = dma_zalloc_coherent(&tp->pdev->dev, tg3_alloc_consistent()
/linux-4.1.27/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c1484 dma_zalloc_coherent(&pdev->dev, size, pch_gbe_alloc_rx_buffers_pool()
1799 tx_ring->desc = dma_zalloc_coherent(&pdev->dev, tx_ring->size, pch_gbe_setup_tx_resources()
1843 rx_ring->desc = dma_zalloc_coherent(&pdev->dev, rx_ring->size, pch_gbe_setup_rx_resources()
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_main.c404 tx_ring->dma_tx = dma_zalloc_coherent(dev, init_tx_ring()
486 rx_ring->dma_rx = dma_zalloc_coherent(priv->device, init_rx_ring()
/linux-4.1.27/drivers/net/ethernet/faraday/
H A Dftgmac100.c780 priv->descs = dma_zalloc_coherent(priv->dev, ftgmac100_alloc_buffers()
H A Dftmac100.c735 priv->descs = dma_zalloc_coherent(priv->dev, ftmac100_alloc_buffers()
/linux-4.1.27/drivers/net/wireless/b43legacy/
H A Ddma.c334 ring->descbase = dma_zalloc_coherent(ring->dev->dev->dma_dev, alloc_ringmemory()
/linux-4.1.27/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_main.c663 ring->desc_addr = dma_zalloc_coherent(dev, size, &ring->dma, xgene_enet_create_desc_ring()
/linux-4.1.27/drivers/net/ethernet/atheros/alx/
H A Dmain.c533 alx->descmem.virt = dma_zalloc_coherent(&alx->hw.pdev->dev, alx_alloc_descriptors()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.h53 void *x = dma_zalloc_coherent(&bp->pdev->dev, size, y, GFP_KERNEL); \
H A Dbnx2x.h2153 x = dma_zalloc_coherent(&bp->pdev->dev, size, y, GFP_KERNEL)
/linux-4.1.27/drivers/video/fbdev/
H A Dda8xx-fb.c1450 par->v_palette_base = dma_zalloc_coherent(NULL, PALETTE_SIZE, fb_probe()
/linux-4.1.27/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c533 tq->buf_info = dma_zalloc_coherent(&adapter->pdev->dev, sz, vmxnet3_tq_create()
1556 bi = dma_zalloc_coherent(&adapter->pdev->dev, sz, &rq->buf_info_pa, vmxnet3_rq_create()
/linux-4.1.27/drivers/net/ethernet/pasemi/
H A Dpasemi_mac.c441 ring->buffers = dma_zalloc_coherent(&mac->dma_pdev->dev, pasemi_mac_setup_rx_resources()
/linux-4.1.27/drivers/net/wireless/b43/
H A Ddma.c434 ring->descbase = dma_zalloc_coherent(ring->dev->dev->dma_dev, alloc_ringmemory()
/linux-4.1.27/drivers/ata/
H A Dsata_fsl.c737 mem = dma_zalloc_coherent(dev, SATA_FSL_PORT_PRIV_DMA_SZ, &mem_dma, sata_fsl_port_start()
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/
H A Dixgb_main.c716 txdr->desc = dma_zalloc_coherent(&pdev->dev, txdr->size, &txdr->dma, ixgb_setup_tx_resources()
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_mbox.c1814 viraddr = dma_zalloc_coherent(&phba->pcidev->dev, lpfc_sli4_config()
H A Dlpfc_init.c5976 dmabuf->virt = dma_zalloc_coherent(&phba->pcidev->dev, lpfc_sli4_create_rpi_hdr()
6372 phba->slim2p.virt = dma_zalloc_coherent(&pdev->dev, SLI2_SLIM_SIZE, lpfc_sli_pci_mem_setup()
6741 dmabuf->virt = dma_zalloc_coherent(&phba->pcidev->dev, bmbx_size, lpfc_create_bootstrap_mbox()
H A Dlpfc_bsg.c2691 dmabuf->virt = dma_zalloc_coherent(&pcidev->dev, BSG_MBOX_SIZE, lpfc_bsg_dma_page_alloc()
H A Dlpfc_sli.c4873 dmabuf->virt = dma_zalloc_coherent(&phba->pcidev->dev, dma_size, lpfc_sli4_read_rev()
12804 dmabuf->virt = dma_zalloc_coherent(&phba->pcidev->dev, lpfc_sli4_queue_alloc()
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfad_bsg.c3271 buf_info->virt = dma_zalloc_coherent(&bfad->pcidev->dev, bfad_fcxp_map_sg()
/linux-4.1.27/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c1017 ring_header->desc = dma_zalloc_coherent(&pdev->dev, ring_header->size, atl1c_setup_ring_resources()
/linux-4.1.27/drivers/block/
H A Dnvme-core.c1395 nvmeq->cqes = dma_zalloc_coherent(dmadev, CQ_SIZE(depth), nvme_alloc_queue()
/linux-4.1.27/sound/sparc/
H A Ddbri.c2537 dbri->dma = dma_zalloc_coherent(&op->dev, sizeof(struct dbri_dma), snd_dbri_create()
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_init.c1582 tc = dma_zalloc_coherent(&ha->pdev->dev, FCE_SIZE, &tc_dma, qla2x00_alloc_fw_dump()
1615 tc = dma_zalloc_coherent(&ha->pdev->dev, EFT_SIZE, &tc_dma, qla2x00_alloc_fw_dump()
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c3802 ss->rx_done.entry = dma_zalloc_coherent(&pdev->dev, bytes, myri10ge_alloc_slices()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dmac.c3283 arvif->beacon_buf = dma_zalloc_coherent(ar->dev, ath10k_add_interface()
/linux-4.1.27/drivers/net/fddi/
H A Ddefxx.c1142 bp->kmalloced = top_v = dma_zalloc_coherent(bp->bus_dev, alloc_size, dfx_driver_init()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c107 mem->va = dma_zalloc_coherent(&pf->pdev->dev, mem->size, i40e_allocate_dma_mem_d()

Completed in 2448 milliseconds