Lines Matching full:match
49 char sig[ACPI_NAMESEG_SIZE]; /* Table signature to match */
62 const struct acpi_q_rule *match; member
71 const struct acpi_q_rule *match);
107 aq_match_header(ACPI_TABLE_HEADER *hdr, const struct acpi_q_rule *match) in aq_match_header() argument
112 switch (match->val) { in aq_match_header()
114 if (aq_strcmp(hdr->OemId, match->x.id) && in aq_match_header()
115 aq_strcmp(hdr->OemTableId, match->y.tid)) in aq_match_header()
119 if (aq_strcmp(hdr->AslCompilerId, match->x.id)) in aq_match_header()
123 if (aq_revcmp(hdr->OemRevision, match->x.op, match->y.rev)) in aq_match_header()
127 if (aq_revcmp(hdr->AslCompilerRevision, match->x.op, match->y.rev)) in aq_match_header()
139 const struct acpi_q_rule *match; in acpi_table_quirks() local
155 for (entry = acpi_quirks_table; entry->match; entry++) { in acpi_table_quirks()
157 for (match = entry->match; match->sig[0] != '\0'; match++) { in acpi_table_quirks()
158 if (!strncmp(match->sig, "FADT", ACPI_NAMESEG_SIZE)) in acpi_table_quirks()
160 else if (!strncmp(match->sig, ACPI_SIG_DSDT, ACPI_NAMESEG_SIZE)) in acpi_table_quirks()
162 else if (!strncmp(match->sig, ACPI_SIG_XSDT, ACPI_NAMESEG_SIZE)) in acpi_table_quirks()
167 /* If we don't match any, skip to the next entry. */ in acpi_table_quirks()
168 if (aq_match_header(hdr, match) == FALSE) { in acpi_table_quirks()