Lines Matching refs:resource_lock
55 struct mutex resource_lock; member
232 mutex_lock(&resource->resource_lock); in acpi_power_get_list_state()
234 mutex_unlock(&resource->resource_lock); in acpi_power_get_list_state()
255 mutex_lock(&resource->resource_lock); in acpi_power_resource_add_dependent()
274 mutex_unlock(&resource->resource_lock); in acpi_power_resource_add_dependent()
284 mutex_lock(&resource->resource_lock); in acpi_power_resource_remove_dependent()
294 mutex_unlock(&resource->resource_lock); in acpi_power_resource_remove_dependent()
414 mutex_lock(&resource->resource_lock); in acpi_power_on()
416 mutex_unlock(&resource->resource_lock); in acpi_power_on()
463 mutex_lock(&resource->resource_lock); in acpi_power_off()
465 mutex_unlock(&resource->resource_lock); in acpi_power_off()
619 mutex_lock(&resource->resource_lock); in acpi_power_wakeup_list_init()
633 mutex_unlock(&resource->resource_lock); in acpi_power_wakeup_list_init()
937 mutex_init(&resource->resource_lock); in acpi_add_power_resource()
987 mutex_lock(&resource->resource_lock); in acpi_resume_power_resources()
992 mutex_unlock(&resource->resource_lock); in acpi_resume_power_resources()
1002 mutex_unlock(&resource->resource_lock); in acpi_resume_power_resources()
1019 mutex_lock(&resource->resource_lock); in acpi_turn_off_unused_power_resources()
1027 mutex_unlock(&resource->resource_lock); in acpi_turn_off_unused_power_resources()