Lines Matching refs:m2m_dev
371 v4l2_m2m_job_finish(m2m_ctx->m2m_dev, m2m_ctx); in vpu_m2m_job_abort()
655 inst->fh.m2m_ctx = v4l2_m2m_ctx_init(func->m2m_dev, inst, vpu_m2m_queue_init); in vpu_v4l2_open()
710 func->m2m_dev = v4l2_m2m_init(&vpu_m2m_ops); in vpu_add_func()
711 if (IS_ERR(func->m2m_dev)) { in vpu_add_func()
714 return PTR_ERR(func->m2m_dev); in vpu_add_func()
719 v4l2_m2m_release(func->m2m_dev); in vpu_add_func()
740 v4l2_m2m_release(func->m2m_dev); in vpu_add_func()
746 ret = v4l2_m2m_register_media_controller(func->m2m_dev, func->vfd, func->function); in vpu_add_func()
748 v4l2_m2m_release(func->m2m_dev); in vpu_add_func()
749 func->m2m_dev = NULL; in vpu_add_func()
763 if (func->m2m_dev) { in vpu_remove_func()
764 v4l2_m2m_unregister_media_controller(func->m2m_dev); in vpu_remove_func()
765 v4l2_m2m_release(func->m2m_dev); in vpu_remove_func()
766 func->m2m_dev = NULL; in vpu_remove_func()