Searched refs:mem_dev_l (Results 1 – 5 of 5) sorted by relevance
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_ctrl.c | 39 dev->fw_virt_addr = dma_alloc_coherent(dev->mem_dev_l, dev->fw_size, in s5p_mfc_alloc_firmware() 53 dma_free_coherent(dev->mem_dev_l, dev->fw_size, in s5p_mfc_alloc_firmware() 126 dma_free_coherent(dev->mem_dev_l, dev->fw_size, dev->fw_virt_addr, in s5p_mfc_release_firmware()
|
D | s5p_mfc.c | 1023 dev->mem_dev_l = devm_kzalloc(&dev->plat_dev->dev, in s5p_mfc_alloc_memdevs() 1025 if (!dev->mem_dev_l) { in s5p_mfc_alloc_memdevs() 1030 dev_set_name(dev->mem_dev_l, "%s", "s5p-mfc-l"); in s5p_mfc_alloc_memdevs() 1031 dev->mem_dev_l->release = s5p_mfc_memdev_release; in s5p_mfc_alloc_memdevs() 1032 device_initialize(dev->mem_dev_l); in s5p_mfc_alloc_memdevs() 1035 if (dma_declare_coherent_memory(dev->mem_dev_l, mem_info[0], in s5p_mfc_alloc_memdevs() 1121 dev->mem_dev_l = device_find_child(&dev->plat_dev->dev, in s5p_mfc_probe() 1123 if (!dev->mem_dev_l) { in s5p_mfc_probe() 1137 dev->alloc_ctx[0] = vb2_dma_contig_init_ctx(dev->mem_dev_l); in s5p_mfc_probe() 1267 put_device(dev->mem_dev_l); in s5p_mfc_remove()
|
D | s5p_mfc_opr_v5.c | 44 ret = s5p_mfc_alloc_priv_buf(dev->mem_dev_l, &ctx->dsc); in s5p_mfc_alloc_dec_temp_buffers_v5() 60 s5p_mfc_release_priv_buf(ctx->dev->mem_dev_l, &ctx->dsc); in s5p_mfc_release_dec_desc_buffer_v5() 175 ret = s5p_mfc_alloc_priv_buf(dev->mem_dev_l, &ctx->bank1); in s5p_mfc_alloc_codec_buffers_v5() 187 s5p_mfc_release_priv_buf(ctx->dev->mem_dev_l, &ctx->bank1); in s5p_mfc_alloc_codec_buffers_v5() 198 s5p_mfc_release_priv_buf(ctx->dev->mem_dev_l, &ctx->bank1); in s5p_mfc_release_codec_buffers_v5() 215 ret = s5p_mfc_alloc_priv_buf(dev->mem_dev_l, &ctx->ctx); in s5p_mfc_alloc_instance_buffer_v5() 228 ret = s5p_mfc_alloc_priv_buf(dev->mem_dev_l, &ctx->shm); in s5p_mfc_alloc_instance_buffer_v5() 231 s5p_mfc_release_priv_buf(dev->mem_dev_l, &ctx->ctx); in s5p_mfc_alloc_instance_buffer_v5() 247 s5p_mfc_release_priv_buf(ctx->dev->mem_dev_l, &ctx->ctx); in s5p_mfc_release_instance_buffer_v5() 248 s5p_mfc_release_priv_buf(ctx->dev->mem_dev_l, &ctx->shm); in s5p_mfc_release_instance_buffer_v5()
|
D | s5p_mfc_opr_v6.c | 242 ret = s5p_mfc_alloc_priv_buf(dev->mem_dev_l, &ctx->bank1); in s5p_mfc_alloc_codec_buffers_v6() 255 s5p_mfc_release_priv_buf(ctx->dev->mem_dev_l, &ctx->bank1); in s5p_mfc_release_codec_buffers_v6() 294 ret = s5p_mfc_alloc_priv_buf(dev->mem_dev_l, &ctx->ctx); in s5p_mfc_alloc_instance_buffer_v6() 311 s5p_mfc_release_priv_buf(ctx->dev->mem_dev_l, &ctx->ctx); in s5p_mfc_release_instance_buffer_v6() 323 ret = s5p_mfc_alloc_priv_buf(dev->mem_dev_l, &dev->ctx_buf); in s5p_mfc_alloc_dev_context_buffer_v6() 340 s5p_mfc_release_priv_buf(dev->mem_dev_l, &dev->ctx_buf); in s5p_mfc_release_dev_context_buffer_v6()
|
D | s5p_mfc_common.h | 305 struct device *mem_dev_l; member
|