Searched refs:mem_virt (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_opr.c | 47 if (dev->mem_virt) { in s5p_mfc_alloc_priv_buf() 54 b->virt = dev->mem_virt + offset; in s5p_mfc_alloc_priv_buf() 101 if (dev->mem_virt) { in s5p_mfc_release_priv_buf()
|
H A D | s5p_mfc.c | 1213 mfc_dev->mem_virt = dma_alloc_coherent(dev, mem_size, in s5p_mfc_configure_common_memory() 1215 if (!mfc_dev->mem_virt) { in s5p_mfc_configure_common_memory() 1253 dma_free_coherent(dev, mfc_dev->mem_size, mfc_dev->mem_virt, in s5p_mfc_unconfigure_common_memory()
|
H A D | s5p_mfc_common.h | 327 void *mem_virt; member
|
/openbmc/linux/drivers/net/ipa/ |
H A D | ipa_mem.c | 372 canary = ipa->mem_virt + ipa->mem_offset + ipa->mem[i].offset; in ipa_mem_config() 651 ipa->mem_virt = memremap(res->start, resource_size(res), MEMREMAP_WC); in ipa_mem_init() 652 if (!ipa->mem_virt) { in ipa_mem_init() 673 memunmap(ipa->mem_virt); in ipa_mem_init() 683 memunmap(ipa->mem_virt); in ipa_mem_exit()
|
H A D | ipa.h | 103 void *mem_virt; member
|
H A D | ipa_uc.c | 123 return ipa->mem_virt + offset; in ipa_uc_shared()
|
/openbmc/linux/drivers/soc/aspeed/ |
H A D | aspeed-xdma.c | 238 void *mem_virt; member 879 dma_free_coherent(ctx->dev, ctx->mem_size, ctx->mem_virt, in aspeed_xdma_kobject_release() 1018 ctx->mem_virt = dma_alloc_coherent(dev, ctx->mem_size, in aspeed_xdma_probe() 1020 if (!ctx->mem_virt) { in aspeed_xdma_probe() 1033 rc = gen_pool_add_virt(ctx->pool, (unsigned long)ctx->mem_virt, in aspeed_xdma_probe() 1119 dma_free_coherent(ctx->dev, ctx->mem_size, ctx->mem_virt, in aspeed_xdma_probe()
|