Home
last modified time | relevance | path

Searched refs:bits_changed (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/input/keyboard/
Dpxa27x_keypad.c453 uint32_t bits_changed; in pxa27x_keypad_scan_matrix() local
456 bits_changed = keypad->matrix_key_state[col] ^ new_state[col]; in pxa27x_keypad_scan_matrix()
457 if (bits_changed == 0) in pxa27x_keypad_scan_matrix()
461 if ((bits_changed & (1 << row)) == 0) in pxa27x_keypad_scan_matrix()
532 uint32_t kpdk, bits_changed; in pxa27x_keypad_scan_direct() local
549 bits_changed = keypad->direct_key_state ^ new_state; in pxa27x_keypad_scan_direct()
551 if (bits_changed == 0) in pxa27x_keypad_scan_direct()
555 if (bits_changed & (1 << i)) { in pxa27x_keypad_scan_direct()
Dimx_keypad.c150 unsigned short bits_changed; in imx_keypad_fire_events() local
156 bits_changed = keypad->matrix_stable_state[col] ^ in imx_keypad_fire_events()
159 if (bits_changed == 0) in imx_keypad_fire_events()
165 if ((bits_changed & (1 << row)) == 0) in imx_keypad_fire_events()
Dmatrix_keypad.c142 uint32_t bits_changed; in matrix_keypad_scan() local
144 bits_changed = keypad->last_key_state[col] ^ new_state[col]; in matrix_keypad_scan()
145 if (bits_changed == 0) in matrix_keypad_scan()
149 if ((bits_changed & (1 << row)) == 0) in matrix_keypad_scan()
Dpmic8xxx-keypad.c225 int bits_changed = new_state[row] ^ old_state[row]; in __pmic8xxx_kp_scan_matrix() local
227 if (!bits_changed) in __pmic8xxx_kp_scan_matrix()
231 if (!(bits_changed & (1 << col))) in __pmic8xxx_kp_scan_matrix()
/linux-5.19.10/drivers/auxdisplay/
Dht16k33.c377 unsigned long bits_changed; in ht16k33_keypad_scan() local
394 bits_changed = keypad->last_key_state[col] ^ new_state[col]; in ht16k33_keypad_scan()
396 for_each_set_bit(row, &bits_changed, BITS_PER_LONG) { in ht16k33_keypad_scan()
/linux-5.19.10/arch/x86/kernel/cpu/
Dcommon.c442 unsigned long bits_changed = 0; in native_write_cr4() local
449 bits_changed = (val & cr4_pinned_mask) ^ cr4_pinned_bits; in native_write_cr4()
454 WARN_ONCE(bits_changed, "pinned CR4 bits changed: 0x%lx!?\n", in native_write_cr4()
455 bits_changed); in native_write_cr4()