FreeBSD/sys/contrib/dev/acpica/common/dmtable.c
/*******************************************************************************
 *
 * FUNCTION:    AcpiDmGetTableData
 *
 * PARAMETERS:  Signature           - ACPI signature (4 chars) to match
 *
 * RETURN:      Pointer to a valid ACPI_DMTABLE_DATA. Null if no match found.
 *
 * DESCRIPTION: Find a match in the global table of supported ACPI tables
 *
 ******************************************************************************/
AcpiDmGetTableData
PARAMETERS:  Signature           - ACPI signature (4 chars) to match

Pointer to a valid ACPI_DMTABLE_DATA. Null if no match found.

Find a match in the global table of supported ACPI tables
AcpiDmGetTableData PARAMETERS : Signature - ACPI signature ( 4 chars ) to match Pointer to a valid ACPI_DMTABLE_DATA . Null if no match found . Find a match in the global table of supported ACPI tables
const ACPI_DMTABLE_DATA *
AcpiDmGetTableData (
    char                    *Signature)
{
    const ACPI_DMTABLE_DATA *Info;
    for (Info = AcpiDmTableData; Info->Signature; Info++)
    {
        if (ACPI_COMPARE_NAME (Signature, Info->Signature))
        {
            return (Info);
        }
    }
    return (NULL);
}
const ACPI_DMTABLE_DATA * AcpiDmGetTableData ( char * Signature ) { const ACPI_DMTABLE_DATA * Info ; for ( Info = AcpiDmTableData ; Info -> Signature ; Info ++ ) { if ( ACPI_COMPARE_NAME ( Signature , Info -> Signature ) ) { return ( Info ) ; } } return ( NULL ) ; }
FUNCTION:    AcpiDmGetTableData
 PARAMETERS:  Signature           - ACPI signature (4 chars) to match
FUNCTION : AcpiDmGetTableData PARAMETERS : Signature - ACPI signature ( 4 chars ) to match