Lines Matching refs:units
606 * units - How many units to wait for
611 * DESCRIPTION: Wait for units
615 AcpiOsWaitSemaphore(ACPI_SEMAPHORE handle, UINT32 units, UINT16 timeout)
619 handle, (uint32)units, timeout);
622 result = acquire_sem_etc(handle, units, 0, 0)
625 switch (acquire_sem_etc(handle, units, B_RELATIVE_TIMEOUT,
642 handle, (uint32)units, timeout, (uint32)result);
652 * units - Number of units to send
656 * DESCRIPTION: Send units
660 AcpiOsSignalSemaphore(ACPI_SEMAPHORE handle, UINT32 units)
663 DEBUG_FUNCTION_VF("sem: %ld; count: %lu", handle, (uint32)units);
665 result = release_sem_etc(handle, units, B_DO_NOT_RESCHEDULE);
871 * RETURN: Current time in 100 nanosecond units