Lines Matching refs:match
736 const struct acpi_dev_match_info *match = data; in acpi_dev_match_cb() local
740 if (acpi_match_device_ids(adev, match->hid)) in acpi_dev_match_cb()
743 if (match->uid && (!adev->pnp.unique_id || in acpi_dev_match_cb()
744 strcmp(adev->pnp.unique_id, match->uid))) in acpi_dev_match_cb()
747 if (match->hrv == -1) in acpi_dev_match_cb()
754 return hrv == match->hrv; in acpi_dev_match_cb()
779 struct acpi_dev_match_info match = {}; in acpi_dev_present() local
782 strlcpy(match.hid[0].id, hid, sizeof(match.hid[0].id)); in acpi_dev_present()
783 match.uid = uid; in acpi_dev_present()
784 match.hrv = hrv; in acpi_dev_present()
786 dev = bus_find_device(&acpi_bus_type, NULL, &match, acpi_dev_match_cb); in acpi_dev_present()
808 struct acpi_dev_match_info match = {}; in acpi_dev_get_first_match_dev() local
811 strlcpy(match.hid[0].id, hid, sizeof(match.hid[0].id)); in acpi_dev_get_first_match_dev()
812 match.uid = uid; in acpi_dev_get_first_match_dev()
813 match.hrv = hrv; in acpi_dev_get_first_match_dev()
815 dev = bus_find_device(&acpi_bus_type, NULL, &match, acpi_dev_match_cb); in acpi_dev_get_first_match_dev()