Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/loongarch/
H A Dloongson-laptop.c65 static int acpi_evalf(acpi_handle handle, int *res, char *method, char *fmt, ...) in acpi_evalf() function
142 if (!acpi_evalf(hotkey_handle, status, "GSWS", "d")) in hotkey_status_get()
302 if (!acpi_evalf(hotkey_handle, NULL, "VCBL", "vd", enable ? 1 : 0)) in hotkey_backlight_set()
315 if (!acpi_evalf(hotkey_handle, &status, "ECBG", "d")) in ec_get_brightness()
329 if (!acpi_evalf(hotkey_handle, NULL, "ECBS", "vd", level)) in ec_set_brightness()
342 if (!acpi_evalf(hotkey_handle, &status, "ECLL", "d")) in ec_backlight_level()
348 if (!acpi_evalf(hotkey_handle, &status, "ECSL", "d")) in ec_backlight_level()
392 if (!acpi_evalf(hotkey_handle, &status, "ECLL", "d")) in laptop_backlight_register()
602 if (acpi_evalf(hotkey_handle, &status, "ECBG", "d")) { in generic_acpi_laptop_init()
/openbmc/linux/drivers/platform/x86/
H A Dthinkpad_acpi.c588 static int acpi_evalf(acpi_handle handle, in acpi_evalf() function
2115 if (!acpi_evalf(hkey_handle, in hotkey_mask_set()
4361 if (!acpi_evalf(NULL, NULL, "\\BLTH", "vd", in bluetooth_shutdown()
4909 if (!acpi_evalf(NULL, &i, "\\VCDL", "d")) in video_outputsw_get()
4913 if (!acpi_evalf(NULL, &i, "\\VCDC", "d")) in video_outputsw_get()
4920 !acpi_evalf(NULL, &i, "\\VCDC", "d")) in video_outputsw_get()
4926 !acpi_evalf(NULL, &i, "\\VCDL", "d")) in video_outputsw_get()
4930 if (!acpi_evalf(NULL, &i, "\\VCDD", "d")) in video_outputsw_get()
4949 res = acpi_evalf(NULL, NULL, in video_outputsw_set()
4962 res = acpi_evalf(vid_handle, NULL, in video_outputsw_set()
[all …]