Lines Matching refs:plat
996 * @plat: pointer to acpi_platform_list table terminated by a NULL entry
1001 int acpi_match_platform_list(const struct acpi_platform_list *plat)
1009 for (; plat->oem_id[0]; plat++, idx++) {
1010 if (ACPI_FAILURE(acpi_get_table_header(plat->table, 0, &hdr)))
1013 if (strncmp(plat->oem_id, hdr.oem_id, ACPI_OEM_ID_SIZE))
1016 if (strncmp(plat->oem_table_id, hdr.oem_table_id, ACPI_OEM_TABLE_ID_SIZE))
1019 if ((plat->pred == all_versions) ||
1020 (plat->pred == less_than_or_equal && hdr.oem_revision <= plat->oem_revision) ||
1021 (plat->pred == greater_than_or_equal && hdr.oem_revision >= plat->oem_revision) ||
1022 (plat->pred == equal && hdr.oem_revision == plat->oem_revision))