Home
last modified time | relevance | path

Searched refs:idstr (Results 1 – 3 of 3) sorted by relevance

/drivers/acpi/
Dacpi_pnp.c316 static bool matching_id(const char *idstr, const char *list_id) in matching_id() argument
320 if (memcmp(idstr, list_id, 3)) in matching_id()
324 char c = toupper(idstr[i]); in matching_id()
333 static bool acpi_pnp_match(const char *idstr, const struct acpi_device_id **matchid) in acpi_pnp_match() argument
338 if (matching_id(idstr, (char *)devid->id)) { in acpi_pnp_match()
Dscan.c1735 const char *idstr, in acpi_scan_handler_matching() argument
1741 return handler->match(idstr, matchid); in acpi_scan_handler_matching()
1744 if (!strcmp((char *)devid->id, idstr)) { in acpi_scan_handler_matching()
1754 static struct acpi_scan_handler *acpi_scan_match_handler(const char *idstr, in acpi_scan_match_handler() argument
1760 if (acpi_scan_handler_matching(handler, idstr, matchid)) in acpi_scan_match_handler()
/drivers/nvme/host/
Dcore.c2419 static bool string_matches(const char *idstr, const char *match, size_t len) in string_matches() argument
2429 if (memcmp(idstr, match, matchlen)) in string_matches()
2433 if (idstr[matchlen] != ' ') in string_matches()