Ejemplo n.º 1
0
static inline int get_decf(int *value)
{
	return lensl_acpi_int_func(ec0_handle, "DECF", value, 0);
}
Ejemplo n.º 2
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);
}
Ejemplo n.º 3
0
static inline int set_tvls(int code)
{
	return lensl_acpi_int_func(hkey_handle, "TVLS", NULL, 1, code);
}
Ejemplo n.º 4
0
static inline int get_tach(int *value, int fan)
{
	return lensl_acpi_int_func(ec0_handle, "TACH", value, 1, fan);
}
Ejemplo n.º 5
0
static inline int set_bcm(int level)
{
	/* standard behavior */
	return lensl_acpi_int_func(lcdd_handle, "_BCM", NULL, 1, level);
}
Ejemplo n.º 6
0
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);
}
Ejemplo n.º 7
0
static inline int get_gbdc(int *value)
{
	return lensl_acpi_int_func(hkey_handle, "GBDC", value, 0);
}
Ejemplo n.º 8
0
static inline int set_sbdc(int value)
{
	return lensl_acpi_int_func(hkey_handle, "SBDC", NULL, 1, value);
}
Ejemplo n.º 9
0
static inline int get_wlsw(int *value)
{
	return lensl_acpi_int_func(hkey_handle, "WLSW", value, 0);
}
Ejemplo n.º 10
0
static inline int set_suwb(int value)
{
	return lensl_acpi_int_func(hkey_handle, "SUWB", NULL, 1, value);
}
Ejemplo n.º 11
0
static inline int set_swan(int value)
{
	return lensl_acpi_int_func(hkey_handle, "SWAN", NULL, 1, value);
}
Ejemplo n.º 12
0
static inline int get_guwb(int *value)
{
	return lensl_acpi_int_func(hkey_handle, "GUWB", value, 0);
}
Ejemplo n.º 13
0
static inline int get_gwan(int *value)
{
	return lensl_acpi_int_func(hkey_handle, "GWAN", value, 0);
}