Lines Matching refs:row_state
75 unsigned int row_state[SAMSUNG_MAX_COLS]; member
80 unsigned int *row_state) in samsung_keypad_scan() argument
98 row_state[col] = ~val & ((1 << keypad->rows) - 1); in samsung_keypad_scan()
106 unsigned int *row_state) in samsung_keypad_report() argument
116 changed = row_state[col] ^ keypad->row_state[col]; in samsung_keypad_report()
117 key_down |= row_state[col]; in samsung_keypad_report()
125 pressed = row_state[col] & (1 << row); in samsung_keypad_report()
140 memcpy(keypad->row_state, row_state, sizeof(keypad->row_state)); in samsung_keypad_report()
148 unsigned int row_state[SAMSUNG_MAX_COLS]; in samsung_keypad_irq() local
158 samsung_keypad_scan(keypad, row_state); in samsung_keypad_irq()
160 key_down = samsung_keypad_report(keypad, row_state); in samsung_keypad_irq()