Searched refs:pre_aligned (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/bus/mhi/host/ |
D | init.c | 168 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()
|
D | internal.h | 204 void *pre_aligned; member
|
/linux-6.12.1/drivers/dma/qcom/ |
D | gpi.c | 454 void *pre_aligned; member 1394 ring->pre_aligned, ring->dma_handle); in gpi_free_ring() 1416 ring->pre_aligned = dma_alloc_coherent(gpii->gpi_dev->dev, in gpi_alloc_ring() 1419 if (!ring->pre_aligned) { in gpi_alloc_ring() 1427 ring->base = ring->pre_aligned + (ring->phys_addr - ring->dma_handle); in gpi_alloc_ring()
|