FreeBSD/sys/contrib/dev/acpica/components/hardware/hwregs.c
/*******************************************************************************
 *
 * FUNCTION:    AcpiHwGetBitRegisterInfo
 *
 * PARAMETERS:  RegisterId          - Index of ACPI Register to access
 *
 * RETURN:      The bitmask to be used when accessing the register
 *
 * DESCRIPTION: Map RegisterId into a register bitmask.
 *
 ******************************************************************************/
AcpiHwGetBitRegisterInfo
PARAMETERS:  RegisterId          - Index of ACPI Register to access

The bitmask to be used when accessing the register

Map RegisterId into a register bitmask.
AcpiHwGetBitRegisterInfo PARAMETERS : RegisterId - Index of ACPI Register to access The bitmask to be used when accessing the register Map RegisterId into a register bitmask .
ACPI_BIT_REGISTER_INFO *
AcpiHwGetBitRegisterInfo (
    UINT32                  RegisterId)
{
    ACPI_FUNCTION_ENTRY ();
    if (RegisterId > ACPI_BITREG_MAX)
    {
        ACPI_ERROR ((AE_INFO, "Invalid BitRegister ID: 0x%X", RegisterId));
        return (NULL);
    }
    return (&AcpiGbl_BitRegisterInfo[RegisterId]);
}
ACPI_BIT_REGISTER_INFO * AcpiHwGetBitRegisterInfo ( UINT32 RegisterId ) { ACPI_FUNCTION_ENTRY ( ) ; if ( RegisterId > ACPI_BITREG_MAX ) { ACPI_ERROR ( ( AE_INFO , " " , RegisterId ) ) ; return ( NULL ) ; } return ( & AcpiGbl_BitRegisterInfo [ RegisterId ] ) ; }
FUNCTION:    AcpiHwGetBitRegisterInfo
 PARAMETERS:  RegisterId          - Index of ACPI Register to access
FUNCTION : AcpiHwGetBitRegisterInfo PARAMETERS : RegisterId - Index of ACPI Register to access