Lines Matching refs:match
789 const struct acpi_dev_match_info *match = data; in acpi_dev_match_cb() local
793 if (acpi_match_device_ids(adev, match->hid)) in acpi_dev_match_cb()
796 if (match->uid && (!adev->pnp.unique_id || in acpi_dev_match_cb()
797 strcmp(adev->pnp.unique_id, match->uid))) in acpi_dev_match_cb()
800 if (match->hrv == -1) in acpi_dev_match_cb()
807 return hrv == match->hrv; in acpi_dev_match_cb()
832 struct acpi_dev_match_info match = {}; in acpi_dev_present() local
835 strlcpy(match.hid[0].id, hid, sizeof(match.hid[0].id)); in acpi_dev_present()
836 match.uid = uid; in acpi_dev_present()
837 match.hrv = hrv; in acpi_dev_present()
839 dev = bus_find_device(&acpi_bus_type, NULL, &match, acpi_dev_match_cb); in acpi_dev_present()
861 struct acpi_dev_match_info match = {}; in acpi_dev_get_first_match_dev() local
864 strlcpy(match.hid[0].id, hid, sizeof(match.hid[0].id)); in acpi_dev_get_first_match_dev()
865 match.uid = uid; in acpi_dev_get_first_match_dev()
866 match.hrv = hrv; in acpi_dev_get_first_match_dev()
868 dev = bus_find_device(&acpi_bus_type, NULL, &match, acpi_dev_match_cb); in acpi_dev_get_first_match_dev()