Lines Matching refs:Units
163 * Wait for units from a semaphore.
166 AcpiOsWaitSemaphore(ACPI_SEMAPHORE Handle, UINT32 Units, UINT16 Timeout)
196 "get %d units from semaphore %p (has %d) timeout %d\n",
197 Units, as, as->as_units, Timeout));
200 if (as->as_units >= Units) {
201 as->as_units -= Units;
224 * Send units to a semaphore.
227 AcpiOsSignalSemaphore(ACPI_HANDLE Handle, UINT32 Units)
237 "return %d units to semaphore %p (has %d)\n",
238 Units, as, as->as_units));
240 as->as_units += Units;