Home
last modified time | relevance | path

Searched refs:idstr (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/acpi/
H A 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()
H A Dscan.c1779 const char *idstr, in acpi_scan_handler_matching()
1785 return handler->match(idstr, matchid); in acpi_scan_handler_matching()
1788 if (!strcmp((char *)devid->id, idstr)) { in acpi_scan_handler_matching()
1798 static struct acpi_scan_handler *acpi_scan_match_handler(const char *idstr, in acpi_scan_match_handler() argument
1804 if (acpi_scan_handler_matching(handler, idstr, matchid)) in acpi_scan_match_handler()
1778 acpi_scan_handler_matching(struct acpi_scan_handler *handler, const char *idstr, const struct acpi_device_id **matchid) acpi_scan_handler_matching() argument
/kernel/linux/linux-6.6/drivers/acpi/
H A Dacpi_pnp.c316 static bool matching_id(const char *idstr, const char *list_id) in matching_id() argument
320 if (strlen(idstr) != strlen(list_id)) in matching_id()
323 if (memcmp(idstr, list_id, 3)) in matching_id()
327 char c = toupper(idstr[i]); in matching_id()
336 static bool acpi_pnp_match(const char *idstr, const struct acpi_device_id **matchid) in acpi_pnp_match() argument
341 if (matching_id(idstr, (char *)devid->id)) { in acpi_pnp_match()
H A Dscan.c1918 const char *idstr, in acpi_scan_handler_matching()
1924 return handler->match(idstr, matchid); in acpi_scan_handler_matching()
1927 if (!strcmp((char *)devid->id, idstr)) { in acpi_scan_handler_matching()
1937 static struct acpi_scan_handler *acpi_scan_match_handler(const char *idstr, in acpi_scan_match_handler() argument
1943 if (acpi_scan_handler_matching(handler, idstr, matchid)) in acpi_scan_match_handler()
1917 acpi_scan_handler_matching(struct acpi_scan_handler *handler, const char *idstr, const struct acpi_device_id **matchid) acpi_scan_handler_matching() argument
/kernel/linux/linux-6.6/tools/perf/arch/arm64/util/
H A Dheader.c97 * Return 0 if idstr is a higher or equal to version of the same part as
99 * version of idstr will match as long as it's the same CPU type.
101 * Return 1 if the CPU type is different or the version of idstr is lower.
103 int strcmp_cpuid_str(const char *mapcpuid, const char *idstr) in strcmp_cpuid_str() argument
108 u64 id = strtoull(idstr, NULL, 16); in strcmp_cpuid_str()
/kernel/linux/linux-5.10/fs/nfsd/
H A Dnfs4idmap.c136 char idstr[11]; in idtoname_request() local
139 snprintf(idstr, sizeof(idstr), "%u", ent->id); in idtoname_request()
141 qword_add(bpp, blen, idstr); in idtoname_request()
/kernel/linux/linux-6.6/fs/nfsd/
H A Dnfs4idmap.c137 char idstr[11]; in idtoname_request() local
140 snprintf(idstr, sizeof(idstr), "%u", ent->id); in idtoname_request()
142 qword_add(bpp, blen, idstr); in idtoname_request()
/kernel/linux/linux-6.6/sound/usb/
H A Dmidi2.c711 char idstr[16]; in create_midi2_ump() local
723 snprintf(idstr, sizeof(idstr), "UMP %d", rmidi->index); in create_midi2_ump()
726 err = snd_ump_endpoint_new(umidi->chip->card, idstr, rmidi->index, in create_midi2_ump()
/kernel/linux/linux-5.10/tools/power/pm-graph/
H A Dbootgraph.py216 idstr = '' variable in Data
225 self.idstr = 'a'
238 devid = '%s%d' % (self.idstr, self.html_device_id)
H A Dsleepgraph.py1334 self.idstr = idchar[num]
1782 devid = '%s%d' % (self.idstr, self.html_device_id)
/kernel/linux/linux-6.6/tools/power/pm-graph/
H A Dbootgraph.py218 idstr = '' variable in Data
227 self.idstr = 'a'
240 devid = '%s%d' % (self.idstr, self.html_device_id)
H A Dsleepgraph.py1514 self.idstr = idchar[num]
1978 devid = '%s%d' % (self.idstr, self.html_device_id)
/kernel/linux/linux-5.10/include/acpi/
H A Dacpi_bus.h125 bool (*match)(const char *idstr, const struct acpi_device_id **matchid);
/kernel/linux/linux-6.6/include/acpi/
H A Dacpi_bus.h127 bool (*match)(const char *idstr, const struct acpi_device_id **matchid);
/kernel/linux/linux-5.10/drivers/nvme/host/
H A Dcore.c2727 /* match is null-terminated but idstr is space-padded. */
2728 static bool string_matches(const char *idstr, const char *match, size_t len) in string_matches() argument
2738 if (memcmp(idstr, match, matchlen)) in string_matches()
2742 if (idstr[matchlen] != ' ') in string_matches()
/kernel/linux/linux-6.6/drivers/nvme/host/
H A Dcore.c2614 /* match is null-terminated but idstr is space-padded. */
2615 static bool string_matches(const char *idstr, const char *match, size_t len) in string_matches() argument
2625 if (memcmp(idstr, match, matchlen)) in string_matches()
2629 if (idstr[matchlen] != ' ') in string_matches()

Completed in 43 milliseconds