Lines Matching refs:hotkey_source_mask
2012 static u32 hotkey_source_mask; /* bit mask 0=ACPI,1=NVRAM */ variable
2025 #define hotkey_source_mask 0U macro
2230 hotkey_user_mask &= (hotkey_acpi_mask | hotkey_source_mask); in hotkey_mask_get()
2239 ~(hotkey_acpi_mask | hotkey_source_mask) & in hotkey_mask_warn_incomplete_mask()
2260 const u32 fwmask = mask & ~hotkey_source_mask; in hotkey_mask_set()
2313 rc = hotkey_mask_set((mask | hotkey_driver_mask) & ~hotkey_source_mask); in hotkey_user_mask_set()
2316 hotkey_user_mask = mask & (hotkey_acpi_mask | hotkey_source_mask); in hotkey_user_mask_set()
2341 hotkey_source_mask |= (mask & ~hotkey_all_mask); in tpacpi_hotkey_driver_mask_set()
2346 ~hotkey_source_mask); in tpacpi_hotkey_driver_mask_set()
2610 poll_mask = hotkey_source_mask; in hotkey_kthread()
2611 event_mask = hotkey_source_mask & in hotkey_kthread()
2638 poll_mask = hotkey_source_mask; in hotkey_kthread()
2639 event_mask = hotkey_source_mask & in hotkey_kthread()
2672 const u32 poll_driver_mask = hotkey_driver_mask & hotkey_source_mask; in hotkey_poll_setup()
2673 const u32 poll_user_mask = hotkey_user_mask & hotkey_source_mask; in hotkey_poll_setup()
2744 !(hotkey_source_mask & hotkey_driver_mask)) in hotkey_inputdev_close()
2849 hotkey_all_mask | hotkey_source_mask); in hotkey_all_mask_show()
2860 hotkey_adaptive_all_mask | hotkey_source_mask); in hotkey_adaptive_all_mask_show()
2871 (hotkey_all_mask | hotkey_source_mask) in hotkey_recommended_mask_show()
2884 return snprintf(buf, PAGE_SIZE, "0x%08x\n", hotkey_source_mask); in hotkey_source_mask_show()
2903 hotkey_source_mask = t; in hotkey_source_mask_store() local
2907 ~hotkey_source_mask); in hotkey_source_mask_store()
2912 & ~hotkey_source_mask & TPACPI_HKEY_NVRAM_KNOWN_MASK; in hotkey_source_mask_store()
2928 static DEVICE_ATTR_RW(hotkey_source_mask);
3707 hotkey_source_mask = TPACPI_HKEY_NVRAM_GOOD_MASK in hotkey_init()
3713 hotkey_source_mask, hotkey_poll_freq); in hotkey_init()
3725 & ~hotkey_source_mask); in hotkey_init()
3730 hotkey_user_mask = (hotkey_acpi_mask | hotkey_source_mask) in hotkey_init()
3734 hotkey_user_mask, hotkey_acpi_mask, hotkey_source_mask); in hotkey_init()
3903 if (!(hotkey_source_mask & (1 << scancode))) { in hotkey_notify_hotkey()
4316 mask = (hotkey_all_mask | hotkey_source_mask) in hotkey_write()