FreeBSD/sys/contrib/dev/acpica/components/events/evrgnini.c
/*******************************************************************************
 *
 * FUNCTION:    AcpiEvDefaultRegionSetup
 *
 * PARAMETERS:  Handle              - Region we are interested in
 *              Function            - Start or stop
 *              HandlerContext      - Address space handler context
 *              RegionContext       - Region specific context
 *
 * RETURN:      Status
 *
 * DESCRIPTION: Default region initialization
 *
 ******************************************************************************/
AcpiEvDefaultRegionSetup
PARAMETERS:  Handle              - Region we are interested in
Function            - Start or stop
HandlerContext      - Address space handler context
RegionContext       - Region specific context

Status

Default region initialization
AcpiEvDefaultRegionSetup PARAMETERS : Handle - Region we are interested in Function - Start or stop HandlerContext - Address space handler context RegionContext - Region specific context Status Default region initialization
ACPI_STATUS
AcpiEvDefaultRegionSetup (
    ACPI_HANDLE             Handle,
    UINT32                  Function,
    void                    *HandlerContext,
    void                    **RegionContext)
{
    ACPI_FUNCTION_TRACE (EvDefaultRegionSetup);
    if (Function == ACPI_REGION_DEACTIVATE)
    {
        *RegionContext = NULL;
    }
    else
    {
        *RegionContext = HandlerContext;
    }
    return_ACPI_STATUS (AE_OK);
}
ACPI_STATUS AcpiEvDefaultRegionSetup ( ACPI_HANDLE Handle , UINT32 Function , void * HandlerContext , void * * RegionContext ) { ACPI_FUNCTION_TRACE ( EvDefaultRegionSetup ) ; if ( Function == ACPI_REGION_DEACTIVATE ) { * RegionContext = NULL ; } else { * RegionContext = HandlerContext ; } return_ACPI_STATUS ( AE_OK ) ; }
FUNCTION:    AcpiEvDefaultRegionSetup
 PARAMETERS:  Handle              - Region we are interested in
              Function            - Start or stop
              HandlerContext      - Address space handler context
              RegionContext       - Region specific context
FUNCTION : AcpiEvDefaultRegionSetup PARAMETERS : Handle - Region we are interested in Function - Start or stop HandlerContext - Address space handler context RegionContext - Region specific context