Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/platform/mtk-vpu/
Dmtk_vpu.c214 struct mutex vpu_mutex; /* for protecting vpu data data structure */ member
238 mutex_lock(&vpu->vpu_mutex); in vpu_clock_disable()
243 mutex_unlock(&vpu->vpu_mutex); in vpu_clock_disable()
256 mutex_lock(&vpu->vpu_mutex); in vpu_clock_enable()
261 mutex_unlock(&vpu->vpu_mutex); in vpu_clock_enable()
318 mutex_lock(&vpu->vpu_mutex); in vpu_ipi_send()
338 mutex_unlock(&vpu->vpu_mutex); in vpu_ipi_send()
354 mutex_unlock(&vpu->vpu_mutex); in vpu_ipi_send()
375 mutex_lock(&vpu->vpu_mutex); in vpu_wdt_reset_func()
378 mutex_unlock(&vpu->vpu_mutex); in vpu_wdt_reset_func()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
Dhantro_drv.c207 src_vq->lock = &ctx->dev->vpu_mutex; in queue_init()
237 dst_vq->lock = &ctx->dev->vpu_mutex; in queue_init()
653 vfd->lock = &vpu->vpu_mutex; in hantro_add_func()
753 mutex_init(&vpu->vpu_mutex); in hantro_probe()
Dhantro.h191 struct mutex vpu_mutex; /* video_device lock */ member