Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/platform/loongarch/
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()
/linux-6.12.1/drivers/platform/x86/
Dthinkpad_acpi.c611 static int acpi_evalf(acpi_handle handle, in acpi_evalf() function
697 if (!acpi_evalf(ecrd_handle, &v, NULL, "dd", i)) in acpi_ec_read()
711 if (!acpi_evalf(ecwr_handle, NULL, NULL, "vdd", i, v)) in acpi_ec_write()
726 if (!acpi_evalf(cmos_handle, NULL, NULL, "vd", cmos_cmd)) in issue_thinkpad_cmos_command()
1033 if (acpi_evalf(hkey_handle, NULL, "PWMS", "qvd", 0)) in tpacpi_disable_brightness_delay()
1963 if (!acpi_evalf(hkey_handle, &status, "WLSW", "d")) in hotkey_get_wlsw()
2057 if (!acpi_evalf(hkey_handle, &s, "MHKG", "d")) in hotkey_get_tablet_mode()
2063 if (!acpi_evalf(hkey_handle, &s, "GMMS", "dd", 0)) in hotkey_get_tablet_mode()
2088 if (!acpi_evalf(hkey_handle, &m, "DHKN", "d")) in hotkey_mask_get()
2132 if (!acpi_evalf(hkey_handle, in hotkey_mask_set()
[all …]