/openbmc/linux/drivers/acpi/ |
H A D | utils.c | 853 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 …]
|
H A D | device_sysfs.c | 489 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);
|
/openbmc/linux/drivers/mfd/ |
H A D | intel_soc_pmic_chtwc.c | 193 unsigned long long hrv; in cht_wc_probe() local 196 status = acpi_evaluate_integer(ACPI_HANDLE(dev), "_HRV", NULL, &hrv); in cht_wc_probe() 199 if (hrv != CHT_WC_HRV) in cht_wc_probe() 200 return dev_err_probe(dev, -ENODEV, "Invalid PMIC hardware revision: %llu\n", hrv); in cht_wc_probe()
|
H A D | intel_soc_pmic_bxtwc.c | 434 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()
|
/openbmc/linux/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-sgmii.c | 310 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()
|
/openbmc/linux/include/acpi/ |
H A D | acpi_bus.h | 81 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))
|
/openbmc/linux/drivers/acpi/x86/ |
H A D | utils.c | 499 int hrv; member 523 acpi_skip_ac_and_battery_pmic_ids[i].hrv)) { in acpi_quirk_skip_acpi_ac_and_battery()
|
/openbmc/linux/Documentation/devicetree/bindings/soc/imx/ |
H A D | fsl,imx8mp-hdmi-blk-ctrl.yaml | 60 - const: hrv
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-acpi | 91 What: /sys/bus/acpi/devices/.../hrv
|
/openbmc/linux/include/linux/ |
H A D | acpi.h | 783 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
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mp.dtsi | 1879 "hdcp", "hrv";
|