dmam_alloc_coherent
cdtab->base = dmam_alloc_coherent(vdev->drm.dev, size, &cdtab->dma, GFP_KERNEL);
strtab->base = dmam_alloc_coherent(vdev->drm.dev, size, &strtab->dma, GFP_KERNEL);
q->base = dmam_alloc_coherent(vdev->drm.dev, IVPU_MMU_CMDQ_SIZE, &q->dma, GFP_KERNEL);
q->base = dmam_alloc_coherent(vdev->drm.dev, IVPU_MMU_EVTQ_SIZE, &q->dma, GFP_KERNEL);
mem = dmam_alloc_coherent(dev, dma_sz, &mem_dma, GFP_KERNEL);
mem = dmam_alloc_coherent(dev, dma_sz, &mem_dma, GFP_KERNEL);
dmam_alloc_coherent(ap->host->dev, ATA_PRD_TBL_SZ,
dmam_alloc_coherent(priv->dev,
pp->pkt = dmam_alloc_coherent(dev, ADMA_PKT_BYTES, &pp->pkt_dma,
pp->pkt = dmam_alloc_coherent(dev, sizeof(struct inic_pkt),
pp->cpb_tbl = dmam_alloc_coherent(dev, IDMA_CPB_TBL_SIZE,
mem = dmam_alloc_coherent(dev, NV_ADMA_PORT_PRIV_DMA_SZ,
pp->prd = dmam_alloc_coherent(dev, ATA_PRD_TBL_SZ * ATA_MAX_QUEUE,
pp->pkt = dmam_alloc_coherent(dev, 128, &pp->pkt_dma, GFP_KERNEL);
pp->pkt = dmam_alloc_coherent(dev, QS_PKT_BYTES, &pp->pkt_dma,
cb = dmam_alloc_coherent(dev, cb_size, &cb_dma, GFP_KERNEL);
pp->pkt = dmam_alloc_coherent(dev, 128, &pp->pkt_dma, GFP_KERNEL);
data->dbgc.buf_v_addr = dmam_alloc_coherent(&data->pdev->dev,
data->dbgc.frag_v_addr = dmam_alloc_coherent(&data->pdev->dev,
ring->ring = dmam_alloc_coherent(&bcm4377->pdev->dev,
ring->payloads = dmam_alloc_coherent(
ring->ring = dmam_alloc_coherent(&bcm4377->pdev->dev,
bcm4377->ctx = dmam_alloc_coherent(dev, sizeof(*bcm4377->ctx),
dmam_alloc_coherent(dev, sizeof(*bcm4377->ring_state),
if (!dmam_alloc_coherent(&bcm4377->pdev->dev, 0x20,
acry_dev->buf_addr = dmam_alloc_coherent(dev, ASPEED_ACRY_BUFF_SIZE,
dmam_alloc_coherent(&pdev->dev,
dmam_alloc_coherent(&pdev->dev,
dmam_alloc_coherent(&pdev->dev,
dmam_alloc_coherent(&pdev->dev,
jrp->inpring = dmam_alloc_coherent(dev, SIZEOF_JR_INPENTRY *
jrp->outring = dmam_alloc_coherent(dev, SIZEOF_JR_OUTENTRY *
cmd_q->qbase = dmam_alloc_coherent(dev, cmd_q->qsize,
ring->base = dmam_alloc_coherent(eip93->dev,
cdr->base = dmam_alloc_coherent(priv->dev,
cdr->shbase = dmam_alloc_coherent(priv->dev,
rdr->base = dmam_alloc_coherent(priv->dev,
dev->hw_desc[0] = dmam_alloc_coherent(&pdev->dev,
dev->key_base = dmam_alloc_coherent(&pdev->dev, 2 * AES_KEYSIZE_128,
dev->context_base = dmam_alloc_coherent(&pdev->dev,
dev->hw_link[0] = dmam_alloc_coherent(&pdev->dev,
cmd_q->qbase = dmam_alloc_coherent(dev, cmd_q->qsize, &cmd_q->qbase_dma,
ring->base = dmam_alloc_coherent(pdata->dma_dev,
dmam_alloc_coherent(&pdev->dev,
status_head->cq = dmam_alloc_coherent(&pdev->dev,
chan->sq = dmam_alloc_coherent(dev, sq_size, &chan->sq_dma,
chan->cq = dmam_alloc_coherent(dev, cq_size, &chan->cq_dma,
lldev->tre_ring = dmam_alloc_coherent(dev, sz, &lldev->tre_dma,
lldev->evre_ring = dmam_alloc_coherent(dev, sz, &lldev->evre_dma,
lmdesc = dmam_alloc_coherent(&pdev->dev,
desc = dmam_alloc_coherent(ctx->ohci->card.device, PAGE_SIZE, &bus_addr, GFP_ATOMIC);
ohci->next_config_rom = dmam_alloc_coherent(ohci->card.device, CONFIG_ROM_SIZE,
next_config_rom = dmam_alloc_coherent(ohci->card.device, CONFIG_ROM_SIZE,
ohci->misc_buffer = dmam_alloc_coherent(&dev->dev, PAGE_SIZE, &ohci->misc_buffer_bus,
rwtm->buf = dmam_alloc_coherent(dev, RWTM_DMA_BUFFER_SIZE,
priv->dma_hwdescs = dmam_alloc_coherent(dev,
dsi->dcs_buf_virt = dmam_alloc_coherent(dsi->dev, RZG2L_DCS_BUF_SIZE,
dmam_alloc_coherent(dc->dev, ARRAY_SIZE(default_srgb_lut) * sizeof(u64),
tilcdc_crtc->palette_base = dmam_alloc_coherent(dev->dev,
in_data->sensor_virt_addr[i] = dmam_alloc_coherent(dev, sizeof(int) * 8,
ctrl->trace_buf[i].addr = dmam_alloc_coherent(dev, HISI_PTT_TRACE_BUF_SIZE,
priv->hw = dmam_alloc_coherent(&priv->pci_dev->dev,
priv->log = dmam_alloc_coherent(&priv->pci_dev->dev,
rx_buf = dmam_alloc_coherent(dev, NXP_SAR_ADC_DMA_BUFF_SZ,
*l2table = dmam_alloc_coherent(smmu->dev, sizeof(**l2table),
q->base = dmam_alloc_coherent(smmu->dev, qsz, &q->base_dma,
cfg->l2.l1tab = dmam_alloc_coherent(smmu->dev, l1size, &cfg->l2.l1_dma,
cfg->linear.table = dmam_alloc_coherent(smmu->dev, size,
se->dmam_base = dmam_alloc_coherent(dev, se->dmam_size, &paddr, GFP_KERNEL);
cl->dma.vaddr = dmam_alloc_coherent(&cl->dev->dev, size,
dscr->vaddr = dmam_alloc_coherent(dev->parent, dscr->size, &dscr->daddr,
cq_host->desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc),
cq_host->trans_desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc),
host->sg_cpu = dmam_alloc_coherent(host->dev,
host->buffer = dmam_alloc_coherent(dev, host->buf_size,
dmam_alloc_coherent(host->dev, host->bounce_buf_size,
host->descs = dmam_alloc_coherent(host->dev, SD_EMMC_DESC_BUF_LEN,
idma->bounce_buf = dmam_alloc_coherent(dev,
idma->sg_cpu = dmam_alloc_coherent(dev, SDMMC_LLI_BUF_LEN,
ctrl->dma_desc = dmam_alloc_coherent(dev,
host->buffer = dmam_alloc_coherent(host->dev,
nfc->ecc_buf = dmam_alloc_coherent(nfc->dev, FMC2_MAX_ECC_BUF_LEN,
host->buffer = dmam_alloc_coherent(dev, HIFMC_DMA_MAX_LEN,
pcie->dma_data[i] = dmam_alloc_coherent(&pcie->pci->dev,
priv->rx_dma_vaddr = dmam_alloc_coherent(&pciefd->pci_dev->dev,
priv->tx_dma_vaddr = dmam_alloc_coherent(&pciefd->pci_dev->dev,
fw_addr = dmam_alloc_coherent(dev, size, &dma_addr, GFP_KERNEL);
ring->descs = dmam_alloc_coherent(dev,
q->desc = dmam_alloc_coherent(eth->dev, size * sizeof(*q->desc),
irq_q->q = dmam_alloc_coherent(eth->dev, size * sizeof(u32),
if (!dmam_alloc_coherent(eth->dev, size, &dma_addr,
if (!dmam_alloc_coherent(eth->dev, size, &dma_addr, GFP_KERNEL))
q->desc = dmam_alloc_coherent(eth->dev, ndesc * sizeof(*q->desc),
ppe->foe = dmam_alloc_coherent(eth->dev, foe_size, &ppe->foe_dma,
ppe->foe_stats = dmam_alloc_coherent(eth->dev, foe_size,
ring->desc_addr = dmam_alloc_coherent(dev, size, &ring->dma,
irq_mbox_addr = dmam_alloc_coherent(dev, INTR_MBOX_SIZE,
exp_bufs = dmam_alloc_coherent(dev, size, &dma_exp_bufs,
priv->rxbd = dmam_alloc_coherent(dev, RX_RING_SZ + TX_RING_SZ,
ag->stop_desc = dmam_alloc_coherent(&pdev->dev,
tp->rx_ring = dmam_alloc_coherent(&pdev->dev,
priv->membase = dmam_alloc_coherent(&pdev->dev,
cq->rq.desc_buf.va = dmam_alloc_coherent(ice_hw_to_dev(hw), size,
bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw),
bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw),
cq->sq.desc_buf.va = dmam_alloc_coherent(ice_hw_to_dev(hw), size,
tstamp_ring->desc = dmam_alloc_coherent(dev, size, &tstamp_ring->dma,
tx_ring->desc = dmam_alloc_coherent(dev, size, &tx_ring->dma,
rx_ring->desc = dmam_alloc_coherent(dev, size, &rx_ring->dma,
tx_q->desc_ring = dmam_alloc_coherent(dev, tx_q->size, &tx_q->dma,
rxq->desc_ring = dmam_alloc_coherent(dev, rxq->size,
lp->td_ring = dmam_alloc_coherent(&pdev->dev, TD_RING_SIZE,
lp->rd_ring = dmam_alloc_coherent(&pdev->dev, RD_RING_SIZE,
foe = dmam_alloc_coherent(ppe->dev,
mib = dmam_alloc_coherent(ppe->dev, MTK_PPE_ENTRIES * sizeof(*mib),
priv->ring_base = dmam_alloc_coherent(dev, MTK_STAR_DMA_SIZE,
q->desc = dmam_alloc_coherent(wo->hw->dev, n_desc * sizeof(*q->desc),
fdma->dcbs_base = dmam_alloc_coherent(ocelot->dev,
tp->counters = dmam_alloc_coherent (&pdev->dev, sizeof(*tp->counters),
hp->happy_block = dmam_alloc_coherent(hp->dma_dev, PAGE_SIZE,
ar->msa.vaddr = dmam_alloc_coherent(dev, msa_size,
dd->dd_desc = dmam_alloc_coherent(sc->dev, dd->dd_desc_len,
buf->bf_addr = dmam_alloc_coherent(sc->dev,
dd->dd_desc = dmam_alloc_coherent(sc->dev, dd->dd_desc_len,
q->desc = dmam_alloc_coherent(dev->dma_dev, q->ndesc * size,
ptr = dmam_alloc_coherent(dev->mt76.dma_dev,
ptr = dmam_alloc_coherent(dev->mt76.dma_dev,
ptr = dmam_alloc_coherent(dev->mt76.dma_dev,
ptr = dmam_alloc_coherent(dev->mt76.dma_dev,
ptr = dmam_alloc_coherent(dev->mt76.dma_dev,
ptr = dmam_alloc_coherent(dev->mt76.dma_dev,
if (!dmam_alloc_coherent(dev->mt76.dma_dev, 256 * size,
if (!dmam_alloc_coherent(dev->mt76.dma_dev, 256 * size,
if (!dmam_alloc_coherent(dev->mt76.dma_dev, 256 * 1024,
vaddr = dmam_alloc_coherent(&priv->pdev->dev, len, &paddr, GFP_KERNEL);
vaddr = dmam_alloc_coherent(&priv->pdev->dev, len, &paddr, GFP_KERNEL);
q->cqes = dmam_alloc_coherent(anv->dev,
q->sqes = dmam_alloc_coherent(anv->dev, iosq_size,
q->tcbs = dmam_alloc_coherent(anv->dev,
msi_vaddr = dmam_alloc_coherent(dev, sizeof(u64), &pp->msi_data,
msi_vaddr = dmam_alloc_coherent(dev, sizeof(u64), &pp->msi_data,
ll->vaddr.mem = dmam_alloc_coherent(pci->dev, ll->sz,
ll->vaddr.mem = dmam_alloc_coherent(pci->dev, ll->sz,
slot_mem = dmam_alloc_coherent(dev, slot_mem_size + frag_mem_size,
mp2->vslbase = dmam_alloc_coherent(dev, len, &mp2->dma_addr, GFP_KERNEL);
hisi_hba->cmd_hdr[i] = dmam_alloc_coherent(dev, s,
hisi_hba->complete_hdr[i] = dmam_alloc_coherent(dev, s,
hisi_hba->itct = dmam_alloc_coherent(dev, s, &hisi_hba->itct_dma,
buf = dmam_alloc_coherent(dev, s, &buf_dma,
hisi_hba->iost = dmam_alloc_coherent(dev, s, &hisi_hba->iost_dma,
hisi_hba->breakpoint = dmam_alloc_coherent(dev, s,
hisi_hba->initial_fis = dmam_alloc_coherent(dev, s,
hisi_hba->sata_breakpoint = dmam_alloc_coherent(dev, s,
ihost->completion_queue = dmam_alloc_coherent(dev, size, &ihost->cq_dma,
ihost->remote_node_context_table = dmam_alloc_coherent(dev, size, &ihost->rnc_dma,
ihost->task_context_table = dmam_alloc_coherent(dev, size, &ihost->tc_dma,
ihost->ufi_buf = dmam_alloc_coherent(dev, size, &ihost->ufi_dma, GFP_KERNEL);
ireq = dmam_alloc_coherent(dev, sizeof(*ireq), &dma, GFP_KERNEL);
qmc->bd_table = dmam_alloc_coherent(qmc->dev, qmc->bd_size,
qmc->int_table = dmam_alloc_coherent(qmc->dev, qmc->int_size,
block->virt = dmam_alloc_coherent(kdev->dev,
amd_spi->dma_virt_addr = dmam_alloc_coherent(dev, AMD_SPI_HID2_DMA_SIZE * 2,
sp->buffer = dmam_alloc_coherent(&pdev->dev,
hwq->sqe_base_addr = dmam_alloc_coherent(hba->dev, utrdl_size,
hwq->cqe_base_addr = dmam_alloc_coherent(hba->dev, cqe_size,
hba->ucdl_base_addr = dmam_alloc_coherent(hba->dev,
hba->utrdl_base_addr = dmam_alloc_coherent(hba->dev,
hba->utmrdl_base_addr = dmam_alloc_coherent(hba->dev,
hs_ep->desc_list = dmam_alloc_coherent(hsotg->dev,
dmam_alloc_coherent(hsotg->dev,
dmam_alloc_coherent(hsotg->dev,
dmam_alloc_coherent(hsotg->dev,
dmam_alloc_coherent(hsotg->dev,
iudma->bd_ring = dmam_alloc_coherent(udc->dev,
fbdev->fb_mem = dmam_alloc_coherent(&dev->dev,
data = dmam_alloc_coherent(&pdev->dev, sizeof(struct fsl_diu_data),
gbe_tiles.cpu = dmam_alloc_coherent(&p_dev->dev,
fb_mem_virt = dmam_alloc_coherent(&pdev->dev, fb_mem_len, &fb_mem_phys,
cdev->dxbuf_vaddr = dmam_alloc_coherent(dev, resource_size(&cdev->dram),
data->virt = dmam_alloc_coherent(dev, size, &data->phys,