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 142 if (!acpi_evalf(hotkey_handle, status, "GSWS", "d")) in hotkey_status_get() 246 hotkey_handle = ACPI_HANDLE(&pdev->dev); in loongson_hotkey_probe() 248 if (!hotkey_handle) in loongson_hotkey_probe() 278 status = acpi_evaluate_object_typed(hotkey_handle, "KMAP", NULL, &buf, ACPI_TYPE_PACKAGE); in hotkey_map() 302 if (!acpi_evalf(hotkey_handle, NULL, "VCBL", "vd", enable ? 1 : 0)) in hotkey_backlight_set() 312 if (!hotkey_handle) in ec_get_brightness() 315 if (!acpi_evalf(hotkey_handle, &status, "ECBG", "d")) in ec_get_brightness() 326 if (!hotkey_handle) in ec_set_brightness() 329 if (!acpi_evalf(hotkey_handle, NULL, "ECBS", "vd", level)) in ec_set_brightness() [all …]
|