Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/acpi/
Dutils.c853 s64 hrv; member
860 unsigned long long hrv; in acpi_dev_match_cb() local
870 if (match->hrv == -1) in acpi_dev_match_cb()
873 status = acpi_evaluate_integer(adev->handle, "_HRV", NULL, &hrv); in acpi_dev_match_cb()
877 return hrv == match->hrv; in acpi_dev_match_cb()
900 bool acpi_dev_present(const char *hid, const char *uid, s64 hrv) in acpi_dev_present() argument
907 match.hrv = hrv; in acpi_dev_present()
932 acpi_dev_get_next_match_dev(struct acpi_device *adev, const char *hid, const char *uid, s64 hrv) in acpi_dev_get_next_match_dev() argument
940 match.hrv = hrv; in acpi_dev_get_next_match_dev()
962 acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv) in acpi_dev_get_first_match_dev() argument
[all …]
Ddevice_sysfs.c489 unsigned long long hrv; in hrv_show() local
491 status = acpi_evaluate_integer(acpi_dev->handle, "_HRV", NULL, &hrv); in hrv_show()
495 return sprintf(buf, "%llu\n", hrv); in hrv_show()
497 static DEVICE_ATTR_RO(hrv);
/linux-6.6.21/drivers/mfd/
Dintel_soc_pmic_chtwc.c194 unsigned long long hrv; in cht_wc_probe() local
197 status = acpi_evaluate_integer(ACPI_HANDLE(dev), "_HRV", NULL, &hrv); in cht_wc_probe()
200 if (hrv != CHT_WC_HRV) in cht_wc_probe()
201 return dev_err_probe(dev, -ENODEV, "Invalid PMIC hardware revision: %llu\n", hrv); in cht_wc_probe()
Dintel_soc_pmic_bxtwc.c434 unsigned long long hrv; in bxtwc_probe() local
437 status = acpi_evaluate_integer(ACPI_HANDLE(dev), "_HRV", NULL, &hrv); in bxtwc_probe()
440 if (hrv != BROXTON_PMIC_WC_HRV) in bxtwc_probe()
441 return dev_err_probe(dev, -ENODEV, "Invalid PMIC hardware revision: %llu\n", hrv); in bxtwc_probe()
/linux-6.6.21/drivers/net/ethernet/qualcomm/emac/
Demac-sgmii.c310 unsigned long long hrv; in emac_sgmii_acpi_match() local
313 status = acpi_evaluate_integer(handle, "_HRV", NULL, &hrv); in emac_sgmii_acpi_match()
319 hrv = 1; in emac_sgmii_acpi_match()
325 switch (hrv) { in emac_sgmii_acpi_match()
/linux-6.6.21/include/acpi/
Dacpi_bus.h81 bool acpi_dev_present(const char *hid, const char *uid, s64 hrv);
784 acpi_dev_get_next_match_dev(struct acpi_device *adev, const char *hid, const char *uid, s64 hrv);
786 acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv);
797 #define for_each_acpi_dev_match(adev, hid, uid, hrv) \ argument
798 for (adev = acpi_dev_get_first_match_dev(hid, uid, hrv); \
800 adev = acpi_dev_get_next_match_dev(adev, hid, uid, hrv))
/linux-6.6.21/drivers/acpi/x86/
Dutils.c487 int hrv; member
511 acpi_skip_ac_and_battery_pmic_ids[i].hrv)) { in acpi_quirk_skip_acpi_ac_and_battery()
/linux-6.6.21/Documentation/devicetree/bindings/soc/imx/
Dfsl,imx8mp-hdmi-blk-ctrl.yaml60 - const: hrv
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-bus-acpi91 What: /sys/bus/acpi/devices/.../hrv
/linux-6.6.21/include/linux/
Dacpi.h783 static inline bool acpi_dev_present(const char *hid, const char *uid, s64 hrv) in acpi_dev_present() argument
802 acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv) in acpi_dev_get_first_match_dev() argument