Searched refs:acpi_evalf (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/platform/loongarch/ |
D | loongson-laptop.c | 65 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-v6.6/drivers/platform/x86/ |
D | thinkpad_acpi.c | 588 static int acpi_evalf(acpi_handle handle, in acpi_evalf() function 674 if (!acpi_evalf(ecrd_handle, &v, NULL, "dd", i)) in acpi_ec_read() 688 if (!acpi_evalf(ecwr_handle, NULL, NULL, "vdd", i, v)) in acpi_ec_write() 703 if (!acpi_evalf(cmos_handle, NULL, NULL, "vd", cmos_cmd)) in issue_thinkpad_cmos_command() 1010 if (acpi_evalf(hkey_handle, NULL, "PWMS", "qvd", 0)) in tpacpi_disable_brightness_delay() 1946 if (!acpi_evalf(hkey_handle, &status, "WLSW", "d")) in hotkey_get_wlsw() 2040 if (!acpi_evalf(hkey_handle, &s, "MHKG", "d")) in hotkey_get_tablet_mode() 2046 if (!acpi_evalf(hkey_handle, &s, "GMMS", "dd", 0)) in hotkey_get_tablet_mode() 2071 if (!acpi_evalf(hkey_handle, &m, "DHKN", "d")) in hotkey_mask_get() 2115 if (!acpi_evalf(hkey_handle, in hotkey_mask_set() [all …]
|