Searched refs:state_sync_lock (Results 1 – 2 of 2) sorted by relevance
375 error = mutex_lock_interruptible(&cyapa->state_sync_lock); in cyapa_open()409 mutex_unlock(&cyapa->state_sync_lock); in cyapa_open()419 mutex_lock(&cyapa->state_sync_lock); in cyapa_close()430 mutex_unlock(&cyapa->state_sync_lock); in cyapa_close()596 mutex_init(&cyapa->state_sync_lock); in cyapa_initialize()718 if (!mutex_trylock(&cyapa->state_sync_lock)) { in cyapa_irq()724 mutex_unlock(&cyapa->state_sync_lock); in cyapa_irq()748 error = mutex_lock_interruptible(&cyapa->state_sync_lock); in cyapa_show_suspend_scanrate()755 mutex_unlock(&cyapa->state_sync_lock); in cyapa_show_suspend_scanrate()785 error = mutex_lock_interruptible(&cyapa->state_sync_lock); in cyapa_update_suspend_scanrate()[all …]
379 struct mutex state_sync_lock; member