Lines Matching refs:state_sync_lock
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()
801 mutex_unlock(&cyapa->state_sync_lock); in cyapa_update_suspend_scanrate()
871 error = mutex_lock_interruptible(&cyapa->state_sync_lock); in cyapa_show_rt_suspend_scanrate()
878 mutex_unlock(&cyapa->state_sync_lock); in cyapa_show_rt_suspend_scanrate()
906 error = mutex_lock_interruptible(&cyapa->state_sync_lock); in cyapa_update_rt_suspend_scanrate()
914 mutex_unlock(&cyapa->state_sync_lock); in cyapa_update_rt_suspend_scanrate()
988 error = mutex_lock_interruptible(&cyapa->state_sync_lock); in cyapa_show_fm_ver()
993 mutex_unlock(&cyapa->state_sync_lock); in cyapa_show_fm_ver()
1004 error = mutex_lock_interruptible(&cyapa->state_sync_lock); in cyapa_show_product_id()
1008 mutex_unlock(&cyapa->state_sync_lock); in cyapa_show_product_id()
1104 error = mutex_lock_interruptible(&cyapa->state_sync_lock); in cyapa_update_fw_store()
1130 mutex_unlock(&cyapa->state_sync_lock); in cyapa_update_fw_store()
1142 error = mutex_lock_interruptible(&cyapa->state_sync_lock); in cyapa_calibrate_store()
1154 mutex_unlock(&cyapa->state_sync_lock); in cyapa_calibrate_store()
1164 error = mutex_lock_interruptible(&cyapa->state_sync_lock); in cyapa_show_baseline()
1176 mutex_unlock(&cyapa->state_sync_lock); in cyapa_show_baseline()
1208 error = mutex_lock_interruptible(&cyapa->state_sync_lock); in cyapa_show_mode()
1215 mutex_unlock(&cyapa->state_sync_lock); in cyapa_show_mode()
1360 error = mutex_lock_interruptible(&cyapa->state_sync_lock); in cyapa_suspend()
1397 mutex_unlock(&cyapa->state_sync_lock); in cyapa_suspend()
1407 mutex_lock(&cyapa->state_sync_lock); in cyapa_resume()
1424 mutex_unlock(&cyapa->state_sync_lock); in cyapa_resume()