/linux-4.1.27/include/asm-generic/ |
H A D | pci-dma-compat.h | 26 return dma_zalloc_coherent(hwdev == NULL ? NULL : &hwdev->dev, pci_zalloc_consistent()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | alloc.c | 60 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 D | cmd.c | 1331 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 D | qlcnic_ctx.c | 439 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 D | rt2x00mmio.c | 122 addr = dma_zalloc_coherent(rt2x00dev->dev, rt2x00mmio_alloc_queue_dma()
|
/linux-4.1.27/drivers/crypto/qat/qat_dh895xcc/ |
H A D | adf_admin.c | 115 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 D | be_cmds.c | 1723 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 D | be_ethtool.c | 267 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 D | be_main.c | 148 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 D | bdc_core.c | 178 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 D | qat_algs.c | 590 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 D | dma-mapping.h | 183 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 D | tsi721_dma.c | 92 bd_ptr = dma_zalloc_coherent(dev, tsi721_bdma_ch_init() 109 sts_ptr = dma_zalloc_coherent(dev, tsi721_bdma_ch_init()
|
H A D | tsi721.c | 1006 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 D | he.c | 536 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 D | idt77252.c | 644 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 D | pxa168_eth.c | 563 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 D | rx.c | 406 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 D | nic.c | 37 buffer->addr = dma_zalloc_coherent(&efx->pci_dev->dev, len, efx_nic_alloc_buffer()
|
/linux-4.1.27/drivers/dma/ |
H A D | bcm2835-dma.c | 382 d->control_block_base = dma_zalloc_coherent(chan->device->dev, bcm2835_dma_prep_dma_cyclic()
|
H A D | mxs-dma.c | 424 mxs_chan->ccw = dma_zalloc_coherent(mxs_dma->dma_device.dev, mxs_dma_alloc_chan_resources()
|
H A D | imx-sdma.c | 934 sdmac->bd = dma_zalloc_coherent(NULL, PAGE_SIZE, &sdmac->bd_phys, sdma_request_channel()
|
H A D | xgene-dma.c | 1464 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 D | core.c | 50 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 D | greth.c | 1470 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 D | ll_temac_main.c | 245 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 D | xilinx_axienet_main.c | 204 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 D | w83977af_ir.c | 208 dma_zalloc_coherent(NULL, self->rx_buff.truesize, w83977af_open() 216 dma_zalloc_coherent(NULL, self->tx_buff.truesize, w83977af_open()
|
H A D | via-ircc.c | 357 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 D | ali-ircc.c | 346 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 D | nsc-ircc.c | 437 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 D | smsc-ircc2.c | 568 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 D | mal.c | 641 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 D | meth.c | 214 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 D | stmmac_main.c | 1195 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 D | e1000_ethtool.c | 1018 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 D | tsi108_eth.c | 1309 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 D | device_main.c | 533 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 D | bgmac.c | 626 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 D | bcm63xx_enet.c | 951 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 D | bcmsysport.c | 1124 p = dma_zalloc_coherent(kdev, sizeof(struct dma_desc), &ring->desc_dma, bcm_sysport_init_tx_ring()
|
H A D | bnx2.c | 856 status_blk = dma_zalloc_coherent(&bp->pdev->dev, bp->status_stats_size, bnx2_alloc_mem()
|
H A D | tg3.c | 8688 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 D | pch_gbe_main.c | 1484 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 D | sxgbe_main.c | 404 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 D | ftgmac100.c | 780 priv->descs = dma_zalloc_coherent(priv->dev, ftgmac100_alloc_buffers()
|
H A D | ftmac100.c | 735 priv->descs = dma_zalloc_coherent(priv->dev, ftmac100_alloc_buffers()
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
H A D | dma.c | 334 ring->descbase = dma_zalloc_coherent(ring->dev->dev->dma_dev, alloc_ringmemory()
|
/linux-4.1.27/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_main.c | 663 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 D | main.c | 533 alx->descmem.virt = dma_zalloc_coherent(&alx->hw.pdev->dev, alx_alloc_descriptors()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.h | 53 void *x = dma_zalloc_coherent(&bp->pdev->dev, size, y, GFP_KERNEL); \
|
H A D | bnx2x.h | 2153 x = dma_zalloc_coherent(&bp->pdev->dev, size, y, GFP_KERNEL)
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | da8xx-fb.c | 1450 par->v_palette_base = dma_zalloc_coherent(NULL, PALETTE_SIZE, fb_probe()
|
/linux-4.1.27/drivers/net/vmxnet3/ |
H A D | vmxnet3_drv.c | 533 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 D | pasemi_mac.c | 441 ring->buffers = dma_zalloc_coherent(&mac->dma_pdev->dev, pasemi_mac_setup_rx_resources()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
H A D | dma.c | 434 ring->descbase = dma_zalloc_coherent(ring->dev->dev->dma_dev, alloc_ringmemory()
|
/linux-4.1.27/drivers/ata/ |
H A D | sata_fsl.c | 737 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 D | ixgb_main.c | 716 txdr->desc = dma_zalloc_coherent(&pdev->dev, txdr->size, &txdr->dma, ixgb_setup_tx_resources()
|
/linux-4.1.27/drivers/scsi/lpfc/ |
H A D | lpfc_mbox.c | 1814 viraddr = dma_zalloc_coherent(&phba->pcidev->dev, lpfc_sli4_config()
|
H A D | lpfc_init.c | 5976 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 D | lpfc_bsg.c | 2691 dmabuf->virt = dma_zalloc_coherent(&pcidev->dev, BSG_MBOX_SIZE, lpfc_bsg_dma_page_alloc()
|
H A D | lpfc_sli.c | 4873 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 D | bfad_bsg.c | 3271 buf_info->virt = dma_zalloc_coherent(&bfad->pcidev->dev, bfad_fcxp_map_sg()
|
/linux-4.1.27/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 1017 ring_header->desc = dma_zalloc_coherent(&pdev->dev, ring_header->size, atl1c_setup_ring_resources()
|
/linux-4.1.27/drivers/block/ |
H A D | nvme-core.c | 1395 nvmeq->cqes = dma_zalloc_coherent(dmadev, CQ_SIZE(depth), nvme_alloc_queue()
|
/linux-4.1.27/sound/sparc/ |
H A D | dbri.c | 2537 dbri->dma = dma_zalloc_coherent(&op->dev, sizeof(struct dbri_dma), snd_dbri_create()
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
H A D | qla_init.c | 1582 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 D | myri10ge.c | 3802 ss->rx_done.entry = dma_zalloc_coherent(&pdev->dev, bytes, myri10ge_alloc_slices()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
H A D | mac.c | 3283 arvif->beacon_buf = dma_zalloc_coherent(ar->dev, ath10k_add_interface()
|
/linux-4.1.27/drivers/net/fddi/ |
H A D | defxx.c | 1142 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 D | i40e_main.c | 107 mem->va = dma_zalloc_coherent(&pf->pdev->dev, mem->size, i40e_allocate_dma_mem_d()
|