Searched refs:dev_ctx_lock (Results 1 – 7 of 7) sorted by relevance
53 mutex_lock(&dev->dev_ctx_lock); in mtk_vcodec_vpu_reset_dec_handler()58 mutex_unlock(&dev->dev_ctx_lock); in mtk_vcodec_vpu_reset_dec_handler()68 mutex_lock(&dev->dev_ctx_lock); in mtk_vcodec_vpu_reset_enc_handler()73 mutex_unlock(&dev->dev_ctx_lock); in mtk_vcodec_vpu_reset_enc_handler()
180 mutex_lock(&dev->dev_ctx_lock); in fops_vcodec_open()182 mutex_unlock(&dev->dev_ctx_lock); in fops_vcodec_open()217 mutex_lock(&dev->dev_ctx_lock); in fops_vcodec_release()219 mutex_unlock(&dev->dev_ctx_lock); in fops_vcodec_release()301 mutex_init(&dev->dev_ctx_lock); in mtk_vcodec_probe()
50 mutex_lock(&enc_dev->dev_ctx_lock); in vpu_enc_check_ap_inst()57 mutex_unlock(&enc_dev->dev_ctx_lock); in vpu_enc_check_ap_inst()
209 struct mutex dev_ctx_lock; member
271 mutex_lock(&dev->dev_ctx_lock); in fops_vcodec_open()273 mutex_unlock(&dev->dev_ctx_lock); in fops_vcodec_open()316 mutex_lock(&dev->dev_ctx_lock); in fops_vcodec_release()318 mutex_unlock(&dev->dev_ctx_lock); in fops_vcodec_release()411 mutex_init(&dev->dev_ctx_lock); in mtk_vcodec_probe()
80 mutex_lock(&dec_dev->dev_ctx_lock); in vpu_dec_check_ap_inst()87 mutex_unlock(&dec_dev->dev_ctx_lock); in vpu_dec_check_ap_inst()
286 struct mutex dev_ctx_lock; member