Lines Matching refs:row_state
74 unsigned int row_state[SAMSUNG_MAX_COLS];
88 unsigned int *row_state)
107 row_state[col] = ~val & ((1 << keypad->rows) - 1);
115 unsigned int *row_state)
125 changed = row_state[col] ^ keypad->row_state[col];
126 key_down |= row_state[col];
134 pressed = row_state[col] & (1 << row);
149 memcpy(keypad->row_state, row_state, sizeof(keypad->row_state));
157 unsigned int row_state[SAMSUNG_MAX_COLS];
166 samsung_keypad_scan(keypad, row_state);
168 key_down = samsung_keypad_report(keypad, row_state);