Lines Matching refs:new_state

413 	uint32_t new_state[MAX_MATRIX_KEY_COLS];  in pxa27x_keypad_scan_matrix()  local
418 memset(new_state, 0, sizeof(new_state)); in pxa27x_keypad_scan_matrix()
432 new_state[col] = (1 << row); in pxa27x_keypad_scan_matrix()
442 new_state[0] = kpasmkp0 & KPASMKP_MKC_MASK; in pxa27x_keypad_scan_matrix()
443 new_state[1] = (kpasmkp0 >> 16) & KPASMKP_MKC_MASK; in pxa27x_keypad_scan_matrix()
444 new_state[2] = kpasmkp1 & KPASMKP_MKC_MASK; in pxa27x_keypad_scan_matrix()
445 new_state[3] = (kpasmkp1 >> 16) & KPASMKP_MKC_MASK; in pxa27x_keypad_scan_matrix()
446 new_state[4] = kpasmkp2 & KPASMKP_MKC_MASK; in pxa27x_keypad_scan_matrix()
447 new_state[5] = (kpasmkp2 >> 16) & KPASMKP_MKC_MASK; in pxa27x_keypad_scan_matrix()
448 new_state[6] = kpasmkp3 & KPASMKP_MKC_MASK; in pxa27x_keypad_scan_matrix()
449 new_state[7] = (kpasmkp3 >> 16) & KPASMKP_MKC_MASK; in pxa27x_keypad_scan_matrix()
456 bits_changed = keypad->matrix_key_state[col] ^ new_state[col]; in pxa27x_keypad_scan_matrix()
468 new_state[col] & (1 << row)); in pxa27x_keypad_scan_matrix()
472 memcpy(keypad->matrix_key_state, new_state, sizeof(new_state)); in pxa27x_keypad_scan_matrix()
531 unsigned int new_state; in pxa27x_keypad_scan_direct() local
545 new_state = ~KPDK_DK(kpdk) & keypad->direct_key_mask; in pxa27x_keypad_scan_direct()
547 new_state = KPDK_DK(kpdk) & keypad->direct_key_mask; in pxa27x_keypad_scan_direct()
549 bits_changed = keypad->direct_key_state ^ new_state; in pxa27x_keypad_scan_direct()
560 new_state & (1 << i)); in pxa27x_keypad_scan_direct()
564 keypad->direct_key_state = new_state; in pxa27x_keypad_scan_direct()