Lines Matching refs:key_table
43 } key_table[128] __read_mostly = variable
87 if ( key >= ARRAY_SIZE(key_table) || !(h = &key_table[key])->fn ) in handle_keypress()
106 BUG_ON(key >= ARRAY_SIZE(key_table)); /* Key in range? */ in register_keyhandler()
107 ASSERT(!key_table[key].fn); /* Clobbering something else? */ in register_keyhandler()
109 key_table[key].fn = fn; in register_keyhandler()
110 key_table[key].desc = desc; in register_keyhandler()
111 key_table[key].irq_callback = 0; in register_keyhandler()
112 key_table[key].diagnostic = diagnostic; in register_keyhandler()
118 BUG_ON(key >= ARRAY_SIZE(key_table)); /* Key in range? */ in register_irq_keyhandler()
119 ASSERT(!key_table[key].irq_fn); /* Clobbering something else? */ in register_irq_keyhandler()
121 key_table[key].irq_fn = fn; in register_irq_keyhandler()
122 key_table[key].desc = desc; in register_irq_keyhandler()
123 key_table[key].irq_callback = 1; in register_irq_keyhandler()
124 key_table[key].diagnostic = diagnostic; in register_irq_keyhandler()
132 for ( i = 0; i < ARRAY_SIZE(key_table); i++ ) in show_handlers()
133 if ( key_table[i].fn ) in show_handlers()
135 isprint(i) ? i : ' ', i, key_table[i].desc); in show_handlers()
466 for ( k = 0; k < ARRAY_SIZE(key_table); k++ ) in run_all_nonirq_keyhandlers()
469 h = &key_table[k]; in run_all_nonirq_keyhandlers()
492 for ( k = 0; k < ARRAY_SIZE(key_table); k++ ) in run_all_keyhandlers()
494 h = &key_table[k]; in run_all_keyhandlers()