Home
last modified time | relevance | path

Searched refs:vpu_mutex (Results 1 – 3 of 3) sorted by relevance

/drivers/media/platform/mediatek/vpu/
Dmtk_vpu.c221 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()
[all …]
/drivers/media/platform/verisilicon/
Dhantro_drv.c223 src_vq->lock = &ctx->dev->vpu_mutex; in queue_init()
247 dst_vq->lock = &ctx->dev->vpu_mutex; in queue_init()
897 vfd->lock = &vpu->vpu_mutex; in hantro_add_func()
1001 mutex_init(&vpu->vpu_mutex); in hantro_probe()
Dhantro.h210 struct mutex vpu_mutex; /* video_device lock */ member