static inline int get_decf(int *value) { return lensl_acpi_int_func(ec0_handle, "DECF", value, 0); }
/* speed must be in range 0 .. 255 */ static inline int set_sfnv(int action, int speed) { return lensl_acpi_int_func(ec0_handle, "SFNV", NULL, 2, action, speed); }
static inline int set_tvls(int code) { return lensl_acpi_int_func(hkey_handle, "TVLS", NULL, 1, code); }
static inline int get_tach(int *value, int fan) { return lensl_acpi_int_func(ec0_handle, "TACH", value, 1, fan); }
static inline int set_bcm(int level) { /* standard behavior */ return lensl_acpi_int_func(lcdd_handle, "_BCM", NULL, 1, level); }
static inline int get_bqc(int *level) { /* returns an index from the bottom into the _BCL package (non-standard behavior) */ return lensl_acpi_int_func(lcdd_handle, "_BQC", level, 0); }
static inline int get_gbdc(int *value) { return lensl_acpi_int_func(hkey_handle, "GBDC", value, 0); }
static inline int set_sbdc(int value) { return lensl_acpi_int_func(hkey_handle, "SBDC", NULL, 1, value); }
static inline int get_wlsw(int *value) { return lensl_acpi_int_func(hkey_handle, "WLSW", value, 0); }
static inline int set_suwb(int value) { return lensl_acpi_int_func(hkey_handle, "SUWB", NULL, 1, value); }
static inline int set_swan(int value) { return lensl_acpi_int_func(hkey_handle, "SWAN", NULL, 1, value); }
static inline int get_guwb(int *value) { return lensl_acpi_int_func(hkey_handle, "GUWB", value, 0); }
static inline int get_gwan(int *value) { return lensl_acpi_int_func(hkey_handle, "GWAN", value, 0); }