/kernel/linux/linux-5.10/drivers/platform/loongarch/ |
H A D | loongson-laptop.c | 73 static int acpi_evalf(acpi_handle handle, int *res, char *method, char *fmt, ...) in acpi_evalf() function 85 pr_err("acpi_evalf() called with empty format\n"); in acpi_evalf() 110 pr_err("acpi_evalf() called with invalid format character '%c'\n", c); in acpi_evalf() 137 pr_err("acpi_evalf() called with invalid format character '%c'\n", res_type); in acpi_evalf() 142 pr_err("acpi_evalf(%s, %s, ...) failed: %s\n", in acpi_evalf() 150 if (!acpi_evalf(hotkey_handle, status, "GSWS", "d")) in hotkey_status_get() 313 if (!acpi_evalf(hotkey_handle, NULL, "VCBL", "vd", enable ? 1 : 0)) in hotkey_backlight_set() 326 if (!acpi_evalf(hotkey_handle, &status, "ECBG", "d")) in ec_get_brightness() 340 if (!acpi_evalf(hotkey_handle, NULL, "ECBS", "vd", level)) in ec_set_brightness() 353 if (!acpi_evalf(hotkey_handl in ec_backlight_level() [all...] |
/kernel/linux/linux-6.6/drivers/platform/loongarch/ |
H A D | loongson-laptop.c | 65 static int acpi_evalf(acpi_handle handle, int *res, char *method, char *fmt, ...) in acpi_evalf() function 77 pr_err("acpi_evalf() called with empty format\n"); in acpi_evalf() 102 pr_err("acpi_evalf() called with invalid format character '%c'\n", c); in acpi_evalf() 129 pr_err("acpi_evalf() called with invalid format character '%c'\n", res_type); in acpi_evalf() 134 pr_err("acpi_evalf(%s, %s, ...) failed: %s\n", in acpi_evalf() 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_handl in ec_backlight_level() [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 588 static int acpi_evalf(acpi_handle handle, in acpi_evalf() function 603 pr_err("acpi_evalf() called with empty format\n"); in acpi_evalf() 628 pr_err("acpi_evalf() called with invalid format character '%c'\n", in acpi_evalf() 657 pr_err("acpi_evalf() called with invalid format character '%c'\n", in acpi_evalf() 663 pr_err("acpi_evalf(%s, %s, ...) failed: %s\n", in acpi_evalf() 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_handl in hotkey_get_wlsw() [all...] |
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 566 static int acpi_evalf(acpi_handle handle, in acpi_evalf() function 581 pr_err("acpi_evalf() called with empty format\n"); in acpi_evalf() 606 pr_err("acpi_evalf() called with invalid format character '%c'\n", in acpi_evalf() 635 pr_err("acpi_evalf() called with invalid format character '%c'\n", in acpi_evalf() 641 pr_err("acpi_evalf(%s, %s, ...) failed: %s\n", in acpi_evalf() 652 if (!acpi_evalf(ecrd_handle, &v, NULL, "dd", i)) in acpi_ec_read() 666 if (!acpi_evalf(ecwr_handle, NULL, NULL, "vdd", i, v)) in acpi_ec_write() 681 if (!acpi_evalf(cmos_handle, NULL, NULL, "vd", cmos_cmd)) in issue_thinkpad_cmos_command() 1084 if (acpi_evalf(hkey_handle, NULL, "PWMS", "qvd", 0)) in tpacpi_disable_brightness_delay() 2072 if (!acpi_evalf(hkey_handl in hotkey_get_wlsw() [all...] |