Lines Matching defs:mutex
54 /* ACPI mutex for locking access to the EC for the firmware */
289 * Defines which mutex to use for guarding access to the state and the
290 * hardware. Can be either a full path to an AML mutex or the
292 * or left empty to use a regular mutex object, in which case access to
532 } mutex;
547 return ACPI_SUCCESS(acpi_acquire_mutex(data->mutex.aml,
553 return ACPI_SUCCESS(acpi_release_mutex(data->mutex.aml, NULL));
559 &data->mutex.glk));
564 return ACPI_SUCCESS(acpi_release_global_lock(data->mutex.glk));
692 dev_err(dev, "Hardware access guard mutex name is empty");
696 state->lock_data.mutex.glk = 0;
701 &state->lock_data.mutex.aml);
704 "Failed to get hardware access guard AML mutex '%s': error %d",
815 dev_warn(dev, "Failed to acquire mutex");
826 dev_err(dev, "Failed to release mutex");
1090 "Override ACPI mutex path used to guard access to hardware");