Home
last modified time | relevance | path

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

/linux/include/acpi/
H A Dacpi_bus.h883 static inline bool acpi_str_uid_match(struct acpi_device *adev, const char *uid2) in acpi_str_uid_match() argument
887 return uid1 && uid2 && !strcmp(uid1, uid2); in acpi_str_uid_match()
890 static inline bool acpi_int_uid_match(struct acpi_device *adev, u64 uid2) in acpi_int_uid_match() argument
894 return !acpi_dev_uid_to_integer(adev, &uid1) && uid1 == uid2; in acpi_int_uid_match()
916 #define acpi_dev_uid_match(adev, uid2) \ argument
917 _Generic(uid2, \
921 default: acpi_int_uid_match)(adev, uid2)
935 #define acpi_dev_hid_uid_match(adev, hid2, uid2) \ argument
938 (_Generic(uid2, ACPI_STR_TYPES(!(uid2)), default: 0) || \
939 acpi_dev_uid_match(adev, uid2)))