Home
last modified time | relevance | path

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

/freebsd/sys/dev/acpi_support/
H A Dacpi_ibm.c721 UINT64 val_ec; in acpi_ibm_sysctl_get() local
775 ACPI_EC_READ(sc->ec_dev, IBM_EC_BRIGHTNESS, &val_ec, 1); in acpi_ibm_sysctl_get()
776 val = val_ec & IBM_EC_MASK_BRI; in acpi_ibm_sysctl_get()
780 ACPI_EC_READ(sc->ec_dev, IBM_EC_VOLUME, &val_ec, 1); in acpi_ibm_sysctl_get()
781 val = val_ec & IBM_EC_MASK_VOL; in acpi_ibm_sysctl_get()
785 ACPI_EC_READ(sc->ec_dev, IBM_EC_VOLUME, &val_ec, 1); in acpi_ibm_sysctl_get()
786 val = ((val_ec & IBM_EC_MASK_MUTE) == IBM_EC_MASK_MUTE); in acpi_ibm_sysctl_get()
813 ACPI_EC_READ(sc->ec_dev, IBM_EC_FANSPEED, &val_ec, 2); in acpi_ibm_sysctl_get()
814 val = val_ec; in acpi_ibm_sysctl_get()
829 ACPI_EC_READ(sc->ec_dev, IBM_EC_FANSTATUS, &val_ec, 1); in acpi_ibm_sysctl_get()
[all …]