Home
last modified time | relevance | path

Searched refs:pre_aligned (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/bus/mhi/host/
H A Dinit.c168 ring->pre_aligned = dma_alloc_coherent(mhi_cntrl->cntrl_dev, ring->alloc_size, in mhi_alloc_aligned_ring()
170 if (!ring->pre_aligned) in mhi_alloc_aligned_ring()
174 ring->base = ring->pre_aligned + (ring->iommu_base - ring->dma_handle); in mhi_alloc_aligned_ring()
269 ring->pre_aligned, ring->dma_handle); in mhi_deinit_dev_ctxt()
285 ring->pre_aligned, ring->dma_handle); in mhi_deinit_dev_ctxt()
437 ring->pre_aligned, ring->dma_handle); in mhi_init_dev_ctxt()
453 ring->pre_aligned, ring->dma_handle); in mhi_init_dev_ctxt()
626 tre_ring->pre_aligned, tre_ring->dma_handle); in mhi_deinit_chan_ctxt()
669 tre_ring->pre_aligned, tre_ring->dma_handle); in mhi_init_chan_ctxt()
/linux/drivers/dma/qcom/
H A Dgpi.c456 void *pre_aligned;
1396 ring->pre_aligned, ring->dma_handle); in gpi_free_ring()
1418 ring->pre_aligned = dma_alloc_coherent(gpii->gpi_dev->dev, in gpi_alloc_ring()
1421 if (!ring->pre_aligned) { in gpi_alloc_ring()
1429 ring->base = ring->pre_aligned + (ring->phys_addr - ring->dma_handle); in gpi_alloc_ring()
454 void *pre_aligned; global() member