Lines Matching refs:pm_lock
55 static pthread_mutex_t pm_lock = PTHREAD_MUTEX_INITIALIZER; variable
179 pthread_mutex_lock(&pm_lock); in pm1_status_handler()
191 pthread_mutex_unlock(&pm_lock); in pm1_status_handler()
203 pthread_mutex_lock(&pm_lock); in pm1_enable_handler()
215 pthread_mutex_unlock(&pm_lock); in pm1_enable_handler()
228 pthread_mutex_lock(&pm_lock); in power_button_handler()
233 pthread_mutex_unlock(&pm_lock); in power_button_handler()
256 pthread_mutex_lock(&pm_lock); in power_button_handler()
261 pthread_mutex_unlock(&pm_lock); in power_button_handler()
324 pthread_mutex_lock(&pm_lock); in acpi_raise_gpe()
327 pthread_mutex_unlock(&pm_lock); in acpi_raise_gpe()
341 pthread_mutex_lock(&pm_lock); in gpe0_sts()
349 pthread_mutex_unlock(&pm_lock); in gpe0_sts()
361 pthread_mutex_lock(&pm_lock); in gpe0_en()
368 pthread_mutex_unlock(&pm_lock); in gpe0_en()
387 pthread_mutex_lock(&pm_lock); in smi_cmd_handler()
410 pthread_mutex_unlock(&pm_lock); in smi_cmd_handler()