Searched refs:acpi_evalf (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/platform/x86/lenovo/ |
| H A D | thinkpad_acpi.c | 612 static int acpi_evalf(acpi_handle handle, in acpi_evalf() function 698 if (!acpi_evalf(ecrd_handle, &v, NULL, "dd", i)) in acpi_ec_read() 712 if (!acpi_evalf(ecwr_handle, NULL, NULL, "vdd", i, v)) in acpi_ec_write() 727 if (!acpi_evalf(cmos_handle, NULL, NULL, "vd", cmos_cmd)) in issue_thinkpad_cmos_command() 1035 if (acpi_evalf(hkey_handle, NULL, "PWMS", "qvd", 0)) in tpacpi_disable_brightness_delay() 1965 if (!acpi_evalf(hkey_handle, &status, "WLSW", "d")) in hotkey_get_wlsw() 2059 if (!acpi_evalf(hkey_handle, &s, "MHKG", "d")) in hotkey_get_tablet_mode() 2065 if (!acpi_evalf(hkey_handle, &s, "GMMS", "dd", 0)) in hotkey_get_tablet_mode() 2090 if (!acpi_evalf(hkey_handle, &m, "DHKN", "d")) in hotkey_mask_get() 2134 if (!acpi_evalf(hkey_handle, in hotkey_mask_set() [all …]
|
| /linux/drivers/platform/loongarch/ |
| H A D | loongson-laptop.c | 64 static int acpi_evalf(acpi_handle handle, int *res, char *method, char *fmt, ...) in acpi_evalf() function 141 if (!acpi_evalf(hotkey_handle, status, "GSWS", "d")) in hotkey_status_get() 301 if (!acpi_evalf(hotkey_handle, NULL, "VCBL", "vd", enable ? 1 : 0)) in hotkey_backlight_set() 314 if (!acpi_evalf(hotkey_handle, &status, "ECBG", "d")) in ec_get_brightness() 328 if (!acpi_evalf(hotkey_handle, NULL, "ECBS", "vd", level)) in ec_set_brightness() 341 if (!acpi_evalf(hotkey_handle, &status, "ECLL", "d")) in ec_backlight_level() 347 if (!acpi_evalf(hotkey_handle, &status, "ECSL", "d")) in ec_backlight_level() 417 if (!acpi_evalf(hotkey_handle, &status, "ECLL", "d")) in laptop_backlight_register() 603 if (acpi_evalf(hotkey_handle, &status, "ECBG", "d")) { in generic_acpi_laptop_init()
|