Lines Matching refs:plat
1042 * @plat: pointer to acpi_platform_list table terminated by a NULL entry
1047 int acpi_match_platform_list(const struct acpi_platform_list *plat)
1055 for (; plat->oem_id[0]; plat++, idx++) {
1056 if (ACPI_FAILURE(acpi_get_table_header(plat->table, 0, &hdr)))
1059 if (strncmp(plat->oem_id, hdr.oem_id, ACPI_OEM_ID_SIZE))
1062 if (strncmp(plat->oem_table_id, hdr.oem_table_id, ACPI_OEM_TABLE_ID_SIZE))
1065 if ((plat->pred == all_versions) ||
1066 (plat->pred == less_than_or_equal && hdr.oem_revision <= plat->oem_revision) ||
1067 (plat->pred == greater_than_or_equal && hdr.oem_revision >= plat->oem_revision) ||
1068 (plat->pred == equal && hdr.oem_revision == plat->oem_revision))