Home
last modified time | relevance | path

Searched refs:dma_zalloc_coherent (Results 1 – 72 of 72) sorted by relevance

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