Lines Matching refs:hkey
586 TPACPI_HANDLE(hkey, ec, "\\_SB.HKEY", /* 600e/x, 770e, 770x */
3384 TPACPI_ACPIHANDLE_INIT(hkey); in hotkey_init()
3734 static bool hotkey_notify_extended_hotkey(const u32 hkey) in hotkey_notify_extended_hotkey() argument
3738 switch (hkey) { in hotkey_notify_extended_hotkey()
3741 tpacpi_driver_event(hkey); in hotkey_notify_extended_hotkey()
3749 scancode = (hkey & 0xfff) - (0x300 - TP_ACPI_HOTKEYSCAN_EXTENDED_START); in hotkey_notify_extended_hotkey()
3759 static bool hotkey_notify_hotkey(const u32 hkey, in hotkey_notify_hotkey() argument
3764 unsigned int scancode = hkey & 0xfff; in hotkey_notify_hotkey()
3773 switch ((hkey >> 8) & 0xf) { in hotkey_notify_hotkey()
3793 return hotkey_notify_extended_hotkey(hkey); in hotkey_notify_hotkey()
3799 static bool hotkey_notify_wakeup(const u32 hkey, in hotkey_notify_wakeup() argument
3807 switch (hkey) { in hotkey_notify_wakeup()
3839 static bool hotkey_notify_dockevent(const u32 hkey, in hotkey_notify_dockevent() argument
3847 switch (hkey) { in hotkey_notify_dockevent()
3884 static bool hotkey_notify_usrevent(const u32 hkey, in hotkey_notify_usrevent() argument
3892 switch (hkey) { in hotkey_notify_usrevent()
3919 static bool hotkey_notify_6xxx(const u32 hkey, in hotkey_notify_6xxx() argument
3927 switch (hkey) { in hotkey_notify_6xxx()
3936 tpacpi_driver_event(hkey); in hotkey_notify_6xxx()
4005 u32 hkey; in hotkey_notify() local
4021 if (!acpi_evalf(hkey_handle, &hkey, "MHKP", "d")) { in hotkey_notify()
4026 if (hkey == 0) { in hotkey_notify()
4034 switch (hkey >> 12) { in hotkey_notify()
4037 known_ev = hotkey_notify_hotkey(hkey, &send_acpi_ev, in hotkey_notify()
4042 known_ev = hotkey_notify_wakeup(hkey, &send_acpi_ev, in hotkey_notify()
4047 switch (hkey) { in hotkey_notify()
4064 known_ev = hotkey_notify_dockevent(hkey, &send_acpi_ev, in hotkey_notify()
4069 known_ev = hotkey_notify_usrevent(hkey, &send_acpi_ev, in hotkey_notify()
4075 known_ev = hotkey_notify_6xxx(hkey, &send_acpi_ev, in hotkey_notify()
4081 hkey == TP_HKEY_EV_RFKILL_CHANGED) { in hotkey_notify()
4092 pr_notice("unhandled HKEY event 0x%04x\n", hkey); in hotkey_notify()
4102 event, hkey); in hotkey_notify()
4581 TPACPI_ACPIHANDLE_INIT(hkey); in bluetooth_init()
4762 TPACPI_ACPIHANDLE_INIT(hkey); in wan_init()
4890 TPACPI_ACPIHANDLE_INIT(hkey); in uwb_init()
5411 TPACPI_ACPIHANDLE_INIT(hkey); in kbdlight_init()