Searched refs:hotkey_handle (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/platform/loongarch/ |
| H A D | loongson-laptop.c | 56 static acpi_handle hotkey_handle; variable 141 if (!acpi_evalf(hotkey_handle, status, "GSWS", "d")) in hotkey_status_get() 245 hotkey_handle = ACPI_HANDLE(&pdev->dev); in loongson_hotkey_probe() 247 if (!hotkey_handle) in loongson_hotkey_probe() 277 status = acpi_evaluate_object_typed(hotkey_handle, "KMAP", NULL, &buf, ACPI_TYPE_PACKAGE); in hotkey_map() 301 if (!acpi_evalf(hotkey_handle, NULL, "VCBL", "vd", enable ? 1 : 0)) in hotkey_backlight_set() 311 if (!hotkey_handle) in ec_get_brightness() 314 if (!acpi_evalf(hotkey_handle, &status, "ECBG", "d")) in ec_get_brightness() 325 if (!hotkey_handle) in ec_set_brightness() 328 if (!acpi_evalf(hotkey_handle, NULL, "ECBS", "vd", level)) in ec_set_brightness() [all …]
|