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()
579 mutex_lock(&vpu->vpu_mutex); in vpu_load_firmware()
581 mutex_unlock(&vpu->vpu_mutex); in vpu_load_firmware()
584 mutex_unlock(&vpu->vpu_mutex); in vpu_load_firmware()
592 mutex_lock(&vpu->vpu_mutex); in vpu_load_firmware()
631 mutex_unlock(&vpu->vpu_mutex); in vpu_load_firmware()
856 mutex_init(&vpu->vpu_mutex); in mtk_vpu_probe()
939 mutex_destroy(&vpu->vpu_mutex); in mtk_vpu_probe()
969 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()
1026 mutex_lock(&vpu->vpu_mutex); in mtk_vpu_resume()
1031 mutex_unlock(&vpu->vpu_mutex); in mtk_vpu_resume()