Home
last modified time | relevance | path

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

/linux-6.1.9/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 …]
/linux-6.1.9/drivers/media/platform/verisilicon/ !
Dhantro_drv.c222 src_vq->lock = &ctx->dev->vpu_mutex; in queue_init()
246 dst_vq->lock = &ctx->dev->vpu_mutex; in queue_init()
805 vfd->lock = &vpu->vpu_mutex; in hantro_add_func()
908 mutex_init(&vpu->vpu_mutex); in hantro_probe()
Dhantro.h207 struct mutex vpu_mutex; /* video_device lock */ member