kernel/acpica/compiler/aslparseop.c
/*******************************************************************************
 *
 * FUNCTION:    TrPrintOpFlags
 *
 * PARAMETERS:  Flags               - Flags word to be decoded
 *              OutputLevel         - Debug output level: ASL_TREE_OUTPUT etc.
 *
 * RETURN:      None
 *
 * DESCRIPTION: Decode a flags word to text. Displays all flags that are set.
 *
 ******************************************************************************/
TrPrintOpFlags
PARAMETERS:  Flags               - Flags word to be decoded
OutputLevel         - Debug output level: ASL_TREE_OUTPUT etc.

None

Decode a flags word to text. Displays all flags that are set.
TrPrintOpFlags PARAMETERS : Flags - Flags word to be decoded OutputLevel - Debug output level : ASL_TREE_OUTPUT etc . None Decode a flags word to text . Displays all flags that are set .
void
TrPrintOpFlags (
    UINT32                  Flags,
    UINT32                  OutputLevel)
{
    UINT32                  FlagBit = 1;
    UINT32                  i;
    for (i = 0; i < ACPI_NUM_OP_FLAGS; i++)
    {
        if (Flags & FlagBit)
        {
            DbgPrint (OutputLevel, " %s", Gbl_OpFlagNames[i]);
        }
        FlagBit <<= 1;
    }
}
void TrPrintOpFlags ( UINT32 Flags , UINT32 OutputLevel ) { UINT32 FlagBit = 1 ; UINT32 i ; for ( i = 0 ; i < ACPI_NUM_OP_FLAGS ; i ++ ) { if ( Flags & FlagBit ) { DbgPrint ( OutputLevel , " " , Gbl_OpFlagNames [ i ] ) ; } FlagBit <<= 1 ; } }
FUNCTION:    TrPrintOpFlags
 PARAMETERS:  Flags               - Flags word to be decoded
              OutputLevel         - Debug output level: ASL_TREE_OUTPUT etc.
FUNCTION : TrPrintOpFlags PARAMETERS : Flags - Flags word to be decoded OutputLevel - Debug output level : ASL_TREE_OUTPUT etc .