FreeBSD/sys/contrib/dev/acpica/components/namespace/nsobject.c
/*******************************************************************************
 *
 * FUNCTION:    AcpiNsGetSecondaryObject
 *
 * PARAMETERS:  Node             - Namespace node
 *
 * RETURN:      Current value of the object field from the Node whose
 *              handle is passed.
 *
 * DESCRIPTION: Obtain a secondary object associated with a namespace node.
 *
 ******************************************************************************/
AcpiNsGetSecondaryObject
PARAMETERS:  Node             - Namespace node

Current value of the object field from the Node whose
handle is passed.

Obtain a secondary object associated with a namespace node.
AcpiNsGetSecondaryObject PARAMETERS : Node - Namespace node Current value of the object field from the Node whose handle is passed . Obtain a secondary object associated with a namespace node .
ACPI_OPERAND_OBJECT *
AcpiNsGetSecondaryObject (
    ACPI_OPERAND_OBJECT     *ObjDesc)
{
    ACPI_FUNCTION_TRACE_PTR (NsGetSecondaryObject, ObjDesc);
    if ((!ObjDesc)                                     ||
        (ObjDesc->Common.Type== ACPI_TYPE_LOCAL_DATA)  ||
        (!ObjDesc->Common.NextObject)                  ||
        ((ObjDesc->Common.NextObject)->Common.Type == ACPI_TYPE_LOCAL_DATA))
    {
        return_PTR (NULL);
    }
    return_PTR (ObjDesc->Common.NextObject);
}
ACPI_OPERAND_OBJECT * AcpiNsGetSecondaryObject ( ACPI_OPERAND_OBJECT * ObjDesc ) { ACPI_FUNCTION_TRACE_PTR ( NsGetSecondaryObject , ObjDesc ) ; if ( ( ! ObjDesc ) || ( ObjDesc -> Common . Type == ACPI_TYPE_LOCAL_DATA ) || ( ! ObjDesc -> Common . NextObject ) || ( ( ObjDesc -> Common . NextObject ) -> Common . Type == ACPI_TYPE_LOCAL_DATA ) ) { return_PTR ( NULL ) ; } return_PTR ( ObjDesc -> Common . NextObject ) ; }
FUNCTION:    AcpiNsGetSecondaryObject
 PARAMETERS:  Node             - Namespace node
FUNCTION : AcpiNsGetSecondaryObject PARAMETERS : Node - Namespace node