Home
last modified time | relevance | path

Searched refs:fpriv_list_lock (Results 1 – 4 of 4) sorted by relevance

/drivers/misc/habanalabs/
Ddevice.c58 mutex_lock(&hdev->fpriv_list_lock); in hpriv_release()
61 mutex_unlock(&hdev->fpriv_list_lock); in hpriv_release()
107 mutex_lock(&hdev->fpriv_list_lock); in hl_device_release_ctrl()
109 mutex_unlock(&hdev->fpriv_list_lock); in hl_device_release_ctrl()
312 mutex_init(&hdev->fpriv_list_lock); in device_early_init()
344 mutex_destroy(&hdev->fpriv_list_lock); in device_early_fini()
365 mutex_lock(&hdev->fpriv_list_lock); in set_freq_to_low_job()
370 mutex_unlock(&hdev->fpriv_list_lock); in set_freq_to_low_job()
738 mutex_lock(&hdev->fpriv_list_lock); in device_kill_open_processes()
755 mutex_unlock(&hdev->fpriv_list_lock); in device_kill_open_processes()
[all …]
Dhabanalabs_drv.c114 mutex_lock(&hdev->fpriv_list_lock); in hl_device_open()
154 mutex_unlock(&hdev->fpriv_list_lock); in hl_device_open()
161 mutex_unlock(&hdev->fpriv_list_lock); in hl_device_open()
193 mutex_lock(&hdev->fpriv_list_lock); in hl_device_open_ctrl()
204 mutex_unlock(&hdev->fpriv_list_lock); in hl_device_open_ctrl()
217 mutex_unlock(&hdev->fpriv_list_lock); in hl_device_open_ctrl()
Dhabanalabs.h1300 struct mutex fpriv_list_lock; member
/drivers/misc/habanalabs/goya/
Dgoya_hwmgr.c257 mutex_lock(&hdev->fpriv_list_lock); in pm_mng_profile_store()
282 mutex_unlock(&hdev->fpriv_list_lock); in pm_mng_profile_store()
297 mutex_unlock(&hdev->fpriv_list_lock); in pm_mng_profile_store()