Lines Matching refs:vpu_mutex
221 struct mutex vpu_mutex; /* for protecting vpu data data structure */ member
245 mutex_lock(&vpu->vpu_mutex); in vpu_clock_disable()
250 mutex_unlock(&vpu->vpu_mutex); in vpu_clock_disable()
263 mutex_lock(&vpu->vpu_mutex); in vpu_clock_enable()
268 mutex_unlock(&vpu->vpu_mutex); in vpu_clock_enable()
339 mutex_lock(&vpu->vpu_mutex); in vpu_ipi_send()
360 mutex_unlock(&vpu->vpu_mutex); in vpu_ipi_send()
377 mutex_unlock(&vpu->vpu_mutex); in vpu_ipi_send()
398 mutex_lock(&vpu->vpu_mutex); in vpu_wdt_reset_func()
401 mutex_unlock(&vpu->vpu_mutex); in vpu_wdt_reset_func()
428 mutex_lock(&vpu->vpu_mutex); in vpu_wdt_reg_handler()
431 mutex_unlock(&vpu->vpu_mutex); in vpu_wdt_reg_handler()
577 mutex_lock(&vpu->vpu_mutex); in vpu_load_firmware()
579 mutex_unlock(&vpu->vpu_mutex); in vpu_load_firmware()
582 mutex_unlock(&vpu->vpu_mutex); in vpu_load_firmware()
590 mutex_lock(&vpu->vpu_mutex); in vpu_load_firmware()
629 mutex_unlock(&vpu->vpu_mutex); in vpu_load_firmware()
854 mutex_init(&vpu->vpu_mutex); in mtk_vpu_probe()
937 mutex_destroy(&vpu->vpu_mutex); in mtk_vpu_probe()
967 mutex_destroy(&vpu->vpu_mutex); in mtk_vpu_remove()
991 mutex_lock(&vpu->vpu_mutex); in mtk_vpu_suspend()
1000 mutex_unlock(&vpu->vpu_mutex); in mtk_vpu_suspend()
1006 mutex_unlock(&vpu->vpu_mutex); in mtk_vpu_suspend()
1025 mutex_lock(&vpu->vpu_mutex); in mtk_vpu_resume()
1030 mutex_unlock(&vpu->vpu_mutex); in mtk_vpu_resume()