Lines Matching refs:key1
74 int key1; member
87 int keycode, key1, key2; in ep93xx_keypad_irq_handler() local
92 key1 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler()
98 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) in ep93xx_keypad_irq_handler()
99 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler()
101 if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2) in ep93xx_keypad_irq_handler()
104 input_report_key(input_dev, key1, 1); in ep93xx_keypad_irq_handler()
107 keypad->key1 = key1; in ep93xx_keypad_irq_handler()
111 if (keypad->key1 && key1 != keypad->key1) in ep93xx_keypad_irq_handler()
112 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler()
114 if (keypad->key2 && key1 != keypad->key2) in ep93xx_keypad_irq_handler()
117 input_report_key(input_dev, key1, 1); in ep93xx_keypad_irq_handler()
119 keypad->key1 = key1; in ep93xx_keypad_irq_handler()
123 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler()
126 keypad->key1 = keypad->key2 = 0; in ep93xx_keypad_irq_handler()