Lines Matching refs:plat
890 * @plat: pointer to acpi_platform_list table terminated by a NULL entry
895 int acpi_match_platform_list(const struct acpi_platform_list *plat)
903 for (; plat->oem_id[0]; plat++, idx++) {
904 if (ACPI_FAILURE(acpi_get_table_header(plat->table, 0, &hdr)))
907 if (strncmp(plat->oem_id, hdr.oem_id, ACPI_OEM_ID_SIZE))
910 if (strncmp(plat->oem_table_id, hdr.oem_table_id, ACPI_OEM_TABLE_ID_SIZE))
913 if ((plat->pred == all_versions) ||
914 (plat->pred == less_than_or_equal && hdr.oem_revision <= plat->oem_revision) ||
915 (plat->pred == greater_than_or_equal && hdr.oem_revision >= plat->oem_revision) ||
916 (plat->pred == equal && hdr.oem_revision == plat->oem_revision))