Lines Matching refs:Handle
436 AcpiOsDeleteSemaphore(ACPI_HANDLE Handle)
439 if (Handle == NULL)
442 acpi_sema_destroy((acpi_sema_t *)Handle);
443 kmem_free((void *)Handle, sizeof (acpi_sema_t));
448 AcpiOsWaitSemaphore(ACPI_HANDLE Handle, UINT32 Units, UINT16 Timeout)
451 if ((Handle == NULL) || (Units < 1))
454 return (acpi_sema_p((acpi_sema_t *)Handle, Units, Timeout));
458 AcpiOsSignalSemaphore(ACPI_HANDLE Handle, UINT32 Units)
461 if ((Handle == NULL) || (Units < 1))
464 acpi_sema_v((acpi_sema_t *)Handle, Units);
483 AcpiOsDeleteLock(ACPI_HANDLE Handle)
486 if (Handle == NULL)
489 mutex_destroy((kmutex_t *)Handle);
490 kmem_free((void *)Handle, sizeof (kmutex_t));
494 AcpiOsAcquireLock(ACPI_HANDLE Handle)
498 if (Handle == NULL)
502 while (!mutex_tryenter((kmutex_t *)Handle))
505 mutex_enter((kmutex_t *)Handle);
510 AcpiOsReleaseLock(ACPI_HANDLE Handle, ACPI_CPU_FLAGS Flags)
514 mutex_exit((kmutex_t *)Handle);
1560 /* Handle special case for uppc-only systems. */