Lines Matching refs:m2m_dev
461 v4l2_m2m_job_finish(m2m_ctx->m2m_dev, m2m_ctx); in vpu_m2m_job_abort()
756 inst->fh.m2m_ctx = v4l2_m2m_ctx_init(func->m2m_dev, inst, vpu_m2m_queue_init); in vpu_v4l2_open()
818 func->m2m_dev = v4l2_m2m_init(&vpu_m2m_ops); in vpu_add_func()
819 if (IS_ERR(func->m2m_dev)) { in vpu_add_func()
822 return PTR_ERR(func->m2m_dev); in vpu_add_func()
827 v4l2_m2m_release(func->m2m_dev); in vpu_add_func()
848 v4l2_m2m_release(func->m2m_dev); in vpu_add_func()
854 ret = v4l2_m2m_register_media_controller(func->m2m_dev, func->vfd, func->function); in vpu_add_func()
856 v4l2_m2m_release(func->m2m_dev); in vpu_add_func()
857 func->m2m_dev = NULL; in vpu_add_func()
871 if (func->m2m_dev) { in vpu_remove_func()
872 v4l2_m2m_unregister_media_controller(func->m2m_dev); in vpu_remove_func()
873 v4l2_m2m_release(func->m2m_dev); in vpu_remove_func()
874 func->m2m_dev = NULL; in vpu_remove_func()