Lines Matching defs:adev
727 * @adev: ACPI device to match.
731 * Matches HID and UID in @adev with given @hid2 and @uid2.
734 bool acpi_dev_hid_uid_match(struct acpi_device *adev,
737 const char *hid1 = acpi_device_hid(adev);
738 const char *uid1 = acpi_device_uid(adev);
788 struct acpi_device *adev = to_acpi_device(dev);
793 if (acpi_match_device_ids(adev, match->hid))
796 if (match->uid && (!adev->pnp.unique_id ||
797 strcmp(adev->pnp.unique_id, match->uid)))
803 status = acpi_evaluate_integer(adev->handle, "_HRV", NULL, &hrv);