Lines Matching full:virt
51 b->virt = dev->mem_virt + offset; in s5p_mfc_alloc_priv_buf()
58 b->virt = dma_alloc_coherent(mem_dev, b->size, &b->dma, GFP_KERNEL); in s5p_mfc_alloc_priv_buf()
59 if (!b->virt) in s5p_mfc_alloc_priv_buf()
64 dma_free_coherent(mem_dev, b->size, b->virt, b->dma); in s5p_mfc_alloc_priv_buf()
69 mfc_debug(3, "Allocated addr %p %pad\n", b->virt, &b->dma); in s5p_mfc_alloc_priv_buf()
84 b->virt = dma_alloc_coherent(mem_dev, b->size, &b->dma, GFP_KERNEL); in s5p_mfc_alloc_generic_buf()
85 if (!b->virt) in s5p_mfc_alloc_generic_buf()
88 mfc_debug(3, "Allocated addr %p %pad\n", b->virt, &b->dma); in s5p_mfc_alloc_generic_buf()
106 dma_free_coherent(mem_dev, b->size, b->virt, b->dma); in s5p_mfc_release_priv_buf()
108 b->virt = NULL; in s5p_mfc_release_priv_buf()
117 dma_free_coherent(mem_dev, b->size, b->virt, b->dma); in s5p_mfc_release_generic_buf()
118 b->virt = NULL; in s5p_mfc_release_generic_buf()