FreeBSD/sys/contrib/dev/acpica/components/parser/psopinfo.c
/*******************************************************************************
 *
 * FUNCTION:    AcpiPsGetArgumentCount
 *
 * PARAMETERS:  OpType              - Type associated with the AML opcode
 *
 * RETURN:      Argument count
 *
 * DESCRIPTION: Obtain the number of expected arguments for an AML opcode
 *
 ******************************************************************************/
AcpiPsGetArgumentCount
PARAMETERS:  OpType              - Type associated with the AML opcode

Argument count

Obtain the number of expected arguments for an AML opcode
AcpiPsGetArgumentCount PARAMETERS : OpType - Type associated with the AML opcode Argument count Obtain the number of expected arguments for an AML opcode
UINT8
AcpiPsGetArgumentCount (
    UINT32                  OpType)
{
    if (OpType <= AML_TYPE_EXEC_6A_0T_1R)
    {
        return (AcpiGbl_ArgumentCount[OpType]);
    }
    return (0);
}
UINT8 AcpiPsGetArgumentCount ( UINT32 OpType ) { if ( OpType <= AML_TYPE_EXEC_6A_0T_1R ) { return ( AcpiGbl_ArgumentCount [ OpType ] ) ; } return ( 0 ) ; }
FUNCTION:    AcpiPsGetArgumentCount
 PARAMETERS:  OpType              - Type associated with the AML opcode
FUNCTION : AcpiPsGetArgumentCount PARAMETERS : OpType - Type associated with the AML opcode