Searched refs:row_state (Results 1 – 2 of 2) sorted by relevance
75 unsigned int row_state[SAMSUNG_MAX_COLS]; member80 unsigned int *row_state) in samsung_keypad_scan() argument98 row_state[col] = ~val & ((1 << keypad->rows) - 1); in samsung_keypad_scan()106 unsigned int *row_state) in samsung_keypad_report() argument116 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() local158 samsung_keypad_scan(keypad, row_state); in samsung_keypad_irq()[all …]
253 u16 check, row_state; in pmic8xxx_detect_ghost_keys() local257 row_state = (~new_state[row]) & in pmic8xxx_detect_ghost_keys()260 if (hweight16(row_state) > 1) { in pmic8xxx_detect_ghost_keys()263 if (check & row_state) { in pmic8xxx_detect_ghost_keys()269 check |= row_state; in pmic8xxx_detect_ghost_keys()