Home
last modified time | relevance | path

Searched refs:row_state (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/input/keyboard/ !
Dsamsung-keypad.c75 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()
[all …]
Dpmic8xxx-keypad.c253 u16 check, row_state; in pmic8xxx_detect_ghost_keys() local
257 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()