Lines Matching refs:dma_region
133 void *dma_region;
723 if (!pi->dma_region) {
727 } else if ((pi->dma_region = dma_alloc_noncoherent(pi->port.dev,
743 if (pi->dma_region) {
745 pi->dma_region, pi->dma_region_p);
746 pi->dma_region = NULL;
761 BUG_ON(pi->dma_region == NULL);
763 memset(pi->dma_region, 0, MPSC_DMA_ALLOC_SIZE);
769 dp = ALIGN((u32)pi->dma_region, dma_get_cache_alignment());
842 dma_cache_sync(pi->port.dev, (void *)pi->dma_region,
846 flush_dcache_range((ulong)pi->dma_region,
847 (ulong)pi->dma_region
858 BUG_ON(pi->dma_region == NULL);