Lines Matching refs:hotkey_source_mask
2013 static u32 hotkey_source_mask; /* bit mask 0=ACPI,1=NVRAM */ variable
2026 #define hotkey_source_mask 0U macro
2113 hotkey_user_mask &= (hotkey_acpi_mask | hotkey_source_mask); in hotkey_mask_get()
2122 ~(hotkey_acpi_mask | hotkey_source_mask) & in hotkey_mask_warn_incomplete_mask()
2143 const u32 fwmask = mask & ~hotkey_source_mask; in hotkey_mask_set()
2199 rc = hotkey_mask_set((mask | hotkey_driver_mask) & ~hotkey_source_mask); in hotkey_user_mask_set()
2202 hotkey_user_mask = mask & (hotkey_acpi_mask | hotkey_source_mask); in hotkey_user_mask_set()
2227 hotkey_source_mask |= (mask & ~hotkey_all_mask); in tpacpi_hotkey_driver_mask_set()
2232 ~hotkey_source_mask); in tpacpi_hotkey_driver_mask_set()
2496 poll_mask = hotkey_source_mask; in hotkey_kthread()
2497 event_mask = hotkey_source_mask & in hotkey_kthread()
2524 poll_mask = hotkey_source_mask; in hotkey_kthread()
2525 event_mask = hotkey_source_mask & in hotkey_kthread()
2558 const u32 poll_driver_mask = hotkey_driver_mask & hotkey_source_mask; in hotkey_poll_setup()
2559 const u32 poll_user_mask = hotkey_user_mask & hotkey_source_mask; in hotkey_poll_setup()
2633 !(hotkey_source_mask & hotkey_driver_mask)) in hotkey_inputdev_close()
2738 hotkey_all_mask | hotkey_source_mask); in hotkey_all_mask_show()
2749 (hotkey_all_mask | hotkey_source_mask) in hotkey_recommended_mask_show()
2762 return snprintf(buf, PAGE_SIZE, "0x%08x\n", hotkey_source_mask); in hotkey_source_mask_show()
2781 hotkey_source_mask = t; in hotkey_source_mask_store() local
2785 ~hotkey_source_mask); in hotkey_source_mask_store()
2790 & ~hotkey_source_mask & TPACPI_HKEY_NVRAM_KNOWN_MASK; in hotkey_source_mask_store()
2808 static DEVICE_ATTR_RW(hotkey_source_mask);
3508 hotkey_source_mask = TPACPI_HKEY_NVRAM_GOOD_MASK in hotkey_init()
3514 hotkey_source_mask, hotkey_poll_freq); in hotkey_init()
3526 & ~hotkey_source_mask); in hotkey_init()
3531 hotkey_user_mask = (hotkey_acpi_mask | hotkey_source_mask) in hotkey_init()
3535 hotkey_user_mask, hotkey_acpi_mask, hotkey_source_mask); in hotkey_init()
3695 if (!(hotkey_source_mask & (1 << scancode))) { in hotkey_notify_hotkey()
4079 mask = (hotkey_all_mask | hotkey_source_mask) in hotkey_write()