Home
last modified time | relevance | path

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

/drivers/acpi/
Dacpi_pnp.c318 static bool matching_id(const char *idstr, const char *list_id) in matching_id() argument
322 if (strlen(idstr) != strlen(list_id)) in matching_id()
325 if (memcmp(idstr, list_id, 3)) in matching_id()
329 char c = toupper(idstr[i]); in matching_id()
338 static bool acpi_pnp_match(const char *idstr, const struct acpi_device_id **matchid) in acpi_pnp_match() argument
343 if (matching_id(idstr, (char *)devid->id)) { in acpi_pnp_match()
Dscan.c1885 const char *idstr, in acpi_scan_handler_matching() argument
1891 return handler->match(idstr, matchid); in acpi_scan_handler_matching()
1894 if (!strcmp((char *)devid->id, idstr)) { in acpi_scan_handler_matching()
1904 static struct acpi_scan_handler *acpi_scan_match_handler(const char *idstr, in acpi_scan_match_handler() argument
1910 if (acpi_scan_handler_matching(handler, idstr, matchid)) in acpi_scan_match_handler()
/drivers/nvme/host/
Dcore.c2567 static bool string_matches(const char *idstr, const char *match, size_t len) in string_matches() argument
2577 if (memcmp(idstr, match, matchlen)) in string_matches()
2581 if (idstr[matchlen] != ' ') in string_matches()