Lines Matching refs:state_lock
26 struct mutex state_lock; member
477 mutex_lock(&sysmon->state_lock); in sysmon_prepare()
480 mutex_unlock(&sysmon->state_lock); in sysmon_prepare()
504 mutex_lock(&sysmon->state_lock); in sysmon_start()
507 mutex_unlock(&sysmon->state_lock); in sysmon_start()
514 mutex_lock(&target->state_lock); in sysmon_start()
522 mutex_unlock(&target->state_lock); in sysmon_start()
539 mutex_lock(&sysmon->state_lock); in sysmon_stop()
542 mutex_unlock(&sysmon->state_lock); in sysmon_stop()
563 mutex_lock(&sysmon->state_lock); in sysmon_unprepare()
566 mutex_unlock(&sysmon->state_lock); in sysmon_unprepare()
635 mutex_init(&sysmon->state_lock); in qcom_add_sysmon_subdev()