Lines Matching refs:match
52 char sig[ACPI_NAME_SIZE]; /* Table signature to match */
65 const struct acpi_q_rule *match;
74 const struct acpi_q_rule *match);
110 aq_match_header(ACPI_TABLE_HEADER *hdr, const struct acpi_q_rule *match)
115 switch (match->val) {
117 if (aq_strcmp(hdr->OemId, match->x.id) &&
118 aq_strcmp(hdr->OemTableId, match->y.tid))
122 if (aq_strcmp(hdr->AslCompilerId, match->x.id))
126 if (aq_revcmp(hdr->OemRevision, match->x.op, match->y.rev))
130 if (aq_revcmp(hdr->AslCompilerRevision, match->x.op, match->y.rev))
142 const struct acpi_q_rule *match;
158 for (entry = acpi_quirks_table; entry->match; entry++) {
160 for (match = entry->match; match->sig[0] != '\0'; match++) {
161 if (!strncmp(match->sig, "FADT", ACPI_NAME_SIZE))
163 else if (!strncmp(match->sig, ACPI_SIG_DSDT, ACPI_NAME_SIZE))
165 else if (!strncmp(match->sig, ACPI_SIG_XSDT, ACPI_NAME_SIZE))
170 /* If we don't match any, skip to the next entry. */
171 if (aq_match_header(hdr, match) == FALSE) {