Lines Matching refs:dma_coherent
501 void *dma_coherent; in arcmsr_alloc_ccb_pool() local
526 dma_coherent = dma_alloc_coherent(&pdev->dev, acb->uncache_size, &dma_coherent_handle, GFP_KERNEL); in arcmsr_alloc_ccb_pool()
527 if(!dma_coherent){ in arcmsr_alloc_ccb_pool()
531 acb->dma_coherent = dma_coherent; in arcmsr_alloc_ccb_pool()
533 memset(dma_coherent, 0, acb->uncache_size); in arcmsr_alloc_ccb_pool()
534 ccb_tmp = dma_coherent; in arcmsr_alloc_ccb_pool()
535 acb->vir2phy_offset = (unsigned long)dma_coherent - (unsigned long)dma_coherent_handle; in arcmsr_alloc_ccb_pool()
1538 dma_free_coherent(&acb->pdev->dev, acb->uncache_size, acb->dma_coherent, acb->dma_coherent_handle); in arcmsr_free_ccb_pool()
2626 void *dma_coherent; in arcmsr_hbaB_get_config() local
2640 dma_coherent = dma_alloc_coherent(&pdev->dev, acb->roundup_ccbsize, in arcmsr_hbaB_get_config()
2642 if (!dma_coherent){ in arcmsr_hbaB_get_config()
2649 acb->dma_coherent2 = dma_coherent; in arcmsr_hbaB_get_config()
2650 reg = (struct MessageUnit_B *)dma_coherent; in arcmsr_hbaB_get_config()