Lines Matching refs:state_lock
26 struct mutex state_lock; member
480 mutex_lock(&sysmon->state_lock); in sysmon_prepare()
483 mutex_unlock(&sysmon->state_lock); in sysmon_prepare()
508 mutex_lock(&sysmon->state_lock); in sysmon_start()
511 mutex_unlock(&sysmon->state_lock); in sysmon_start()
515 mutex_lock(&target->state_lock); in sysmon_start()
517 mutex_unlock(&target->state_lock); in sysmon_start()
528 mutex_unlock(&target->state_lock); in sysmon_start()
545 mutex_lock(&sysmon->state_lock); in sysmon_stop()
548 mutex_unlock(&sysmon->state_lock); in sysmon_stop()
574 mutex_lock(&sysmon->state_lock); in sysmon_unprepare()
577 mutex_unlock(&sysmon->state_lock); in sysmon_unprepare()
647 mutex_init(&sysmon->state_lock); in qcom_add_sysmon_subdev()