Home
last modified time | relevance | path

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

/linux/drivers/acpi/
A Dutils.c791 s64 hrv; member
798 unsigned long long hrv; in acpi_dev_match_cb() local
808 if (match->hrv == -1) in acpi_dev_match_cb()
811 status = acpi_evaluate_integer(adev->handle, "_HRV", NULL, &hrv); in acpi_dev_match_cb()
815 return hrv == match->hrv; in acpi_dev_match_cb()
838 bool acpi_dev_present(const char *hid, const char *uid, s64 hrv) in acpi_dev_present() argument
845 match.hrv = hrv; in acpi_dev_present()
870 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
878 match.hrv = hrv; in acpi_dev_get_next_match_dev()
900 acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv) in acpi_dev_get_first_match_dev() argument
[all …]
A Ddevice_sysfs.c486 unsigned long long hrv; in hrv_show() local
488 status = acpi_evaluate_integer(acpi_dev->handle, "_HRV", NULL, &hrv); in hrv_show()
492 return sprintf(buf, "%llu\n", hrv); in hrv_show()
494 static DEVICE_ATTR_RO(hrv);
A Dac.c42 int hrv; member
355 acpi_ac_blacklist[i].hrv)) { in acpi_ac_init()
/linux/drivers/mfd/
A Dintel_soc_pmic_core.c37 unsigned long long hrv; in intel_soc_pmic_i2c_probe() local
45 status = acpi_evaluate_integer(ACPI_HANDLE(dev), "_HRV", NULL, &hrv); in intel_soc_pmic_i2c_probe()
51 switch (hrv) { in intel_soc_pmic_i2c_probe()
59 dev_warn(dev, "Unknown hardware rev %llu, assuming BYT\n", hrv); in intel_soc_pmic_i2c_probe()
A Dintel_soc_pmic_chtwc.c142 unsigned long long hrv; in cht_wc_probe() local
145 status = acpi_evaluate_integer(ACPI_HANDLE(dev), "_HRV", NULL, &hrv); in cht_wc_probe()
150 if (hrv != CHT_WC_HRV) { in cht_wc_probe()
151 dev_err(dev, "Invalid PMIC hardware revision: %llu\n", hrv); in cht_wc_probe()
A Dintel_soc_pmic_bxtwc.c429 unsigned long long hrv; in bxtwc_probe() local
433 status = acpi_evaluate_integer(handle, "_HRV", NULL, &hrv); in bxtwc_probe()
438 if (hrv != BROXTON_PMIC_WC_HRV) { in bxtwc_probe()
440 hrv); in bxtwc_probe()
/linux/drivers/net/ethernet/qualcomm/emac/
A Demac-sgmii.c308 unsigned long long hrv; in emac_sgmii_acpi_match() local
311 status = acpi_evaluate_integer(handle, "_HRV", NULL, &hrv); in emac_sgmii_acpi_match()
317 hrv = 1; in emac_sgmii_acpi_match()
323 switch (hrv) { in emac_sgmii_acpi_match()
/linux/include/acpi/
A Dacpi_bus.h80 bool acpi_dev_present(const char *hid, const char *uid, s64 hrv);
698 acpi_dev_get_next_match_dev(struct acpi_device *adev, const char *hid, const char *uid, s64 hrv);
700 acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv);
711 #define for_each_acpi_dev_match(adev, hid, uid, hrv) \ argument
712 for (adev = acpi_dev_get_first_match_dev(hid, uid, hrv); \
714 adev = acpi_dev_get_next_match_dev(adev, hid, uid, hrv))
/linux/Documentation/ABI/testing/
A Dsysfs-bus-acpi91 What: /sys/bus/acpi/devices/.../hrv
/linux/include/linux/
A Dacpi.h736 static inline bool acpi_dev_present(const char *hid, const char *uid, s64 hrv) in acpi_dev_present() argument
750 acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv) in acpi_dev_get_first_match_dev() argument

Completed in 22 milliseconds