<dec f='src/src/sys/external/bsd/acpica/dist/include/acpixf.h' l='1106' type='ACPI_STATUS AcpiGetSleepTypeData(UINT8 SleepState, UINT8 * Slp_TypA, UINT8 * Slp_TypB)'/>
<use f='src/src/sys/dev/acpi/acpi.c' l='1295' u='c' c='acpi_sleep_init'/>
<use f='src/src/sys/external/bsd/acpica/dist/hardware/hwesleep.c' l='205' u='c' c='AcpiHwExtendedWakePrep'/>
<use f='src/src/sys/external/bsd/acpica/dist/hardware/hwsleep.c' l='241' u='c' c='AcpiHwLegacyWakePrep'/>
<def f='src/src/sys/external/bsd/acpica/dist/hardware/hwxface.c' l='534' ll='660' type='ACPI_STATUS AcpiGetSleepTypeData(UINT8 SleepState, UINT8 * SleepTypeA, UINT8 * SleepTypeB)'/>
<doc f='src/src/sys/external/bsd/acpica/dist/hardware/hwxface.c' l='496'>/*******************************************************************************
 *
 * FUNCTION:    AcpiGetSleepTypeData
 *
 * PARAMETERS:  SleepState          - Numeric sleep state
 *              *SleepTypeA         - Where SLP_TYPa is returned
 *              *SleepTypeB         - Where SLP_TYPb is returned
 *
 * RETURN:      Status
 *
 * DESCRIPTION: Obtain the SLP_TYPa and SLP_TYPb values for the requested
 *              sleep state via the appropriate \_Sx object.
 *
 *  The sleep state package returned from the corresponding \_Sx_ object
 *  must contain at least one integer.
 *
 *  March 2005:
 *  Added support for a package that contains two integers. This
 *  goes against the ACPI specification which defines this object as a
 *  package with one encoded DWORD integer. However, existing practice
 *  by many BIOS vendors is to return a package with 2 or more integer
 *  elements, at least one per sleep type (A/B).
 *
 *  January 2013:
 *  Therefore, we must be prepared to accept a package with either a
 *  single integer or multiple integers.
 *
 *  The single integer DWORD format is as follows:
 *      BYTE 0 - Value for the PM1A SLP_TYP register
 *      BYTE 1 - Value for the PM1B SLP_TYP register
 *      BYTE 2-3 - Reserved
 *
 *  The dual integer format is as follows:
 *      Integer 0 - Value for the PM1A SLP_TYP register
 *      Integer 1 - Value for the PM1A SLP_TYP register
 *
 ******************************************************************************/</doc>
<use f='src/src/sys/external/bsd/acpica/dist/hardware/hwxfsleep.c' l='346' u='c' c='AcpiEnterSleepStatePrep'/>
