Searched refs:hrv (Results 1 - 8 of 8) sorted by relevance

/linux-master/drivers/mfd/
H A Dintel_soc_pmic_chtwc.c194 unsigned long long hrv; local
197 status = acpi_evaluate_integer(ACPI_HANDLE(dev), "_HRV", NULL, &hrv);
200 if (hrv != CHT_WC_HRV)
201 return dev_err_probe(dev, -ENODEV, "Invalid PMIC hardware revision: %llu\n", hrv);
H A Dintel_soc_pmic_bxtwc.c434 unsigned long long hrv; local
437 status = acpi_evaluate_integer(ACPI_HANDLE(dev), "_HRV", NULL, &hrv);
440 if (hrv != BROXTON_PMIC_WC_HRV)
441 return dev_err_probe(dev, -ENODEV, "Invalid PMIC hardware revision: %llu\n", hrv);
/linux-master/drivers/acpi/
H A Dutils.c900 s64 hrv; member in struct:acpi_dev_match_info
907 unsigned long long hrv; local
916 if (match->hrv == -1)
919 status = acpi_evaluate_integer(adev->handle, "_HRV", NULL, &hrv);
923 return hrv == match->hrv;
930 * @hrv: Hardware Revision of the device, pass -1 to not check _HRV
946 bool acpi_dev_present(const char *hid, const char *uid, s64 hrv) argument
953 match.hrv = hrv;
978 acpi_dev_get_next_match_dev(struct acpi_device *adev, const char *hid, const char *uid, s64 hrv) argument
1008 acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv) argument
[all...]
H A Ddevice_sysfs.c485 unsigned long long hrv; local
487 status = acpi_evaluate_integer(acpi_dev->handle, "_HRV", NULL, &hrv);
491 return sprintf(buf, "%llu\n", hrv);
493 static DEVICE_ATTR_RO(hrv);
/linux-master/drivers/net/ethernet/qualcomm/emac/
H A Demac-sgmii.c310 unsigned long long hrv; local
313 status = acpi_evaluate_integer(handle, "_HRV", NULL, &hrv);
319 hrv = 1;
325 switch (hrv) {
/linux-master/drivers/acpi/x86/
H A Dutils.c516 int hrv; member in struct:__anon49
540 acpi_skip_ac_and_battery_pmic_ids[i].hrv)) {
/linux-master/include/acpi/
H A Dacpi_bus.h83 bool acpi_dev_present(const char *hid, const char *uid, s64 hrv);
945 acpi_dev_get_next_match_dev(struct acpi_device *adev, const char *hid, const char *uid, s64 hrv);
947 acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv);
954 * @hrv: Hardware Revision of the device, pass -1 to not check _HRV
958 #define for_each_acpi_dev_match(adev, hid, uid, hrv) \
959 for (adev = acpi_dev_get_first_match_dev(hid, uid, hrv); \
961 adev = acpi_dev_get_next_match_dev(adev, hid, uid, hrv))
/linux-master/include/linux/
H A Dacpi.h790 static inline bool acpi_dev_present(const char *hid, const char *uid, s64 hrv) argument
803 acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv) argument

Completed in 136 milliseconds